/* ===========================
   Infinity Peaks Studio
   =========================== */

:root {
    --bg-0: #05070d;
    --bg-1: #0a0e1a;
    --bg-2: #0f1424;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #eaf0ff;
    --text-dim: #9aa3bd;
    --text-muted: #6b7393;
    --accent-1: #7afcff;
    --accent-2: #5b8cff;
    --accent-3: #9d5cff;
    --grad-primary: linear-gradient(135deg, #7afcff 0%, #5b8cff 50%, #9d5cff 100%);
    --grad-soft: linear-gradient(135deg, rgba(122, 252, 255, 0.15) 0%, rgba(157, 92, 255, 0.15) 100%);
    --shadow-lg: 0 30px 80px -20px rgba(91, 140, 255, 0.35);
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

::selection {
    background: rgba(122, 252, 255, 0.3);
    color: #fff;
}

/* ===========================
   Animated background
   =========================== */
.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 140, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(157, 92, 255, 0.15), transparent 60%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(122, 252, 255, 0.6), transparent 70%);
    top: -200px;
    left: -100px;
    animation: float1 20s ease-in-out infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(157, 92, 255, 0.55), transparent 70%);
    top: 40%;
    right: -150px;
    animation: float2 25s ease-in-out infinite;
}

.blob-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(91, 140, 255, 0.4), transparent 70%);
    bottom: -300px;
    left: 30%;
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -50px) scale(1.15); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -80px) scale(0.9); }
}

#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* ===========================
   Navigation
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--ease);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.nav.scrolled {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 14px 48px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s var(--ease);
}

.nav-brand:hover { opacity: 0.85; }

.nav-logo {
    width: 44px;
    height: auto;
    display: block;
    transition: transform 0.4s var(--ease);
    filter: drop-shadow(0 0 8px rgba(122, 252, 255, 0.3));
}

.nav-brand:hover .nav-logo {
    transform: scale(1.1) rotate(-2deg);
}

.nav-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a:not(.nav-social):hover {
    color: var(--text);
}

.nav-links a:not(.nav-social)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--grad-primary);
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-social):hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim) !important;
    transition: all 0.3s var(--ease);
}

.nav-social:hover {
    color: var(--text) !important;
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(122, 252, 255, 0.4);
}

/* ===========================
   Hero
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-inner {
    max-width: 880px;
    position: relative;
    z-index: 2;
}

.hero-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 44px;
}

.hero-logo {
    width: 280px;
    height: 222px;
    filter: drop-shadow(0 0 50px rgba(122, 252, 255, 0.5)) drop-shadow(0 0 20px rgba(91, 140, 255, 0.4));
    animation: logoFloat 6s ease-in-out infinite;
}

.hero-logo-img {
    width: 320px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 50px rgba(122, 252, 255, 0.5)) drop-shadow(0 10px 40px rgba(91, 140, 255, 0.35));
    animation: logoFloat 6s ease-in-out infinite;
    transition: transform 0.5s var(--ease);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.hero-logo-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(122, 252, 255, 0.4), rgba(91, 140, 255, 0.2) 40%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

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

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--grad-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 8s ease-in-out infinite;
}

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

.hero-slogan {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary {
    background: var(--grad-primary);
    color: #0a0e1a;
    box-shadow: 0 10px 30px -10px rgba(122, 252, 255, 0.6);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff, #7afcff);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -10px rgba(122, 252, 255, 0.7);
}

.btn-primary:hover::before {
    opacity: 0.5;
}

.btn-primary svg {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--surface-strong);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fadeBounce 2.4s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 1.8s ease-in-out infinite;
}

@keyframes wheelMove {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

@keyframes fadeBounce {
    0%, 100% { opacity: 0.5; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, -6px); }
}

/* ===========================
   Sections
   =========================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 32px;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-1);
    padding: 6px 14px;
    border: 1px solid rgba(122, 252, 255, 0.3);
    border-radius: 100px;
    background: rgba(122, 252, 255, 0.05);
    margin-bottom: 24px;
}

.section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.grad-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   Approach cards
   =========================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

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

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-1);
    transition: transform 0.5s var(--ease);
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ===========================
   App / Coming soon section
   =========================== */
.section-app {
    padding: 80px 32px 120px;
}

.app-card {
    position: relative;
    background:
        linear-gradient(135deg, rgba(122, 252, 255, 0.04), rgba(157, 92, 255, 0.04)),
        rgba(15, 20, 36, 0.6);
    border: 1px solid var(--border-strong);
    border-radius: 32px;
    padding: 72px 64px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.app-card-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 140, 255, 0.18), transparent 65%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    animation: drift 12s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 30px); }
}

.app-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(122, 252, 255, 0.1);
    border: 1px solid rgba(122, 252, 255, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 12px var(--accent-1);
    animation: pulse 1.8s ease-in-out infinite;
}

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

.app-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.app-tagline {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 20px;
}

.app-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.release {
    margin-bottom: 32px;
    max-width: 360px;
}

.release-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.release-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.release-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
}

.release-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.release-progress {
    height: 100%;
    width: 60%;
    background: var(--grad-primary);
    border-radius: 100px;
    position: relative;
    animation: progressShimmer 3s ease-in-out infinite;
}

.release-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s linear infinite;
}

@keyframes progressShimmer {
    0%, 100% { box-shadow: 0 0 8px rgba(122, 252, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(122, 252, 255, 0.8); }
}

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

.app-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-dim);
}

.feat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad-primary);
}

/* Phone mockup */
.app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone {
    position: relative;
    transform: rotate(-6deg);
    animation: phoneFloat 8s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-14px); }
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: linear-gradient(145deg, #1a1f33, #0a0e1a);
    border-radius: 38px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 30px 80px -10px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 100px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0a0e1a 0%, #15192a 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.screen-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(122, 252, 255, 0.25), transparent 60%);
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(20px);
    animation: pulseGlow 4s ease-in-out infinite;
}

.screen-logo {
    width: 130px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(122, 252, 255, 0.5));
    margin-bottom: 24px;
    z-index: 1;
}

.screen-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 28px;
    z-index: 1;
}

.screen-bar {
    width: 80%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 32px;
    z-index: 1;
}

.screen-bar span {
    display: block;
    height: 100%;
    width: 60%;
    background: var(--grad-primary);
    border-radius: 100px;
    animation: progressShimmer 3s ease-in-out infinite;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 80%;
    z-index: 1;
}

.g {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    animation: gridPulse 3s ease-in-out infinite;
}

.g:nth-child(2) { animation-delay: 0.3s; }
.g:nth-child(3) { animation-delay: 0.6s; }
.g:nth-child(4) { animation-delay: 0.9s; }
.g:nth-child(5) { animation-delay: 1.2s; }
.g:nth-child(6) { animation-delay: 1.5s; }

@keyframes gridPulse {
    0%, 100% { background: rgba(255, 255, 255, 0.04); }
    50% { background: rgba(122, 252, 255, 0.12); }
}

.phone-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse, rgba(91, 140, 255, 0.5), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* ===========================
   Legal section
   =========================== */
.section-legal {
    padding-bottom: 60px;
}

.legal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.legal-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.legal-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: 0;
}

.legal-link:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -20px rgba(91, 140, 255, 0.4);
}

.legal-link:hover::after {
    opacity: 1;
}

.legal-link > * {
    position: relative;
    z-index: 1;
}

.legal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-1);
}

.legal-icon svg {
    width: 22px;
    height: 22px;
}

.legal-link h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.legal-link p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.legal-link .arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.legal-link:hover .arrow {
    transform: translateX(6px);
    color: var(--accent-1);
}

/* ===========================
   Footer
   =========================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 32px 28px;
    margin-top: 80px;
    background: rgba(5, 7, 13, 0.5);
    backdrop-filter: blur(10px);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

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

.footer-logo {
    width: 52px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(122, 252, 255, 0.3));
}

.footer-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-slogan {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.social-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(157, 92, 255, 0.5);
    background: var(--grad-soft);
}

.footer-bottom {
    max-width: 1200px;
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

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

.dot { color: var(--text-muted); }

/* ===========================
   Reveal animations
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.cards .reveal:nth-child(1) { transition-delay: 0s; }
.cards .reveal:nth-child(2) { transition-delay: 0.15s; }
.cards .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ===========================
   Legal pages
   =========================== */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 160px 32px 80px;
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 32px;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.legal-page .back-link:hover {
    color: var(--text);
    transform: translateX(-3px);
}

.legal-page h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-page .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-page h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--text);
}

.legal-page h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
    color: var(--text);
}

.legal-page p, .legal-page li {
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 14px;
    font-size: 1rem;
}

.legal-page ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent-1);
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 252, 255, 0.3);
    transition: border-color 0.3s var(--ease);
}

.legal-page a:hover {
    border-bottom-color: var(--accent-1);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .nav { padding: 16px 24px; }
    .nav.scrolled { padding: 12px 24px; }
    .nav-brand-text { font-size: 0.95rem; }
    .nav-links { gap: 18px; }
    .nav-links a:not(.nav-social) { font-size: 0.85rem; }

    .app-card {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 40px;
        text-align: center;
    }
    .app-features { justify-content: center; }
    .release { margin-left: auto; margin-right: auto; }
    .app-desc { margin-left: auto; margin-right: auto; }
    .phone { transform: rotate(-3deg) scale(0.85); }
}

@media (max-width: 640px) {
    .nav { padding: 14px 18px; }
    .nav-links { gap: 14px; }
    .nav-links a:not(.nav-social) { display: none; }

    .hero { padding: 100px 20px 60px; }
    .hero-logo { width: 200px; height: 158px; }
    .hero-logo-img { width: 220px; }
    .section { padding: 80px 20px; }
    .section-app { padding: 60px 20px 80px; }
    .app-card { padding: 36px 24px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .scroll-indicator { display: none; }
    .legal-page { padding-top: 110px; }
}

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