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

:root {
    --bg: #0a0c10;
    --bg-alt: #0d1117;
    --surface: #161b22;
    --surface-2: #1c2230;
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --text: #e6edf3;
    --text-muted: #dde3e8;
    --text-dim: #a8b4c1;
    --accent: #4ade80;
    --accent-dim: rgba(74, 222, 128, 0.12);
    --accent-2: #38bdf8;
    --accent-2-dim: rgba(56, 189, 248, 0.12);
    --featured: #f59e0b;
    --featured-dim: rgba(245, 158, 11, 0.12);
    --danger: #f87171;
    --font: 'Onest', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --radius: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
}

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

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--text);
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.9rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 72px 0;
}

.section--alt {
    background: var(--bg-alt);
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #0a0c10;
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #22c55e;
    color: #0a0c10;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border-bright);
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
    background: transparent;
    transition: all .2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 1rem;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(10, 12, 16, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.logo-icon {
    color: var(--accent);
    display: flex;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.lang-switcher {
    display: flex;
    gap: 2px;
}

.lang-btn {
    display: inline-block;
    background: none;
    border: 1px solid transparent;
    color: var(--text-dim);
    font-family: var(--font);
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text);
    border-color: var(--border);
}

.lang-btn.active {
    color: var(--accent);
    border-color: rgba(74, 222, 128, .3);
    background: var(--accent-dim);
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    flex-shrink: 0;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all .25s;
}

.burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 60px 0 0 0;
    z-index: 150;
    background: var(--bg);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 28px 20px 40px;
    gap: 8px;
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform .3s ease;
}

.mobile-menu.visible {
    transform: translateY(0);
}

.mm-link {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--radius);
    transition: background .15s;
}

.mm-link:hover {
    background: var(--surface);
    color: var(--accent);
}

.mm-lang {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    margin-top: 8px;
}

.mm-lang .lang-btn {
    font-size: .85rem;
    padding: 6px 14px;
}

.mm-cta {
    margin: 16px 16px 0;
    justify-content: center;
    font-size: 1rem;
    padding: 14px;
}

body.menu-open {
    overflow: hidden;
}

/* HERO */
.hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .15;
}

.glow-1 {
    width: 500px;
    height: 360px;
    background: var(--accent);
    top: -80px;
    left: -80px;
}

.glow-2 {
    width: 420px;
    height: 300px;
    background: var(--accent-2);
    top: 0;
    right: -40px;
}

.hero-content {
    position: relative;
    max-width: 740px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-family: var(--mono);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: .4
    }
}

.hero h1 {
    margin-bottom: 18px;
}

.highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    font-family: var(--mono);
}

.stat span {
    font-size: .75rem;
    color: var(--text-muted);
}

.stat-div {
    width: 1px;
    height: 30px;
    background: var(--border);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1rem;
}

/* ===== PLANS ===== */
.plans-scroll-wrapper {
    overflow: visible;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s, transform .2s;
}

.plan-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.plan-card--featured {
    border-color: rgba(245, 158, 11, .4);
    background: linear-gradient(160deg, #1c1e14 0%, var(--surface) 60%);
}

.plan-card--featured:hover {
    border-color: var(--featured);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--featured);
    color: #0a0c10;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: .05em;
}

.plan-header {
}

.plan-header-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.plan-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-icon svg {
    width: 16px;
    height: 16px;
}

.plan-icon--starter {
    background: var(--accent-2-dim);
    color: var(--accent-2);
}

.plan-icon--business {
    background: var(--featured-dim);
    color: var(--featured);
}

.plan-icon--enterprise {
    background: var(--accent-dim);
    color: var(--accent);
}

.plan-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.plan-desc {
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 5px 0 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    font-family: var(--mono);
}

.price-unit {
    font-size: .82rem;
    color: var(--text-muted);
}

.plan-spec {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.spec-chip {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 100px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.spec-chip--hi {
    background: var(--accent-dim);
    border-color: rgba(74, 222, 128, .25);
    color: var(--accent);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    flex: 1;
}

.plan-features li {
    font-size: .87rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text);
}

.check {
    color: var(--accent);
    flex-shrink: 0;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border-bright);
    color: var(--text);
    font-weight: 600;
    font-size: .88rem;
    transition: all .2s;
    margin-top: auto;
}

.btn-plan:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-plan--featured {
    background: var(--featured);
    border-color: var(--featured);
    color: #0a0c10;
}

.btn-plan--featured:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #0a0c10;
}

/* CALCULATOR */
.calc-wrapper {
    display: grid;
    grid-template-columns:1fr 300px;
    gap: 28px;
    align-items: start;
}

.calc-controls {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.calc-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text);
}

.calc-val {
    font-family: var(--mono);
    font-size: .95rem;
    font-weight: 700;
    color: var(--accent);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--surface-2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: transform .2s;
    border: 2px solid var(--bg);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    cursor: pointer;
}

.range-marks {
    position: relative;
    height: 1.4em;
    display: block;
    font-size: .7rem;
    color: var(--text-muted);
    font-family: var(--mono);
    margin-top: 4px;
}

.range-marks span {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* CPU inline — no box, just number + note */
.calc-cpu-inline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.calc-cpu-num {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.calc-cpu-note {
    font-size: .82rem;
    color: var(--text-dim);
}

/* consult hint */
.calc-consult {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .82rem;
    color: var(--text-muted);
    padding: 12px 14px;
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.calc-consult svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--text-muted);
}

.calc-consult a {
    color: var(--accent-2);
}

.calc-consult a:hover {
    color: var(--accent);
}

.calc-result {
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: sticky;
    top: 72px;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
}

.result-row span:first-child {
    color: var(--text-muted);
}

.result-row span:last-child {
    font-family: var(--mono);
    font-weight: 500;
    font-size: .82rem;
}

.result-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.result-total span:last-child {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.result-total span:first-child {
    font-weight: 600;
    color: var(--text);
}

.calc-cta {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    justify-content: center;
}

.calc-note {
    font-size: .72rem;
    text-align: center;
    color: var(--text-dim);
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: border-color .2s;
}

.feature-card:hover {
    border-color: var(--border-bright);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-dim);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
}

.feature-card h3 {
    font-size: .98rem;
    color: var(--text);
    margin-bottom: 0;
}

.feature-card p {
    font-size: .84rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns:1fr 340px;
    gap: 36px;
    align-items: start;
}

#lead-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 14px 8px;
    color: var(--text);
    font-family: var(--font);
    font-size: .93rem;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group--msg {
    position: relative;
}

.form-group--msg textarea {
    padding-bottom: 22px;
}

.char-counter {
    position: absolute;
    bottom: 6px;
    right: 12px;
    font-size: .65rem;
    color: var(--text-dim);
    pointer-events: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
}

.form-group label {
    position: absolute;
    top: 8px;
    left: 14px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-dim);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.select-label {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

/* CUSTOM SELECT */
.custom-select {
    position: relative;
    user-select: none;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 14px;
    cursor: pointer;
    transition: border-color .2s;
    min-height: 48px;
}

.custom-select__trigger:hover, .custom-select.open .custom-select__trigger {
    border-color: var(--accent);
}

.cst-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    min-width: 44px;
}

.cst-sub {
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--text-muted);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cst-price {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.cst-arrow {
    color: var(--text-dim);
    margin-left: 4px;
    flex-shrink: 0;
    transition: transform .2s;
}

.custom-select.open .cst-arrow {
    transform: rotate(180deg);
}

.custom-select__list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 60;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.custom-select.open .custom-select__list {
    display: block;
}

.csl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    cursor: pointer;
    transition: background .15s;
}

.csl-item:hover {
    background: var(--surface-2);
}

.csl-item--active {
    background: var(--accent-dim);
}

.csl-item--calc {
    border-top: 1px solid var(--border);
}

.csl-name {
    font-weight: 600;
    font-size: .88rem;
    color: var(--text);
    min-width: 52px;
}

.csl-spec {
    font-size: .75rem;
    color: var(--text-muted);
    font-family: var(--mono);
    flex: 1;
}

.csl-price {
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    position: relative;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    filter: grayscale(0.3);
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, .3);
    border-top-color: #0a0c10;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.form-channels {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .84rem;
    color: var(--text);
}

.form-channels a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: .84rem;
    font-weight: 500;
    transition: color .2s;
}

.form-channels a:hover {
    color: var(--accent);
}

.form-success[hidden], .form-error[hidden] {
    display: none !important;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-dim);
    border: 1px solid rgba(74, 222, 128, .3);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .88rem;
    color: var(--accent);
}

.form-error {
    background: rgba(248, 113, 113, .1);
    border: 1px solid rgba(248, 113, 113, .3);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .88rem;
    color: var(--danger);
}

/* FIELD-LEVEL VALIDATION */
.field-error {
    display: block;
    font-size: .72rem;
    color: var(--danger);
    margin-top: 4px;
    padding-left: 2px;
}

.field-error[hidden] {
    display: none !important;
}

.form-group--error input,
.form-group--error textarea {
    border-color: var(--danger);
}

.cf-turnstile {
    margin-top: 2px;
}

/* WHY US */
.contact-info {
    padding-top: 4px;
}

.contact-info h3 {
    color: var(--text);
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.why-icon {
    width: 22px;
    height: 22px;
    background: var(--accent-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}


/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.footer-copy {
    font-size: .8rem;
    color: var(--text-dim);
    flex: 1;
}

.footer-nav {
    display: flex;
    gap: 18px;
}

.footer-nav a {
    font-size: .8rem;
    color: var(--text-dim);
}

.footer-nav a:hover {
    color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns:repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns:1fr;
    }

    .calc-wrapper {
        grid-template-columns:1fr;
    }

    .calc-result {
        position: static;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .section {
        padding: 56px 0;
    }

    /* Plans — horizontal carousel on mobile */
    .plans-scroll-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -20px;
        padding: 12px 20px 20px;
    }

    .plans-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .plans-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        width: max-content;
        align-items: stretch;
    }

    .plan-card {
        width: 280px;
        flex-shrink: 0;
    }

    /* Center the featured card visually on initial load */
    .plan-card--featured {
        order: 0;
    }

    .plan-card:first-child {
        order: -1;
    }

    .plan-card:last-child {
        order: 1;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns:1fr;
    }

    .hero-stats {
        gap: 14px;
    }

    .stat-div {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .calc-controls {
        padding: 20px;
        gap: 20px;
    }

    .calc-result {
        padding: 20px;
    }

    #lead-form {
        padding: 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .cst-sub {
        display: none;
    }

    .csl-spec {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .plan-card, .feature-card {
        animation: fadeUp .45s ease both;
    }

    .plan-card:nth-child(1) {
        animation-delay: .05s;
    }

    .plan-card:nth-child(2) {
        animation-delay: .1s;
    }

    .plan-card:nth-child(3) {
        animation-delay: .15s;
    }
}

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

/* ===== COOKIE CONSENT BANNER ===== */
/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .4);
    animation: slideUp .3s cubic-bezier(.4, 0, .2, 1);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--accent-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .1s;
    white-space: nowrap;
}

.cookie-btn:active {
    transform: scale(.97);
}

.cookie-btn--accept {
    background: var(--accent);
    color: #0a0c10;
}

.cookie-btn--accept:hover {
    opacity: .88;
}

.cookie-btn--reject {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 13px;
    padding: 9px 12px;
}

.cookie-btn--reject:hover {
    color: var(--text-dim);
}

@media (max-width: 640px) {
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal[hidden] {
    display: none;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(4px);
}

.cookie-modal-box {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    margin: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
    animation: fadeScaleIn .2s cubic-bezier(.4, 0, .2, 1);
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.cookie-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: color .2s;
}

.cookie-modal-close:hover {
    color: var(--text);
}

.cookie-modal-body {
    padding: 16px 24px;
}

.cookie-category--row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
}

.cookie-category--row:last-child {
    border-bottom: none;
}

.cookie-category--row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.cookie-category--row input[type="checkbox"]:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.cookie-category--row strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 2px;
}

.cookie-cat-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* ===== COOKIE SETTINGS LINK ===== */
.cookie-settings-link {
    background: none;
    border: none;
    color: var(--text-dim);
    font-family: var(--font);
    font-size: .8rem;
    cursor: pointer;
    padding: 0;
    transition: color .2s;
}

.cookie-settings-link:hover {
    color: var(--text);
}