/* ===================================================
   DOWNTABLE — Landing Page Styles
   Style: Minimal & Typographic
   =================================================== */

/* ===================================================
   PAGE LOADER
   =================================================== */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050307;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: loaderFadeIn 0.5s ease-out forwards;
}

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

.loader-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loader-logo-img {
    height: 36px;
    width: auto;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo-text {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-transform: uppercase;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* Progress bar */
.loader-bar-wrap {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.9),
        rgba(255,255,255,0.2)
    );
    background-size: 200% 100%;
    animation: loaderProgress 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               shimmer 1.6s ease-in-out infinite;
}

@keyframes loaderProgress {
    0%   { width: 0%; }
    60%  { width: 75%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:        #000000;
    --bg-card:   #323233;
    --bg-inner:  #1a1a1b;
    --bg-white:  #323233;
    --text:      #ffffff;
    --text-2:    rgba(255, 255, 255, 0.5);
    --text-3:    rgba(255, 255, 255, 0.28);
    --border:    rgba(255, 255, 255, 0.09);
    --border-2:  rgba(255, 255, 255, 0.18);
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --max-w:     1100px;
    --nav-h:     64px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: #050307;      /* matches WebGL clear color */
    color: var(--text);
    font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── WebGL canvas ── */
#webgl {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Frost overlay — between canvas and content ── */
#frost-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: rgba(5, 3, 7, 0.38);
    backdrop-filter: blur(22px) brightness(0.82) saturate(140%);
    -webkit-backdrop-filter: blur(22px) brightness(0.82) saturate(140%);
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity;
}

#frost-overlay.frost-active {
    opacity: 1;
}

/* ── All content floats above canvas ── */
.site-content {
    position: relative;
    z-index: 2;
}

/* === LAYOUT === */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
    font-family: 'Clash Display', system-ui, -apple-system, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a { text-decoration: none; }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    pointer-events: none;
}

.logo {
    position: absolute;
    left: 2rem;
    font-family: 'Clash Display', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
    pointer-events: auto;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 3rem;
    background: #000000;
    padding: 1rem 4.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-links:hover {
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.nav-links .separator {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.nav-links li { padding: 0; }

.nav-links a {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    will-change: transform, filter;
    transition: color 0.4s ease,
                filter 0.4s ease,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                text-shadow 0.4s ease;
}

/* Framer-style: dim & blur siblings on hover */
.nav-links:has(a:hover) a:not(:hover) {
    color: rgba(255, 255, 255, 0.3);
    filter: blur(2px);
    transform: scale(0.95);
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Magnetic glass CTA */
.nav-btn-glass {
    position: absolute;
    right: 2rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;

    /* Layered glass: base fill + top-edge highlight gradient */
    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(255, 255, 255, 0.08) 100%
        );

    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    /* Outer border + inner top-shine via box-shadow */
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        /* inner top highlight — the key 3D trick */
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        /* inner bottom shadow for depth */
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        /* outer ambient glow */
        0 4px 24px rgba(0, 0, 0, 0.4),
        /* subtle color bloom */
        0 1px 0 rgba(255, 255, 255, 0.06);

    pointer-events: auto;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.nav-btn-glass:hover {
    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.14) 100%
        );
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Hamburger button */
.nav-hamburger {
    display: none;
    position: absolute;
    right: 1.25rem;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    pointer-events: auto;
    z-index: 110;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu panel ── */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #080609;
    z-index: 105;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Header row */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: sticky;
    top: 0;
    background: #080609;
    z-index: 2;
}

.mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 8px 12px 8px 6px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    min-height: 44px;
}
.mobile-back-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.mobile-menu-brand {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
}

/* Nav links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 24px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.18s ease;
    min-height: 58px;
}
.mobile-nav-item:active {
    background: rgba(255,255,255,0.04);
}

.mobile-nav-num {
    font-family: 'Satoshi', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.06em;
    min-width: 22px;
}

.mobile-nav-label {
    flex: 1;
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(1.1rem, 5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.mobile-nav-arrow {
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.mobile-nav-item:hover .mobile-nav-arrow {
    transform: translateX(3px);
    color: rgba(255,255,255,0.6);
}

/* Footer CTA */
.mobile-menu-footer {
    padding: 24px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-height: 42px;
    padding: 0 28px;
    border-radius: 50px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    transition: background 0.2s, border-color 0.2s;
}
.mobile-cta-btn:active {
    background: rgba(255,255,255,0.12);
}

.mobile-menu-tagline {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.22);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .navbar { padding: 1.5rem 0; }
    .nav-links { padding: 0.75rem 2rem; gap: 1.5rem; }
    .nav-links a { font-size: 0.72rem; }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-btn-glass { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-menu   { display: flex; }
    .navbar { padding: 1.25rem 0; }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Satoshi', sans-serif;
    transition: all 0.18s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-lg { padding: 13px 28px; font-size: 0.95rem; border-radius: 8px; }

.btn-dark {
    background: #ffffff;
    color: #000000;
    will-change: transform;
}
.btn-dark:hover {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    padding: 9px 14px;
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.07); }

.btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border-2);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
}
.btn-ghost-dark:hover {
    border-color: rgba(255,255,255,0.45);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.18s;
}
.btn-link .arrow { transition: transform 0.18s; }
.btn-link:hover { color: var(--text); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ===================================================
   EYEBROW
   =================================================== */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: transparent;
    position: relative;
}

/* Inner wrapper — targeted by parallax JS */
.hero-content {
    will-change: transform, opacity;
    transition: transform 0.1s linear, opacity 0.1s linear;
}

.hero-line-1,
.hero-line-2 {
    font-size: clamp(1.69rem, 4.49vw, 3.70rem);
    font-weight: 600;
    letter-spacing: -0.020em;
    line-height: 1.62;
    color: var(--text);
    margin: 0 auto;
    max-width: 820px;
}

.hero-line-1 {
    transform: translateX(2.5rem);
    white-space: nowrap;
}

.hero-line-2 {
    white-space: nowrap;
    margin-bottom: 24px;
    transform: translateX(1.5rem);
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.btn-frost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    cursor: pointer;
}

.btn-frost:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.20) 100%
    );
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-2);
    max-width: none;
    margin: 0 auto;
    line-height: 1.75;
    white-space: nowrap;
    transform: translateX(2.5rem);
}

/* === MOCKUP SECTION === */
.mockup-section {
    padding: 120px 0 100px;
    background: transparent;
}

.mockup-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.mockup-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-3);
    margin-bottom: 10px;
}

.mockup-section-title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

/* === APP MOCKUP === */
.hero-visual {
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

/* Larger reveal for the table — starts further down */
.reveal-up {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile table — horizontal scroll, all columns visible */
@media (max-width: 768px) {
    /* Turn hero-visual into a scroll container */
    .hero-visual {
        display: block;           /* drop flex so width math is predictable */
        padding: 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        /* Fade right edge to hint more content */
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }

    .app-mockup {
        width: max-content;       /* shrink-wrap to content width */
        min-width: 480px;
        max-width: none;
        margin: 0 16px 4px;
        font-size: 0.75rem;
    }

    .cell {
        padding: 10px 12px;
        font-size: 0.73rem;
        white-space: nowrap;
    }

    .header-row .cell {
        font-size: 0.65rem;
        letter-spacing: 0.04em;
    }

    .mockup-row {
        grid-template-columns: 2fr 1.4fr 1.2fr 1.1fr 0.9fr;
    }
}

.app-mockup {
    width: 100%;
    max-width: 780px;
    background: #1a1a1b;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 24px 64px rgba(0, 0, 0, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    font-size: 0.83rem;
    font-family: 'Satoshi', sans-serif;
}

.mockup-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots { display: flex; gap: 6px; }
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-2);
}

.mockup-actions {
    display: flex;
    gap: 6px;
}
.mock-btn {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-white);
    border: 1px solid var(--border);
    cursor: default;
}
.mock-btn.primary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.mockup-body { overflow: visible; }

.mockup-row {
    display: grid;
    grid-template-columns: 2.5fr 1.6fr 1.4fr 1.2fr 1.1fr;
    border-bottom: 1px solid var(--border);
}
.mockup-row:last-child { border-bottom: none; }

.header-row {
    background: var(--bg-card);
}
.header-row .cell {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-2);
}

.cell {
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    border-right: 1px solid var(--border);
    font-size: 0.8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cell:last-child { border-right: none; }
.cell.muted { color: var(--text-3); }
.cell.fw-500 { font-weight: 500; }

/* Avatar */
.avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.av-1 { background: #3B82F6; }
.av-2 { background: #555557; }
.av-3 { background: #8B5CF6; }
.av-4 { background: #10B981; }

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.tag-green  { background: rgba(34, 197, 94, 0.15);  color: #4ade80; }
.tag-blue   { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tag-yellow { background: rgba(234, 179, 8, 0.15);  color: #facc15; }
.tag-gray   { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid var(--border); }

/* Priority badges */
.priority {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.priority::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.p-high   { color: #DC2626; }
.p-high::before   { background: #DC2626; }
.p-med    { color: #FACC15; }
.p-med::before    { background: #FACC15; }
.p-low    { color: var(--text-3); }
.p-low::before    { background: var(--text-3); }

/* ===================================================
   LOGO BAR
   =================================================== */
.logos {
    padding: 44px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 80px;
    background: rgba(5, 3, 7, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logos-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 20px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.logo-name {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--border-2);
    letter-spacing: -0.02em;
    transition: color 0.2s;
    cursor: default;
    padding: 0 16px;
}
.logo-name:hover { color: var(--text-2); }

.logo-sep {
    color: var(--border);
    font-size: 1.2rem;
    user-select: none;
}

/* ===================================================
   STATS
   =================================================== */
.stats {
    padding: 72px 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-item {
    background: rgba(5, 3, 7, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 32px;
    text-align: center;
}

.stat-number {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.4;
}

/* ===================================================
   FEATURES
   =================================================== */
.features {
    padding: 80px 0 100px;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-top: 10px;
}

.section-sub {
    color: var(--text-2);
    font-size: 1rem;
    margin-top: 14px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    perspective: 1000px;
}

.feature-card {
    background: rgba(5, 3, 7, 0.55);
    padding: 52px 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.45s ease;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

/* Light reflection overlay */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.06) 0%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.feature-card:hover {
    background: rgba(30, 30, 32, 0.6);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 28px;
    color: var(--text);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.feature-card p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===================================================
   CALLOUT SECTION
   =================================================== */
.callout {
    padding: 0 0 100px;
}

.callout-inner {
    background: rgba(50, 50, 51, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 72px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.callout-text .eyebrow { margin-bottom: 14px; }

.callout-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.callout-text > p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.callout-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.callout-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-2);
}

.check {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Mini table preview */
.callout-visual {
    background: #1a1a1b;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.view-switcher {
    display: flex;
    padding: 10px 12px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.view-tab {
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-2);
    cursor: default;
    transition: all 0.15s;
}

.view-tab.active {
    background: #000000;
    color: #ffffff;
    border: 1px solid var(--border-2);
    font-weight: 600;
}

.mini-table { padding: 0; }

.mini-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    font-size: 0.8rem;
}
.mini-row:last-child { border-bottom: none; }

.mini-header {
    background: var(--bg-card);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-2);
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials {
    padding: 100px 0;
    background: rgba(5, 3, 7, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: rgba(26, 26, 27, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.18);
}

.stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--text);
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name  { font-weight: 600; font-size: 0.88rem; }
.author-role  { font-size: 0.78rem; color: var(--text-2); margin-top: 2px; }

/* ===================================================
   ABOUT US
   =================================================== */
.about-section {
    padding: 120px 0 140px;
    background: transparent;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 14px auto 20px;
    max-width: 900px;
    word-spacing: 0.15em;
}

.about-sub {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Story block */
.about-story {
    display: grid;
    grid-template-columns: 1px 1fr;
    gap: 0 48px;
    max-width: 680px;
    margin: 0 auto 100px;
}

.about-story-line {
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
    margin-top: 6px;
}

.about-story-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-story-text p {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.85;
}

/* Founders */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.founder-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.founder-card:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
}

.founder-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Clash Display', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.founder-name {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 4px;
}

.founder-role {
    font-size: 0.8rem;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 12px;
}

.founder-bio {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.75;
}

.about-cta {
    display: flex;
    justify-content: center;
    margin-top: 72px;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(180, 160, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    will-change: transform;
}

.btn-glow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 0 28px rgba(255, 255, 255, 0.28),
        0 0 60px rgba(180, 160, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .founders-grid { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; }
    .about-story-line { display: none; }
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
    padding: 100px 0;
    background: transparent;   /* wave fully visible here */
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.cta-sub {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    background: rgba(5, 3, 7, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
    display: flex;
    gap: 80px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.footer-brand { flex: 1; }

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    position: static;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-brand p {
    color: var(--text-2);
    font-size: 0.87rem;
    margin-bottom: 14px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
    margin-top: 16px;
    letter-spacing: 0.02em;
}

.footer-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
    flex-shrink: 0;
}

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

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-2);
    transition: all 0.18s;
}
.footer-socials a:hover { color: var(--text); border-color: var(--text-2); }

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-2);
    font-size: 0.87rem;
    transition: color 0.18s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-3);
    font-size: 0.82rem;
}

/* ===================================================
   REVEAL ANIMATIONS
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

    .features-grid { grid-template-columns: 1fr; }

    .callout-inner {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 40px;
    }

    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .hero { padding: 100px 0 40px; min-height: 100svh; }
    .hero-line-1, .hero-line-2 {
        white-space: normal;
        transform: none !important;
        font-size: clamp(1.55rem, 6.5vw, 2rem);
        text-align: center;
        line-height: 1.25;
        letter-spacing: -0.025em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn-lg { width: 100%; max-width: 300px; }

    /* Touch-friendly buttons (min 44px) */
    .btn-frost, .btn-glow, .btn-dark, .btn-ghost-dark {
        min-height: 48px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .logos-row { gap: 4px; }
    .logo-name { padding: 0 10px; font-size: 0.95rem; }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-ghost-dark { width: 100%; max-width: 300px; justify-content: center; }

    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .callout-inner { padding: 32px 20px; }
    .about-title { word-spacing: 0.05em; }
    .founders-grid { grid-template-columns: 1fr; }
    .hero-sub { white-space: normal; font-size: 0.95rem; }
    .app-mockup { font-size: 0.76rem; }
    .mockup-section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
}

/* =====================================================
   MOBILE REFINEMENTS — 480px and below only
   Desktop is completely untouched
   ===================================================== */
@media (max-width: 480px) {

    /* ── Navbar ── */
    .navbar {
        padding: 20px 0;
    }
    .logo {
        left: 1.1rem;
        font-size: 1.1rem;
        gap: 6px;
    }
    .logo-img {
        height: 22px;
    }
    .nav-hamburger {
        right: 1.1rem;
    }

    /* ── Hero ── */
    .hero {
        padding: 110px 20px 48px;
        align-items: center;
        text-align: center;
    }
    .hero-content {
        width: 100%;
    }

    /* Headline */
    .hero-line-1,
    .hero-line-2 {
        font-size: clamp(1.65rem, 8.5vw, 2.1rem);
        line-height: 1.22;
        letter-spacing: -0.03em;
        white-space: normal;
        transform: none !important;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
        word-spacing: 0.04em;
    }
    .hero-line-2 {
        margin-bottom: 18px;
    }

    /* Subtext */
    .hero-sub {
        font-size: clamp(0.82rem, 3.8vw, 0.95rem);
        white-space: normal;
        line-height: 1.65;
        color: rgba(255,255,255,0.48);
        max-width: 300px;
        margin: 0 auto;
        transform: none !important;
    }

    /* CTA button */
    .hero-cta {
        margin-top: 28px;
        justify-content: center;
    }
    .btn-frost {
        min-height: 46px;
        width: auto;
        max-width: 220px;
        padding: 0 32px;
        font-size: 0.78rem;
        letter-spacing: 0.9px;
    }
}
