/* ============ Design tokens ============ */
:root {
  --primary: #6D46F2;
  --primary-dim: #5a35d8;
  --primary-strong: #4c2bc0;
  --primary-100: #f3efff;
  --primary-50: #f8f5ff;

  --ink: #1c1633;
  --ink-soft: #423b57;
  --muted: #6b6480;
  --line: #ecebf3;
  --line-soft: #f1f0f7;

  --bg: #ffffff;
  --bg-tint: #f8f6ff;
  --surface: #ffffff;

  --shadow-sm: 0 1px 2px rgba(28, 22, 51, .05);
  --shadow-md: 0 8px 24px rgba(76, 43, 192, .08);
  --shadow-lg: 0 24px 60px rgba(76, 43, 192, .16);

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --maxw: 1160px;
}

/* ============ Reset / base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.02em; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.grad-text {
  background: linear-gradient(100deg, var(--primary), #9a7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  box-shadow: 0 6px 16px rgba(109, 70, 242, .28);
}
.brand-mark img { width: 34px; height: 34px; border-radius: 10px; }
.brand-name { font-family: "Space Grotesk", sans-serif; font-size: 1.12rem; letter-spacing: -0.02em; }
.header-nav { display: flex; gap: 28px; margin-left: auto; }
.header-nav a { color: var(--ink-soft); font-size: .93rem; font-weight: 500; transition: color .15s; }
.header-nav a:hover { color: var(--primary); }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-size: .9rem; font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}
.lang-btn:hover { border-color: #d9d5ea; box-shadow: var(--shadow-sm); }
.lang-btn .chev { transition: transform .2s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 6px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { padding: 9px 12px; border-radius: 8px; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.lang-menu li:hover { background: var(--primary-50); color: var(--primary); }
.lang-menu li.sel { color: var(--primary); font-weight: 600; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 640px; z-index: 0;
  background:
    radial-gradient(50% 55% at 20% 20%, rgba(109,70,242,.16), transparent 70%),
    radial-gradient(45% 50% at 85% 10%, rgba(255,140,186,.12), transparent 70%),
    radial-gradient(60% 60% at 60% 40%, rgba(124,120,255,.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-100); color: var(--primary-strong);
  font-size: .82rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.hero h1 .grad-text { display: block; margin-top: .32em; font-size: .68em; font-weight: 600; }
.hero-sub { margin-top: 20px; font-size: 1.08rem; color: var(--muted); max-width: 520px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.trust-row svg { color: var(--primary); }

/* ============ Tool widget ============ */
.tool-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px;
}
.tool-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.control-block { display: flex; flex-direction: column; gap: 8px; }
.control-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-size: .85rem; font-weight: 500; transition: .15s;
}
.pill:hover { border-color: #d9d5ea; }
.pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(109,70,242,.28); }

.speed-toggle { display: inline-flex; padding: 4px; background: var(--primary-50); border: 1px solid var(--line); border-radius: 999px; width: max-content; }
.seg { padding: 7px 22px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); transition: .15s; }
.seg.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Dropzone */
.dropzone {
  position: relative; margin-top: 4px; border: 2px dashed #d6cffb; border-radius: var(--radius);
  background: var(--primary-50); min-height: 176px; display: grid; place-items: center;
  text-align: center; padding: 22px; transition: .18s; outline: none;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--primary); background: #f4f0ff; }
.dropzone.dragover { border-color: var(--primary); background: #efe9ff; transform: scale(1.005); }
.dz-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.dz-title { font-weight: 600; color: var(--ink); }
.dz-title .link { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.dz-hint { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.dz-preview { position: relative; width: 100%; }
.dz-preview img { width: 100%; max-height: 260px; object-fit: contain; border-radius: var(--radius-sm); }
.dz-clear { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 999px; background: rgba(28,22,51,.66); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); }
.dz-clear:hover { background: rgba(28,22,51,.85); }

/* URL row */
.url-row { display: flex; gap: 8px; margin-top: 12px; }
.url-row input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--ink); background: #fff; transition: .15s;
}
.url-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,70,242,.15); }
.btn-ghost { padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-weight: 600; font-size: .9rem; transition: .15s; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Examples */
.examples { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.examples-label { font-size: .82rem; color: var(--muted); }
.example-thumbs { display: flex; gap: 8px; }
.thumb { width: 44px; height: 44px; border-radius: 10px; border: 2px solid #fff; background: var(--bg-tint); background-image: var(--bg); background-size: cover; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: .98rem;
  padding: 14px 22px; border-radius: var(--radius); transition: .16s;
  box-shadow: 0 10px 24px rgba(109,70,242,.32);
}
.btn-primary:hover:not(:disabled) { background: var(--primary-dim); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-generate { width: 100%; margin-top: 16px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 999px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.result { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #faf9ff; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.result-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.result-title { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.btn-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--primary); font-size: .82rem; font-weight: 600; transition: .15s; }
.btn-copy:hover { background: var(--primary-50); }
.btn-copy.copied { background: #e9f9ef; color: #1a9e57; border-color: #bde9cd; }
.result-text { padding: 16px; font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.7; color: var(--ink-soft); white-space: pre-wrap; word-break: break-word; }

/* ============ Hero stacked + tool replica ============ */
.hero-copy--center { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-copy--center .hero-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-copy--center .trust-row { justify-content: center; }
.trust-row--center { justify-content: center; }

.tool { max-width: 1000px; margin: 44px auto 0; }

/* Image / Text mode tabs */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f2f0fa; border: 1px solid var(--line); border-radius: 16px; padding: 6px; margin-bottom: 16px; }
.mode-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 11px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: .15s; }
.mode-tab:hover { color: var(--ink-soft); }
.mode-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Two-panel card */
.tool-card2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
.tool-panel { display: flex; flex-direction: column; min-width: 0; }
.panel-title { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tool-panel > .panel-title { margin-bottom: 14px; }

/* Upload / URL sub-tabs */
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f2f0fa; border-radius: 12px; padding: 5px; margin-bottom: 14px; }
.seg-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: .15s; }
.seg-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

.dropzone--url { min-height: 0; margin-top: 12px; padding: 10px; }
.dropzone--url .dz-preview img { max-height: 220px; }

/* Text mode textarea */
.idea-input { width: 100%; min-height: 176px; resize: vertical; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: .94rem; line-height: 1.6; color: var(--ink); background: #fff; transition: .15s; }
.idea-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,70,242,.15); }

/* Fields */
.field { margin-top: 18px; }
.field-label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field-note { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.lang-select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .9rem; color: var(--ink); cursor: pointer; }
.lang-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,70,242,.15); }

/* Model list */
.model-list { display: flex; flex-direction: column; gap: 8px; max-height: 188px; overflow-y: auto; padding: 4px; margin: -4px; }
.model-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: .15s; }
.model-item:hover { border-color: #d9d5ea; }
.model-item.active { border-color: var(--primary); background: var(--primary-50); }
.mi-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mi-text strong { font-size: .92rem; color: var(--ink); }
.mi-text span { font-size: .78rem; color: var(--muted); }
.mi-check { color: var(--primary); flex: none; opacity: 0; transition: opacity .15s; }
.model-item.active .mi-check { opacity: 1; }

/* Dark generate button */
.btn-dark { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; background: var(--ink); color: #fff; font-weight: 600; font-size: .96rem; padding: 14px 20px; border-radius: var(--radius); transition: .16s; }
.btn-dark:hover:not(:disabled) { background: #2a2247; transform: translateY(-1px); }
.btn-dark:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark .btn-label { display: inline-flex; align-items: center; gap: 8px; }

/* Output panel */
.output-panel { min-height: 100%; }
.output-box { flex: 1; min-height: 340px; border: 1px dashed #d6cffb; border-radius: var(--radius); background: #faf9ff; padding: 20px; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.output-box.has-result { align-items: flex-start; justify-content: flex-start; text-align: left; }
.output-placeholder { color: var(--muted); font-size: .95rem; max-width: 340px; }
.output-box .result-text { padding: 0; background: none; width: 100%; }
.output-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.history-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); transition: color .15s; }
.history-btn:hover { color: var(--primary); }
.history-panel { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.history-item { text-align: left; padding: 9px 11px; border-radius: 8px; font-size: .82rem; line-height: 1.5; color: var(--ink-soft); background: #faf9ff; cursor: pointer; transition: background .15s; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.history-item:hover { background: var(--primary-50); color: var(--primary); }
.history-empty { font-size: .82rem; color: var(--muted); padding: 8px; text-align: center; }
.spinner--dark { border-color: rgba(109,70,242,.25); border-top-color: var(--primary); }

@media (max-width: 820px) {
  .tool-card2 { grid-template-columns: 1fr; }
  .output-box { min-height: 220px; }
}

/* ============ Sections ============ */
.section { padding: 92px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.section-outro { max-width: 760px; margin: 40px auto 0; text-align: center; color: var(--muted); font-size: 1.02rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card, .feature-card, .quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.step-card:hover, .feature-card:hover, .quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e2ddf6; }
.step-card { position: relative; }
.step-num { position: absolute; top: 22px; right: 24px; font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--primary-100); }
.chip { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--primary-100); color: var(--primary); margin-bottom: 18px; }
.step-card h3, .feature-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step-card p, .feature-card p { color: var(--muted); font-size: .95rem; }
.grid-features .feature-card { padding: 24px; }
.grid-features .chip { width: 44px; height: 44px; border-radius: 12px; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.stars { color: #ffb020; letter-spacing: 2px; font-size: 1rem; }
.quote-card blockquote { color: var(--ink-soft); font-size: 1rem; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background-image: var(--bg); color: #fff; font-weight: 700; font-size: .82rem; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who small { color: var(--muted); font-size: .82rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .15s; }
.faq-item[open] { border-color: #ddd6f7; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s; }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }

/* What is */
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.what-copy .kicker { margin-bottom: 12px; }
.what-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.what-copy p { color: var(--muted); margin-bottom: 14px; font-size: 1.02rem; }
.what-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.what-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-soft); }
.what-list svg { color: var(--primary); flex: none; }
.what-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; }
.wv-image { position: relative; width: 200px; height: 220px; border-radius: var(--radius-lg); background-image: var(--bg); box-shadow: var(--shadow-md); flex: none; }
.wv-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--primary-strong); font-size: .72rem; font-weight: 700; backdrop-filter: blur(4px); }
.wv-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); flex: none; }
.wv-prompt { position: relative; flex: 1; min-width: 0; padding: 40px 18px 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.wv-prompt code { display: block; font-family: "SFMono-Regular", ui-monospace, Menlo, monospace; font-size: .82rem; line-height: 1.7; color: var(--ink-soft); }

/* CTA band */
.cta-band { padding: 24px; }
.cta-inner {
  background: linear-gradient(120deg, var(--primary), #8a63ff 55%, #a877ff);
  border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); position: relative; }
.cta-inner p { margin-top: 12px; opacity: .9; position: relative; }
.btn-white { display: inline-block; margin-top: 26px; background: #fff; color: var(--primary-strong); font-weight: 700; padding: 15px 30px; border-radius: var(--radius); position: relative; transition: transform .15s, box-shadow .15s; box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,0,0,.22); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #fbfaff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { max-width: 300px; }
.footer-tagline { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.footer-contact { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.footer-col h4 { font-family: "Space Grotesk", sans-serif; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom span { color: var(--muted); font-size: .86rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.footer-langs li { color: var(--muted); font-size: .86rem; cursor: pointer; transition: color .15s; }
.footer-langs li:hover { color: var(--primary); }
.footer-langs li.active { color: var(--ink); font-weight: 600; }

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0; }
  .what-grid { grid-template-columns: 1fr; gap: 36px; }
  .header-nav { display: none; }
  .grid-3, .steps, .grid-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 620px) {
  .grid-3, .steps, .grid-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .cta-inner { padding: 48px 24px; }
  .hero h1 { font-size: 2.1rem; }
}
