/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---- TOKENS ---- */
:root {
    --bg:          #060c09;
    --surface:     #0d1910;
    --surface-2:   #111f14;
    --border:      #1b2e1f;
    --border-hi:   #284033;
    --primary:     #00e87c;
    --primary-dim: rgba(0,232,124,0.12);
    --primary-glow:rgba(0,232,124,0.07);
    --text:        #dff0e8;
    --text-muted:  #6a8572;
    --text-dim:    #334d3c;

    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'Space Mono', monospace;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- LAYOUT ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- SCROLL ANIMATION ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity  0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
    transition-delay: var(--delay, 0s);
}
[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #060c09;
    font-weight: 700;
}
.btn-primary:hover {
    background: #14ffa0;
    box-shadow: 0 0 28px rgba(0,232,124,0.28);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-hi);
}
.btn-ghost:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary-dim);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(6, 12, 9, 0.88);
    backdrop-filter: blur(16px);
    border-color: var(--border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo {
    height: 34px;
    width: auto;
    border-radius: 7px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 6px;
    transition: color 0.15s;
}
.nav-item:hover { color: var(--text); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 34px;
    height: 34px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.22s;
    transform-origin: center;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px 28px 24px;
    border-top: 1px solid var(--border);
    background: rgba(6, 12, 9, 0.96);
    backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }

.mobile-nav-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.15s;
}
.mobile-nav-item:hover { color: var(--text); }

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-text {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(16rem, 38vw, 56rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,232,124,0.055);
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 55%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(0,232,124,0.065) 0%, transparent 68%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 28px;
    animation: fadeUp 0.6s var(--ease-out) both;
    animation-delay: 0.05s;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-variation-settings: 'wdth' 100, 'opsz' 96;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 28px;
    animation: fadeUp 0.75s var(--ease-out) both;
    animation-delay: 0.2s;
}
.hero-title em {
    font-style: normal;
    color: var(--primary);
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeUp 0.65s var(--ease-out) both;
    animation-delay: 0.38s;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    animation: fadeUp 0.6s var(--ease-out) both;
    animation-delay: 0.52s;
}

.hero-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    animation: fadeUp 0.55s var(--ease-out) both;
    animation-delay: 0.66s;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* ---- STATS STRIP ---- */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.stats-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 4px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-num sup {
    font-size: 0.45em;
    vertical-align: super;
    font-weight: 700;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---- SECTION COMMONS ---- */
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-variation-settings: 'wdth' 100, 'opsz' 72;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
}

/* ---- FEATURES ---- */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.feature-card {
    background: var(--surface);
    padding: 32px 28px;
    position: relative;
    transition: background 0.2s;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-hi);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    border-radius: 4px;
    background: var(--primary-dim);
    transition: border-color 0.2s;
}
.feature-card:hover .feature-icon {
    border-color: rgba(0,232,124,0.3);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- COMMUNITY ---- */
.community {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.community-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
}
.community-text p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 400px;
}

/* Discord mock */
.community-discord {
    background: #1e2124;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.discord-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.discord-server-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.01em;
}
.discord-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #23a55a;
    box-shadow: 0 0 6px #23a55a;
}

.discord-channels {
    padding: 12px 0 16px;
}
.discord-category {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: #72767d;
    padding: 12px 20px 6px;
}
.channel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 20px;
    font-size: 0.9rem;
    color: #8e9297;
    border-radius: 4px;
    margin: 1px 8px;
    cursor: default;
    transition: background 0.1s, color 0.1s;
}
.channel-item:hover {
    background: rgba(255,255,255,0.06);
    color: #dcddde;
}
.channel-item.channel-active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.ch {
    color: #4e5058;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}
.channel-item.channel-active .ch {
    color: #b9bbbe;
}

/* ---- PRICING ---- */
.pricing {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.pricing-card {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(0,232,124,0.25);
    border-radius: 6px;
    padding: 48px 40px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0,232,124,0.05);
}

.pricing-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(0,232,124,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.pricing-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(0,232,124,0.3);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
    line-height: 1;
}
.price-currency {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}
.price-amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4.5rem;
    letter-spacing: -0.04em;
    color: var(--text);
}
.price-amount sup {
    font-size: 0.4em;
    vertical-align: super;
    letter-spacing: 0;
    color: var(--text-muted);
}
.price-period {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}
.pricing-trial {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.check-icon {
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-top: 16px;
}

/* ---- CTA FINAL ---- */
.cta-final {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-variation-settings: 'wdth' 100, 'opsz' 96;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 48px;
}

/* ---- FOOTER ---- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 30px;
    width: auto;
    border-radius: 6px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
    max-width: 200px;
    line-height: 1.55;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    align-items: center;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 6px 0;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .community-inner { grid-template-columns: 1fr; gap: 48px; }
    .stats-inner { flex-wrap: wrap; }
    .stat { flex: 1 1 40%; }
    .stat-divider { display: none; }
}

@media (max-width: 620px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 100px 0 64px; min-height: auto; }
    .hero-bg-text { font-size: 50vw; right: -8%; }

    .features { padding: 72px 0; }
    .features-grid { grid-template-columns: 1fr; }

    .community { padding: 72px 0; }
    .pricing { padding: 72px 0; }
    .pricing-card { padding: 32px 24px; }

    .cta-final { padding: 80px 0; }

    .footer-inner { flex-direction: column; gap: 28px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; max-width: 360px; }

    .stats-inner { gap: 0; }
    .stat { flex: 1 1 50%; padding: 24px 12px; }
}
