@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #09090b;
  --fg: #ffffff;
  --muted: #71717a;
  --dim: #3f3f46;
  --accent: #6366f1;
  --accent-2: #818cf8;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --border: #27272a;
  --radius: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg); color: var(--fg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(99,102,241,0.3); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ═══ NAV ═══ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,0.85); backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--max); margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; }
.nav-brand img { width: 40px; height: 40px; filter: drop-shadow(0 7px 16px rgba(99,102,241,.25)); }
.nav-brand span { color: var(--accent); }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a { font-size: 0.82rem; color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav-menu a:hover { color: var(--fg); }
.nav-btn { padding: 7px 14px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.lang-switch button { width: 34px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 0.68rem; font-weight: 800; cursor: pointer; }
.lang-switch button.active { background: var(--accent); color: #fff; }
.burger { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.burger svg { display: block; }

/* ═══ HERO ═══ */
.hero-section { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hero-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: var(--accent-2); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; margin: 0 0 20px; }
.hero-title em { font-style: normal; color: var(--accent-2); }
.hero-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; margin: 0 0 28px; max-width: 48ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ BUTTONS ═══ */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 0.84rem; cursor: pointer; transition: transform 0.15s, opacity 0.15s; border: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { opacity: 0.9; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border); color: var(--fg); }
.btn-ghost:hover { border-color: #3f3f46; }
.btn-full { width: 100%; }

/* ═══ FORM ═══ */
.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-panel h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.form-panel > p { color: var(--muted); font-size: 0.84rem; margin: 0 0 20px; }
.form-panel form { display: grid; gap: 10px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input-wrap label { display: block; font-size: 0.68rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.input-wrap input, .input-wrap select, .input-wrap textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; color: var(--fg); font-size: 0.86rem; outline: none; transition: border-color 0.15s; }
.input-wrap textarea { resize: vertical; min-height: 72px; }
.input-wrap input:focus, .input-wrap select:focus, .input-wrap textarea:focus { border-color: var(--accent); }
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--dim); }

.check-group { border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin: 0; }
.check-group legend { font-size: 0.68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 0 4px; }
.check-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.check-options label { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.check-options label:hover { border-color: var(--border); color: var(--fg); }
.check-options input { accent-color: var(--accent); }
.form-note { text-align: center; font-size: 0.68rem; color: var(--dim); margin: 6px 0 0; }
.form-note-error { color: #fca5a5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.result-card { max-width: 760px; margin: 28px auto 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.result-head strong { display: block; font-size: 0.86rem; color: var(--muted); margin-bottom: 4px; }
.result-head span { display: block; font-size: 1.25rem; font-weight: 800; }
.result-score { min-width: 104px; height: 104px; border-radius: 14px; display: grid; place-items: center; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); color: var(--accent-2); font-size: 1.8rem; font-weight: 800; }
.result-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.result-list li + li { margin-top: 8px; }
.result-meta { margin-top: 16px; color: var(--dim); font-size: 0.78rem; }

/* ═══ BENTO ═══ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bento-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s; }
.bento-item:hover { border-color: #3f3f46; }
.bento-item .num { font-size: 0.68rem; font-weight: 700; color: var(--accent-2); margin-bottom: 14px; display: block; }
.bento-item h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.bento-item p { font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.55; }

.bento-2 { grid-template-columns: 1fr 1fr; }
.bento-3 { grid-template-columns: repeat(3, 1fr); }

.bento-item.span-2 { grid-column: span 2; }
.bento-item.tall { min-height: 320px; display: flex; flex-direction: column; }
.bento-item.accent-bg { background: linear-gradient(135deg, rgba(99,102,241,0.08), var(--surface)); border-color: rgba(99,102,241,0.15); }

/* ═══ SECTIONS ═══ */
.sec { padding: 100px 0; }
.sec-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { margin-bottom: 40px; max-width: 600px; }
.sec-head .tag { font-size: 0.68rem; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; }
.sec-head p { color: var(--muted); font-size: 0.94rem; margin: 0; line-height: 1.65; }

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

/* ═══ SPLIT ═══ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.feature-stack { display: grid; gap: 10px; }
.feat { padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.15s; }
.feat:hover { border-color: #3f3f46; }
.feat strong { display: block; font-size: 0.88rem; margin-bottom: 3px; }
.feat span { font-size: 0.82rem; color: var(--muted); }

.atlas-img { display: block; width: 100%; max-width: 440px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 16px; overflow: hidden; }

/* ═══ TABLE ═══ */
.data-table { display: grid; gap: 6px; }
.data-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.data-row span { font-size: 0.82rem; color: var(--muted); }
.data-row b { font-size: 0.74rem; color: var(--accent-2); font-weight: 600; }

/* ═══ WORKFLOW ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.step .n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(99,102,241,0.1); color: var(--accent-2); font-size: 0.72rem; font-weight: 700; margin-bottom: 12px; }
.step strong { display: block; font-size: 0.86rem; margin-bottom: 6px; }
.step p { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ═══ PRICING ═══ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price-box { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; transition: border-color 0.2s; }
.price-box:hover { border-color: #3f3f46; }
.price-box.pop { border-color: rgba(99,102,241,0.3); background: linear-gradient(180deg, rgba(99,102,241,0.05), var(--surface)); }
.price-box .badge { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.price-box .tier { font-size: 0.68rem; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.06em; }
.price-box h3 { font-size: 1.05rem; font-weight: 700; margin: 8px 0 0; }
.price-box .amount { font-size: 1.7rem; font-weight: 800; margin: 12px 0 0; }
.price-box ul { list-style: none; padding: 0; margin: 18px 0 0; }
.price-box li { padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--muted); }

/* ═══ CONTACT ═══ */
.contact-wrap { padding: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.contact-wrap p { color: var(--muted); max-width: 500px; margin: 0 auto 28px; font-size: 0.92rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.contact-box { padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.contact-box strong { display: block; font-size: 0.82rem; margin-bottom: 6px; }
.contact-box span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; word-break: break-all; }
.contact-box .highlight { color: var(--accent-2); font-weight: 600; }

/* ═══ FOOTER ═══ */
footer { padding: 28px 0; border-top: 1px solid var(--border); }
.foot { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--dim); flex-wrap: wrap; gap: 8px; }

/* ═══ FADE ═══ */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .bento, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .bento-item.span-2 { grid-column: auto; }
  .burger { display: block; }
  .nav-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 260px; flex-direction: column; gap: 0; background: var(--surface); border-left: 1px solid var(--border); padding: 72px 24px 32px; transform: translateX(100%); transition: transform 0.25s ease; align-items: stretch; }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
  .nav-btn { margin-top: 12px; text-align: center; display: block; padding: 12px; }
  .lang-switch { margin-top: 16px; align-self: flex-start; }
}
@media (max-width: 640px) {
  .sec { padding: 72px 0; }
  .hero-section { padding: 110px 0 60px; }
  .bento, .steps, .contact-grid { grid-template-columns: 1fr; }
  .form-2col, .check-options { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
