/* ── TOKENS ─────────────────────────────────────────────── */
:root {
    --bg:        #0A0F1E;
    --bg-2:      #0F1628;
    --bg-card:   #131C35;
    --accent:    #2E6FE8;
    --accent-2:  #4A87FF;
    --accent-glow: rgba(46,111,232,0.15);
    --green:     #22C97A;
    --gold:      #F5B942;
    --red:       #F26B6B;
    --text-1:    #EEF2FF;
    --text-2:    #8B9CC8;
    --text-3:    #4A5580;
    --border:    rgba(255,255,255,0.07);
    --border-2:  rgba(255,255,255,0.13);
    --radius:    12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 64px;
    background: rgba(10,15,30,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; font-weight: 800; letter-spacing: -0.4px;
    z-index: 1001;
}
.nav-logo-icon {
    width: 36px; height: 36px; background: var(--accent);
    border-radius: 9px; display: flex; align-items: center;
    justify-content: center; font-size: 18px;
    box-shadow: 0 0 16px rgba(46,111,232,0.4);
}
.nav-menu {
    display: flex; align-items: center; gap: 8px;
}
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--text-2);
    padding: 8px 12px; border-radius: 8px;
    transition: all .2s;
}
.nav-link:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav-divider { width: 1px; height: 20px; background: var(--border-2); margin: 0 4px; }
.lang-toggle {
    display: flex; gap: 3px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 8px; padding: 3px;
}
.lang-btn {
    padding: 4px 10px; border-radius: 6px; font-size: 12px;
    font-weight: 700; cursor: pointer; border: none;
    background: transparent; color: var(--text-3); transition: all .2s;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.btn-nav {
    padding: 9px 18px; border-radius: 8px;
    font-size: 14px; font-weight: 600; cursor: pointer; border: none;
    transition: all .2s; white-space: nowrap;
}
.btn-primary-nav { background: var(--accent); color: #fff; }
.btn-primary-nav:hover { background: var(--accent-2); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 1001;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text-1); border-radius: 2px;
    transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 20px 60px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46,111,232,0.1) 0%, transparent 60%);
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(46,111,232,0.1); border: 1px solid rgba(46,111,232,0.3);
    border-radius: 100px; padding: 6px 16px;
    font-size: 13px; font-weight: 600; color: var(--accent-2);
    margin-bottom: 28px;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900; letter-spacing: -2px; line-height: 1.05;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #4A87FF 0%, #22C97A 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: clamp(16px, 2.5vw, 20px); color: var(--text-2);
    max-width: 580px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions {
    display: flex; justify-content: center; gap: 14px;
    flex-wrap: wrap; margin-bottom: 16px;
}
.btn-hero {
    padding: 15px 28px; border-radius: 12px;
    font-size: 16px; font-weight: 700; cursor: pointer; border: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s; text-decoration: none;
}
.btn-hero-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 8px 30px rgba(46,111,232,0.35);
}
.btn-hero-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(46,111,232,0.5); }
.btn-hero-outline { background: transparent; color: var(--text-1); border: 1px solid var(--border-2); }
.btn-hero-outline:hover { background: var(--bg-card); transform: translateY(-2px); }
.hero-note { font-size: 13px; color: var(--text-3); }
.hero-note strong { color: var(--green); }

/* Dashboard preview */
.dashboard-preview {
    margin-top: 56px;
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.preview-bar {
    background: #0A0F1E; padding: 12px 16px;
    display: flex; align-items: center; gap: 6px;
    border-bottom: 1px solid var(--border);
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-url {
    flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px;
    padding: 4px 12px; font-size: 12px; color: var(--text-3);
    font-family: 'JetBrains Mono', monospace; margin: 0 8px;
}
.preview-body { padding: 16px; }
.preview-stats {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 12px;
}
.preview-stat {
    background: var(--bg-2); border-radius: 10px; padding: 12px;
    border-top: 3px solid var(--accent);
}
.preview-stat.green { border-color: var(--green); }
.preview-stat.gold  { border-color: var(--gold); }
.preview-stat.red   { border-color: var(--red); }
.preview-stat-val { font-size: 20px; font-weight: 800; margin-bottom: 3px; }
.preview-stat-label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.preview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-card { background: var(--bg-2); border-radius: 10px; padding: 12px; }
.preview-card-title { font-size: 10px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.preview-list-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 12px;
}
.preview-list-item:last-child { border: none; }
.preview-badge { padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.badge-pending { background: rgba(245,185,66,.15); color: var(--gold); }
.badge-ok      { background: rgba(34,201,122,.15); color: var(--green); }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { padding: 90px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(26px, 4vw, 46px); font-weight: 800;
    letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px;
}
.section-subtitle { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.7; }

/* ── FEATURES ─────────────────────────────────────────────── */
.features { background: var(--bg-2); }
.features-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 50px;
}
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px; transition: all .25s;
}
.feature-card:hover { border-color: rgba(46,111,232,.4); transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,.3); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── HOW ──────────────────────────────────────────────────── */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
.step {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px; text-align: center;
}
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent-glow); border: 2px solid rgba(46,111,232,.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: var(--accent-2);
    margin: 0 auto 14px;
}
.step-icon { font-size: 26px; margin-bottom: 10px; }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ── PLANS ────────────────────────────────────────────────── */
#plans { background: var(--bg-2); }
.plans-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
.plan-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 22px; position: relative; transition: all .25s;
    display: flex; flex-direction: column;
}
.plan-card .btn-plan { margin-top: auto; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(46,111,232,.2); }
.plan-popular {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff;
    padding: 3px 16px; border-radius: 100px; font-size: 11px; font-weight: 700;
    white-space: nowrap; letter-spacing: .06em;
}
.plan-name { font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.plan-price { margin-bottom: 6px; }
.plan-price span { display: block; margin-top: 2px; }
.plan-price-custom { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--accent-2); margin-bottom: 6px; }
.plan-price strong { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.plan-price span { font-size: 14px; color: var(--text-2); }
.plan-trial { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 20px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-features li.disabled { color: var(--text-3); }
.plan-features li.disabled::before { content: '—'; color: var(--text-3); }
.btn-plan {
    display: block; width: 100%; padding: 13px; border-radius: 10px; text-align: center;
    font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all .2s;
}
.btn-plan-primary { background: var(--accent); color: #fff; }
.btn-plan-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-plan-outline { background: transparent; color: var(--text-1); border: 1px solid var(--border-2); }
.btn-plan-outline:hover { background: var(--bg-2); }

/* ── REGISTER ─────────────────────────────────────────────── */
.register-section { background: var(--bg); }
.register-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.register-perks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.register-perks li { font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.register-form-wrap {
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: var(--radius-lg); padding: 32px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.form-group input, .form-group select {
    background: var(--bg-2); border: 1px solid var(--border-2);
    border-radius: 9px; padding: 12px 14px; font-size: 15px;
    color: var(--text-1); font-family: inherit; outline: none; transition: all .2s;
    -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B9CC8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
    width: 100%; padding: 15px; border-radius: 10px;
    background: var(--accent); color: #fff; font-size: 16px; font-weight: 700;
    cursor: pointer; border: none; transition: all .25s; margin-top: 4px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(46,111,232,.4); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 12px; }
.register-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.register-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.register-success p { color: var(--text-2); margin-bottom: 8px; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-section { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 50px; }
.contact-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px; text-align: center;
    transition: all .25s; cursor: pointer; display: block;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.contact-whatsapp:hover { border-color: #25D366; }
.contact-email:hover { border-color: var(--accent); }
.contact-telegram:hover { border-color: #2AABEE; }
.contact-icon { font-size: 36px; margin-bottom: 14px; }
.contact-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-val { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.contact-action { font-size: 14px; font-weight: 600; color: var(--accent-2); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { padding: 40px 24px 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: color .2s; }
.footer-links a:hover { color: var(--text-1); }
.footer-copy { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 20px; }

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all .25s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(2,1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; bottom: 0;
        width: min(320px, 85vw);
        background: var(--bg-card); border-left: 1px solid var(--border-2);
        flex-direction: column; align-items: flex-start;
        padding: 80px 24px 40px; gap: 6px;
        transition: right .3s ease; z-index: 999;
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }
    .nav-link { width: 100%; font-size: 16px; padding: 12px 14px; }
    .nav-divider { width: 100%; height: 1px; margin: 8px 0; }
    .btn-nav { width: 100%; text-align: center; padding: 13px; font-size: 15px; margin-top: 8px; }

    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .register-inner { grid-template-columns: 1fr; gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
    .preview-stats { grid-template-columns: 1fr 1fr; }
    .preview-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    nav { padding: 0 16px; }
    section { padding: 70px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-hero { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
