/* ── LAYOUT ── */
html {
    scroll-behavior: smooth;
}

/* ── SUBTLE BG GLOW ── */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, hsl(var(--primary) / 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── TOP BAR ── */
.top-bar {
    justify-content: space-between;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem 0.35rem 0.55rem;
    border-radius: 8px;
    background: transparent;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition:
        color 0.18s ease,
        background 0.18s ease;
}

.btn-back:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--accent));
}

.btn-back svg {
    width: 16px;
    height: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─────────────────────────────────────────────────── */
/* ── PAGE CONTENT ── */
/* ─────────────────────────────────────────────────── */

.page {
    position: relative;
    z-index: 1;
}

/* ── HERO ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: hsl(var(--primary) / 0.15);
    border: 1px solid hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero-badge svg {
    width: 13px;
    height: 13px;
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.hero-headline .accent {
    color: hsl(var(--primary));
}

.hero-headline .discord-color {
    color: var(--discord);
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--discord);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.18s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: hsl(var(--foreground));
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid hsl(var(--border));
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.12s ease;
}

.btn-secondary:hover {
    background: hsl(var(--accent));
    border-color: hsl(var(--accent-foreground) / 0.2);
    transform: translateY(-1px);
}

.btn-primary svg,
.btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-disclaimer {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    color: hsl(var(--muted-foreground));
}

/* ── STATS BAR ── */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    margin: 0;
    background: hsl(var(--card));
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3rem;
    border-right: 1px solid hsl(var(--border));
    flex: 1;
    min-width: 150px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.stat-context {
    font-size: 0.72rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.2rem;
    opacity: 0.7;
}

/* ── SECTION ── */
.section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3.5rem;
}

/* ── FEATURE GRID ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 14px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    border-color: hsl(var(--primary) / 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary) / 0), hsl(var(--primary) / 0.6), hsl(var(--primary) / 0));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: hsl(var(--primary) / 0.12);
    border: 1px solid hsl(var(--primary) / 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    font-size: 1.3rem;
}

.feature-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--card-foreground));
}

.feature-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.feature-tag-nitro {
    background: rgba(88, 101, 242, 0.15);
    color: #7289da;
}

/* ── NO-NITRO CALLOUT ── */
.no-nitro-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-left: 3px solid #7289da;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.no-nitro-callout-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.no-nitro-callout p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: hsl(var(--card-foreground));
    margin: 0;
}

.no-nitro-callout strong {
    color: hsl(var(--foreground));
}

.feature-hook {
    font-size: 0.82rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    font-style: italic;
    margin-bottom: 0.65rem;
    line-height: 1.5;
}

.feature-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: hsl(var(--card-foreground));
}

/* ── FEATURED / BIG FEATURE ── */
.big-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 18px;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.big-feature::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.big-feature-reverse {
    direction: rtl;
}

.big-feature-reverse > * {
    direction: ltr;
}

.big-feature-text .eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.big-feature-text h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.big-feature-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.big-feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: hsl(var(--accent));
    border-radius: 12px;
    min-height: 180px;
    position: relative;
    z-index: 1;
}

.big-feature-visual .visual-number {
    font-family: 'Quicksand', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
}

.big-feature-visual .visual-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
    margin-left: 0.25rem;
    align-self: flex-end;
    padding-bottom: 0.75rem;
}

.visual-flex {
    display: flex;
    align-items: flex-end;
    gap: 0.1rem;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}

.testimonial-stars {
    color: hsl(var(--primary));
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
}

.testimonial-quote {
    font-size: 0.92rem;
    line-height: 1.7;
    color: hsl(var(--card-foreground));
    margin-bottom: 1.1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.testimonial-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: hsl(var(--primary));
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.testimonial-role {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ── ONE-STAR CARD ── */
.testimonial-card--one-star {
    border-color: hsl(0 60% 50% / 0.45);
    box-shadow: inset 0 0 0 1px hsl(0 60% 50% / 0.1);
}

.testimonial-stars--one {
    color: hsl(0 70% 55%);
}

@keyframes card-shatter {
    0% {
        transform: translate(0, 0) rotate(0deg);
        filter: brightness(1);
    }
    8% {
        transform: translate(-5px, 1px) rotate(-0.8deg);
        filter: brightness(1.4);
    }
    18% {
        transform: translate(5px, -1px) rotate(0.8deg);
        filter: brightness(0.75);
    }
    28% {
        transform: translate(-4px, 2px) rotate(-0.5deg);
        filter: brightness(1.6);
    }
    38% {
        transform: translate(4px, -2px) rotate(0.5deg);
        filter: brightness(0.7);
    }
    48% {
        transform: translate(-8px, 0px) rotate(-1.2deg);
        filter: brightness(1.9);
    }
    58% {
        transform: translate(8px, 0px) rotate(1.2deg);
        filter: brightness(0.6);
    }
    70% {
        transform: translate(-3px, 0px) rotate(-0.3deg);
        filter: brightness(1.2);
    }
    82% {
        transform: translate(3px, 0px) rotate(0.3deg);
        filter: brightness(1);
    }
    92% {
        transform: translate(-1px, 0px);
        filter: brightness(1);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        filter: brightness(1);
    }
}

.testimonial-card--shattering {
    animation: card-shatter 0.55s ease-in-out;
    border-color: hsl(var(--primary) / 0.6) !important;
    box-shadow: 0 0 24px hsl(var(--primary) / 0.25) !important;
}

@keyframes star-pop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    55% {
        transform: scale(1.45) rotate(8deg);
        opacity: 1;
    }
    78% {
        transform: scale(0.88) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.testimonial-stars--correcting span {
    display: inline-block;
    animation: star-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes quote-fade-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote--correcting {
    animation: quote-fade-in 0.4s ease both;
}
.cta-section {
    padding: 6rem 1.5rem;
    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, hsl(var(--primary) / 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cta-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.25rem;
}

.cta-fine-print {
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ── DIVIDER ── */
.section-divider {
    height: 1px;
    background: hsl(var(--border));
    max-width: 1100px;
    margin: 0 auto;
}

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.8rem;
    color: hsl(var(--muted-foreground));
    border-top: 1px solid hsl(var(--border));
    position: relative;
    z-index: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    .big-feature {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 1.5rem;
    }

    .big-feature-reverse {
        direction: ltr;
    }

    .stat-item {
        padding: 1.25rem 1.5rem;
    }
}
