/* ═══════════════════════════════════════════════════════
   Cidade Transparente — Design System
   Dark SaaS Premium — 2026
═══════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --night:        #06101f;
  --ink:          #0b1a2e;
  --surface:      #0f2340;
  --glass:        rgba(255,255,255,0.04);
  --glass-strong: rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.08);
  --border-mid:   rgba(255,255,255,0.12);

  --blue-400:     #60a5fa;
  --blue-500:     #3b82f6;
  --blue-600:     #2563eb;
  --indigo-500:   #6366f1;
  --green-400:    #34d399;
  --green-500:    #10b981;

  --text-100:     #f1f5f9;
  --text-200:     #e2e8f0;
  --text-400:     #94a3b8;
  --text-600:     #64748b;

  --grad-primary: linear-gradient(135deg, var(--blue-600), var(--indigo-500));
  --grad-accent:  linear-gradient(135deg, var(--green-500), #06b6d4);
  --grad-text:    linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  --grad-hero:    radial-gradient(ellipse 80% 60% at 50% -10%, #1e3a6e 0%, var(--night) 70%);

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.6);
  --glow-blue:    0 0 40px rgba(37,99,235,0.35);
  --glow-green:   0 0 40px rgba(16,185,129,0.3);

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --font-head:    'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w:        1200px;
  --nav-h:        68px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--text-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-400);
  line-height: 1.7;
  max-width: 38rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: 100px;
  box-shadow: var(--glow-blue);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 0 60px rgba(37,99,235,.5); }
.btn-primary.btn-large { font-size: 1rem; padding: .875rem 1.75rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--glass-strong);
  color: var(--text-200);
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ── Nav ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, border-color .3s;
}
#nav.scrolled {
  background: rgba(6,16,31,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav-logo-mark {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-blue);
}
.nav-logo-text { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text-100); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-400);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text-100); background: var(--glass); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: .5rem 1.125rem;
  border-radius: 100px;
  margin-left: .5rem;
  transition: filter .2s, transform .2s;
}
.nav-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-200); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu { display: none; border-top: 1px solid var(--border); background: rgba(6,16,31,.97); backdrop-filter: blur(20px); padding: 1rem 0 1.5rem; }
#mobile-menu.open { display: block; }
.mobile-nav-link { display: block; padding: .75rem 0; font-size: 1rem; color: var(--text-400); border-bottom: 1px solid var(--border); transition: color .2s; }
.mobile-nav-link:hover { color: var(--text-100); }
.mobile-cta { display: block; text-align: center; margin-top: 1.25rem; background: var(--grad-primary); color: #fff; font-weight: 700; padding: .875rem; border-radius: var(--radius-md); }

/* ── Hero ────────────────────────────────────────────── */
#hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: drift 14s ease-in-out infinite alternate;
}
.aurora-1 { width: 700px; height: 500px; top: -200px; left: -100px; background: radial-gradient(circle, #1d4ed8 0%, transparent 70%); }
.aurora-2 { width: 500px; height: 400px; top: -100px; right: -150px; background: radial-gradient(circle, #6366f1 0%, transparent 70%); animation-delay: -6s; animation-duration: 18s; }
.aurora-3 { width: 400px; height: 300px; bottom: -100px; left: 30%; background: radial-gradient(circle, #10b981 0%, transparent 70%); animation-delay: -3s; animation-duration: 20s; opacity: .25; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero-container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: var(--blue-400);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .375rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--green-400); border-radius: 50%; box-shadow: 0 0 8px var(--green-400); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text-100);
  margin-bottom: 1.5rem;
}
.hero-desc { font-size: 1.125rem; color: var(--text-400); line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hero-stat-value { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--text-100); }
.hero-stat-label { font-size: .75rem; color: var(--text-600); margin-top: .125rem; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Browser mockup */
.hero-visual { position: relative; padding: .75rem; }
.glow-ring { position: absolute; inset: -2px; border-radius: 18px; background: var(--grad-primary); opacity: .35; filter: blur(20px); z-index: 0; }
.browser-frame {
  position: relative; z-index: 1;
  background: #0d1829;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .625rem 1rem;
  background: #0a1628;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: .375rem; flex-shrink: 0; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
  display: flex; align-items: center; gap: .375rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .25rem .875rem;
  font-size: .7rem;
  color: var(--text-600);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.browser-url svg { opacity: .6; flex-shrink: 0; }
.dash-content { display: flex; height: 280px; }
.dash-sidebar {
  width: 110px;
  background: #090f1e;
  border-right: 1px solid var(--border);
  padding: 1rem .75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sidebar-logo {
  width: 26px; height: 26px;
  background: var(--grad-primary);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .575rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.sidebar-nav { display: flex; flex-direction: column; gap: .25rem; }
.sidebar-item { display: flex; align-items: center; gap: .375rem; padding: .325rem .4rem; border-radius: 5px; font-size: .6rem; color: var(--text-600); transition: background .2s, color .2s; }
.sidebar-item.active { background: rgba(37,99,235,.15); color: var(--blue-400); }
.dash-main { flex: 1; padding: 1rem; overflow: hidden; }
.dash-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .875rem; }
.dash-header-row h3 { font-family: var(--font-head); font-size: .7rem; font-weight: 700; color: var(--text-200); }
.dash-year { color: var(--text-600); font-weight: 500; }
.dash-badge {
  background: rgba(16,185,129,.15);
  color: var(--green-400);
  font-size: .575rem;
  font-weight: 600;
  padding: .175rem .4rem;
  border-radius: 100px;
  display: flex; align-items: center; gap: .2rem;
}
.dash-badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 4px var(--green-400); animation: blink 1.5s infinite; }
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; margin-bottom: .875rem; }
.kpi { background: var(--glass); border: 1px solid var(--border); border-radius: 6px; padding: .5rem .6rem; }
.kpi-label { font-size: .55rem; color: var(--text-600); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .05em; }
.kpi-value { font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--text-100); margin-bottom: .15rem; }
.kpi-trend { font-size: .55rem; color: var(--green-400); font-weight: 600; }
.mini-chart { height: 72px; display: flex; align-items: flex-end; gap: 3px; }

/* ── Ticker ──────────────────────────────────────────── */
.ticker-wrap {
  background: rgba(255,255,255,.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-400);
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-sep { color: var(--blue-500); margin: 0 1.25rem; opacity: .7; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Sections base ───────────────────────────────────── */
#problema, #modulos, #planos, #contato { padding: 6rem 0; }
#modulos { background: var(--ink); }
#contato { background: var(--ink); }

/* ── Problema / Solução ──────────────────────────────── */
.ps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ps-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ps-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; }
.ps-problem::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.ps-solution::before { background: var(--grad-primary); }
.ps-result::before  { background: var(--grad-accent); }
.ps-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.ps-icon-wrap { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; border: 1px solid var(--border); }
.ps-problem .ps-icon-wrap { background: rgba(239,68,68,.12); color: #f87171; }
.ps-solution .ps-icon-wrap { background: rgba(37,99,235,.12); color: var(--blue-400); }
.ps-result  .ps-icon-wrap { background: rgba(16,185,129,.12); color: var(--green-400); }
.ps-card-title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--text-100); margin-bottom: .75rem; }
.ps-card-text { font-size: .9375rem; color: var(--text-400); line-height: 1.7; }

/* ── Módulos ─────────────────────────────────────────── */
.modules-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.module-tabs { display: flex; flex-direction: column; gap: .375rem; }
.mod-tab { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .75rem 1rem; border-radius: var(--radius-md); font-size: .875rem; font-weight: 500; color: var(--text-400); background: transparent; border: 1px solid transparent; text-align: left; cursor: pointer; transition: all .2s; }
.mod-tab svg { flex-shrink: 0; opacity: .7; }
.mod-tab:hover { background: var(--glass); color: var(--text-200); border-color: var(--border); }
.mod-tab.active { background: rgba(37,99,235,.12); color: var(--blue-400); border-color: rgba(37,99,235,.25); font-weight: 600; }
.mod-tab.active svg { opacity: 1; }
.module-content { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; min-height: 320px; }
.mc-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-400); margin-bottom: .75rem; }
.mc-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text-100); margin-bottom: .875rem; }
.mc-desc { font-size: .9375rem; color: var(--text-400); line-height: 1.7; margin-bottom: 1.75rem; }
.mc-features { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.mc-feature { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--text-400); }
.mc-feature-icon { width: 18px; height: 18px; border-radius: 50%; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green-400); margin-top: .1rem; font-size: .7rem; }

/* ── Planos ──────────────────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
.plan-card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; }
.plan-card:hover { transform: translateY(-6px); border-color: var(--border-mid); box-shadow: var(--shadow-md); }
.plan-featured { background: linear-gradient(180deg,rgba(37,99,235,.12) 0%,var(--glass) 60%); border-color: rgba(37,99,235,.3); box-shadow: var(--glow-blue), var(--shadow-md); }
.plan-featured:hover { box-shadow: 0 0 60px rgba(37,99,235,.4), var(--shadow-lg); }
.plan-ribbon { position: absolute; top: -1px; right: 1.5rem; background: var(--grad-primary); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .75rem .35rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--glow-blue); }
.plan-top { margin-bottom: 1.5rem; }
.plan-audience { font-size: .75rem; color: var(--text-600); margin-bottom: .5rem; font-weight: 500; }
.plan-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--text-100); margin-bottom: 1rem; }
.plan-price-row { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .5rem; }
.plan-currency { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; color: var(--text-400); }
.plan-price { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--text-100); }
.plan-period { font-size: .875rem; color: var(--text-600); }
.plan-price-custom { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--text-100); margin-bottom: .5rem; }
.plan-modules-tag { font-size: .75rem; color: var(--blue-400); font-weight: 600; background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2); display: inline-block; padding: .2rem .625rem; border-radius: 100px; }
.plan-features { flex: 1; display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.75rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--text-400); }
.check { width: 18px; height: 18px; border-radius: 50%; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem; color: var(--green-400); font-size: .65rem; }
.check::after { content: '✓'; }
.plan-btn { display: block; text-align: center; padding: .75rem; border-radius: var(--radius-md); font-family: var(--font-head); font-size: .9375rem; font-weight: 700; border: 1px solid var(--border-mid); color: var(--text-200); background: var(--glass-strong); transition: all .2s; }
.plan-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.plan-btn-featured { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: var(--glow-blue); }
.plan-btn-featured:hover { filter: brightness(1.15); transform: translateY(-2px); box-shadow: 0 0 40px rgba(37,99,235,.5); }

/* ── CTA Strip ───────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, #1d4ed8 0%, #6366f1 50%, #0ea5e9 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.cta-strip-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-strip-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .375rem; }
.cta-strip-desc { font-size: .9375rem; color: rgba(255,255,255,.75); }
.cta-strip .btn-primary { background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); box-shadow: none; white-space: nowrap; }
.cta-strip .btn-primary:hover { background: rgba(255,255,255,.25); box-shadow: none; filter: none; }

/* ── Contato ─────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-left .section-title { margin-bottom: .875rem; }
.contact-features { margin-top: 2rem; display: flex; flex-direction: column; gap: .875rem; }
.contact-feature { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: var(--text-400); }
.contact-feature-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.2); display: flex; align-items: center; justify-content: center; color: var(--blue-400); flex-shrink: 0; }
.contact-form-card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; }
.form-honeypot { position: absolute; opacity: 0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-row .form-group { margin-bottom: 0; }
.form-label { font-size: .8125rem; font-weight: 600; color: var(--text-200); }
.form-required { color: var(--blue-400); margin-left: .125rem; }
.form-optional { color: var(--text-600); font-weight: 400; }
.form-input, .form-textarea { background: rgba(255,255,255,.05); border: 1px solid var(--border-mid); border-radius: var(--radius-md); padding: .75rem 1rem; font-size: .9375rem; color: var(--text-100); font-family: var(--font-body); transition: border-color .2s, box-shadow .2s; outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-600); }
.form-input:focus, .form-textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
select.form-input option { background: var(--ink); color: var(--text-100); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-error-msg { font-size: .75rem; color: #f87171; min-height: 1rem; }
.form-submit { width: 100%; padding: .875rem; background: var(--grad-primary); color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); margin-top: .5rem; margin-bottom: .875rem; position: relative; overflow: hidden; box-shadow: var(--glow-blue); transition: filter .2s, transform .2s; }
.form-submit:hover { filter: brightness(1.12); transform: translateY(-2px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-submit-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.form-notice { display: flex; align-items: center; gap: .375rem; font-size: .75rem; color: var(--text-600); }
.form-notice svg { flex-shrink: 0; }
.h-captcha { margin: .75rem 0; }
.contact-success { display: none; text-align: center; padding: 3rem 2rem; background: var(--glass); border: 1px solid rgba(16,185,129,.2); border-radius: var(--radius-xl); }
.contact-success.visible { display: block; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,.12); border: 2px solid var(--green-400); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--green-400); box-shadow: var(--glow-green); }
.success-title { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--text-100); margin-bottom: .75rem; }
.success-desc { font-size: .9375rem; color: var(--text-400); line-height: 1.7; }
#rate-limit-warning, #form-server-error { font-size: .8125rem; padding: .625rem .875rem; border-radius: var(--radius-sm); margin-bottom: .75rem; display: none; }
#rate-limit-warning { background: rgba(234,179,8,.1); color: #fbbf24; border: 1px solid rgba(234,179,8,.2); }
#form-server-error   { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }

/* ── Footer ──────────────────────────────────────────── */
#footer { background: #04090f; border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.footer-brand-logo { display: flex; align-items: center; gap: .625rem; margin-bottom: .875rem; font-family: var(--font-head); font-size: .9375rem; font-weight: 700; color: var(--text-100); }
.footer-brand-desc { font-size: .875rem; color: var(--text-600); line-height: 1.6; margin-bottom: .5rem; }
.footer-brand-tagline { font-size: .8125rem; color: var(--text-600); }
.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: .625rem; }
.footer-col h4 { font-family: var(--font-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-200); margin-bottom: .25rem; }
.footer-col a { font-size: .875rem; color: var(--text-600); transition: color .2s; }
.footer-col a:hover { color: var(--text-200); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; font-size: .8125rem; color: var(--text-600); }
.footer-badges { display: flex; gap: .5rem; }
.footer-badge-item { background: var(--glass-strong); border: 1px solid var(--border); color: var(--text-600); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; padding: .2rem .5rem; border-radius: var(--radius-sm); }
.footer-developed { font-size: .8125rem; color: var(--text-600); }
.footer-dev-link { color: var(--blue-400); font-weight: 600; transition: color .2s; }
.footer-dev-link:hover { color: var(--blue-300, #93c5fd); }

/* ── Scroll animations ───────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
.anim-up { opacity: 0; animation: fadeUp .7s cubic-bezier(.22,.68,0,1.2) forwards; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .35s; }
.anim-delay-4 { animation-delay: .5s; }
.anim-delay-5 { animation-delay: .65s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.12s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.24s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-featured { order: -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .ps-grid { grid-template-columns: 1fr; }
  .modules-layout { grid-template-columns: 1fr; }
  .module-tabs { flex-direction: row; flex-wrap: wrap; }
  .mod-tab { flex: 1; min-width: 140px; justify-content: center; font-size: .8125rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .mc-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
