/* ============================================
   SHRINGARA LANDING PAGE — VELVET NIGHT THEME
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Background Hierarchy */
    --bg-base: #0B0B0F;
    --bg-surface: #111118;
    --bg-elevated: #1A1A24;
    --bg-card: #1E1E2A;
    --bg-modal: #22222D;

    /* Brand Colors */
    --gold: #C8A96E;
    --gold-light: #DCC89B;
    --gold-dim: #9A7D4A;
    --purple: #BB86FC;
    --pink: #CF6679;
    --crimson: #D1525C;

    /* Text */
    --text-primary: #F5F0E8;
    --text-secondary: #A0A0B2;
    --text-muted: #6C6C80;

    /* Sizing */
    --nav-height: 72px;
    --max-width: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-title em {
    font-style: italic;
    color: var(--gold-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(11, 11, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(200, 169, 110, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-smooth);
}

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

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

.nav-cta-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-base);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    padding: 10px 24px;
    border-radius: 100px;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-smooth);
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 169, 110, 0.3);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(11, 11, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth), visibility 0.4s var(--ease-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-link:hover,
.mobile-link.cta {
    color: var(--gold);
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
}

/* Play Store Badge */
.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s var(--ease-smooth);
    color: var(--text-primary);
}

.hero-badge:hover {
    background: rgba(200, 169, 110, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 169, 110, 0.15);
}

.badge-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.badge-store {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: -2px;
}

/* Tags */
.hero-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-dim);
    letter-spacing: 0.05em;
}

/* Hero Phone */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone-frame {
    position: relative;
    width: 320px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(200, 169, 110, 0.1),
        0 24px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(200, 169, 110, 0.06);
    animation: phoneFloat 5s ease-in-out infinite alternate;
}

@keyframes phoneFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.hero-phone-img {
    width: 100%;
    height: auto;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: fadeInUp 1s 1.5s var(--ease-smooth) forwards;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 0.4; transform: translate(-50%, 0); }
}

/* ========================
   FEATURES SECTION
   ======================== */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(200, 169, 110, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-smooth);
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: var(--bg-elevated);
    border-color: rgba(200, 169, 110, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 110, 0.08);
    border: 1px solid rgba(200, 169, 110, 0.12);
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--gold);
    transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover .feature-icon {
    background: rgba(200, 169, 110, 0.15);
    transform: scale(1.05);
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================
   SCREENSHOTS CAROUSEL
   ======================== */
.screens {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.screens .section-container {
    margin-bottom: 64px;
}

.screens-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.screens-carousel:active {
    cursor: grabbing;
}

.screens-track {
    display: flex;
    gap: 24px;
    padding: 0 calc((100vw - var(--max-width)) / 2 + 24px);
    transition: transform 0.1s linear;
    will-change: transform;
}

.screen-card {
    flex-shrink: 0;
    width: 280px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(200, 169, 110, 0.08);
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.screen-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(200, 169, 110, 0.08);
}

.screen-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screen-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(11, 11, 15, 0.9));
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

/* ========================
   PRIVACY SECTION
   ======================== */
.privacy {
    padding: var(--section-padding) 0;
    background: var(--bg-surface);
    position: relative;
}

.privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 110, 0.15), transparent);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(200, 169, 110, 0.03);
    border: 1px solid rgba(200, 169, 110, 0.06);
    border-radius: 14px;
    transition: all 0.3s var(--ease-smooth);
}

.privacy-item:hover {
    background: rgba(200, 169, 110, 0.06);
    border-color: rgba(200, 169, 110, 0.12);
    transform: translateX(4px);
}

.privacy-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.privacy-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.privacy-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Privacy Phone */
.privacy-visual {
    display: flex;
    justify-content: center;
}

.privacy-phone-frame {
    width: 280px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(200, 169, 110, 0.08),
        0 24px 80px rgba(0, 0, 0, 0.4);
}

.privacy-phone-frame img {
    width: 100%;
    height: auto;
}

/* ========================
   DOWNLOAD CTA
   ======================== */
.download {
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.download-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-base);
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 24px rgba(200, 169, 110, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(200, 169, 110, 0.4);
}

.download-btn .badge-label {
    color: rgba(11, 11, 15, 0.6);
}

.download-btn .badge-store {
    color: var(--bg-base);
}

.download-age {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(200, 169, 110, 0.06);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-dim) !important;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    /* Nav */
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }



    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        gap: 48px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-phone-frame {
        width: 260px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-subtitle {
        max-width: 100%;
    }

    /* Screens */
    .screens-track {
        padding: 0 24px;
    }

    .screen-card {
        width: 240px;
    }

    /* Privacy */
    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .privacy-visual {
        order: -1;
    }

    .privacy-phone-frame {
        width: 240px;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 64px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-badge {
        padding: 10px 18px;
    }

    .feature-card {
        padding: 28px 22px;
    }

    .screen-card {
        width: 200px;
    }
}
