/* ============================================
   NoteApp - Modern Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    
    --dark-900: #0f0f1a;
    --dark-800: #1a1a2e;
    --dark-700: #252542;
    --dark-600: #2f2f52;
    --dark-500: #3d3d6b;
    
    --light-100: #ffffff;
    --light-200: #f8fafc;
    --light-300: #e2e8f0;
    --light-400: #94a3b8;
    --light-500: #64748b;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-200);
    background: var(--dark-900);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-100);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-200);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-download {
    background: var(--dark-900);
    color: var(--light-100);
    padding: 16px 32px;
    gap: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
    background: var(--dark-700);
    transform: translateY(-2px);
}

.btn-download .play-icon {
    width: 32px;
    height: 32px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.download-large {
    font-size: 1.125rem;
    font-weight: 700;
}

.play-icon {
    width: 24px;
    height: 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 26, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--light-400);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--light-100);
}

.btn-nav {
    padding: 10px 24px !important;
    background: var(--gradient-primary);
    color: var(--light-100) !important;
    border-radius: var(--radius-full);
}

.btn-nav:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light-200);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--success);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-400);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--light-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-500);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 60px;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1a1a2e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--dark-900);
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark-800);
    border-radius: 28px;
    overflow: hidden;
}

.app-preview {
    padding: 50px 16px 16px;
    height: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-600);
}

.preview-icon {
    opacity: 0.5;
}

.preview-note {
    background: var(--dark-700);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.preview-note:nth-child(3) { animation-delay: 1s; }
.preview-note:nth-child(4) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.note-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.note-tag.work {
    background: rgba(14, 165, 233, 0.2);
    color: var(--secondary);
}

.note-tag.idea {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.preview-note h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.preview-note p {
    font-size: 0.75rem;
    color: var(--light-500);
}

.note-meta {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--light-500);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--dark-800);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--light-500);
    font-size: 1.125rem;
    margin-top: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--dark-700);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card.featured {
    grid-row: span 2;
    background: linear-gradient(145deg, var(--dark-700) 0%, var(--dark-600) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--light-500);
    font-size: 0.9375rem;
}

.feature-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--light-300);
}

.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Privacy Section */
.privacy {
    padding: 120px 0;
    background: var(--dark-900);
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-lead {
    font-size: 1.25rem;
    color: var(--light-400);
    margin: 24px 0 40px;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.privacy-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.privacy-icon {
    font-size: 2rem;
    background: var(--dark-700);
    padding: 16px;
    border-radius: var(--radius-md);
}

.privacy-feature h4 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.privacy-feature p {
    color: var(--light-500);
    font-size: 0.9375rem;
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 4rem;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.shield-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: ripple 3s ease-out infinite;
}

.shield-ring.delay-1 { animation-delay: 1s; }
.shield-ring.delay-2 { animation-delay: 2s; }

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.shield-features {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shield-feature {
    position: absolute;
    padding: 8px 16px;
    background: var(--dark-700);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-light);
    white-space: nowrap;
}

.sf-1 { top: 10%; left: 0; }
.sf-2 { top: 10%; right: 0; }
.sf-3 { bottom: 10%; left: 0; }
.sf-4 { bottom: 10%; right: 0; }

/* Languages Section */
.languages {
    padding: 120px 0;
    background: var(--dark-800);
}

.languages-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.language-globe {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-700);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-inner {
    font-size: 5rem;
    animation: spin 20s linear infinite reverse;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
}

.lang {
    padding: 10px 20px;
    background: var(--dark-700);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.lang:hover {
    background: var(--dark-600);
    border-color: rgba(99, 102, 241, 0.3);
}

.lang.more {
    background: var(--gradient-primary);
    border: none;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: var(--dark-900);
}

.download-card {
    position: relative;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 80px;
    text-align: center;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-card h2 {
    margin-bottom: 16px;
}

.download-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
}

.download-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.c1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.c2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.c3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: var(--dark-800);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--light-500);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-200);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--light-500);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--light-200);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-500);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        padding-left: 0;
        padding-top: 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-row: span 1;
    }
    
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .privacy-visual {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-900);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features,
    .privacy-section,
    .languages-section,
    .download {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .download-card {
        padding: 40px 20px;
        border-radius: var(--radius-lg);
    }
    
    .download-card h2 {
        font-size: 1.5rem;
    }
    
    .download-card p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .phone-mockup {
        width: 220px;
        height: 460px;
    }
    
    .privacy-content {
        gap: 40px;
    }
    
    .privacy-text h2 {
        font-size: 1.75rem;
    }
    
    .privacy-features {
        gap: 16px;
    }
    
    .languages-header {
        flex-direction: column;
        gap: 24px;
    }
    
    .language-globe {
        width: 100px;
        height: 100px;
    }
    
    .globe-inner {
        font-size: 3rem;
    }
    
    .lang {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        align-items: center;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .privacy-feature {
        padding: 16px;
    }
    
    .privacy-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .languages-list {
        gap: 8px;
    }
    
    .lang {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 420px;
    }
    
    .decoration-circle.c1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -50px;
    }
    
    .decoration-circle.c2 {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: -50px;
    }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero {
        padding: 90px 12px 50px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .download-card {
        padding: 32px 16px;
    }
    
    .download-card h2 {
        font-size: 1.25rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 380px;
    }
    
    .language-selector {
        right: 50px;
    }
    
    .lang-dropdown {
        right: -40px;
        min-width: 140px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   Language Selector
   ============================================ */

.language-selector {
    position: relative;
    margin-left: 20px;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 8px 12px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-700);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

.language-selector:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: var(--light-400);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--light-100);
}

.lang-option.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    
    .lang-dropdown {
        right: -20px;
    }
}
