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

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-accent: #1a1a2e;
    --text: #e4e4e7;
    --text-dim: #8888a0;
    --accent: #6366f1;
    --accent-glow: rgba(99,102,241,.25);
    --accent2: #22d3ee;
    --border: rgba(255,255,255,.06);
    --radius: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

/* ========== NAV ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,15,.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-phone { color: var(--accent2) !important; font-family: var(--mono); font-size: 13px; letter-spacing: 0.5px; }
.footer-phone { color: var(--accent2); font-family: var(--mono); font-size: 14px; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    background: var(--accent); color: #fff;
    border: none; cursor: pointer;
    transition: all .2s;
}
.btn:hover { background: #4f46e5; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.15); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); }
.btn-full { width: 100%; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99,102,241,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(34,211,238,.06) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-short { min-height: auto; padding: 140px 0 80px; text-align: center; }
.hero-short .hero-sub { margin-left: auto; margin-right: auto; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 600;
    color: var(--accent2);
    background: rgba(34,211,238,.08);
    border: 1px solid rgba(34,211,238,.2);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-size: 48px; font-weight: 900; color: #fff;
    font-family: var(--mono);
    letter-spacing: -2px;
}
.stat-unit { font-size: 24px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-card); }
.section-accent { background: var(--bg-accent); }
.section-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent); font-weight: 600;
    margin-bottom: 16px;
}
.section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 48px;
}
.section h2 em {
    font-style: normal;
    color: var(--accent2);
}

/* ========== PROBLEM CARDS ========== */
.cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.problem-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color .3s, transform .3s;
}
.problem-card:hover {
    border-color: rgba(99,102,241,.3);
    transform: translateY(-4px);
}
.problem-icon { font-size: 32px; margin-bottom: 16px; }
.problem-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.problem-card p { color: var(--text-dim); font-size: 15px; }

/* ========== QUOTE ========== */
.big-quote {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    border: none;
    padding: 0;
    text-align: center;
    margin-bottom: 24px;
}
.quote-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SOLUTIONS ========== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: border-color .3s, transform .3s;
}
.solution-card:hover {
    border-color: rgba(99,102,241,.3);
    transform: translateY(-4px);
}
.solution-icon { font-size: 40px; margin-bottom: 20px; }
.solution-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.solution-lead { color: var(--accent2); font-size: 16px; font-weight: 500; margin-bottom: 24px; }
.solution-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.solution-list li { color: var(--text-dim); font-size: 15px; padding-left: 20px; position: relative; }
.solution-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.solution-list li strong { color: #fff; }
.solution-card-link { display: block; color: inherit; text-decoration: none; }
.solution-card-link:hover { color: inherit; }
.solution-desc { color: var(--text-dim); font-size: 15px; margin-bottom: 24px; }
.solution-link { color: var(--accent2); font-weight: 600; font-size: 14px; }
.nav-links a.active { color: #fff; }

/* ========== PRINCIPLES ========== */
.principles { display: flex; flex-direction: column; gap: 48px; }
.principle { display: flex; gap: 32px; align-items: flex-start; }
.principle-num {
    font-family: var(--mono);
    font-size: 48px; font-weight: 800;
    color: rgba(99,102,241,.3);
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
}
.principle h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.principle p { color: var(--text-dim); }

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.feature {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color .3s, transform .3s;
}
.feature:hover {
    border-color: rgba(34,211,238,.3);
    transform: translateY(-4px);
}
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 15px; }

/* ========== STRATEGIES ========== */
.strategies { display: flex; flex-direction: column; gap: 32px; }
.strategy-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.strategy-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.strategy-item p { color: var(--text-dim); font-size: 15px; }

/* ========== CTA ========== */
.section-cta {
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(99,102,241,.15) 0%, transparent 70%),
        var(--bg);
    text-align: center;
}
.section-cta h2 { margin-bottom: 16px; }
.section-cta > .container > p {
    color: var(--text-dim);
    font-size: 18px;
    margin-bottom: 48px;
}
.section-cta em { color: var(--accent2); font-style: normal; }
.cta-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
    text-align: left;
}
.form-row { display: flex; gap: 12px; }
.form-row input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: #fff;
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color .2s;
}
.form-row input::placeholder { color: var(--text-dim); }
.form-row input:focus { border-color: var(--accent); }
.form-note { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 8px; }

/* ========== ARTICLE ========== */
.article h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 40px;
}
.article h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: #fff;
}
.article p {
    margin-bottom: 16px;
    color: var(--text-dim);
}
.article em { color: var(--accent2); font-style: italic; }
.article strong { color: #fff; font-weight: 600; }
.article ul {
    margin: 16px 0 24px 24px;
    list-style: disc;
}
.article ul li {
    color: var(--text-dim);
    margin-bottom: 8px;
    font-size: 15px;
}
.story-quote { margin: 48px 0; }
.story-quote .big-quote { font-size: clamp(18px, 2.5vw, 24px); }
.article-cta {
    margin-top: 48px;
    text-align: center;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer p { color: var(--text-dim); font-size: 14px; }

/* ========== HOOK ========== */
.hook-title {
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 40px;
}
.hook-text {
    color: var(--text-dim);
    font-size: 17px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 20px;
}
.hook-text:last-of-type { margin-bottom: 0; }
.hook-text strong { color: #fff; }

.word-fix {
    position: relative;
    display: inline-block;
}
.word-strike {
    text-decoration: line-through;
    text-decoration-color: rgba(239,68,68,.7);
    text-decoration-thickness: .12em;
    opacity: .5;
}
.word-top {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 85%;
    color: var(--accent2);
    font-size: .55em;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}
.word-fix-sm .word-top {
    font-size: .6em;
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(10,10,15,.97);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .burger { display: flex; }
    .hero-stats { gap: 32px; }
    .stat-num { font-size: 36px; }
    .principle { flex-direction: column; gap: 12px; }
    .principle-num { font-size: 36px; min-width: auto; }
    .form-row { flex-direction: column; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
}
