/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties for Theme Support */
:root {
    /* Updated Modern Color Palette from provided gradient */
    --primary-gradient: linear-gradient(135deg, #E89FCD 0%, #B6D9DF 19%, #B2D494 38%, #FF4F4F 56%, #FFEE97 78%, #3EB5FF 100%);
    --secondary-gradient: linear-gradient(135deg, #E89FCD 0%, #FF4F4F 50%, #3EB5FF 100%);
    --success-gradient: linear-gradient(135deg, #B2D494 0%, #B6D9DF 100%);
    --rainbow-gradient: linear-gradient(90deg, #E89FCD, #B6D9DF, #B2D494, #FF4F4F, #FFEE97, #3EB5FF);
    
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfc;
    --bg-tertiary: #f7f9fc;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Updated Gradient Shadows using new color palette */
    --shadow-gradient-light: 
        0 10px 25px -5px rgba(232, 159, 205, 0.15), 
        0 20px 40px -10px rgba(62, 181, 255, 0.1);
    --shadow-gradient-medium: 
        0 15px 35px -5px rgba(232, 159, 205, 0.2), 
        0 25px 50px -12px rgba(62, 181, 255, 0.15);
    --shadow-gradient-heavy: 
        0 25px 50px -12px rgba(232, 159, 205, 0.25), 
        0 35px 70px -15px rgba(62, 181, 255, 0.2);
    --shadow-button: 
        0 8px 20px -5px rgba(255, 79, 79, 0.3), 
        0 15px 30px -8px rgba(232, 159, 205, 0.2);
    
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Viewport height fix for mobile */
    --vh: 1vh;
}

/* Dark Theme Colors */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(15, 23, 42, 0.25);
    --glass-border: rgba(148, 163, 184, 0.18);
    
    /* Dark theme gradient shadows with new colors */
    --shadow-gradient-light: 
        0 10px 25px -5px rgba(232, 159, 205, 0.2), 
        0 20px 40px -10px rgba(62, 181, 255, 0.15);
    --shadow-gradient-medium: 
        0 15px 35px -5px rgba(232, 159, 205, 0.25), 
        0 25px 50px -12px rgba(62, 181, 255, 0.2);
    --shadow-gradient-heavy: 
        0 25px 50px -12px rgba(232, 159, 205, 0.35), 
        0 35px 70px -15px rgba(62, 181, 255, 0.3);
    --shadow-button: 
        0 8px 20px -5px rgba(255, 79, 79, 0.4), 
        0 15px 30px -8px rgba(232, 159, 205, 0.3);
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-medium);
    overflow-x: hidden;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Ensure body is always visible */
    visibility: visible !important;
    opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    /* Ensure headings are always visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    height: auto;
    min-height: 70px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-primary);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0.625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: all var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-gradient-light);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--rainbow-gradient);
    z-index: -1;
    border-radius: 50px;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--bg-primary);
    border-radius: 50px;
    z-index: -1;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gradient-medium);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.theme-toggle .sun-icon svg,
.theme-toggle .moon-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: flex;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: flex;
}

/* Hero Section - ALWAYS VISIBLE */
.hero {
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    /* Ensure hero is always visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(232, 159, 205, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(62, 181, 255, 0.08) 0%, transparent 50%);
    z-index: -1;
    animation: floatingGradients 8s ease-in-out infinite;
}

.hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    /* Ensure content is always visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-text {
    width: 100%;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary) !important;
    width: 100%;
    /* ALWAYS VISIBLE - no animations that could hide content */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    filter: none !important;
    transform: none !important;
    z-index: 10;
}

.gradient-text {
    background: var(--rainbow-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 3s ease-in-out infinite;
    /* Fallback for browsers that don't support background-clip */
    color: #E89FCD;
}

/* Ensure gradient text works in all browsers */
@supports not (background-clip: text) {
    .gradient-text {
        color: #E89FCD !important;
        -webkit-text-fill-color: unset !important;
    }
}

/* Fix for webkit browsers */
@supports (-webkit-background-clip: text) {
    .gradient-text {
        -webkit-text-fill-color: transparent;
    }
}

@keyframes gradientMove {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 90%;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.hero-cta {
    margin-bottom: 3rem;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.hero-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

/* Fixed Button Styles - ALWAYS VISIBLE AND CLICKABLE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 200px;
    height: 48px;
    color: var(--text-primary);
    box-shadow: var(--shadow-button);
    pointer-events: auto !important;
    /* ALWAYS VISIBLE AND CLICKABLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--rainbow-gradient);
    z-index: -2;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-medium);
}

.btn::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--bg-primary);
    border-radius: calc(var(--border-radius-md) - 1px);
    z-index: -1;
    transition: all var(--transition-medium);
}

/* Light mode button text */
[data-theme="light"] .btn {
    color: #1a202c;
}

/* Dark mode button text */
[data-theme="dark"] .btn {
    color: #f8fafc;
}

[data-theme="dark"] .btn::after {
    background: var(--bg-primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gradient-heavy);
}

.btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    font-weight: 700;
}

/* Download button specific styling */
.download-btn {
    width: 200px;
    height: 48px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-md);
}

.btn-large {
    width: 240px;
    height: 56px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.coming-soon {
    display: flex;
    align-items: center;
}

.ios-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(232, 159, 205, 0.2);
    box-shadow: 0 4px 12px rgba(232, 159, 205, 0.1);
}

.apple-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-icon svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}



/* Phone Mockup - ALWAYS VISIBLE */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 48px;
    padding: 10px;
    box-shadow: var(--shadow-gradient-heavy);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

[data-theme="dark"] .phone-mockup {
    background: linear-gradient(145deg, #3c3c3e, #2c2c2e);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 2;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

/* Section Headers - ALWAYS VISIBLE */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-gradient-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(232, 159, 205, 0.1);
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 159, 205, 0.05) 0%, rgba(62, 181, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gradient-heavy);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.screenshots-carousel {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(232, 159, 205, 0.6), rgba(62, 181, 255, 0.6));
    border-radius: 4px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 220px;
    height: 440px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-gradient-medium);
    scroll-snap-align: center;
    transition: transform var(--transition-medium);
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gradient-heavy);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(232, 159, 205, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    /* ALWAYS VISIBLE */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(232, 159, 205, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-gradient-heavy);
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(232, 159, 205, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid rgba(232, 159, 205, 0.3);
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 8rem 0 4rem;
        min-height: calc(100vh - 80px);
        /* padding-top is now handled by script.js */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-top: 0;
    }

    .hero-text {
        order: 1; /* Ensure text comes first on mobile */
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-phone {
        order: 2;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        margin-bottom: 2rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        font-size: 1rem;
        height: 52px;
        font-weight: 600;
    }

    .coming-soon {
        justify-content: center;
        margin-top: 1rem;
    }

    .features {
        padding: 6rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .screenshots {
        padding: 6rem 0;
    }

    .screenshots-carousel {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .screenshot-item {
        width: 180px;
        height: 360px;
    }

    .cta {
        padding: 6rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 7rem 0 3rem;
        /* padding-top is now handled by script.js */
        min-height: calc(100vh - 60px);
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        margin-bottom: 1.5rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 36px;
        padding: 6px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .phone-screen::before {
        width: 80px;
        height: 3px;
        top: 8px;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        height: 48px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-buttons {
        width: 100%;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .screenshot-item {
        width: 160px;
        height: 320px;
    }

    .features, .screenshots, .cta {
        padding: 4rem 0;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-header, .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 360px) {
    .nav {
        padding: 0.5rem 0.75rem;
    }

    .hero {
        padding-bottom: 2rem;
        /* padding-top is now handled by script.js */
    }

    .hero-title {
        font-size: clamp(1.5rem, 10vw, 2rem) !important;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
        border-radius: 32px;
        padding: 5px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .phone-screen::before {
        width: 70px;
        height: 2px;
        top: 6px;
    }

    .screenshot-item {
        width: 140px;
        height: 280px;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        height: 44px;
    }

    .hero-buttons {
        padding: 0 0.5rem;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-md);
    z-index: 1;
}

.loading .btn-icon svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.theme-toggle:focus,
.modal-close:focus {
    outline: 2px solid rgba(232, 159, 205, 0.6);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid var(--text-primary);
    }
    
    .btn-primary {
        border: 2px solid var(--text-primary);
    }
}

/* Simple Animation System - Only enhances, never hides content */
.animate-in {
    opacity: 1 !important;
    filter: blur(0px) !important;
    transform: translateY(0) !important;
}

/* Scroll animations that ENHANCE but don't block visibility */
.scroll-enhance {
    transition: all 0.6s ease;
}

.scroll-enhance.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Floating gradient animation */
@keyframes floatingGradients {
    0%, 100% {
        background: radial-gradient(circle at 20% 50%, rgba(232, 159, 205, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(62, 181, 255, 0.08) 0%, transparent 50%);
    }
    25% {
        background: radial-gradient(circle at 30% 60%, rgba(255, 238, 151, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 70% 30%, rgba(178, 212, 148, 0.12) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle at 80% 40%, rgba(255, 79, 79, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(182, 217, 223, 0.08) 0%, transparent 50%);
    }
    75% {
        background: radial-gradient(circle at 70% 30%, rgba(232, 159, 205, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 30% 70%, rgba(62, 181, 255, 0.12) 0%, transparent 50%);
    }
}

/* Header Scroll Effects */
.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--shadow-gradient-light);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.9);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
* {
    will-change: auto;
}

.phone-mockup,
.feature-card,
.screenshot-item,
.btn {
    will-change: transform;
}

/* Improved typography hierarchy */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }

/* Enhanced button interactions */
.btn {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
    outline: 2px solid rgba(232, 159, 205, 0.6);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .theme-toggle,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Emergency visibility fixes - More targeted approach */
.hero, .hero-content, .hero-title, .hero-description, .hero-cta, .hero-phone,
.features, .feature-card, .feature-title, .feature-description,
.screenshots, .screenshot-item,
.cta, .cta-title, .cta-description,
.section-title, .section-subtitle {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure proper display for specific elements */
.hero-title, .section-title, .cta-title, .feature-title {
    display: block !important;
}

.hero-content {
    display: grid !important;
}

/* Ensure inline-flex for buttons */
.btn, .download-btn {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-description {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .gradient-text {
    color: #E89FCD; /* Fallback for dark mode */
}

/* Family Invite Section Styles */
.family-invite-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
}

.family-invite-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.03;
    z-index: 0;
}

.invite-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.invite-header {
    margin-bottom: 2.5rem;
}

.invite-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.invite-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-primary);
}

.invite-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.invite-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-gradient-medium);
    margin-bottom: 2rem;
    text-align: left;
}

.invite-code-section,
.invite-url-section {
    margin-bottom: 2rem;
}

.invite-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invite-code-display,
.invite-url-display {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.invite-code-input,
.invite-url-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-medium);
}

.invite-code-input:focus,
.invite-url-input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(232, 159, 205, 0.2);
}

.copy-btn {
    background: var(--bg-primary);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--secondary-gradient);
    z-index: -1;
    border-radius: var(--border-radius-sm);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.copy-btn::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--bg-primary);
    border-radius: calc(var(--border-radius-sm) - 1px);
    z-index: -1;
}

.copy-btn:hover::before {
    opacity: 1;
}

.copy-btn:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gradient-light);
}

.copy-feedback {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-medium);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.invite-actions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
}

.user-status {
    text-align: center;
}

.status-text {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.helper-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 0;
}

.invite-instructions {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
}

.invite-instructions h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.instruction-list {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.instruction-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.instruction-list li:last-child {
    margin-bottom: 0;
}

.back-to-home {
    text-align: center;
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--rainbow-gradient);
    z-index: -1;
    border-radius: var(--border-radius-md);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    border-radius: calc(var(--border-radius-md) - 2px);
    z-index: -1;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gradient-medium);
}

/* Mobile Responsive Styles for Family Invite */
@media (max-width: 768px) {
    .family-invite-section {
        padding: 2rem 0;
        min-height: calc(100vh - 70px);
    }

    .invite-title {
        font-size: 2rem;
    }

    .invite-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .invite-code-display,
    .invite-url-display {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .invite-actions {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .family-invite-section {
        padding: 1.5rem 0;
    }

    .invite-icon {
        font-size: 3rem;
    }

    .invite-title {
        font-size: 1.75rem;
    }

    .invite-subtitle {
        font-size: 1rem;
    }

    .invite-card {
        padding: 1rem;
    }

    .invite-code-input,
    .invite-url-input {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .copy-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .instruction-list {
        padding-left: 1rem;
    }
}

/* Animation for invite section entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.family-invite-section.show {
    animation: fadeInUp 0.6s ease-out;
}

.family-invite-section.show .invite-card {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.family-invite-section.show .back-to-home {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Expired Invite Styles */
.expired-title {
    color: #ef4444;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.invite-icon.expired {
    color: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.expired-card {
    border: 2px solid #fecaca;
    background: linear-gradient(135deg, 
        rgba(254, 202, 202, 0.1) 0%, 
        rgba(248, 113, 113, 0.05) 100%);
}

.expired-content {
    text-align: left;
}

.expired-message {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.expired-message h3 {
    color: #dc2626;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.expired-message p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.expired-code-display {
    margin-bottom: 2rem;
}

.expired-input {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
    opacity: 0.7;
    position: relative;
}

.expired-badge {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.invite-code-display {
    position: relative;
}

.expired-actions {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
}

.expired-options {
    margin-bottom: 2rem;
}

.expired-options h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.expired-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expired-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    line-height: 1.5;
}

.expired-list li:last-child {
    border-bottom: none;
}

.expired-download {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* Dark theme support for expired styles */
[data-theme="dark"] .expired-card {
    border-color: rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(185, 28, 28, 0.05) 100%);
}

[data-theme="dark"] .expired-message {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.15) 0%, 
        rgba(185, 28, 28, 0.1) 100%);
    border-color: rgba(220, 38, 38, 0.3);
}

[data-theme="dark"] .expired-input {
    background: rgba(185, 28, 28, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

[data-theme="dark"] .expired-title {
    color: #fca5a5;
}

/* Mobile responsive for expired styles */
@media (max-width: 768px) {
    .expired-message {
        padding: 1rem;
    }

    .expired-actions {
        padding: 1rem;
    }

    .expired-badge {
        position: static;
        display: block;
        margin-top: 0.5rem;
        text-align: center;
        transform: none;
    }

    .invite-code-display {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .expired-message h3 {
        font-size: 1.125rem;
    }

    .expired-list li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* Document-Style Privacy Policy */
.privacy-policy {
    padding: 100px 0 4rem 0;
    background: var(--bg-primary);
    min-height: 100vh;
    font-family: 'Inter', Georgia, serif;
}

.document-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    background: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

[data-theme="dark"] .document-container {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.document-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--text-muted);
    margin-bottom: 3rem;
}

.back-link {
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.back-btn:hover {
    color: var(--text-primary);
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-link:hover {
    color: inherit;
}

.document-title-section {
    text-align: center;
}

.document-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-family: 'League Spartan', sans-serif;
}

.document-meta {
    margin-bottom: 0;
}

.company-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.document-content {
    padding: 0 0 3rem;
    line-height: 1.8;
}

.document-section {
    margin-bottom: 3rem;
}

.document-section:last-child {
    margin-bottom: 2rem;
}

.document-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--text-muted);
    font-family: 'League Spartan', sans-serif;
    letter-spacing: -0.01em;
}

.document-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    font-family: 'League Spartan', sans-serif;
}

.document-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.document-section ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.document-section ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
}

.document-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-primary);
    font-weight: bold;
}

.document-section ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.section-content {
    margin-bottom: 2rem;
}

.section-content:last-child {
    margin-bottom: 0;
}

.contact-info {
    background: var(--bg-secondary);
    border-left: 3px solid var(--text-primary);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.contact-item {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--text-secondary);
}

.document-footer {
    border-top: 1px solid var(--text-muted);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.document-signature p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.document-signature p:last-child {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.effective-notice {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Document Responsive Design */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 90px 0 3rem 0;
    }
    
    .document-container {
        margin: 0 1rem;
        padding: 0 1.5rem;
        border-radius: 6px;
    }
    
    .document-header {
        padding: 2rem 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .document-title {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .document-section {
        margin-bottom: 2.5rem;
    }
    
    .document-section h2 {
        font-size: 1.375rem;
    }
    
    .document-section h3 {
        font-size: 1.0625rem;
    }
    
    .contact-info {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .document-footer {
        padding-top: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy {
        padding: 80px 0 2rem 0;
    }
    
    .document-container {
        margin: 0 0.75rem;
        padding: 0 1rem;
        border-radius: 4px;
    }
    
    .document-header {
        padding: 1.5rem 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .document-title {
        font-size: 1.75rem;
    }
    
    .document-content {
        padding: 0 0 2rem;
    }
    
    .document-section {
        margin-bottom: 2rem;
    }
    
    .document-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .document-section h3 {
        font-size: 1rem;
        margin: 1rem 0 0.75rem 0;
    }
    
    .document-section p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .document-section ul li {
        padding-left: 1rem;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        text-align: left;
    }
    
    .contact-info {
        padding: 0.875rem;
        margin: 0.75rem 0;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .document-footer {
        padding-top: 1rem;
        margin-top: 1.5rem;
    }
    
    .back-link {
        margin-bottom: 1rem;
    }
} 