/* LocalList Landing - Merged Styles */
/* Sources: app.css + MainLayout.razor.css + Home.razor.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================
   1. CSS Variables & Global Reset
   ============================================ */

:root {
    --deep-ocean: #0f172a;
    --electric-blue: #3b82f6;
    --sunset-orange: #f97316;
    --paper-white: #F2EFE9;
    --success-emerald: #10b981;
    --text-main: #1e293b;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --bg-main: #F2EFE9;
    --bg-card: #FFFFFF;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

/* Skip navigation link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--electric-blue, #3b82f6);
    color: white;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   2. Keyframe Animations
   ============================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.7); }
    60% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 25px rgba(16, 185, 129, 0);
    }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.15); }
    66% { transform: translate(-30px, 20px) scale(0.9); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes mosaicScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ============================================
   3. Animation Utility Classes
   ============================================ */

.fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

.pulse { animation: pulse 2s ease-in-out infinite; }
.slide-in-right { animation: slideInRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.scale-up { animation: scaleUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px) !important; }

/* Scroll-triggered animation classes */
/* Scroll-triggered: transition-based for bidirectional support.
   animation:none overrides the standalone .fade-in-up / .slide-in-right / .scale-up
   animations that would otherwise fire immediately and bypass scroll control. */
.scroll-animate {
    opacity: 0;
    animation: none !important;
    transition: opacity 1.4s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.scroll-animate.fade-in-up { transform: translateY(36px); }
.scroll-animate.fade-in-down { transform: translateY(-36px); }
.scroll-animate.slide-in-left { transform: translateX(-50px); }
.scroll-animate.slide-in-right { transform: translateX(50px); }
.scroll-animate.scale-up { transform: scale(0.92); }

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.25s; }
.stagger-3 { transition-delay: 0.4s; }

/* Parallax utility */
.parallax-slow { will-change: transform; }
.parallax-fast { will-change: transform; }

/* Dynamic Hero Animations — smooth & unhurried */
.anim-scale-in { opacity: 0; animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-slide-up { opacity: 0; animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-fade-in { opacity: 0; animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

.anim-delay-1 { animation-delay: 0.3s; }
.anim-delay-2 { animation-delay: 0.55s; }
.anim-delay-3 { animation-delay: 0.85s; }
.anim-delay-4 { animation-delay: 1.15s; }
.anim-delay-5 { animation-delay: 1.45s; }

/* Wrapper for animating text elements — prevents layout bouncing
   by keeping the transform on a block container instead of inline text */
.anim-wrapper {
    display: block;
}

/* ============================================
   4. Layout (from MainLayout)
   ============================================ */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #F2EFE9;
}

main {
    flex: 1;
}

/* Footer */
.site-footer {
    background-color: var(--deep-ocean, #0f172a);
    color: #94a3b8;
    padding: 2.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-icon {
    height: 28px;
    width: auto;
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: white;
}

/* ============================================
   5. Typography
   ============================================ */

.section-title,
.quality-card h2,
.legal-card h1 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   6. Hero Section
   ============================================ */

.landing-page {
    color: var(--text-main, #1e293b);
    background-color: #F2EFE9;
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background-color: #F2EFE9;
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-gradient-orb.orb-1 {
    width: 600px; height: 600px;
    top: -20%; left: -10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.hero-gradient-orb.orb-2 {
    width: 500px; height: 500px;
    bottom: -10%; right: -10%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    animation-delay: -4s;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 160px;
    width: auto;
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.title-serif {
    font-family: 'Playfair Display', Georgia, serif;
    display: block;
}

.title-accent {
    color: var(--electric-blue, #3b82f6);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Hero Inline Waitlist */
.hero-waitlist {
    max-width: 480px;
    margin: 0 auto;
}

.hero-form-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.hero-input-wrapper {
    flex: 1;
}

.hero-email-input {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    color: var(--text-main);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: border-color 0.2s, box-shadow 0.2s, outline-color 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.hero-email-input:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline-color: var(--electric-blue);
}

.hero-email-input::placeholder {
    color: #94a3b8;
}

.hero-submit-button {
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: 12px;
    background-color: var(--electric-blue);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hero-submit-button:hover {
    background-color: #2563eb;
}

.hero-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hero-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: left;
}

.hero-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-emerald);
    border-radius: 12px;
    color: var(--success-emerald);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-success-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-privacy {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    margin-left: -12px;
    width: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.3);
    text-decoration: none;
    animation: scrollBounce 2.5s ease-in-out infinite;
    transition: color 0.3s ease;
}

.scroll-arrow:hover {
    color: rgba(15, 23, 42, 0.5);
}

/* ============================================
   7. Section Common
   ============================================ */

.section-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--deep-ocean, #0f172a);
}

/* ============================================
   9. Video Section
   ============================================ */

.video-section {
    background-color: #F2EFE9;
    padding: 5rem 0;
}

.video-title { margin-bottom: 3rem; }

.video-single-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.brand-video-large {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid var(--deep-ocean, #0f172a);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    z-index: 10;
    border-radius: 20px;
}

.protected-video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.protected-video::-webkit-media-controls { display: none !important; }
.protected-video::-webkit-media-controls-enclosure { display: none !important; }
.protected-video::-webkit-media-controls-panel { display: none !important; }

/* ============================================
   10. App Preview Section
   ============================================ */

.app-preview-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.app-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: #F2EFE9;
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon { font-size: 2rem; flex-shrink: 0; }

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--deep-ocean, #0f172a);
    margin-bottom: 0.35rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary, #475569);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   11. Problem Section
   ============================================ */

.problem-section { background-color: #F2EFE9; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    text-align: center;
    padding: 0;
    border-radius: 20px;
    background-color: #0f172a;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.problem-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.problem-card:hover .problem-card-bg {
    opacity: 0.90;
}

.problem-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 60%, transparent 100%);
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
}

.problem-card-text {
    position: relative;
    z-index: 1;
    padding: 2rem 1.75rem;
    background: transparent;
}

.problem-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    margin: 0;
}


/* ============================================
   12. How It Works Section
   ============================================ */

.how-section { background-color: #F2EFE9; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 1rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--electric-blue);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-card-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   13. Quality Promise Section
   ============================================ */

.quality-section { background-color: #F2EFE9; }

.quality-card {
    text-align: center;
    padding: 4rem;
    background-color: white;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px; height: 120px;
    background-color: var(--success-emerald, #10b981);
    color: white;
    border-radius: 50%;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}

.quality-card h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--deep-ocean, #0f172a);
}

.quality-card p {
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary, #475569);
    font-size: 1.15rem;
    line-height: 1.7;
}

.quality-card p strong { color: var(--success-emerald, #10b981); }

.quality-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 2.5rem;
}

.stat { display: flex; flex-direction: column; gap: 0.35rem; }

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--deep-ocean, #0f172a);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #475569);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mosaic strip */
.mosaic-strip { overflow: hidden; border-radius: 16px; margin-top: 0.5rem; }

.mosaic-track {
    display: flex;
    gap: 1rem;
    animation: mosaicScroll 20s linear infinite;
    width: max-content;
}

.mosaic-img {
    width: 340px; height: 220px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* ============================================
   14. Download CTA Section
   ============================================ */

.download-section {
    background-color: var(--deep-ocean, #0f172a);
    color: white;
    padding: 2rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.download-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.download-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 15s ease-in-out infinite;
}

.download-orb.orb-1 {
    width: 400px; height: 400px;
    top: -30%; right: -10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

.download-orb.orb-2 {
    width: 350px; height: 350px;
    bottom: -20%; left: -5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    animation-delay: -6s;
}

.download-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.download-logo { height: 80px; width: auto; }

.download-section .section-content { position: relative; z-index: 1; }
.download-section .section-title { color: white; }

.download-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Waitlist form inside dark download section */
.download-section .hero-email-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.download-section .hero-email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.download-section .hero-email-input:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.download-section .hero-error {
    color: #fca5a5;
}

.download-section .hero-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

.loading-spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Hidden state for form/success toggle */
.hidden { display: none !important; }

/* ============================================
   Language Toggle
   ============================================ */

.lang-toggle {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.2rem 0.4rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s, font-weight 0.2s;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    color: var(--deep-ocean, #0f172a);
    font-weight: 700;
}

.lang-btn:hover:not(.active) {
    color: var(--electric-blue, #3b82f6);
}

.lang-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
    user-select: none;
}

/* ============================================
   16. Legal Pages (Privacy, Terms)
   ============================================ */

.legal-page {
    min-height: 100vh;
    background-color: #F2EFE9;
    padding: 3rem 1.5rem 4rem;
}

.legal-container { max-width: 800px; margin: 0 auto; }

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.legal-back-link:hover { color: var(--electric-blue); }
.legal-back-link svg { width: 18px; height: 18px; }

.legal-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.legal-card h1 {
    font-size: 2.2rem;
    color: var(--deep-ocean);
    margin-bottom: 0.5rem;
}

.legal-effective-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-ocean);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-card ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-card li { margin-bottom: 0.4rem; }
.legal-card a { color: var(--electric-blue); text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

/* ============================================
   17. 404 Page
   ============================================ */

.not-found-page {
    min-height: 100vh;
    background-color: #F2EFE9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.not-found-content { max-width: 500px; }

.not-found-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--electric-blue, #3b82f6);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.not-found-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--deep-ocean, #0f172a);
    margin-bottom: 1rem;
}

.not-found-text {
    color: var(--text-secondary, #475569);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.not-found-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.not-found-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45);
}

/* ============================================
   18. Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .lang-toggle { top: 0.75rem; right: 0.75rem; padding: 0.3rem 0.6rem; }
    .lang-btn { font-size: 0.7rem; }
    .hero { min-height: 85vh; padding: 4rem 1.5rem 5rem; }
    .hero-logo { height: 110px; margin-bottom: 2rem; }
    .hero-title { font-size: 2.75rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-gradient-orb.orb-1,
    .hero-gradient-orb.orb-2 { width: 300px; height: 300px; }

    .hero-form-row { flex-direction: column; }
    .hero-submit-button { width: 100%; padding: 1rem; }
    .scroll-arrow { bottom: 1rem; }

    .app-preview-grid { grid-template-columns: 1fr; }
    .feature-item { padding: 1.25rem; gap: 1rem; }
    .feature-item h3 { font-size: 1.1rem; }
    .feature-item p { font-size: 0.95rem; }
    .feature-item:hover { transform: none; }

    .problem-grid { grid-template-columns: 1fr; }
    .problem-card { min-height: 240px; border-radius: 16px; }
    .problem-card-bg { opacity: 0.7; }
    .problem-card-text { padding: 1.5rem 1.25rem; }
    .problem-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }

    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .step-card:hover { transform: none; }
    .step-card-image { height: 220px; }

    .quality-stats { flex-direction: column; gap: 2rem; }
    .section-title { font-size: 2rem; }
    .section-content { padding: 4rem 1.5rem; }
    .quality-card { padding: 2.5rem 1.5rem; }

    .download-logo { height: 60px; }
    .mosaic-img { width: 260px; height: 170px; }

    /* Video */
    .video-section { padding: 3rem 0; }
    .video-section .section-content { padding-left: 0; padding-right: 0; }
    .video-title { margin-bottom: 1.5rem; padding: 0 1rem; }
    .video-wrapper { max-width: 100%; }
    .brand-video-large { border-radius: 0; box-shadow: none; }
    .video-overlay { border-radius: 0; }

    /* Footer */
    .footer-content { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero { padding: 2.5rem 1rem 3rem; }
    .hero-logo { height: 80px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; }
    .section-content { padding: 2.5rem 1rem; }
    .quality-badge { width: 90px; height: 90px; font-size: 2.8rem; }
    .quality-card h2 { font-size: 1.6rem; }
    .quality-card p { font-size: 1rem; }
    .quality-card { padding: 2rem 1rem; }
    .problem-card { padding: 2rem 1.5rem; }
    .step-card-image { height: 180px; }
    .download-logo { height: 48px; }
    .mosaic-img { width: 220px; height: 145px; }
    .feature-item { padding: 1rem; gap: 0.75rem; }
    .feature-item h3 { font-size: 1.05rem; }
    .feature-icon { font-size: 1.5rem; }

    /* Video */
    .video-section { padding: 2rem 0; }
    .brand-video-large { border-radius: 0; }
    .video-overlay { border-radius: 0; }

    /* Legal */
    .legal-card { padding: 2rem 1.5rem; }
    .legal-card h1 { font-size: 1.75rem; }
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
