/* ==========================================================================
   S7 Engage — Design System
   Plataforma de comunicação e automação (WhatsApp, API Oficial, SMS, RCS,
   E-mail, CRM, automações e IA em um só lugar).
   ========================================================================== */

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

:root {
  /* Brand */
  --green: #3fe0a1;
  --blue: #2d7cff;
  --gradient: linear-gradient(135deg, var(--green), var(--blue));

  /* Neutrals */
  --ink: #0b0b0b;
  --body: #4b5563;
  --muted: #7c8695;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --border: #e3e8ef;
  --border-strong: #d3dae4;
  --dark: #0a0e17;
  --dark-surface: #121826;
  --dark-border: #232c3d;

  /* Type */
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.05), 0 1px 1px rgba(11, 11, 11, 0.03);
  --shadow-md: 0 12px 28px -12px rgba(11, 15, 25, 0.16);
  --shadow-lg: 0 32px 72px -24px rgba(11, 15, 25, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------- Reset ---------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------- Layout ---------------------------------- */

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

section { position: relative; }

.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

@media (max-width: 860px) {
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 56px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.section-title {
  font-size: clamp(28px, 2.6vw + 14px, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--body);
  line-height: 1.65;
}

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

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(45, 124, 255, 0.4); transform: translateY(-1px); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 12px;
}
.btn-ghost:hover { color: var(--blue); }

.btn-block { width: 100%; }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(11, 11, 11, 0.02), 0 8px 24px -16px rgba(11, 11, 11, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gradient);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body);
}
.nav-links a { transition: color 0.15s var(--ease); }
.nav-links a:hover { color: var(--ink); }

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--surface);
  padding: 8px var(--gutter) 32px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .header-actions {
  flex-direction: column;
  align-items: stretch;
  margin-top: 24px;
  gap: 12px;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  padding: 168px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: var(--gradient);
  opacity: 0.08;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54% 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(36px, 3.6vw + 12px, 60px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 24px;
}

.hero-content p {
  font-size: 18px;
  color: var(--body);
  max-width: 480px;
  margin: 0 0 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.hero-facts span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
}
.hero-facts span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.hero-floating .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-floating .dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(63, 224, 161, 0.18); }
.hero-floating .dot.blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(45, 124, 255, 0.18); }
.hero-floating small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }

.float-1 { top: -20px; left: -28px; animation-delay: 0s; }
.float-2 { bottom: 88px; right: -32px; animation-delay: 1.4s; }
.float-3 { bottom: -18px; left: 32px; animation-delay: 2.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-content { text-align: left; }
}

@media (max-width: 560px) {
  .hero { padding: 132px 0 64px; }
  .hero-floating { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------------------------------- Shot frame (screenshot placeholder) ---------------------------------- */

.shot-frame {
  position: relative;
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--dark-border);
}

.shot-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 12px;
}
.shot-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38425a;
}

.shot-frame-body {
  position: relative;
  aspect-ratio: 16 / 10.2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(63, 224, 161, 0.16), rgba(45, 124, 255, 0.16)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px),
    #182136;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.shot-frame-body img { width: 100%; height: 100%; object-fit: cover; }

.shot-placeholder-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

.shot-frame-sm { max-width: 560px; }

/* ---------------------------------- Channels hub (signature) ---------------------------------- */

.hub {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: 0 24px 60px -18px rgba(45, 124, 255, 0.45);
  z-index: 3;
}
.hub-center small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 3px;
}

.hub-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hub-lines line {
  stroke: url(#hubLineGradient);
  stroke-width: 1.5;
  opacity: 0.45;
}
.hub-lines circle.pulse {
  fill: var(--blue);
}

.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  width: 104px;
}
.hub-node-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-node-icon svg { width: 26px; height: 26px; }
.hub-node span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.hub-node-icon.c-green { color: var(--green); }
.hub-node-icon.c-blue { color: var(--blue); }

.hub-node.n1 { top: 2%; left: 50%; }
.hub-node.n2 { top: 22%; left: 92%; }
.hub-node.n3 { top: 78%; left: 92%; }
.hub-node.n4 { top: 98%; left: 50%; }
.hub-node.n5 { top: 78%; left: 8%; }
.hub-node.n6 { top: 22%; left: 8%; }

@media (max-width: 720px) {
  .hub { max-width: 340px; }
  .hub-center { width: 108px; height: 108px; font-size: 12.5px; }
  .hub-node { width: 78px; }
  .hub-node-icon { width: 46px; height: 46px; border-radius: 14px; }
  .hub-node-icon svg { width: 20px; height: 20px; }
  .hub-node span { font-size: 11px; }
}

/* ---------------------------------- Feature split (alternating) ---------------------------------- */

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.feature-split.reverse .feature-split-media { order: 2; }
.feature-split.reverse .feature-split-copy { order: 1; }

.feature-split-copy ul {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-split-copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
}
.feature-split-copy li svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  color: var(--green);
}

/* Flow diagram (Chat Flow section) */
.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.flow-step .flow-dot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
.flow-step.is-branch {
  background: var(--surface);
  border-style: dashed;
}
.flow-connector {
  display: flex;
  justify-content: center;
  padding: 6px 0;
  color: var(--border-strong);
}
.flow-connector svg { width: 16px; height: 16px; }
.flow-branches {
  display: flex;
  gap: 10px;
}
.flow-branches .flow-step { flex: 1; font-size: 12.5px; text-align: center; justify-content: center; }

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .feature-split-media,
  .feature-split.reverse .feature-split-copy { order: unset; }
}

/* ---------------------------------- Pipeline (CRM) ---------------------------------- */

.pipeline-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}
.pipeline-wrap .pipeline-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}
.pipeline-wrap .pipeline-total strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 16px;
}

.pipeline {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.pipeline-stage {
  flex: 1 0 148px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  min-width: 148px;
}
.pipeline-stage .stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.pipeline-stage h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.pipeline-stage p { font-size: 12px; color: var(--muted); }
.pipeline-arrow {
  display: flex;
  align-items: center;
  color: var(--border-strong);
  flex-shrink: 0;
}

/* ---------------------------------- Bento grid ---------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bento-card h3 { font-size: 19px; font-weight: 700; }
.bento-card p { font-size: 14px; color: var(--muted); }
.bento-card .bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  background: var(--bg);
}
.bento-card .bento-icon svg { width: 22px; height: 22px; }

.bento-card.is-feature {
  background: var(--gradient);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
}
.bento-card.is-feature h3 { color: #fff; }
.bento-card.is-feature p { color: rgba(255, 255, 255, 0.8); }
.bento-card.is-feature .bento-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }

.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 1; }
.bento-3 { grid-column: span 1; }
.bento-4 { grid-column: span 1; }
.bento-5 { grid-column: span 1; }
.bento-6 { grid-column: span 4; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-1 { grid-column: span 2; }
  .bento-6 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-1 { grid-row: span 1; min-height: 220px; }
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5, .bento-6 { grid-column: span 1; }
}

/* ---------------------------------- Tools ---------------------------------- */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.tool-card .tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tool-card .tool-icon svg { width: 18px; height: 18px; }
.tool-card h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.tool-card p { font-size: 12.5px; color: var(--muted); }

@media (max-width: 760px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------- Integrations ---------------------------------- */

.integrations-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.integration-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.integration-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }

/* ---------------------------------- Pricing ---------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.price-card.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-card .price-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.price-card .price-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 20px;
}
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--body); }
.price-card li svg { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; color: var(--green); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.is-featured { transform: none; }
}

/* ---------------------------------- Final CTA ---------------------------------- */

.cta-final {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 320px;
  background: var(--gradient);
  opacity: 0.16;
  filter: blur(100px);
  pointer-events: none;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(28px, 2.6vw + 14px, 40px);
  font-weight: 800;
  max-width: 620px;
  margin: 0 auto 16px;
  position: relative;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-final .hero-actions { justify-content: center; position: relative; }
.cta-final .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.24); color: #fff; }
.cta-final .btn-secondary:hover { border-color: #fff; }

@media (max-width: 640px) {
  .cta-final { padding: 56px 24px; }
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; line-height: 1.6; color: rgba(255, 255, 255, 0.45); font-size: 13.5px; }
.footer-col h5 {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { transition: color 0.15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------- Cookie consent ---------------------------------- */

.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 460px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.35s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.cookie-bar p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.cookie-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .cookie-bar { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ---------------------------------- Misc utilities ---------------------------------- */

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
