/* ============================================================
   Modiflowdocs — landing page styles
   Mobile-first, responsive, dark/light themes.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #131316;
  --bg-alt: #18181B;
  --surface: #1E1E22;
  --surface-2: #27272A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F4F4F5;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;

  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-2: #8B5CF6;
  --accent-grad: linear-gradient(135deg, #60A5FA 0%, #8B5CF6 100%);
  --accent-soft: rgba(59, 130, 246, 0.14);

  --green: #34D399;
  --danger: #F87171;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 16px 40px rgba(59, 130, 246, 0.30);

  --container: 1140px;
  --header-h: 96px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font-sans);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-alt: #F4F4F5;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --border: rgba(24, 24, 27, 0.10);
  --border-strong: rgba(24, 24, 27, 0.18);
  --text: #18181B;
  --text-muted: #52525B;
  --text-dim: #71717A;
  --accent-soft: rgba(59, 130, 246, 0.10);
  --shadow-md: 0 12px 30px rgba(24, 24, 27, 0.12);
  --shadow-glow: 0 16px 40px rgba(59, 130, 246, 0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Visible focus states */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 20px 46px rgba(37,99,235,.45); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-2); background: var(--accent-soft); }

.btn-light { background: #fff; color: #18181B; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .site-header { background: rgba(247, 249, 252, 0.75); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--accent-grad); color: #fff;
}
.logo-img { display: block; height: 64px; width: auto; max-width: 70vw; }
.logo-footer .logo-img { height: 44px; }

.main-nav { display: none; gap: 26px; }
.main-nav a { color: var(--text-muted); font-weight: 500; font-size: .94rem; transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-primary { display: none; }

.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); cursor: pointer; transition: border-color .2s ease;
}
.theme-toggle:hover { border-color: var(--accent-2); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 40px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 24px;
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
  transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow-md);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { padding: 12px 8px; color: var(--text-muted); font-weight: 500; border-radius: 10px; }
.mobile-nav a:hover { color: var(--text); background: var(--surface); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.section-lead { color: var(--text-muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-weight: 600;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--border);
}

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

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(70px, 12vw, 130px) 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.35), transparent 60%);
  filter: blur(20px); animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: .55; } 50% { opacity: .9; } }

.float-card {
  position: absolute; display: none; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: .82rem; font-weight: 500; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite;
}
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fc-cyan { background: var(--accent-2); } .fc-green { background: var(--green); }
.float-card-1 { top: 16%; left: 4%; animation-delay: 0s; }
.float-card-2 { top: 30%; right: 5%; animation-delay: 1.2s; }
.float-card-3 { bottom: 16%; left: 8%; animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(2.1rem, 6vw, 4rem); margin: 18px auto 20px; max-width: 14ch; }
.hero-title .strike { text-decoration: line-through; text-decoration-color: var(--danger); color: var(--text-muted); }
.hero-sub { color: var(--text-muted); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 58ch; margin: 0 auto; }
.hero-sub strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px 0 14px; }

.stat-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.stat { display: inline-flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.stat-label { color: var(--text-dim); font-size: .82rem; }
.stat-sep { color: var(--text-dim); }

/* ---------- Problem cards ---------- */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pain-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(248,113,113,.12); color: var(--danger); margin-bottom: 14px; }
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pain-card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: var(--shadow-md); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; align-items: center;
  margin-top: 40px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .9rem; font-weight: 500; text-align: center;
}
.trust-strip span:not([aria-hidden]) { color: var(--text); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px 26px;
}
.step-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--surface-2); color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: .86rem; position: sticky; top: 0; }
.compare-table tbody th { color: var(--text); font-weight: 600; }
.compare-table tbody td { color: var(--text-muted); }
.cost-cell { font-weight: 700; color: var(--text); white-space: nowrap; }
.our-row { background: var(--accent-soft); }
.our-row th, .our-row td { border-color: rgba(139,92,246,.30); }
.our-row { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.our-cost { color: var(--accent-2); }
.badge {
  display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  background: var(--accent-grad); color: #fff; vertical-align: middle;
}
.table-note { color: var(--text-dim); font-size: .82rem; margin-top: 14px; text-align: center; }

/* ---------- ROI slider ---------- */
.roi { margin-top: 56px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 26px; box-shadow: var(--shadow-md); }
.roi-head { text-align: center; margin-bottom: 24px; }
.roi-head h3 { font-size: 1.4rem; }
.roi-head p { color: var(--text-muted); margin-top: 6px; }

.roi-control { max-width: 640px; margin: 0 auto 30px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 10%), var(--surface-2) var(--fill, 10%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: var(--shadow-glow); cursor: pointer; transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--surface-2); }

.roi-count { text-align: center; margin-top: 16px; }
.roi-count-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-2); }
.roi-count-unit { color: var(--text-muted); margin-left: 6px; }

.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.roi-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.roi-label { font-size: .82rem; color: var(--text-muted); }
.roi-value { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--text); }
.roi-tag { font-size: .74rem; color: var(--text-dim); }
.roi-card-ours { border-color: var(--accent-2); background: var(--accent-soft); }
.roi-card-ours .roi-value { color: var(--accent-2); }
.roi-card-wide { grid-column: 1 / -1; padding: 28px 32px; }
.roi-breakdown-inline { display: flex; flex-wrap: wrap; gap: 16px 0; margin: 12px 0 4px; }
.roi-breakdown-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 90px; text-align: center; }
.roi-breakdown-year { font-size: .85rem; color: var(--text-muted); letter-spacing: .03em; }
.roi-breakdown-col .roi-value { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }

.roi-savings {
  text-align: center; padding: 22px; border-radius: var(--radius);
  background: var(--accent-grad); color: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.roi-savings span { font-size: .9rem; opacity: .92; }
.roi-savings strong { font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.6rem); }
.roi-savings small { font-size: .74rem; opacity: .85; }
.roi-savings code { background: rgba(255,255,255,.18); padding: 1px 6px; border-radius: 6px; }

/* ---------- Security ---------- */
.security-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.security-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-md); text-align: center;
}
.sec-shield { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 24px; background: var(--accent-soft); color: var(--accent-2); }
.sec-stats { display: grid; gap: 18px; }
.sec-stats li { display: flex; flex-direction: column; }
.sec-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.sec-stats span { color: var(--text-muted); font-size: .88rem; }

/* ---------- Plans ---------- */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan-card-featured {
  border-color: var(--accent-2); box-shadow: var(--shadow-glow);
}
.plan-card-featured::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--accent-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .6;
}
.plan-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
  background: var(--accent-grad); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
}
.plan-name { font-size: 1.6rem; }
.plan-desc { color: var(--text-muted); margin: 8px 0 22px; }
.plan-price { display: flex; flex-direction: column; gap: 4px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.plan-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 7vw, 2.8rem); color: var(--text); }
.plan-period { color: var(--accent-2); font-weight: 600; font-size: .92rem; }
.plan-features { display: grid; gap: 12px; margin-bottom: 22px; align-content: start; }
.plan-features li { position: relative; padding-left: 30px; color: var(--text-muted); }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-upgrade {
  margin-top: auto; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .88rem; line-height: 1.5;
}
.plan-upgrade strong { color: var(--accent-2); font-family: var(--font-display); }
.plan-upgrade-muted { background: var(--bg-alt); }
.plan-foot { text-align: center; color: var(--text-dim); font-size: .82rem; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--accent-2); line-height: 1; transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--text-muted); }
.faq-body a { color: var(--accent-2); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { padding: 70px 0; background: var(--accent-grad); }
.cta-band-inner { text-align: center; color: #fff; }
.cta-band h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.cta-band p { margin: 12px 0 26px; font-size: 1.08rem; opacity: .95; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact-list { margin-top: 22px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.contact-list svg { color: var(--accent-2); flex: none; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-md); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: .95rem; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.4); color: var(--green); font-weight: 600; font-size: .92rem; }
.form-privacy { margin-top: 14px; color: var(--text-dim); font-size: .8rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin-top: 12px; max-width: 38ch; }
.logo-footer { font-size: 1.1rem; }
.footer-nav h4, .footer-contact h4 { font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-muted); font-size: .94rem; }
.footer-nav a:hover { color: var(--text); }
.footer-contact p { color: var(--text-muted); font-size: .94rem; margin-bottom: 8px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; }
.footer-bottom p { color: var(--text-dim); font-size: .84rem; }
.footer-lgpd { color: var(--text-muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .pain-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .float-card { display: inline-flex; }
}

@media (min-width: 860px) {
  :root { --header-h: 112px; }
  .logo-img { height: 88px; max-width: none; }

  .main-nav { display: flex; }
  .header-actions .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card-wide { grid-column: span 3; }
  .steps { grid-template-columns: repeat(3, 1fr); }

  .security-inner { grid-template-columns: 1.2fr .8fr; }
  .contact-inner { grid-template-columns: 1fr 1.1fr; align-items: start; }

  .plans-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-card-featured { transform: scale(1.03); }
  .plan-card-featured:hover { transform: scale(1.03) translateY(-4px); }

  .roi-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
}
