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

/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
    /* Colors */
    --bg-deep:        #03040a;
    --bg-dark:        #060811;
    --bg-card:        rgba(14, 16, 32, 0.6);
    --bg-card-hover:  rgba(20, 22, 45, 0.8);
    --border-card:    rgba(120, 80, 255, 0.12);
    --border-hover:   rgba(160, 100, 255, 0.35);
    --border-glow:    rgba(200, 140, 255, 0.5);

    /* Brand palette */
    --primary:        #9B6FFF;
    --primary-light:  #C084FC;
    --primary-dark:   #6B3FE0;
    --secondary:      #E040FB;
    --accent:         #06B6D4;
    --accent-warm:    #F59E0B;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #9B6FFF 0%, #E040FB 50%, #06B6D4 100%);
    --gradient-card:  linear-gradient(135deg, rgba(155, 111, 255, 0.08) 0%, rgba(224, 64, 251, 0.04) 100%);
    --gradient-hero:  linear-gradient(180deg, rgba(155, 111, 255, 0.15) 0%, transparent 60%);
    --gradient-text:  linear-gradient(135deg, #fff 20%, #C084FC 55%, #E040FB 80%);

    /* Text */
    --text-white:     #F8FAFC;
    --text-muted:     #8892B0;
    --text-dimmed:    #4A5580;

    /* Glows */
    --glow-primary:   rgba(155, 111, 255, 0.4);
    --glow-secondary: rgba(224, 64, 251, 0.3);
    --glow-accent:    rgba(6, 182, 212, 0.3);

    /* Sizing */
    --radius-sm:   12px;
    --radius-md:   20px;
    --radius-lg:   28px;
    --radius-xl:   36px;

    /* Transitions */
    --transition-fast:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: all 0.5s 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;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animated cosmic background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 5%,  rgba(155, 111, 255, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 90%,  rgba(224, 64, 251, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%,  rgba(6, 182, 212, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 20%,  rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 20s ease-in-out infinite alternate;
}

/* Starfield grid */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgShift {
    0%   { opacity: 1; transform: scale(1) rotate(0deg); }
    50%  { opacity: 0.85; }
    100% { opacity: 1; transform: scale(1.03) rotate(1deg); }
}

/* Language system */
body.lang-tr .en-text { display: none !important; }
body.lang-en .tr-text { display: none !important; }

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===========================
   HEADER & NAV
   =========================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 4, 10, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(155, 111, 255, 0.1);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(3, 4, 10, 0.92);
    border-bottom-color: rgba(155, 111, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.logo:hover { opacity: 0.85; }

.logo img {
    height: 34px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(155, 111, 255, 0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links li a:hover {
    color: var(--text-white);
    background: rgba(155, 111, 255, 0.1);
}

.nav-links li a.active {
    color: var(--primary-light);
    background: rgba(155, 111, 255, 0.12);
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(3, 4, 10, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInScale 0.3s ease;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.mobile-nav a:hover { opacity: 1; color: var(--primary-light); }

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* Language Switcher */
.lang-switch {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px;
    border-radius: 30px;
    display: flex;
    gap: 2px;
}

.lang-btn {
    cursor: pointer;
    padding: 0.38rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    transition: var(--transition-fast);
    color: var(--text-dimmed);
    letter-spacing: 0.5px;
    user-select: none;
}

.lang-btn:hover { color: var(--text-white); }

body.lang-tr .btn-tr,
body.lang-en .btn-en {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 2px 10px var(--glow-primary);
}

/* ===========================
   MAIN LAYOUT
   =========================== */
main {
    flex-grow: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

/* ===========================
   GLASS BOX (CARD)
   =========================== */
.glass-box {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Top highlight border */
.glass-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(155, 111, 255, 0.25) 0%, rgba(224, 64, 251, 0.1) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

/* Ambient glow background */
.glass-box::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(155, 111, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.glass-box:hover {
    border-color: rgba(155, 111, 255, 0.25);
    box-shadow:
        0 20px 60px -15px rgba(0, 0, 0, 0.5),
        0 0 40px -10px rgba(155, 111, 255, 0.12);
    transform: translateY(-3px);
}

.glass-box:hover::before { opacity: 1; }

/* ===========================
   BADGES
   =========================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: rgba(155, 111, 255, 0.1);
    border: 1px solid rgba(155, 111, 255, 0.22);
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

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

/* ===========================
   GRADIENT TEXT
   =========================== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    text-align: center;
    padding: 5rem 3.5rem 4.5rem;
    overflow: visible;
}

/* Hero cosmic orb */
.hero-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(155, 111, 255, 0.12) 0%, rgba(224, 64, 251, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -48%) scale(1.08); }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
}

.hero p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ===========================
   CTA BUTTON
   =========================== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: var(--transition-spring);
    background: var(--gradient-brand);
    color: #fff;
    box-shadow:
        0 4px 20px rgba(155, 111, 255, 0.35),
        0 1px 0 rgba(255,255,255,0.15) inset;
    border: none;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 35px rgba(155, 111, 255, 0.5),
        0 1px 0 rgba(255,255,255,0.2) inset;
}

.cta-btn:hover::after { opacity: 1; }
.cta-btn:active { transform: translateY(0) scale(0.98); }

/* For backward compat */
.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 20px rgba(155, 111, 255, 0.35);
    transition: var(--transition-spring);
    justify-content: center;
}

.app-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(155, 111, 255, 0.5);
}

/* ===========================
   APP SHOWCASE
   =========================== */
.app-showcase {
    padding: 4rem 3.5rem;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
}

.app-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-details h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.app-details > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.75;
}

/* Feature Cards */
.app-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(155, 111, 255, 0.04);
    border: 1px solid rgba(155, 111, 255, 0.08);
    transition: var(--transition-fast);
    cursor: default;
}

.feature-item:hover {
    background: rgba(155, 111, 255, 0.08);
    border-color: rgba(155, 111, 255, 0.18);
    transform: translateX(4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    background: rgba(155, 111, 255, 0.15);
    border: 1px solid rgba(155, 111, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-icon {
    background: rgba(155, 111, 255, 0.25);
    box-shadow: 0 0 16px rgba(155, 111, 255, 0.3);
}

.feature-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.feature-info p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Store Buttons */
.store-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Google Play Button */
.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0a0a0a;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 22px;
    text-decoration: none;
    color: #fff;
    transition: var(--transition-smooth);
    box-shadow:
        0 4px 20px rgba(0,0,0,0.4),
        0 1px 0 rgba(255,255,255,0.06) inset;
    position: relative;
    overflow: hidden;
}

.google-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(155, 111, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-fast);
}

.google-play-btn:hover {
    border-color: rgba(155, 111, 255, 0.5);
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(155, 111, 255, 0.3),
        0 1px 0 rgba(255,255,255,0.1) inset;
}

.google-play-btn:hover::before { opacity: 1; }
.google-play-btn:active { transform: translateY(0); }

.gp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.gp-text-small {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    opacity: 0.75;
}

.gp-text-large {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ===========================
   PHONE MOCKUP
   =========================== */
.app-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Floating glow behind phone */
.app-mockup::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(155, 111, 255, 0.3) 0%, rgba(224, 64, 251, 0.15) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
    z-index: 0;
    animation: phoneGlow 5s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
    0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -52%) scale(1.1); }
}

.phone-frame {
    width: 260px;
    height: 520px;
    background: linear-gradient(180deg, #111320 0%, #0a0c18 100%);
    border: 10px solid #1a1e30;
    border-radius: 44px;
    box-shadow:
        0 30px 70px -20px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.04),
        inset 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 5;
    animation: phoneFloat 6s ease-in-out infinite alternate;
}

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

/* Notch */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #1a1e30;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

/* Screen shimmer */
.phone-frame::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 60%;
    height: 300%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 20;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.phone-screen {
    flex-grow: 1;
    background: linear-gradient(180deg, #0c0e1a 0%, #080a14 100%);
    display: flex;
    flex-direction: column;
    padding: 1.8rem 0.9rem 0.8rem;
    position: relative;
    justify-content: space-between;
    overflow: hidden;
}

/* Screen bg glow */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(155, 111, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    z-index: 2;
}

.logo-circle {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(155, 111, 255, 0.3) 0%, rgba(224, 64, 251, 0.2) 100%);
    border: 1px solid rgba(155, 111, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(155, 111, 255, 0.3);
}

.app-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-white);
}

.app-card-preview {
    background: linear-gradient(135deg, rgba(155, 111, 255, 0.1) 0%, rgba(224, 64, 251, 0.06) 100%);
    border: 1px solid rgba(155, 111, 255, 0.2);
    border-radius: 18px;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
    margin: 16px 0;
    animation: pulseGlow 4s ease-in-out infinite alternate;
    z-index: 2;
}

.card-glow-bg {
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(224, 64, 251, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-badge {
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(224, 64, 251, 0.15);
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.card-author {
    font-size: 0.62rem;
    color: var(--text-dimmed);
    align-self: flex-end;
}

.phone-navigation {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 1rem;
    color: var(--text-dimmed);
    position: relative;
    z-index: 2;
}

.phone-navigation span {
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 6px;
    border-radius: 8px;
}

.phone-navigation span:hover { color: var(--primary-light); }

.phone-navigation span.active {
    color: var(--primary-light);
    text-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}

@keyframes pulseGlow {
    0%   { border-color: rgba(155, 111, 255, 0.2); box-shadow: 0 4px 20px rgba(155, 111, 255, 0.05); }
    100% { border-color: rgba(224, 64, 251, 0.45); box-shadow: 0 4px 25px rgba(224, 64, 251, 0.18); }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    padding: 4rem 3.5rem;
    text-align: center;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-grid h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contact-grid > p {
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(192, 132, 252, 0.25);
    background: rgba(155, 111, 255, 0.07);
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

.contact-email:hover {
    color: #fff;
    background: rgba(155, 111, 255, 0.15);
    border-color: rgba(155, 111, 255, 0.5);
    box-shadow: 0 6px 25px rgba(155, 111, 255, 0.25);
    transform: translateY(-2px);
}

/* ===========================
   FOOTER
   =========================== */
footer.site-footer {
    background: rgba(3, 4, 10, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(155, 111, 255, 0.1);
    padding: 5rem 2rem 2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-col p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-divider {
    max-width: 1140px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-dimmed);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-dimmed);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.82rem;
}

.footer-bottom-links a:hover { color: var(--primary-light); }

/* ===========================
   POLICY PAGE
   =========================== */
.policy-text {
    padding: 4rem 3.5rem;
}

.policy-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.8px;
}

.policy-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2.5rem 0 0.9rem;
    color: var(--primary-light);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(155, 111, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-text h3::before {
    content: '';
    width: 3px;
    height: 1.15rem;
    background: var(--gradient-brand);
    border-radius: 2px;
    display: inline-block;
}

.policy-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.8;
}

.policy-text ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    color: var(--text-muted);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.policy-text li {
    font-size: 0.975rem;
    line-height: 1.7;
    padding: 0.7rem 1rem 0.7rem 1rem;
    background: rgba(155, 111, 255, 0.03);
    border: 1px solid rgba(155, 111, 255, 0.07);
    border-radius: var(--radius-sm);
    position: relative;
    padding-left: 2.2rem;
}

.policy-text li::before {
    content: '→';
    position: absolute;
    left: 0.85rem;
    color: var(--primary-light);
    opacity: 0.6;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

.policy-text ul[style*="decimal"] { list-style: none; counter-reset: item; }
.policy-text ul[style*="decimal"] li { counter-increment: item; }
.policy-text ul[style*="decimal"] li::before {
    content: counter(item) '.';
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

.policy-text li strong { color: var(--text-white); }

.last-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(155, 111, 255, 0.1);
    border: 1px solid rgba(155, 111, 255, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

/* ===========================
   ENTER ANIMATIONS
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ===========================
   404 PAGE
   =========================== */
.error-section {
    text-align: center;
    padding: 5rem 2rem;
}

.error-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    main { max-width: 900px; padding: 4rem 1.5rem; }
    .app-grid { grid-template-columns: 1fr 320px; gap: 3rem; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
    .footer-grid .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    main { padding: 3rem 1rem; gap: 2.5rem; }
    nav { padding: 1rem 1.25rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .glass-box { padding: 2.5rem 1.75rem; border-radius: var(--radius-lg); }
    .hero { padding: 3.5rem 1.75rem 3rem; }
    .app-showcase, .contact-section, .policy-text { padding: 3rem 1.75rem; }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-mockup { order: -1; }

    .phone-frame { width: 220px; height: 440px; }

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

    .footer-grid .brand-col {
        grid-column: 1 / -1;
    }

    footer.site-footer { padding: 3.5rem 1.25rem 2rem; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .store-buttons { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    main { padding: 2.5rem 0.75rem; gap: 2rem; }
    .glass-box { padding: 2rem 1.25rem; border-radius: var(--radius-md); }
    .hero { padding: 3rem 1.25rem 2.5rem; }
    .app-showcase, .contact-section, .policy-text { padding: 2.5rem 1.25rem; }

    .hero h1 { letter-spacing: -1px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-links { flex-wrap: wrap; gap: 1rem; }

    .phone-frame { width: 200px; height: 400px; border-radius: 36px; border-width: 8px; }
}

/* ===========================
   UTILITIES
   =========================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
