/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #17202A;
    background-color: #FFFFFF;
    padding-top: 80px; /* Account for fixed header */
    overflow-x: hidden; /* Prevent accidental horizontal scroll / white edge */
}

body.has-promo-banner {
    padding-top: calc(80px + var(--promo-banner-height));
}

/* CSS Variables */
:root {
    --color-deep-blue: #0F1F3A;
    --color-teal: #1ABC9C;
    --color-soft-gray: #F8FAFC;
    --color-dark-text: #1E293B;
    --color-light-text: #64748B;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;
    --color-accent-light: #F0FDF4;
    --color-gradient-start: #F8FAFC;
    --color-gradient-end: #FFFFFF;
    
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --border-radius: 32px;
    --border-radius-large: 12px;
    --border-radius-small: 12px;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    --promo-banner-height: 56px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-teal) 0%, #16A085 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark-text);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--color-soft-gray);
    border-color: var(--color-teal);
    color: var(--color-teal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--border-radius-large);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transform: translateY(-100%);
    animation: slideInHeader 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.has-promo-banner .header {
    top: var(--promo-banner-height);
}

@keyframes slideInHeader {
    to {
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 
                0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(135deg, #0F1F3A 0%, #0b2a55 60%, #0F1F3A 100%);
    color: var(--color-white);
    min-height: var(--promo-banner-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 28px -18px rgba(15, 31, 58, 0.55);
}

.promo-banner__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
    color: inherit;
    text-align: center;
}

.promo-banner__label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.75;
}

.promo-banner__message {
    font-size: 1rem;
    font-weight: 600;
}

.promo-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    background: var(--color-teal);
    color: var(--color-deep-blue);
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px -18px rgba(26, 188, 156, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.promo-banner__cta:hover,
.promo-banner__cta:focus {
    background: #1dd3b2;
    color: var(--color-deep-blue);
    transform: translateY(-1px);
}

.promo-banner__cta:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.header.scrolled .header-content {
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(35px);
    backdrop-filter: blur(35px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 
                0 8px 24px rgba(0, 0, 0, 0.05);
}

.header.scrolled .header-content::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
}

@media (max-width: 1024px) {
    .header {
        padding: 0.75rem 1.5rem;
    }
    
    .header-content {
        padding: 0.75rem 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }
    
    .header-content {
        padding: 0.75rem 1rem;
        border-radius: 14px;
    }
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-deep-blue);
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-image {
    height: 60px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius);
    background-color: #000000;
}

.header.scrolled .logo-image {
    height: 60px;
}

.logo-image--footer {
    height: 60px;
}

/* Footer logo styling */
.footer .logo a {
    background-color: rgba(15, 31, 58, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.footer .logo a:hover {
    background-color: rgba(15, 31, 58, 0.5);
    border-color: rgba(26, 188, 156, 0.5);
}

.logo-text {
    /* Fallback for when image doesn't load */
    display: none;
}

/* Show text fallback if image fails to load */
.logo-image[alt]:after {
    content: attr(alt);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-deep-blue);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-image--footer {
        height: 28px;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    position: relative;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.nav-link:hover {
    color: var(--color-teal);
    background-color: rgba(26, 188, 156, 0.12);
    border-color: rgba(26, 188, 156, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.12);
}

.nav-link--active {
    color: var(--color-teal);
    background-color: rgba(26, 188, 156, 0.15);
    border-color: rgba(26, 188, 156, 0.3);
}

.nav-link:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

.header-cta .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    white-space: nowrap;
    background: rgba(26, 188, 156, 0.8);
    border: 1px solid rgba(26, 188, 156, 0.4);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.header-cta .btn:hover {
    background: rgba(26, 188, 156, 0.95);
    border-color: rgba(26, 188, 156, 0.6);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.2);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(15, 31, 58, 0.08);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(15, 31, 58, 0.12);
    transform: scale(1.05);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background-color: var(--color-dark-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    margin: 2px 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999; /* sits below the sliding nav (which will be > 999) */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(30px);
        backdrop-filter: blur(30px);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1200; /* above overlay */
        padding-top: 120px;
        overflow-y: auto;
        box-shadow: -8px 0 24px -8px rgba(0,0,0,0.25);
    }
    
    .nav--open {
        right: 0;
    }
    
    .nav-list {
        display: flex; /* explicitly show list in mobile panel */
        flex-direction: column;
        padding: 2rem 1.5rem 3rem;
        gap: 0;
        align-items: stretch;
    }

    /* Provide individual item reveal animation */
    .nav-list li { opacity: 0; transform: translateX(12px); animation: menuItemIn 0.4s ease forwards; }
    .nav-list li:nth-child(1){animation-delay:0.05s}
    .nav-list li:nth-child(2){animation-delay:0.1s}
    .nav-list li:nth-child(3){animation-delay:0.15s}
    .nav-list li:nth-child(4){animation-delay:0.2s}

    @keyframes menuItemIn { to { opacity:1; transform: translateX(0);} }
    
    .nav-list li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        margin: 0;
        border-radius: var(--border-radius-large);
        background-color: rgba(15, 31, 58, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover {
        background-color: rgba(26, 188, 156, 0.12);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 188, 156, 0.15);
    }
    
    .header-cta {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        #f8fafc 0%, 
        #e2e8f0 25%,
        #cbd5e1 50%,
        #94a3b8 75%,
        #64748b 100%);
    color: var(--color-dark-text);
    padding: 6rem 0 6rem;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 10rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 30% 80%, rgba(26, 188, 156, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(15, 31, 58, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}


.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-deep-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.device-mockup:hover .device-screen {
    transform: rotate(0deg) scale(1.05);
}

.app-preview {
    color: var(--color-dark-text);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.app-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.recording-indicator {
    width: 12px;
    height: 12px;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.transcript-line {
    font-size: 0.875rem;
    padding: 0.5rem;
    background-color: var(--color-soft-gray);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-soft-gray) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-deep-blue);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-light-text);
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    background-color: var(--color-white);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), #16A085);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26, 188, 156, 0.2);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(26, 188, 156, 0.1) 100%);
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--color-teal);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--color-teal) 0%, #16A085 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-deep-blue);
    font-weight: 600;
    line-height: 1.3;
}

.feature-description {
    color: var(--color-light-text);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
}

.screenshot-item {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    background-color: var(--color-white);
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 240px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.screenshot-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26, 188, 156, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.9) 0%, rgba(15, 31, 58, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: zoom-pulse 2s ease-in-out infinite;
}

@keyframes zoom-pulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    background-color: transparent;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-in-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: var(--border-radius-large);
}

.modal-caption {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.7);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Testimonial Section */
.testimonial {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-soft-gray) 100%);
    position: relative;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(26, 188, 156, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: 1.75rem;
    line-height: 1.6;
    color: var(--color-dark-text);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 400;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-size: 4rem;
    color: var(--color-teal);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info {
    text-align: center;
}

.author-name {
    font-weight: 600;
    color: var(--color-deep-blue);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--color-light-text);
    font-size: 0.95rem;
    margin-bottom: 0.125rem;
}

.author-company {
    color: var(--color-light-text);
    font-size: 0.875rem;
    font-style: italic;
}

/* Spaces Section */
.spaces {
    padding: 6rem 0;
    background-color: var(--color-soft-gray);
}

.spaces-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spaces-title {
    color: var(--color-deep-blue);
    margin-bottom: 1rem;
}

.spaces-description {
    color: var(--color-light-text);
    margin-bottom: 1.5rem;
}

.spaces-features {
    list-style: none;
}

.spaces-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.spaces-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
}

.spaces-preview {
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.space-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: var(--color-soft-gray);
    margin-bottom: 0.75rem;
}

.space-item:last-child {
    margin-bottom: 0;
}

.space-icon {
    width: 12px;
    height: 12px;
    background-color: var(--color-teal);
    border-radius: 50%;
}

/* Privacy Section */
.privacy-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.privacy-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
}

.privacy-text {
    max-width: 520px;
    margin: 0 auto;
}

.privacy-title {
    color: var(--color-deep-blue);
    margin-bottom: 1rem;
}

.privacy-features {
    list-style: none;
    margin-bottom: 2rem;
}

.privacy-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-features li::before {
    content: '🔒';
    position: absolute;
    left: 0;
}

.privacy-link {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

.privacy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon {
    color: var(--color-teal);
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.12) 0%, rgba(15, 31, 58, 0.08) 100%);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.privacy-icon svg {
    width: 96px;
    height: 96px;
}

.privacy-home {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(236, 245, 249, 0.75) 0%, rgba(248, 250, 252, 0.92) 45%, #ffffff 100%);
    overflow: hidden;
}

.privacy-home::before,
.privacy-home::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.7;
    pointer-events: none;
}

.privacy-home::before {
    top: -140px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.26) 0%, rgba(26, 188, 156, 0) 70%);
}

.privacy-home::after {
    bottom: -160px;
    right: -140px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(15, 31, 58, 0.22) 0%, rgba(15, 31, 58, 0) 70%);
}

.privacy-home .privacy-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2.5rem, 4vw, 4rem);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 31, 58, 0.08);
    box-shadow: 0 32px 80px -32px rgba(15, 31, 58, 0.35), var(--shadow-md);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.privacy-home .privacy-text {
    max-width: 560px;
}

.privacy-home .privacy-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--color-deep-blue);
    letter-spacing: -0.02em;
    margin-bottom: 1.75rem;
}

.privacy-home .privacy-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 9999px;
    margin-top: 1.25rem;
    background: linear-gradient(90deg, var(--color-teal) 0%, rgba(26, 188, 156, 0.08) 100%);
}

.privacy-home .privacy-features {
    list-style: none;
    margin-bottom: 3rem;
    display: grid;
    gap: 1.25rem;
}

.privacy-home .privacy-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(236, 245, 249, 0.65) 100%);
    border: 1px solid rgba(15, 31, 58, 0.08);
    box-shadow: 0 18px 32px -24px rgba(15, 31, 58, 0.35);
    font-weight: 500;
    color: var(--color-dark-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.privacy-home .privacy-features li::before {
    content: '🔒';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-teal) 0%, #34d399 100%);
    box-shadow: var(--shadow-sm);
    font-size: 1.35rem;
    flex-shrink: 0;
    position: static;
}

.privacy-home .privacy-features li:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 36px -20px rgba(15, 31, 58, 0.35), var(--shadow-md);
}

.privacy-home .privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s ease;
}

.privacy-home .privacy-link::after {
    content: '→';
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.privacy-home .privacy-link:hover {
    color: #0fb198;
}

.privacy-home .privacy-link:hover::after {
    transform: translateX(6px);
}

.privacy-home .privacy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-home .privacy-icon {
    position: relative;
    padding: clamp(2.25rem, 3vw, 3rem);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(26, 188, 156, 0.26) 0%, rgba(15, 31, 58, 0.12) 100%);
    border: 1px solid rgba(26, 188, 156, 0.35);
    box-shadow: 0 24px 45px -18px rgba(15, 31, 58, 0.42);
}

.privacy-home .privacy-icon::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.privacy-home .privacy-icon svg {
    width: clamp(96px, 9vw, 118px);
    height: clamp(96px, 9vw, 118px);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: var(--color-soft-gray);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    border-color: var(--color-teal);
}

.pricing-card--pro {
    border-color: var(--color-teal);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(26, 188, 156, 0.02) 100%);
}

.pricing-card--packs {
    border-color: var(--color-teal);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(26, 188, 156, 0.02) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.plan-title {
    font-size: 1.5rem;
    color: var(--color-deep-blue);
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: var(--color-light-text);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.plan-description {
    color: var(--color-light-text);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-deep-blue);
    font-family: var(--font-display);
}

.price-period {
    color: var(--color-light-text);
    font-size: 1rem;
}

.plan-annual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-light-text);
}

.savings {
    color: var(--color-teal);
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
    font-size: 1.25rem;
}

/* AI Minute Packs specific styles */
.feature-list--packs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    padding-left: 0;
}

.feature-list--packs li::before {
    display: none;
}

.pack-minutes {
    font-weight: 600;
    color: var(--color-deep-blue);
    min-width: 80px;
}

.pack-price {
    font-weight: 700;
    color: var(--color-teal);
    font-size: 1.125rem;
}

.pack-label {
    font-size: 0.875rem;
    color: var(--color-light-text);
    min-width: 100px;
    text-align: right;
}

.pack-popular {
    background-color: rgba(26, 188, 156, 0.05);
    border-radius: var(--border-radius);
    padding: 1rem !important;
    margin: 0.5rem -1rem;
}

.pack-popular .pack-label {
    color: var(--color-teal);
    font-weight: 600;
}

.pack-value .pack-label {
    color: var(--color-teal);
    font-weight: 600;
}

.pricing-action {
    text-align: center;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.pricing-note p {
    color: var(--color-light-text);
    font-style: italic;
    margin: 0;
}

.pricing-cta {
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-teal);
}

.faq-question:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-icon {
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item[data-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item[data-expanded="true"] .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-light-text);
}

/* Footer */
.footer {
    background-color: var(--color-deep-blue);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-teal);
}

.footer-link:focus {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

/* Privacy Page Styles */
.privacy-page {
    padding: 2rem 0 4rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    color: var(--color-deep-blue);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--color-light-text);
    font-style: italic;
}

.privacy-page .privacy-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.privacy-page .privacy-nav {
    position: sticky;
    top: 120px;
    background-color: var(--color-soft-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.privacy-page .privacy-nav-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-deep-blue);
}

.privacy-page .privacy-nav-list {
    list-style: none;
}

.privacy-page .privacy-nav-list li {
    margin-bottom: 0.5rem;
}

.privacy-page .privacy-nav-link {
    color: var(--color-light-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.privacy-page .privacy-nav-link:hover {
    color: var(--color-teal);
}

.privacy-page .privacy-text {
    max-width: none;
}

.privacy-page .privacy-text .privacy-section {
    margin-bottom: 1.5rem;
}

.privacy-page .privacy-text h2 {
    color: var(--color-deep-blue);
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.privacy-page .privacy-text ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-page .privacy-text li {
    margin-bottom: 0.5rem;
}

/* Support Page Styles */
.support-page {
    padding: 2rem 0 4rem;
}

.support-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.support-intro {
    font-size: 1.125rem;
    color: var(--color-light-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta {
    margin-top: 2rem;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 4rem;
}

.contact-section {
    background-color: var(--color-soft-gray);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    text-align: center;
}

.contact-content p {
    font-size: 1.125rem;
    color: var(--color-light-text);
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-method {
    text-align: left;
}

.contact-method h3 {
    color: var(--color-deep-blue);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--color-light-text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-link {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.support-note {
    padding: 1rem;
    background-color: rgba(26, 188, 156, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-teal);
}

.support-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-dark-text);
}

/* Medium screens */
@media (max-width: 1024px) {
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .promo-banner__content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .promo-banner__cta {
        width: 100%;
        max-width: 240px;
    }

    .privacy-home {
        padding: 6.5rem 0;
    }

    .privacy-home::before {
        top: -220px;
        left: -200px;
    }

    .privacy-home::after {
        bottom: -240px;
        right: -220px;
    }

    .privacy-home .privacy-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.75rem;
    }

    .privacy-home .privacy-text {
        margin: 0 auto;
    }

    .privacy-home .privacy-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .privacy-home .privacy-features {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    body.has-promo-banner {
        padding-top: 0;
    }

    .promo-banner {
        position: relative;
        box-shadow: none;
    }

    .header {
        position: relative; /* Avoid stacked positioning artifacts */
        top: 0;
        transform: none;
        animation: none;
        padding: 0; /* Let inner container control padding */
    }

    .has-promo-banner .header {
        top: 0;
    }

    .hero {
        margin-top: 0;
        padding-top: 6rem;
    }

    .container {
        padding: 0 16px;
    }

    /* Ensure header container and content span full width consistently */
    .header .container {
        padding: 0 16px;
    }

    .promo-banner__content.container {
        padding: 0 16px; /* Match global container spacing */
    }

    .header-content {
        max-width: none;
        width: 100%;
        margin: 0; /* Remove auto-centering that created a right edge gap */
        padding: 0.75rem 1rem; /* Compact internal padding */
        border-radius: 18px;
    }

    /* Avoid any unintended horizontal gap from internal elements */
    .header-content > * {
        flex-shrink: 0;
    }
    /* Hide inline nav only before panel opens; panel version handled in mobile menu styles block */
    .nav:not(.nav--open) .nav-list {
        display: none;
    }
    .nav.nav--open .nav-list {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .hero-text,
    .hero-visual {
        width: 100%;
    }

    .hero-text {
        max-width: 520px;
        margin: 0 auto;
    }

    .device-mockup {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .promo-banner__content {
        padding: 0.85rem 1rem;
    }

    /* Add breathing room below launch bonus button so banner doesn't feel cramped */
    .promo-banner__cta {
        margin-bottom: 0.35rem; /* subtle extra space */
    }

    .promo-banner__message {
        font-size: 0.95rem;
    }
    
    .testimonial-card {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .testimonial-quote {
        font-size: 1.375rem;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 2.5vh auto;
    }
    
    .modal-content img {
        max-height: 95vh;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .privacy-home .privacy-title {
        font-size: 1.85rem;
    }
    
    .privacy-home .privacy-features li {
        padding: 0.85rem 1rem;
        font-size: 0.975rem;
    }
    
    .spaces-content,
    .privacy-home .privacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .privacy-home .privacy-content {
        padding: 2.4rem;
    }
    
    .privacy-home .privacy-text {
        margin: 0 auto;
        text-align: center;
    }
    
    .privacy-home .privacy-features {
        max-width: 420px;
        margin: 0 auto 2.25rem;
    }
    
    .privacy-home .privacy-link {
        justify-content: center;
    }
    
    .privacy-home .privacy-icon {
        margin: 0 auto;
        padding: 1.9rem;
    }
    
    .privacy-home .privacy-icon svg {
        width: 84px;
        height: 84px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .privacy-page .privacy-nav {
        position: static;
        margin-bottom: 2rem;
    }
    
    .privacy-page .privacy-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .privacy-page .privacy-content {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Focus styles for better accessibility */
.focus-visible {
    outline: 2px solid var(--color-teal) !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form error styles */
.field-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

/* Privacy nav active state */
.privacy-nav-link--active {
    color: var(--color-teal) !important;
    font-weight: 600 !important;
}

/* Loading state */
body:not(.js-loaded) .animate-in {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: #000000;
        --color-light-text: #000000;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-visual,
    .spaces-visual,
    .privacy-visual {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* --- Hard Mobile Nav Overrides (placed at end to win cascade) --- */
@media (max-width: 768px) {
    /* Ensure overlay sits below the sliding nav but above base content/header */
    .mobile-menu-overlay { z-index: 1100; }
    /* Hidden off-canvas by default */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        background: rgba(255,255,255,0.95);
        -webkit-backdrop-filter: blur(28px);
        backdrop-filter: blur(28px);
        box-shadow: -8px 0 24px -6px rgba(0,0,0,0.3);
        transition: right .35s cubic-bezier(.4,0,.2,1);
        z-index: 3000; /* stays above overlay */
        padding-top: 120px;
        overflow-y: auto;
    }
    .nav.nav--open { right: 0 !important; }
    .nav.nav--open .nav-list { display: flex !important; flex-direction: column; padding: 2rem 1.5rem 3rem; }
    .nav.nav--open .nav-list li { opacity: 1 !important; transform: none !important; }
}
/* --- End Hard Mobile Nav Overrides --- */
