/* ==========================================================
   GFT — Business Suite  |  Global stylesheet
   ========================================================== */

:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-light: #eef2ff;
  --accent: #06b6d4;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --success: #10b981;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(49, 46, 129, .35);
  --grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  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); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo img { width: 36px; height: 36px; }
.logo small { font-weight: 600; font-size: .75rem; color: var(--muted); letter-spacing: 0; display: block; margin-top: -4px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-soft); transition: .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-light); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(79, 70, 229, .14), transparent 70%),
    radial-gradient(500px 380px at 80% 20%, rgba(6, 182, 212, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero p.lead { font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); }

/* Hero dashboard mockup */
.mockup {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}
.mockup-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar i:nth-child(1) { background: #f87171; }
.mockup-bar i:nth-child(2) { background: #fbbf24; }
.mockup-bar i:nth-child(3) { background: #34d399; }
.mockup-body { display: grid; grid-template-columns: 64px 1fr; min-height: 340px; }
.mockup-side { background: var(--ink); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mockup-side b { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); }
.mockup-side b:first-child { background: var(--grad); }
.mockup-main { padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { color: var(--muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { display: block; font-size: 1.15rem; }
.kpi em { font-style: normal; font-size: .72rem; color: var(--success); font-weight: 600; }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stage { background: var(--bg-soft); border-radius: 10px; padding: 8px; }
.stage h5 { margin: 0 0 6px; font-size: .68rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.card-mini { background: #fff; border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; box-shadow: var(--shadow-sm); font-size: .7rem; }
.card-mini b { display: block; font-size: .74rem; }
.card-mini span { color: var(--muted); }
.card-mini::before { content: ""; display: block; height: 3px; width: 26px; border-radius: 3px; background: var(--c, var(--brand)); margin-bottom: 5px; }

/* ---------- Logos strip ---------- */
.logos { padding: 40px 0; border-block: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.logos-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: .6; }
.logos-row span { font-weight: 800; font-size: 1.25rem; color: var(--ink-soft); letter-spacing: -.02em; }

/* ---------- App grid ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.app-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 22px 12px; border-radius: var(--radius); background: #fff; border: 1px solid transparent;
  transition: .2s ease;
}
.app-tile:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.app-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c); color: #fff; box-shadow: 0 10px 20px -10px var(--c);
}
.app-icon svg { width: 30px; height: 30px; }
.app-tile b { font-weight: 600; font-size: .95rem; }
.app-tile small { color: var(--muted); font-size: .78rem; line-height: 1.35; }

/* Catalog (apps page) */
.catalog-tools { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 10px; width: min(480px, 100%);
  border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; padding: 13px 0; width: 100%; font: inherit; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.cat-block { margin-bottom: 60px; }
.cat-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cat-title h3 { margin: 0; font-size: 1.5rem; }
.cat-title span { color: var(--muted); }
.app-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.app-card {
  display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; transition: .2s;
}
.app-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.app-card .app-icon { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.app-card .app-icon svg { width: 24px; height: 24px; }
.app-card h4 { margin: 0 0 4px; font-size: 1.02rem; }
.app-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Spotlight (CRM / ERP) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.spotlight + .spotlight { margin-top: 110px; }
.spotlight.reverse .spot-visual { order: -1; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check-list b { color: var(--ink); }
.spot-visual {
  border-radius: var(--radius-lg); padding: 28px; background: var(--grad); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.spot-visual::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.12); right: -100px; top: -120px;
}
.panel { position: relative; z-index: 1; background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-head b { font-size: .95rem; }
.badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.badge.blue { background: var(--brand-light); color: var(--brand); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .9; }
.row-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.row-line:first-of-type { border-top: 0; }
.row-line span { color: var(--muted); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; margin-right: 10px; background: var(--c, var(--brand)); }
.progress { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-light); color: var(--brand);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature p { margin: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--muted); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; transition: .2s;
}
.industry:hover { border-color: var(--brand); }
.industry b { font-size: 1.05rem; }
.industry span { font-size: .88rem; color: var(--muted); }
.industry .emoji { font-size: 1.8rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: var(--grad); color: #fff; font-weight: 800;
}

/* ---------- CTA ---------- */
.cta {
  border-radius: 28px; padding: 70px 50px; text-align: center; color: #fff;
  background: radial-gradient(800px 300px at 50% 0%, rgba(255,255,255,.18), transparent), var(--grad);
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; }
.cta .hero-actions { justify-content: center; margin: 0; }

/* ---------- Page hero ---------- */
.page-hero { padding: 80px 0 50px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -50% 0 auto; height: 700px; z-index: -1;
  background: radial-gradient(600px 300px at 50% 40%, rgba(79,70,229,.12), transparent 70%);
}
.page-hero p { font-size: 1.15rem; max-width: 640px; margin-inline: auto; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  margin: 10px auto 50px;
}
.billing-toggle button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: .72rem; color: var(--success); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff;
}
.plans.single { grid-template-columns: minmax(0, 480px); justify-content: center; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .desc { color: var(--muted); font-size: .95rem; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.price strong { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; }
.price span { color: var(--muted); }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: .95rem; }
.plan ul li { display: flex; gap: 10px; color: var(--ink-soft); }
.plan ul li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan ul li.plan-sub { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.plan ul li.plan-sub::before { content: none; }
.plan-body { flex: 1; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.calc-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.calc-app {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; user-select: none; transition: .15s; font-size: .92rem; font-weight: 500;
}
.calc-app input { display: none; }
.calc-app .app-icon { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.calc-app .app-icon svg { width: 16px; height: 16px; }
.calc-app:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
.calc-summary { position: sticky; top: 96px; padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.calc-summary p { color: rgba(255,255,255,.7); }
.calc-summary label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 8px; }
.calc-summary input[type=range] { width: 100%; accent-color: var(--accent); }
.users-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.users-row output { font-size: 1.4rem; font-weight: 800; }
.sum-line { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: rgba(255,255,255,.8); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 22px; }
.sum-total strong { font-size: 2.4rem; letter-spacing: -.03em; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; background: #fff; }
.faq summary { padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--success); font-weight: 800; }
.compare .no { color: #cbd5e1; }
.table-wrap { overflow-x: auto; }

/* AMC table */
.amc-wrap { max-width: 820px; margin: 0 auto; }
.compare.amc td:nth-child(2), .compare.amc th:nth-child(2) { text-align: left; }
.compare.amc td:first-child, .compare.amc th:first-child { width: 100px; text-align: center; color: var(--muted); white-space: nowrap; }
.compare.amc td:last-child, .compare.amc th:last-child { text-align: right; font-weight: 600; }
.compare.amc tfoot td { background: var(--brand-light); font-weight: 800; font-size: 1.05rem; color: var(--brand-dark); border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.info-card .feature-icon { margin: 0; flex: none; }
.info-card h4 { margin: 0 0 2px; }
.info-card p { margin: 0; font-size: .93rem; }
.form { padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; transition: .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.field.invalid input, .field.invalid select { border-color: #ef4444; }
.field .err { display: none; color: #ef4444; font-size: .8rem; margin-top: 4px; }
.field.invalid .err { display: block; }
.module-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.module-picks label { margin: 0; font-weight: 500; }
.module-picks input { display: none; }
.module-picks span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; cursor: pointer; transition: .15s; }
.module-picks input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .feature-icon { margin: 0 auto 18px; background: #dcfce7; color: var(--success); width: 64px; height: 64px; border-radius: 50%; }
.form.done form { display: none; }
.form.done .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 30px; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo small { color: rgba(255,255,255,.5); }
.site-footer p { color: rgba(255,255,255,.6); font-size: .93rem; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; max-width: 320px; }
.newsletter input { flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font: inherit; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .spotlight, .contact-grid, .calc { grid-template-columns: 1fr; }
  .spotlight.reverse .spot-visual { order: 0; }
  .mockup { transform: none; }
  .features, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .calc-summary { position: static; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 14px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .features, .plans, .steps, .stats, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 50px 24px; }
  .form { padding: 24px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
