/* ═══════════════════════════════════════════
   PREMIUM DARK SAAS — DESIGN SYSTEM
   Deep Navy + Violet Glow + Glassmorphism
   ═══════════════════════════════════════════ */
:root {
    --bg: #0B0F1A;
    --bg2: #0E1225;
    --bg3: #131836;
    --violet: #7C3AED;
    --violet2: #A855F7;
    --violet3: #c084fc;
    --cyan: #22d3ee;
    --cyan2: #06b6d4;
    --text: #f1f5f9;
    --text2: rgba(255, 255, 255, .65);
    --text3: rgba(255, 255, 255, .4);
    --glass: rgba(255, 255, 255, .04);
    --glass2: rgba(255, 255, 255, .07);
    --border: rgba(255, 255, 255, .08);
    --border2: rgba(139, 92, 246, .25);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 16px;
    --max: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

/* ── Noise Texture Overlay ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .01;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

/* ── Utility ── */
.container-p {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px
}

.section {
    padding: 120px 0;
    position: relative
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--violet3);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--violet2)
}

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.section-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text2);
    max-width: 540px;
    margin-top: 20px
}

.glow-line {
    width: 80px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--violet), var(--violet2));
    margin: 32px auto 0;
    opacity: .6
}

/* ── Glass Panel ── */
.glass-panel {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 8px 32px rgba(0, 0, 0, .3)
}

/* ── Neumorphic Button ── */
.btn-neo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .25s ease
}

.btn-neo.primary {
    background: linear-gradient(135deg, #e9e6ff, #fff);
    color: #4c1d95;
    box-shadow: 0 4px 20px rgba(124, 58, 237, .3), inset 0 1px 0 rgba(255, 255, 255, .8)
}

.btn-neo.primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(124, 58, 237, .45), inset 0 1px 0 rgba(255, 255, 255, .8)
}

.btn-neo.secondary {
    background: var(--glass2);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06)
}

.btn-neo.secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .15);
    transform: translateY(-1px)
}

/* ═══ HEADER ═══ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background .3s, backdrop-filter .3s
}

.site-header.scrolled {
    background: rgba(11, 15, 26, .8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

.site-header .container-p {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px
}

.nav-logo img {
    width: 60px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px
}

.nav-link {
    color: var(--text2);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s
}

.nav-link:hover {
    color: #fff
}

.nav-signup {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    background: var(--glass2);
    border: 1px solid var(--border);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all .2s
}

.nav-signup:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px)
}

.nav-signup .material-symbols-outlined {
    font-size: 16px
}

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 70% at 50% 35%, rgba(124, 58, 237, .65) 0%, rgba(109, 40, 217, .25) 35%, transparent 75%);
    filter: blur(60px)
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, .3) 0%, transparent 80%);
    opacity: 1
}

.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 0% 0%, rgba(11, 15, 26, .8), transparent 45%), radial-gradient(ellipse at 100% 0%, rgba(11, 15, 26, .8), transparent 45%), radial-gradient(ellipse at 50% 100%, rgba(11, 15, 26, .9), transparent 60%)
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1
}

.particles span {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: floatP 18s infinite ease-in-out
}

.particles span:nth-child(1) {
    width: 2px;
    height: 2px;
    top: 18%;
    left: 22%;
    animation-duration: 16s;
    opacity: .3
}

.particles span:nth-child(2) {
    width: 3px;
    height: 3px;
    top: 32%;
    left: 78%;
    animation-duration: 22s;
    animation-delay: 3s;
    opacity: .25
}

.particles span:nth-child(3) {
    width: 2px;
    height: 2px;
    top: 65%;
    left: 12%;
    animation-duration: 26s;
    opacity: .2
}

.particles span:nth-child(4) {
    width: 2px;
    height: 2px;
    top: 12%;
    left: 52%;
    animation-duration: 19s;
    opacity: .5;
    box-shadow: 0 0 6px rgba(255, 255, 255, .4)
}

.particles span:nth-child(5) {
    width: 1px;
    height: 1px;
    top: 58%;
    left: 88%;
    animation-duration: 24s;
    opacity: .2
}

@keyframes floatP {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: .15
    }

    50% {
        transform: translate(12px, -22px);
        opacity: .4
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--violet3);
    background: rgba(124, 58, 237, .08);
    border: 1px solid rgba(139, 92, 246, .25);
    backdrop-filter: blur(10px);
    margin-bottom: 36px;
    transition: background .3s
}

.hero-badge:hover {
    background: rgba(124, 58, 237, .16)
}

.hero-badge .material-symbols-outlined {
    font-size: 16px
}

.hero h1 {
    font-size: clamp(40px, 6.5vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 28px;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text2);
    max-width: 560px;
    margin: 0 auto 48px
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap
}

.hero-cta .material-symbols-outlined {
    font-size: 18px
}

/* Brand Strip */
.brand-strip {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: .3
}

.brand-strip span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.03em;
    user-select: none;
    color: #fff;
    filter: grayscale(1)
}

/* ═══ PRODUCT PREVIEW (Guide Line Section) ═══ */
.product-section {
    background: var(--bg);
    position: relative
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, var(--border), transparent)
}

.product-header {
    text-align: center;
    margin-bottom: 56px
}

.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 56px
}

.tab-bar {
    display: inline-flex;
    padding: 3px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    gap: 2px
}

.tab-item {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text3);
    cursor: pointer;
    transition: all .25s
}

.tab-item:hover {
    color: var(--text2);
    background: rgba(255, 255, 255, .04)
}

.tab-item.active {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.tab-content {
    position: relative;
    min-height: 320px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.tab-panel {
    display: none;
    gap: 40px;
    align-items: center;
    animation: fadeTab .4s ease
}

.tab-panel.active {
    display: flex
}

@keyframes fadeTab {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tab-media {
    flex: 0 0 45%;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative
}

.tab-media .glass-panel {
    padding: 8px
}

.tab-media img,
.tab-media .table_img,
.tab-media .menu_img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background-size: cover;
    background-position: center
}

.tab-info {
    flex: 1
}

.tab-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff
}

.tab-info p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text2)
}

.tab-info p strong {
    color: var(--text);
    font-weight: 600
}

/* Glow under product mockup */
.tab-media::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, .25), transparent 70%);
    filter: blur(20px);
    pointer-events: none
}

/* ═══ APP SHOWCASE (Feature Section) ═══ */
.features-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    position: relative;
    overflow: hidden
}

.features-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, .18), transparent 70%);
    pointer-events: none
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center
}

.features-mockup {
    position: relative;
    display: flex;
    justify-content: center
}

.features-mockup img {
    max-width: 340px;
    filter: drop-shadow(0 20px 60px rgba(124, 58, 237, .2))
}

.features-mockup::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, .3), transparent 70%);
    filter: blur(30px)
}

.features-info .pillar {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all .3s;
    margin-bottom: 8px
}

.pillar:hover {
    background: var(--glass);
    border-color: var(--border)
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(124, 58, 237, .1);
    border: 1px solid rgba(139, 92, 246, .2);
    color: var(--violet3)
}

.pillar-icon .material-symbols-outlined {
    font-size: 22px
}

.pillar-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px
}

.pillar-sub {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text3)
}

/* ═══ PRICING ═══ */
.pricing-section {
    background: var(--bg);
    text-align: center;
    position: relative
}

.pricing-card {
    max-width: 440px;
    margin: 48px auto 0;
    padding: 48px 40px;
    position: relative;
    overflow: hidden
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, .25), transparent 70%);
    pointer-events: none
}

.pricing-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px
}

.pricing-methods>div {
    width: 42px;
    height: 42px
}

.price-old {
    font-size: 20px;
    color: var(--text3);
    text-decoration: line-through;
    margin-bottom: 4px
}

.price-discount {
    color: #f87171;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px
}

.price-current {
    font-size: clamp(42px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, #fff, var(--violet3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px
}

.price-current .cents {
    font-size: 22px;
    font-weight: 600
}

.pricing-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--violet), var(--violet2));
    color: #fff;
    box-shadow: 0 4px 24px rgba(124, 58, 237, .4);
    transition: all .25s
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, .55)
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--glass2);
    color: var(--text);
    backdrop-filter: blur(12px);
    transition: all .25s
}

.btn-download:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px)
}

.btn-download .material-symbols-outlined {
    font-size: 18px
}

/* ═══ SOCIAL PROOF ═══ */
.proof-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    position: relative
}

.proof-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 40px;
    text-align: center
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px
}

.stars svg {
    width: 22px;
    height: 22px;
    fill: #facc15;
    filter: drop-shadow(0 0 4px rgba(250, 204, 21, .4))
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text2);
    min-height: 60px;
    font-style: italic;
    margin-bottom: 16px
}

.review-text::before {
    content: '"'
}

.review-text::after {
    content: '"'
}

.review-email {
    font-size: 13px;
    color: var(--text3)
}

/* ═══ FINAL CTA ═══ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, .15), transparent 70%);
    filter: blur(40px)
}

/* ═══ FOOTER DISCORD ═══ */
.discord-section {
    padding: 20px 0;
    text-align: center
}

/* ═══ DIVIDER ═══ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 auto
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:768px) {
    .hero h1 {
        font-size: 36px
    }

    .hero-cta {
        flex-direction: column;
        width: 100%
    }

    .hero-cta .btn-neo {
        width: 100%;
        justify-content: center
    }

    .brand-strip {
        gap: 24px;
        margin-top: 60px
    }

    .brand-strip span {
        font-size: 16px
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .features-mockup {
        order: -1
    }

    .tab-panel {
        flex-direction: column
    }

    .tab-media {
        flex: none;
        width: 100%
    }

    .tab-bar {
        flex-wrap: wrap;
        justify-content: center
    }

    .pricing-card {
        padding: 32px 24px
    }

    .nav-right {
        display: none
    }

    .section {
        padding: 80px 0
    }
}

/* ═══ HIDDEN CONTENT WRAPPER ═══ */
.old-hidden {
    display: none !important
}

/* ═══ COMPARISON SLIDER (Stream Proof) ═══ */
.compare-container {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 12px
}

.compare-container img {
    position: absolute;
    width: 97%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 12px
}

.top-img {
    clip-path: inset(0 50% 0 0)
}

.divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-50%);
    cursor: ew-resize
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none
}

/* ═══ CART MODAL (preserved) ═══ */
#blur {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

#blur.show {
    opacity: 1;
    pointer-events: auto
}