:root {
    --bg: #050505;
    --bg-elevated: #0d0d0d;
    --ink: #f6f3ec;
    --muted: #8f8a82;
    --faint: #5c5852;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #ff7a3a;
    --accent-soft: rgba(255, 122, 58, 0.16);
    --radius: 28px;
    --radius-sm: 16px;
    --shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Instrument Sans", Inter, system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 122, 58, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(99, 70, 255, 0.1), transparent 50%),
        radial-gradient(ellipse 40% 30% at 0% 100%, rgba(255, 122, 58, 0.06), transparent 50%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
}

.font-display {
    font-family: "Instrument Serif", "Newsreader", Georgia, serif;
}

.bg-card { background-color: #141414; }
.bg-sidebar { background-color: #141414; }
.bg-view { background-color: #050505; }
.accent-blue { color: #0078d4; }
.bg-accent-blue { background-color: #0078d4; }
.border-gray { border-color: #222222; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

.glass {
    background: rgba(8, 8, 8, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-nav {
    position: sticky;
    top: 14px;
    z-index: 60;
    padding: 0 16px;
}

.site-nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 8px 10px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-link {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #b9b4ab;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    padding-top: 10px;
    margin-top: 0;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; }
.btn-md { padding: 11px 20px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-primary {
    background: #fff;
    color: #111;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08);
}
.btn-primary:hover { background: #f0ece4; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.headline {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    font-weight: 600;
    color: var(--ink);
}

.subhead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 36rem;
}

.section-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.bento {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.bento:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 12px 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
    border-color: rgba(255, 122, 58, 0.7);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    gap: 48px;
    animation: marquee 32s linear infinite;
}
.marquee-item {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.product-frame {
    position: relative;
    border-radius: 32px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    box-shadow: 0 50px 140px -40px rgba(255, 122, 58, 0.18), var(--shadow);
}
.product-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    pointer-events: none;
    background: radial-gradient(60% 40% at 50% 0%, rgba(255, 122, 58, 0.18), transparent 70%);
}
.product-frame .smapp-wrap { max-width: none; margin: 0; position: relative; z-index: 1; }
.product-frame .smapp-window { border: none; box-shadow: none; border-radius: 22px; }
.product-frame #key-detection-root { position: relative; z-index: 1; padding: 8px; }

.step-num {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 2.4rem;
    color: var(--accent);
    line-height: 1;
}

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer > .faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-answer.open { grid-template-rows: 1fr; }

.compare-price {
    position: relative;
    display: inline-block;
    color: rgba(156, 163, 175, 0.9);
}
.compare-price::after {
    content: "";
    position: absolute;
    left: -0.08em;
    right: -0.08em;
    top: 52%;
    height: 2px;
    background: rgba(239, 68, 68, 0.95);
    transform: rotate(-14deg);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding: 64px 0 40px;
}

@media (max-width: 768px) {
    .site-nav-inner {
        border-radius: 22px;
        padding: 8px 10px;
    }
    .product-frame { border-radius: 20px; padding: 6px; }
}
