:root {
    --bg: #0b0d1a;
    --bg-2: #12152a;
    --card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.09);
    --text: #eef0ff;
    --muted: #9aa0c3;
    --accent: #7c5cff;
    --accent-2: #22d3ee;
    --green: #34d399;
    --amber: #fbbf24;
    --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, .logo { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; display: grid; gap: 16px; justify-items: center; }

.bg-glow {
    position: fixed; inset: -20% -10% auto; height: 80vh; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40% 50% at 25% 30%, rgba(124, 92, 255, .25), transparent 70%),
        radial-gradient(35% 45% at 80% 20%, rgba(34, 211, 238, .15), transparent 70%);
    filter: blur(20px);
}

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(11, 13, 26, .7);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.logo strong { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 12px; font-weight: 600; border: 0; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #5b3df5);
    color: #fff; font: inherit; font-weight: 600;
    box-shadow: 0 8px 24px -8px rgba(124, 92, 255, .6);
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(124, 92, 255, .8); }
.btn-ghost { background: var(--card); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 96px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
    background: var(--card); border: 1px solid var(--border); font-size: .85rem; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* POS mockup */
.pos-mock {
    background: linear-gradient(180deg, #171a33, #10122a);
    border: 1px solid var(--border); border-radius: 22px; padding: 18px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .02);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
}
.pos-top { display: flex; justify-content: space-between; font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.pos-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.pos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pos-item {
    background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: 12px;
    padding: 18px 10px; text-align: center; font-size: .9rem;
    animation: tap 6s calc(var(--d) * .9s) infinite;
}
@keyframes tap { 0%, 8%, 100% { background: rgba(255,255,255,.05); } 4% { background: rgba(124, 92, 255, .35); } }
.pos-ticket { background: rgba(0, 0, 0, .25); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.t-line, .t-total { display: flex; justify-content: space-between; }
.t-total { border-top: 1px dashed var(--border); padding-top: 8px; margin-top: auto; font-weight: 700; }
.t-pay { background: var(--green); color: #052e1c; text-align: center; border-radius: 10px; padding: 8px; font-weight: 700; }

/* Sections */
.section { padding: 72px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2, .notify h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .5); background: rgba(124, 92, 255, .06); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-icon { font-size: 1.8rem; }
.card h3 { font-size: 1.3rem; }
.card p { flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.arrow { transition: transform .2s; color: var(--accent); }
.card:hover .arrow { transform: translateX(4px); }

.badge { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.badge-dev  { background: rgba(124, 92, 255, .15); color: #b3a2ff; }
.badge-beta { background: rgba(34, 211, 238, .15); color: var(--accent-2); }
.badge-soon { background: rgba(251, 191, 36, .15); color: var(--amber); }
.badge-out  { background: rgba(52, 211, 153, .15); color: var(--green); }

.progress { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.feature span { font-size: 1.6rem; }
.feature h4 { margin: 10px 0 4px; font-size: 1.1rem; }

/* Timeline */
.timeline { list-style: none; position: relative; padding-left: 28px; display: grid; gap: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; }
.tl-dot { position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; padding: 0; border: 3px solid var(--bg); }
.tl-dot.badge-dev  { background: var(--accent); }
.tl-dot.badge-beta { background: var(--accent-2); }
.tl-dot.badge-soon { background: var(--amber); }
.tl-dot.badge-out  { background: var(--green); }
.timeline h4 { font-size: 1.15rem; }

/* Notify */
.notify {
    text-align: center; padding: 56px 24px; border-radius: 24px; border: 1px solid var(--border);
    background: radial-gradient(60% 100% at 50% 0%, rgba(124, 92, 255, .18), transparent), var(--bg-2);
}
.notify > p { max-width: 520px; margin: 0 auto 28px; }
.notify-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; flex-wrap: wrap; }
.notify-form input, .notify-form select {
    flex: 1 1 200px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border);
    background: rgba(0, 0, 0, .3); color: var(--text); font: inherit;
}
.notify-form input:focus, .notify-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.notify-form select option { background: var(--bg-2); }
.hp { position: absolute; left: -9999px; }
.alert { max-width: 640px; margin: 0 auto 18px; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.alert-success { background: rgba(52, 211, 153, .12); color: var(--green); border: 1px solid rgba(52, 211, 153, .3); }
.alert-error { background: rgba(248, 113, 113, .12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, .3); }

/* Product page */
.back { color: var(--muted); display: inline-block; margin-bottom: 28px; }
.back:hover { color: var(--text); }
.product-head { display: flex; gap: 24px; align-items: center; margin-bottom: 48px; }
.product-icon { font-size: 3rem; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 24px; background: var(--card); border: 1px solid var(--border); flex-shrink: 0; }
.product-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 10px 0 6px; }
.product-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.product-grid h2 { font-size: 1.4rem; margin: 0 0 12px; }
.product-grid p { color: #cfd3ee; margin-bottom: 32px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(124, 92, 255, .2); color: var(--accent); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.side { position: sticky; top: 88px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); display: grid; gap: 18px; }
.side-row { display: flex; justify-content: space-between; }
.side-row.col { flex-direction: column; gap: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-inner p { margin-top: 8px; }
.footer-links { display: flex; gap: 20px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .pos-item, .dot { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero { padding-top: 56px; }
    .hero-inner, .product-grid { grid-template-columns: 1fr; }
    .pos-mock { transform: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .side { position: static; }
}
@media (max-width: 560px) {
    .nav-links a:not(.btn) { display: none; }
    .features { grid-template-columns: 1fr; }
    .pos-body { grid-template-columns: 1fr; }
    .product-head { flex-direction: column; align-items: flex-start; }
}
