*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg: #080810;
    --surface: #0f0f1a;
    --card: #111120;
    --card-border: #1e1e35;
    --purple: #7c3aed;
    --purple-light: #9b5cf6;
    --purple-glow: rgba(124, 58, 237, .35);
    --indigo: #6366f1;
    --text: #ffffff;
    --muted: #8b8ba0;
    --green: #22c55e;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 3px
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 80px;
    background: rgba(8, 8, 16, .8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none
}

.nav-logo-img {
    height: 100px;
    width: auto;
    display: block
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s
}

.nav-links a:hover {
    color: #fff
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px
}

.btn-login {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s;
    font-family: inherit
}

.btn-login:hover {
    color: #fff
}

.btn-started {
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    font-family: inherit
}

.btn-started:hover {
    background: var(--purple-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--purple-glow)
}

.btn-started:active {
    transform: translateY(0)
}

/* HERO */
.hero {
    padding: 160px 48px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, .25) 0%, transparent 70%);
    pointer-events: none
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(124, 58, 237, .4);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    animation: fadeDown .7s ease both
}

.hero-badge svg {
    color: var(--purple-light)
}

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp .8s ease .1s both
}

.hero-title .accent {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-sub {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 40px;
    animation: fadeUp .8s ease .2s both
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .8s ease .3s both
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    font-family: inherit;
    text-decoration: none
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--purple-glow)
}

.btn-primary:active {
    transform: translateY(0)
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: inherit;
    text-decoration: none
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px)
}

.hero-pills {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 48px;
    animation: fadeUp .8s ease .45s both
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px
}

.hero-pill svg {
    color: var(--purple-light)
}

/* SECTIONS */
.section {
    padding: 100px 48px
}

.section-label {
    text-align: center;
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 16px
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px
}

.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 64px
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    cursor: default;
    transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, .15), rgba(99, 102, 241, .08));
    opacity: 0;
    transition: opacity .3s;
    border-radius: 16px
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, .6);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(124, 58, 237, .15)
}

.feature-card:hover::before {
    opacity: 1
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #7c3aed, #6366f1)
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(124, 58, 237, .15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .3s
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--purple-light)
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6
}

/* DASHBOARD */
.dashboard-section {
    padding: 80px 48px 100px;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .04), transparent)
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    max-width: 860px;
    margin: 0 auto
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.dash-title {
    font-size: 18px;
    font-weight: 700
}

.dash-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px
}

.live-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--green)
}

.live-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px
}

.stat-change {
    font-size: 12px;
    color: var(--green);
    margin-top: 4px
}

.dash-orders h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 14px
}

.order-row:last-child {
    border-bottom: none
}

.order-status {
    color: var(--green);
    font-size: 12px;
    font-weight: 600
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto
}

.price-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(124, 58, 237, .15)
}

.price-card.featured {
    border-color: var(--purple);
    background: linear-gradient(160deg, rgba(124, 58, 237, .12), var(--card))
}

.price-card.featured:hover {
    box-shadow: 0 24px 56px rgba(124, 58, 237, .3)
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: .5px
}

.price-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 12px
}

.price-amount {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 4px
}

.price-period {
    font-size: 14px;
    color: var(--muted)
}

.price-divider {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 24px 0
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted)
}

.price-features li::before {
    content: '-';
    color: var(--purple-light);
    font-weight: 700;
    flex-shrink: 0
}

.btn-price {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit
}

.btn-price-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2)
}

.btn-price-outline:hover {
    border-color: var(--purple);
    background: rgba(124, 58, 237, .1)
}

.btn-price-fill {
    background: var(--purple);
    color: #fff;
    border: none
}

.btn-price-fill:hover {
    background: var(--purple-light);
    box-shadow: 0 8px 24px var(--purple-glow)
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color .2s
}

.faq-q:hover {
    color: var(--purple-light)
}

.faq-q svg {
    transition: transform .3s;
    flex-shrink: 0;
    color: var(--muted)
}

.faq-q.open svg {
    transform: rotate(180deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s
}

.faq-a.open {
    max-height: 200px
}

.faq-a p {
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7
}

/* FOOTER */
footer {
    border-top: 1px solid var(--card-border);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px
}

footer .footer-left {
    color: var(--muted);
    font-size: 14px
}

footer .footer-links {
    display: flex;
    gap: 24px
}

footer .footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s
}

footer .footer-links a:hover {
    color: #fff
}

/* OVERLAYS */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s
}

.overlay.active {
    opacity: 1;
    pointer-events: all
}

.overlay-content {
    position: relative;
    animation: scaleIn .4s cubic-bezier(.175, .885, .32, 1.275) both
}

/* COMING SOON */
.coming-soon {
    background: linear-gradient(160deg, #0f0f1f, #0d0a1a);
    border: 1px solid rgba(124, 58, 237, .35);
    border-radius: 24px;
    padding: 64px 56px;
    text-align: center;
    max-width: 520px;
    width: 90vw
}

.cs-glow {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, .4), transparent 70%);
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    animation: pulseSlow 3s ease-in-out infinite
}

.cs-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center
}

.cs-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--purple-light);
    margin-bottom: 16px;
    text-transform: uppercase
}

.cs-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.cs-sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 36px
}

.cs-email {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card)
}

.cs-email input {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none
}

.cs-email input::placeholder {
    color: var(--muted)
}

.cs-email button {
    background: var(--purple);
    color: #fff;
    border: none;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
    white-space: nowrap
}

.cs-email button:hover {
    background: var(--purple-light)
}

.cs-chips {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap
}

.cs-chip {
    background: rgba(124, 58, 237, .12);
    border: 1px solid rgba(124, 58, 237, .25);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--muted)
}

/* LOGIN */
.login-modal {
    background: linear-gradient(160deg, #0f0f1f, #0d0a1a);
    border: 1px solid rgba(124, 58, 237, .3);
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    width: 90vw;
    text-align: center
}

.login-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px
}

.login-modal h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -.5px
}

.login-modal p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 32px
}

.form-group {
    text-align: left;
    margin-bottom: 16px
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--muted)
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s
}

.form-group input:focus {
    border-color: var(--purple)
}

.form-group input::placeholder {
    color: var(--muted)
}

.btn-login-submit {
    width: 100%;
    padding: 13px;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
    font-family: inherit;
    margin-top: 8px
}

.btn-login-submit:hover {
    background: var(--purple-light);
    box-shadow: 0 8px 24px var(--purple-glow);
    transform: translateY(-1px)
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 13px
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border)
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s, border-color .2s;
    font-family: inherit
}

.btn-google:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .2)
}

.login-footer-text {
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted)
}

.login-footer-text a {
    color: var(--purple-light);
    text-decoration: none
}

.close-btn {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s
}

.close-btn:hover {
    background: rgba(255, 255, 255, .15)
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.88)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.3)
    }
}

@keyframes pulseSlow {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.reveal-delay-1 {
    transition-delay: .1s
}

.reveal-delay-2 {
    transition-delay: .2s
}

.reveal-delay-3 {
    transition-delay: .3s
}

.reveal-delay-4 {
    transition-delay: .4s
}

.reveal-delay-5 {
    transition-delay: .5s
}

.reveal-delay-6 {
    transition-delay: .6s
}

/* PARTICLE CANVAS */
#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.hero,
nav,
.features-section,
.dashboard-section,
.pricing-section,
.faq-section,
footer {
    position: relative;
    z-index: 1
}