:root {
    --bg: #0a0b0d;
    --raised: #121417;
    --surface: #181b1f;
    --surface-2: #20242a;
    --border: #292d33;
    --border-light: #3b4048;
    --accent: #fdfd96;
    --accent-soft: rgba(253, 253, 150, .12);
    --accent-ink: #151504;
    --text: #f2f3f4;
    --muted: #9ba1aa;
    --faint: #626973;
    --display: "Space Grotesk", sans-serif;
    --body: "Inter", sans-serif;
    --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.site-header.scrolled { background: rgba(10, 11, 13, .88); border-color: var(--border); backdrop-filter: blur(16px); }
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 17px var(--display); letter-spacing: .01em; }
.brand-mark { width: 35px; height: 35px; padding: 4px; display: grid; place-items: center; border: 1px solid #454a51; border-radius: 10px; background: linear-gradient(145deg, #353940, #16181c); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; font-weight: 500; }
.main-nav a:hover { color: var(--text); }

.button { min-height: 45px; padding: 0 21px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-size: 14px; font-weight: 700; transition: .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 35px rgba(253,253,150,.09); }
.button-primary:hover { background: #ffffb6; box-shadow: 0 12px 40px rgba(253,253,150,.15); }
.button-ghost { border-color: var(--border-light); background: rgba(20,22,25,.42); }
.button-ghost:hover { border-color: #666c75; background: rgba(30,33,38,.7); }
.button-small { min-height: 38px; padding-inline: 16px; font-size: 13px; }

.hero { min-height: 760px; position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-grid { position: absolute; inset: 0; opacity: .62; background-image: linear-gradient(rgba(253,253,150,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(253,253,150,.035) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, #000 15%, transparent 88%); }
.hero-glow { position: absolute; top: -300px; left: 50%; width: 980px; height: 720px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(253,253,150,.13), transparent 67%); filter: blur(5px); }
.hero-inner { position: relative; z-index: 1; padding-top: 70px; text-align: center; }
.eyebrow, .section-label { color: var(--accent); font: 600 11px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.eyebrow span { width: 25px; height: 1px; background: var(--accent); }
.hero h1 { margin: 0; font: 700 clamp(48px, 6.3vw, 78px)/1.02 var(--display); letter-spacing: -.045em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { max-width: 650px; margin: 26px auto 35px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.trust-row { margin-top: 64px; display: flex; justify-content: center; gap: 30px; color: var(--faint); font: 500 11px var(--mono); }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i, .live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(253,253,150,.65); }

.preview-section { padding: 115px 0 125px; }
.section-heading { max-width: 660px; margin: 0 auto 52px; display: block; text-align: center; }
.section-heading h2, .about-grid h2, .cta-card h2 { margin: 12px 0 0; font: 700 clamp(32px, 4vw, 45px)/1.08 var(--display); letter-spacing: -.03em; }
.section-heading > p { width: auto; max-width: 540px; margin: 16px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: var(--raised); transition: transform .22s, border-color .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.product-visual, .placeholder-visual { position: relative; width: 100%; height: 230px; min-height: 230px; overflow: hidden; display: block; border-bottom: 1px solid var(--border); background: var(--surface); }
.product-visual-compact { height: 230px; min-height: 230px; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .45s ease, filter .3s; }
.product-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 65%, rgba(10,11,13,.35)), linear-gradient(0deg, rgba(10,11,13,.4), transparent 42%); pointer-events: none; }
.product-card:hover .product-visual img { transform: scale(1.025); filter: brightness(1.07); }
.billing-thumbnail {
    background:
        radial-gradient(circle at 50% 45%, rgba(253,253,150,.065), transparent 45%),
        linear-gradient(rgba(253,253,150,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253,253,150,.022) 1px, transparent 1px),
        #0b0d10;
    background-size: auto, 24px 24px, 24px 24px, auto;
}
.billing-thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    height: 78%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    filter: brightness(1.1) contrast(1.04);
    box-shadow: 0 18px 38px rgba(0,0,0,.5);
}
.product-card:hover .billing-thumbnail img { transform: translate(-50%, -50%) scale(1.025); filter: brightness(1.14) contrast(1.04); }
.dealership-thumbnail {
    background: #101519;
}
.dealership-cover-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.dealership-cover-frame iframe {
    width: 213.34%;
    height: 213.34%;
    border: 0;
    transform: scale(.46875);
    transform-origin: top left;
    pointer-events: none;
    transition: filter .3s ease;
}
.product-card:hover .dealership-cover-frame iframe { filter: brightness(1.08) contrast(1.02); }
.phone-thumbnail {
    background:
        radial-gradient(circle at 50% 50%, rgba(58,105,198,.2), transparent 34%),
        linear-gradient(rgba(253,253,150,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253,253,150,.025) 1px, transparent 1px),
        #0b0e13;
    background-size: auto, 24px 24px, 24px 24px, auto;
}
.phone-thumbnail::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 38%;
    content: "";
    background: linear-gradient(90deg, #0b0e13 0 72%, rgba(11,14,19,.88) 84%, transparent 100%);
    pointer-events: none;
}
.phone-cover-capture {
    position: absolute;
    top: 0;
    left: 50%;
    width: 409px;
    height: 230px;
    background: url('smartphone-cover.png?v=3') center / 409px 230px no-repeat;
    transform: translateX(-343px);
    filter: brightness(1.1) saturate(1.1) drop-shadow(0 16px 24px rgba(0,0,0,.45));
    transition: transform .45s ease, filter .3s ease;
}
.product-card:hover .phone-cover-capture { transform: translateX(-343px) scale(1.025); filter: brightness(1.14) saturate(1.12) drop-shadow(0 18px 28px rgba(0,0,0,.5)); }
.live-badge, .coming-badge { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 8px 11px; border: 1px solid rgba(253,253,150,.27); border-radius: 7px; background: rgba(10,11,13,.82); color: var(--accent); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .07em; backdrop-filter: blur(8px); }
.live-badge { display: flex; align-items: center; gap: 8px; }
.wip-badge { border-color: rgba(255,183,77,.35); color: #ffc66d; }
.wip-badge i { background: #ffb74d; box-shadow: 0 0 10px rgba(255,183,77,.7); }
.framework-wip { border-color: rgba(255,183,77,.32); color: #ffc66d; }
.visual-action { position: absolute; z-index: 3; right: 18px; bottom: 18px; padding: 10px 13px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(7px); transition: .2s; }
.product-visual:hover .visual-action { opacity: 1; transform: none; }
.product-content { min-height: 330px; padding: 25px; display: flex; flex: 1; flex-direction: column; }
.product-heading { display: flex; justify-content: space-between; gap: 18px; }
.product-index { display: block; margin-bottom: 7px; color: var(--faint); font: 600 10px var(--mono); letter-spacing: .1em; }
.product-heading h3 { margin: 0; font: 700 22px var(--display); }
.framework { height: fit-content; padding: 6px 8px; border: 1px solid var(--border-light); border-radius: 6px; color: var(--muted); font: 500 9px var(--mono); white-space: nowrap; }
.product-content > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 5px 0 24px; }
.feature-list span { padding: 5px 8px; border-radius: 5px; background: var(--surface); color: var(--faint); font: 500 9px var(--mono); }
.card-button { margin-top: auto; min-height: 43px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 700; transition: .18s; }
.card-button:not(.disabled):hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.card-button.disabled { color: var(--faint); cursor: default; }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.card-actions .card-button { margin-top: 0; }
.card-tour { min-height: 43px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(253,253,150,.2); border-radius: 8px; background: var(--accent-soft); color: var(--accent); font: 600 10px var(--mono); white-space: nowrap; transition: .18s; }
.card-tour:hover { border-color: var(--accent); background: rgba(253,253,150,.17); }
.placeholder-visual { display: grid; place-items: center; background-image: linear-gradient(rgba(253,253,150,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(253,253,150,.025) 1px, transparent 1px); background-size: 25px 25px; }
.placeholder-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(253,253,150,.22); border-radius: 18px; background: var(--accent-soft); color: var(--accent); font: 700 34px var(--display); box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.placeholder-lines { position: absolute; width: 150px; transform: translate(115px, 30px) rotate(-5deg); }
.placeholder-lines span { height: 6px; display: block; margin-top: 8px; border-radius: 4px; background: var(--border); }
.placeholder-lines span:nth-child(2) { width: 80%; }.placeholder-lines span:nth-child(3) { width: 58%; }
.phone-shell { width: 105px; height: 190px; padding: 25px 12px 14px; border: 2px solid #4b515a; border-radius: 25px; background: #111316; box-shadow: 0 22px 55px rgba(0,0,0,.38), inset 0 0 35px rgba(253,253,150,.03); }
.phone-notch { width: 37px; height: 6px; margin: -14px auto 22px; border-radius: 5px; background: #3b4047; }
.phone-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.phone-apps i { aspect-ratio: 1; border: 1px solid rgba(253,253,150,.18); border-radius: 9px; background: var(--accent-soft); }

.about-section { padding: 110px 0; border-block: 1px solid var(--border); background: var(--raised); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-points article { border-top: 1px solid var(--border-light); padding-top: 18px; }
.about-points span { color: var(--accent); font: 600 10px var(--mono); }
.about-points h3 { margin: 20px 0 8px; font: 600 17px var(--display); }
.about-points p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.about-discord { max-width: 330px; margin-top: 34px; padding: 14px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; border: 1px solid var(--border-light); border-radius: 11px; background: #1a1d22; transition: border-color .18s, transform .18s, background .18s; }
.about-discord:hover { transform: translateY(-2px); border-color: #737dff; background: #1d2028; }
.discord-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #5865f2; color: white; font: 700 11px var(--mono); box-shadow: 0 7px 20px rgba(88,101,242,.24); }
.about-discord strong, .about-discord small { display: block; }
.about-discord strong { font: 600 14px var(--display); }
.about-discord small { margin-top: 2px; color: var(--faint); font-size: 10px; }
.about-discord b { color: #8790ff; font-size: 16px; }
.cta-section { padding: 90px 0; }
.cta-card { min-height: 250px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid rgba(253,253,150,.2); border-radius: 18px; background: radial-gradient(circle at 80% 0%, rgba(253,253,150,.1), transparent 40%), var(--raised); }
.cta-card p { margin: 13px 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 105px; display: flex; align-items: center; gap: 35px; color: var(--faint); font-size: 12px; }
.footer-inner p { margin-right: auto; }

@media (max-width: 850px) {
    .main-nav { display: none; }
    .hero { min-height: 680px; }
    .product-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .section-heading, .about-grid { display: block; }
    .about-points { margin-top: 45px; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 30px, 1160px); }
    .header-inner > .button { display: none; }
    .hero { min-height: 650px; }
    .hero h1 { font-size: 44px; }
    .hero p { font-size: 14px; }
    .trust-row { gap: 13px; flex-wrap: wrap; }
    .product-visual, .placeholder-visual { height: 220px; min-height: 220px; }
    .product-content { padding: 22px; }
    .about-points { grid-template-columns: 1fr; }
    .cta-card { padding: 32px 24px; display: block; }
    .cta-card .button { margin-top: 28px; }
    .footer-inner { padding: 30px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
