/* TurboTweaks site — тёмная тема, фиолетовый акцент */

:root {
    --bg: #0d0d12;
    --bg-2: #14141f;
    --panel: #1a1a26;
    --panel-2: #232333;
    --border: #2c2c40;
    --text: #f5f5fc;
    --text-dim: #9b9bb0;
    --accent: #8c6eff;
    --accent-hi: #a085ff;
    --accent-deep: #5f46c8;
    --green: #48c882;
    --red: #e85454;
    --orange: #ffaa50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(140, 110, 255, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* === Header === */
.hdr {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(13, 13, 18, 0.7);
    border-bottom: 1px solid var(--border);
}
.hdr-row {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
}
.logo-icon { font-size: 22px; }
.logo-text { background: linear-gradient(90deg, var(--accent-hi), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: auto;
}
.nav a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}
.nav a:hover { color: var(--text); }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.1s, background 0.15s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 8px 24px rgba(140, 110, 255, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 18px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { font-size: 16px; }

/* === Hero === */
.hero {
    position: relative;
    padding: 80px 0 100px;
    text-align: center;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(140, 110, 255, 0.12);
    border: 1px solid rgba(140, 110, 255, 0.3);
    color: var(--accent-hi);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.grad {
    background: linear-gradient(90deg, var(--accent-hi) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 19px;
    color: var(--text-dim);
    max-width: 720px;
    margin: 0 auto 36px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-meta {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 14px;
}

/* === Stats === */
.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    background: var(--bg-2);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--accent-hi);
    line-height: 1;
}
.stat-lbl {
    color: var(--text-dim);
    margin-top: 8px;
    font-size: 14px;
}

/* === Sections === */
section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 18px;
    margin-bottom: 56px;
}

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.feature-ic {
    font-size: 36px;
    margin-bottom: 14px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* === Pricing === */
.pricing { background: var(--bg-2); }
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}
.price-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    position: relative;
}
.price-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(140, 110, 255, 0.2);
}
.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.price-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 8px;
}
.price-num {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}
.price-period {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 24px;
}
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.price-features li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li.dim { color: var(--text-dim); }
.price-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
}

/* === How it works === */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
}
.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(140, 110, 255, 0.3);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* === Download === */
.download { background: var(--bg-2); }
.download-box {
    max-width: 620px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(140, 110, 255, 0.08), rgba(140, 110, 255, 0.02));
    border: 1px solid rgba(140, 110, 255, 0.3);
    border-radius: 20px;
    padding: 56px 36px;
    text-align: center;
}
.download-icon { font-size: 56px; margin-bottom: 16px; }
.download-box h2 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.download-box > p { color: var(--text-dim); margin-bottom: 28px; }
.download-meta {
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 16px;
}
.advanced {
    margin-top: 24px;
    color: var(--text-dim);
    font-size: 13px;
}
.advanced summary { cursor: pointer; user-select: none; }
.advanced summary:hover { color: var(--text); }
.advanced a { color: var(--accent-hi); }

/* === Footer === */
.ftr {
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
    background: var(--bg-2);
}
.ftr-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}
.ftr-mute { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.ftr-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ftr-cols h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin-bottom: 12px; }
.ftr-cols a {
    display: block;
    color: var(--text);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.15s;
}
.ftr-cols a:hover { color: var(--accent-hi); }
.ftr-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

/* === Responsive === */
@media (max-width: 900px) {
    .hero h1 { font-size: 44px; }
    .hero-sub { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .ftr-row { grid-template-columns: 1fr; }
    .ftr-cols { grid-template-columns: 1fr; }
    .nav { display: none; }
    .section-title { font-size: 32px; }
}
@media (max-width: 500px) {
    .hero h1 { font-size: 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
}
