:root {
    --bg: #060509;
    --panel: #0e0c14;
    --panel-2: #15121d;
    --border: #262231;
    --border-glow: #4b3b8a;
    --text: #ececf1;
    --muted: #8a8595;
    --accent: #9c7bff;
    --accent-2: #6c4de0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(720px 460px at 78% -5%, rgba(124, 77, 224, 0.28), transparent 65%),
        radial-gradient(620px 500px at 5% 8%, rgba(90, 60, 180, 0.16), transparent 60%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}

.nav, main, footer { position: relative; z-index: 1; }

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.5px;
}
.brand::before { content: "◆ "; color: var(--accent); font-size: 15px; }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
    background: linear-gradient(135deg, #8a6bf0, #5a34c8);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 999px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(124, 77, 224, 0.4); }

main { max-width: 1120px; margin: 0 auto; padding: 20px 32px 70px; }

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 54px;
    align-items: start;
    padding: 40px 0 60px;
}

.hero-preview { position: sticky; top: 40px; }

.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #c9b8ff;
    background: rgba(124, 77, 224, 0.12);
    border: 1px solid var(--border-glow);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.grad-text {
    background: linear-gradient(100deg, #b49bff, #7c4de0 60%, #9c7bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-pitch {
    margin: 0 0 22px;
    color: #b9b4c4;
    font-size: 17px;
    line-height: 1.6;
    max-width: 520px;
}
.hero-pitch b { color: var(--text); }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 11px;
    color: #cfcad8;
    font-size: 15px;
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #8a6bf0, #5a34c8);
    border-radius: 6px;
}

/* ---------- Buy panel ---------- */
.buy-panel {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--border-glow);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(60, 40, 120, 0.28);
    max-width: 520px;
}

.buy-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.buy-price { display: flex; flex-direction: column; }
.price { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.price-note { color: var(--muted); font-size: 13px; margin-top: 6px; }

.badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #c9b8ff;
    background: rgba(124, 77, 224, 0.14);
    border: 1px solid var(--border-glow);
    padding: 6px 11px;
    border-radius: 999px;
    height: fit-content;
}

#paypal-button-container { min-height: 48px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.meta { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* ---------- Success ---------- */
.success h3 { margin: 2px 0 12px; font-size: 16px; }
.key-box { display: flex; gap: 8px; margin-bottom: 8px; }
.key-box code {
    flex: 1;
    background: #0a0810;
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    padding: 14px;
    font-size: 17px;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
}
.key-box button {
    background: #1d1a26;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 0 16px;
    cursor: pointer;
    font: inherit;
}
.key-box button:hover { background: #262231; }

.btn-primary {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #8a6bf0, #5a34c8);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    margin: 14px 0 16px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(124, 77, 224, 0.4); }
.steps-inline { margin: 0; padding-left: 20px; color: #b9b4c4; line-height: 1.75; font-size: 13.5px; }

/* ---------- App preview mock ---------- */
.hero-preview { display: flex; justify-content: center; }
.mock {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(135deg, #17111f, #0e0e11 55%, #120f18);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 11px;
    color: var(--text);
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 77, 224, 0.12);
    transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
}
.mock-title { display: flex; justify-content: space-between; padding: 13px 16px; font-size: 12px; }
.mock-muted { color: var(--muted); }
.mock-body { display: flex; gap: 10px; padding: 0 16px 14px; }
.mock-sidebar { display: flex; flex-direction: column; gap: 8px; }
.mock-tab { width: 32px; height: 32px; border-radius: 9px; background: #1d1d22; border: 1px solid #2a2a30; }
.mock-tab.active { background: linear-gradient(135deg, #7c5fd3, #53399f); border-color: #8a6fe0; }
.mock-content { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mock-welcome { font-size: 14px; font-weight: 600; margin: 2px 0 4px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; background: #16161a; border: 1px solid #2a2a30; border-radius: 8px; padding: 9px 12px; }
.mock-row.col { flex-direction: column; align-items: stretch; gap: 8px; }
.mock-row b { display: block; font-weight: 600; font-size: 12px; }
.mock-row small { color: var(--muted); font-size: 10px; }
.mock-btn { background: #1d1d22; border: 1px solid #2a2a30; border-radius: 7px; padding: 6px 12px; }
.mock-seg { display: flex; background: #121215; border: 1px solid #2a2a30; border-radius: 7px; padding: 2px; }
.mock-seg i { font-style: normal; padding: 4px 10px; border-radius: 5px; color: var(--muted); }
.mock-seg i.on { background: #26262c; color: var(--text); }
.mock-cps { display: flex; justify-content: space-between; }
.mock-slider { height: 4px; border-radius: 2px; background: #2a2a30; position: relative; }
.mock-slider i { position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: #c9c9ce; }
.mock-slider i::after { content: ""; position: absolute; right: -6px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #e7e7ea; }
.mock-footer { display: flex; justify-content: space-between; padding: 11px 16px; background: #16161a; border-top: 1px solid #2a2a30; color: var(--muted); font-weight: 500; }

/* ---------- Features ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 0 60px;
}
.feature {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
}
.feature-ic {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124, 77, 224, 0.12);
    border: 1px solid var(--border-glow);
    font-size: 18px;
    margin-bottom: 14px;
}
.feature b { display: block; font-size: 15px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- How ---------- */
.how { padding: 20px 0 60px; }
.how h2, .faq h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.8px; margin: 0 0 26px; text-align: center; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.step .num {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8a6bf0, #5a34c8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.step b { display: block; font-size: 15px; margin-bottom: 3px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: 20px 0 40px; }
.faq details {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 9px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: #b9b4c4; line-height: 1.6; font-size: 14px; margin: 11px 0 0; }

footer {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 30px 20px 50px;
    line-height: 1.9;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}
footer a { color: #c9c9ce; }

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.nav { animation: fade-down 0.7s ease both; }
@keyframes fade-down {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
}

.grad-text {
    background-size: 220% 100%;
    animation: grad-shift 6s ease-in-out infinite;
}
@keyframes grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bg-glow { animation: glow-drift 14s ease-in-out infinite alternate; }
@keyframes glow-drift {
    from { opacity: 0.75; transform: translate3d(0, 0, 0) scale(1); }
    to { opacity: 1; transform: translate3d(-24px, 18px, 0) scale(1.06); }
}

.mock { animation: float 6.5s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) translateY(0); }
    50% { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) translateY(-14px); }
}

.mock-tab.active { animation: tab-pulse 2.8s ease-in-out infinite; }
@keyframes tab-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 95, 211, 0); }
    50% { box-shadow: 0 0 16px 1px rgba(124, 95, 211, 0.55); }
}

.nav-cta { position: relative; overflow: hidden; }
.nav-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}

.feature, .step { transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.feature:hover, .step:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--panel-2);
}

.buy-panel { transition: box-shadow 0.3s ease; }
.buy-panel:hover { box-shadow: 0 34px 90px rgba(90, 60, 160, 0.4); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .nav, .grad-text, .bg-glow, .mock, .mock-tab.active, .nav-cta::after { animation: none; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .hero-preview { order: -1; position: static; }
    .mock { transform: none; animation: none; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .how-steps { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
}

@media (max-width: 560px) {
    .nav-links { display: none; }
    .features { grid-template-columns: 1fr; }
    .nav, main { padding-left: 20px; padding-right: 20px; }
    .hero h1 { font-size: 36px; }
}
