/* CSS Variables for Theme Switching */
:root {
    /* Light Mode Colors */
    --bg-primary-light: #ffffff;
    --bg-secondary-light: #f8fafc;
    --bg-tertiary-light: #f1f5f9;
    --text-primary-light: #1e293b;
    --text-secondary-light: #64748b;
    --text-muted-light: #94a3b8;
    --border-light: #e2e8f0;
    --accent-light: #3b82f6;
    --accent-hover-light: #2563eb;
    --gradient-start-light: #3b82f6;
    --gradient-end-light: #8b5cf6;
    
    /* Dark Mode Colors */
    --bg-primary-dark: #0f172a;
    --bg-secondary-dark: #1e293b;
    --bg-tertiary-dark: #334155;
    --text-primary-dark: #f8fafc;
    --text-secondary-dark: #cbd5e1;
    --text-muted-dark: #64748b;
    --border-dark: #334155;
    --accent-dark: #60a5fa;
    --accent-hover-dark: #93c5fd;
    --gradient-start-dark: #60a5fa;
    --gradient-end-dark: #a78bfa;
    
    /* Common Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark Mode (Default) */
.dark-mode {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --bg-tertiary: var(--bg-tertiary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    --border: var(--border-dark);
    --accent: var(--accent-dark);
    --accent-hover: var(--accent-hover-dark);
    --gradient-start: var(--gradient-start-dark);
    --gradient-end: var(--gradient-end-dark);
}

/* Light Mode */
.light-mode {
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --bg-tertiary: var(--bg-tertiary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-muted: var(--text-muted-light);
    --border: var(--border-light);
    --accent: var(--accent-light);
    --accent-hover: var(--accent-hover-light);
    --gradient-start: var(--gradient-start-light);
    --gradient-end: var(--gradient-end-light);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

/* Brand font classes */
.brand-font { font-family: 'Montserrat', sans-serif !important; }
.brand-font-extralight { font-family: 'Montserrat', sans-serif !important; font-weight: 200 !important; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
}

.theme-switch {
    display: none;
}

.theme-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.theme-label::before {
    content: '';
    position: absolute;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.theme-switch:checked + .theme-label::before {
    transform: translateX(20px);
}

.theme-label i {
    font-size: 12px;
    color: var(--text-secondary);
    z-index: 2;
    transition: all 0.3s ease;
}

.theme-label .fa-sun {
    margin-right: 8px;
}

.theme-label .fa-moon {
    margin-left: 8px;
}

.light-mode .theme-label .fa-sun {
    color: var(--accent);
}

.dark-mode .theme-label .fa-moon {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-preview-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border);
    transition: transform 0.3s ease;
}

.hero-preview-img:hover {
    transform: scale(1.02);
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.hero-placeholder:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Value Proposition Section */
.value-prop {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.value-prop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.value-prop-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-prop-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.value-prop-cta {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
}

.value-prop-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-prop-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.value-prop-icon i {
    font-size: 3rem;
    color: white;
}

/* Screenshots Section */
.screenshots {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.screenshot-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.screenshot-placeholder {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.screenshot-placeholder i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.screenshot-image {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
}

.screenshot-card p {
    color: var(--text-secondary);
    margin: 0 var(--spacing-lg) var(--spacing-lg);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.contact-feature i {
    color: var(--accent);
    font-size: 1.25rem;
    width: 20px;
}

/* MailerLite Form Styles */
.contact-form {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* Style the MailerLite embedded form */
.ml-embedded {
    margin-bottom: var(--spacing-md);
}

/* Override MailerLite default styles to match our theme */
.ml-embedded form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.ml-embedded input,
.ml-embedded select,
.ml-embedded textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.ml-embedded input:focus,
.ml-embedded select:focus,
.ml-embedded textarea:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

.ml-embedded input::placeholder {
    color: var(--text-muted) !important;
}

.ml-embedded button,
.ml-embedded input[type="submit"] {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ml-embedded button:hover,
.ml-embedded input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.ml-embedded label {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    margin-bottom: var(--spacing-xs) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Dark mode adjustments for MailerLite */
.dark-mode .ml-embedded input,
.dark-mode .ml-embedded select,
.dark-mode .ml-embedded textarea {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border) !important;
}

.dark-mode .ml-embedded input::placeholder {
    color: var(--text-muted) !important;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-md);
}

.newsletter-form {
    width: 100%;
}

.newsletter-form .form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.newsletter-form button {
    padding: 12px 24px;
    white-space: nowrap;
}

#form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

#form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

#form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.footer-section a.disabled:hover {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Aggressive horizontal overflow fix */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Navigation fixes */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg) 0;
        border-top: 1px solid var(--border);
        overflow-x: hidden;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Hero section fixes */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-md);
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .hero-image {
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-preview-img {
        max-width: 100%;
        height: auto;
    }

    /* Contact section fixes */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-md);
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-info h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .contact-info p {
        font-size: 1.125rem;
        word-wrap: break-word;
    }

    /* Footer fixes */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Grid fixes */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .screenshot-card {
        max-width: 100%;
        overflow: hidden;
    }
    
    .screenshot-img {
        max-width: 100%;
        height: auto;
    }
    
    /* Value proposition fixes */
    .value-prop-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-md);
    }
    
    .value-prop-text h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .value-prop-description {
        font-size: 1.125rem;
        word-wrap: break-word;
    }
    
    /* Form fixes */
    .newsletter-form .form-group {
        flex-direction: column;
        gap: var(--spacing-md);
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .newsletter-form input[type="email"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .newsletter-form button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Additional overflow fixes */
    .contact-form,
    .custom-form,
    .form-fallback {
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Newsletter section specific fixes */
    .contact-info {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        padding: 0 var(--spacing-md) !important;
    }
    
    .contact-info h2,
    .contact-info p {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .contact-features {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-feature {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    /* Aggressive overflow fixes for very small screens */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-header h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Ensure all text wraps properly */
    .hero-subtitle,
    .section-header p,
    .feature-card p,
    .screenshot-card p,
    .value-prop-description,
    .contact-info p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix any remaining overflow issues */
    .nav-container,
    .hero-container,
    .contact-content,
    .footer-content {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Newsletter section specific fixes for small screens */
    .contact-info {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding: 0 var(--spacing-sm) !important;
    }
    
    .contact-info h2,
    .contact-info p {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .contact-features {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-feature {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* Animation Classes - DISABLED */
/*
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
*/

/* Loading States */
.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-block;
}

/* Success/Error States */
.form-group.success input {
    border-color: var(--success);
}

.form-group.error input {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.success-message {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Custom heart icon fallback */
.heart-icon {
    color: #ff6b6b;
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

/* Force all text in newsletter section to wrap properly */
.contact-info,
.contact-info h2,
.contact-info p,
.contact-features,
.contact-feature,
.contact-feature span {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
} 