/* ============================================================
   Rezult CRM — Site
   Dark · Neon · Geist · Filled
   ============================================================ */

:root {
  /* Brand */
  --primary: #00E599;
  --primary-hi: #5CFFC0;
  --primary-lo: #00B87A;
  --on-primary: #04140D;
  --glow: rgba(0, 229, 153, 0.45);
  --glow-soft: rgba(0, 229, 153, 0.18);

  /* Surfaces */
  --bg: #05080A;
  --bg-deep: #02040A;
  --surface: #0C1115;
  --surface-2: #131A1E;
  --surface-3: #1B2429;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-active: rgba(0, 229, 153, 0.45);

  /* Text */
  --text: #F4F6F4;
  --text-muted: rgba(244, 246, 244, 0.62);
  --text-subtle: rgba(244, 246, 244, 0.38);

  /* Semantic (data only) */
  --blue: #3B82F6;
  --amber: #F59E0B;
  --red: #EF4444;
  --purple: #A855F7;

  /* Type */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(0, 229, 153, 0.3); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-active); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }

/* ---------- Section tints ---------- */
.tint-left::before,
.tint-right::before,
.tint-center::before,
.tint-top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tint-left::before   { background: radial-gradient(ellipse 55% 70% at 0% 50%,   rgba(0,229,153,0.055) 0%, transparent 70%); }
.tint-right::before  { background: radial-gradient(ellipse 55% 70% at 100% 40%,  rgba(0,229,153,0.055) 0%, transparent 70%); }
.tint-center::before { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(0,229,153,0.05)  0%, transparent 70%); }
.tint-top::before    { background: radial-gradient(ellipse 60% 50% at 50% 0%,   rgba(0,229,153,0.04)  0%, transparent 65%); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--primary);
  opacity: 0.6;
}
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1; font-weight: 600; }
.h2 { font-size: clamp(36px, 5.2vw, 64px); margin: 24px 0 20px; letter-spacing: -0.04em; }
.lede { font-size: 18px; color: var(--text-muted); line-height: 1.3; letter-spacing: -0.01em; }
.text-grad { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  padding: 10px 22px; border-radius: var(--r-md);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 1px var(--primary), 0 8px 30px var(--glow); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--primary), 0 12px 40px var(--glow); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-2); background: var(--surface-3); transform: translateY(-1px); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(5, 8, 10, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-left { display: flex; align-items: center; gap: 44px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--text-muted); transition: color .15s; font-weight: 450; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .btn { border-radius: 9999px; }
.nav-cta-ghost { font-size: 14.5px; color: var(--text-muted); transition: color .15s; }
.nav-cta-ghost:hover { color: var(--text); }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--border); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--glow-soft);
  flex-shrink: 0;
}
.logo-mark span { font-weight: 700; font-size: 14px; letter-spacing: -0.05em; color: var(--on-primary); }
.logo-word { font-weight: 600; font-size: 21px; letter-spacing: -0.04em; }
.logo-word b { font-weight: 600; color: var(--primary); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 80px); padding-bottom: 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
  opacity: 0.5;
}
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 60%);
  opacity: 0.2; filter: blur(20px);
}

/* Mesh blobs */
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  will-change: transform;
}
.mesh-blob-1 {
  width: 680px; height: 480px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -15%; left: 25%;
  opacity: 0.18;
  animation: meshFloat1 20s ease-in-out infinite;
}
.mesh-blob-2 {
  width: 480px; height: 400px;
  background: radial-gradient(circle, #00b87a 0%, transparent 70%);
  bottom: 5%; left: -8%;
  opacity: 0.13;
  animation: meshFloat2 26s ease-in-out infinite;
}
.mesh-blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--primary-hi) 0%, transparent 70%);
  top: 15%; right: 2%;
  opacity: 0.1;
  animation: meshFloat3 22s ease-in-out infinite;
}

@keyframes meshFloat1 {
  0%,100% { transform: translate(0px,   0px)   scale(1);    }
  30%      { transform: translate(-50px, 40px)  scale(1.06); }
  65%      { transform: translate(35px,  -30px) scale(0.94); }
}
@keyframes meshFloat2 {
  0%,100% { transform: translate(0px,  0px)   scale(1);    }
  40%      { transform: translate(60px, -50px) scale(1.08); }
  72%      { transform: translate(-40px, 25px) scale(0.96); }
}
@keyframes meshFloat3 {
  0%,100% { transform: translate(0px,   0px)   scale(1);    }
  35%      { transform: translate(-25px, -55px) scale(1.05); }
  68%      { transform: translate(45px,  35px)  scale(0.95); }
}
.hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid #00e59940;
  font-size: 13px; color: var(--text-muted); margin-bottom: 32px;
}
.hero-badge .tag { background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 11px; padding: 3px 9px; border-radius: 100px; font-family: var(--mono); letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.055em; line-height: 0.95; font-weight: 600; }
.em { color: var(--primary); }
.hero h1 .em { color: var(--primary); }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--text-muted); line-height: 1.3; max-width: 600px; margin-top: 28px; letter-spacing: -0.01em; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn { border-radius: 9999px !important; padding: 14px 30px; }
.hero-actions .btn-secondary { border: 1px solid #00e599; }
.hero-note { font-size: 13.5px; color: var(--text-subtle); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--primary); }

.hero.va { text-align: center; }
.hero.va .hero-sub { margin-left: auto; margin-right: auto; }
.hero.va .hero-actions { justify-content: center; }
.hero.va .hero-note { justify-content: center; }
.hero.va .hero-badge { margin-left: auto; margin-right: auto; }
.hero.va .hero-mockup-wrap { margin-top: 72px; }
.hero-mockup-wrap, .hero-glow, .hero-badge { will-change: transform; }

.hero.vb .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero.vb .hero-mockup-wrap { margin-top: 0; }

.hero.vc { text-align: center; }
.hero.vc .hero-sub, .hero.vc .hero-badge { margin-left: auto; margin-right: auto; }
.hero.vc .hero-actions { justify-content: center; }
.hero.vc .hero-note { justify-content: center; }


.hero-inner { position: relative; }

/* ---------- App mockup ---------- */
.mockup {
  position: relative; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04), 0 0 80px var(--glow-soft);
  overflow: hidden;
}
.mockup-glow { position: absolute; top: -40%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, var(--glow) 0%, transparent 65%); opacity: 0.3; pointer-events: none; }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-bar .addr { margin-left: 14px; font-family: var(--mono); font-size: 11px; color: var(--text-subtle); background: var(--bg); padding: 5px 14px; border-radius: 7px; flex: 1; max-width: 280px; }
.mockup-body { display: flex; min-height: 360px; }
.mk-rail { width: 52px; background: var(--bg-deep); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 4px; flex-shrink: 0; }
.mk-rail .mk-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: var(--on-primary); letter-spacing: -0.04em; margin-bottom: 10px; }
.mk-rail .mk-nav { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--text-subtle); }
.mk-rail .mk-nav.on { background: rgba(0,229,153,0.14); color: var(--primary); }
.mk-rail .mk-nav svg { width: 17px; height: 17px; }
.mk-main { flex: 1; padding: 16px; min-width: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mk-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.mk-sub { font-size: 10px; color: var(--text-subtle); margin-top: 2px; font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.mk-btn { background: var(--primary); color: var(--on-primary); font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 8px; box-shadow: 0 0 14px var(--glow-soft); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.mk-kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.mk-kpi .l { font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.mk-kpi .v { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; margin-top: 3px; }
.mk-kpi .d { font-family: var(--mono); font-size: 9px; color: var(--primary); }
.mk-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.mk-col-h { display: flex; align-items: center; gap: 6px; padding: 2px 4px 8px; }
.mk-col-h .dot { width: 6px; height: 6px; border-radius: 50%; }
.mk-col-h .n { font-size: 10px; font-weight: 600; }
.mk-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.mk-card .row1 { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.mk-av { width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; color: #fff; }
.mk-card .nm { font-size: 9.5px; font-weight: 500; }
.mk-card .vl { font-size: 11px; font-weight: 600; color: var(--primary); letter-spacing: -0.02em; }

/* ---------- Metrics band ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.metric { padding: 40px 32px; border-right: 1px solid var(--border); position: relative; }
.metric:last-child { border-right: none; }
.metric .v { font-size: 52px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--primary); }
.metric .l { font-size: 14px; color: var(--text-muted); margin-top: 12px; letter-spacing: -0.01em; }

/* ---------- Features ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-text { order: 2; }
.feature-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 24px; box-shadow: inset 0 0 20px var(--glow-soft); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-text h3 { font-size: 34px; letter-spacing: -0.035em; margin-bottom: 16px; line-height: 1.05; }
.feature-text p { font-size: 17px; color: var(--text-muted); line-height: 1.4; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); list-style: none; }
.feature-list li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.feature-visual { border-radius: var(--r-lg); border: 1px solid var(--border-2); background: var(--surface); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 60px var(--glow-soft); position: relative; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.step:hover { border-color: var(--border-active); transform: translateY(-3px); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--primary); margin-bottom: 18px; letter-spacing: 0.1em; }
.step-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 18px; }
.step-icon svg { width: 22px; height: 22px; }
.step h4 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--text-muted); line-height: 1.55; }
.step-arrow { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--text-subtle); z-index: 2; }
.step-arrow svg { width: 20px; height: 20px; }

/* ---------- Feature cards ---------- */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.fcard { padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
.fcard:hover { border-color: var(--border-active); transform: translateY(-3px); }
.fcard .fc-glow { position: absolute; top: -40%; right: -20%; width: 220px; height: 220px; background: radial-gradient(circle, var(--glow-soft), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fcard:hover .fc-glow { opacity: 1; }
.fcard .feature-icon { margin-bottom: 20px; }
.fcard h4 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 10px; line-height: 1.1; }
.fcard p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item { display: flex; align-items: center; gap: 14px; padding: 18px 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); white-space: nowrap; flex-shrink: 0; }
.mq-item .ico { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mq-item .ico svg { width: 22px; height: 22px; }
.mq-item .nm { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Benefits carousel ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); }
.bcard { flex: 0 0 calc((100% - 40px) / 3); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); padding: 32px; display: flex; flex-direction: column; gap: 18px; min-height: 240px; position: relative; overflow: hidden; }
.bcard .bc-glow { position: absolute; bottom: -40%; left: -10%; width: 280px; height: 280px; background: radial-gradient(circle, var(--glow-soft), transparent 65%); pointer-events: none; }
.bcard .b-num { font-family: var(--mono); font-size: 12px; color: var(--primary); letter-spacing: 0.1em; position: relative; }
.bcard .b-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); position: relative; box-shadow: inset 0 0 20px var(--glow-soft); }
.bcard .b-icon svg { width: 24px; height: 24px; }
.bcard h4 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; position: relative; margin-top: auto; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.carousel-arrow:hover { border-color: var(--border-active); color: var(--primary); transform: translateY(-2px); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); transition: all .2s; cursor: pointer; }
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 100px; box-shadow: 0 0 10px var(--glow-soft); }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* ---------- Client segments grid ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.seg-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.seg-card:hover { border-color: var(--border-active); transform: translateY(-3px); }
.seg-card image-slot { width: 100%; height: 100%; display: block; }
.seg-card .seg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,10,0.55) 0%, rgba(5,8,10,0.15) 40%, rgba(5,8,10,0.85) 100%); pointer-events: none; z-index: 2; }
.seg-card .seg-label { position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(0,229,153,0.18); border: 1px solid var(--border-active); backdrop-filter: blur(10px); padding: 7px 13px; border-radius: 100px; }
.seg-card .seg-foot { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.seg-card .seg-foot .t { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.seg-card .seg-foot .arrow { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: #fff; }
.seg-card .seg-foot .arrow svg { width: 16px; height: 16px; }
.seg-cta { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border-active); background: linear-gradient(150deg, rgba(0,229,153,0.16), var(--surface) 55%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 18px; }
.seg-cta .seg-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); opacity: 0.5; }
.seg-cta > * { position: relative; z-index: 1; }
.seg-cta h4 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.seg-cta p { font-size: 14px; color: var(--text-muted); max-width: 240px; }

@media (max-width: 980px) {
  .fcards { grid-template-columns: 1fr; }
  .bcard { flex: 0 0 calc((100% - 20px) / 2); }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bcard { flex: 0 0 100%; }
  .seg-grid { grid-template-columns: 1fr; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Comparison ---------- */
.compare { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--text-muted); font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.compare-table thead th.us { color: var(--primary); }
.compare-table tbody td { font-size: 15px; }
.compare-table tbody td:first-child { color: var(--text-muted); }
.compare-table .col-us { background: rgba(0,229,153,0.05); }
.compare-table td.center { text-align: center; }
.compare-table td svg { width: 20px; height: 20px; margin: 0 auto; }
.chk { color: var(--primary); }
.no { color: var(--text-subtle); }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 20px; transition: border-color .2s, transform .2s; }
.tcard:hover { border-color: var(--border-active); transform: translateY(-3px); }
.tcard .quote { font-size: 16px; line-height: 1.55; letter-spacing: -0.01em; flex: 1; }
.tcard .quote .hl { color: var(--primary); }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: #fff; flex-shrink: 0; }
.tcard .who .nm { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.tcard .who .rl { font-size: 12px; color: var(--text-subtle); }
.tcard .stars { display: flex; gap: 2px; color: var(--primary); }
.tcard .stars svg { width: 15px; height: 15px; }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); margin: 0 auto 56px; }
.price-toggle button { font-size: 14px; font-weight: 500; padding: 9px 20px; border-radius: 100px; color: var(--text-muted); transition: all .15s; display: flex; align-items: center; gap: 8px; }
.price-toggle button.active { background: var(--primary); color: var(--on-primary); font-weight: 600; }
.price-toggle .save { font-family: var(--mono); font-size: 10px; padding: 2px 7px; border-radius: 100px; background: rgba(0,229,153,0.16); color: var(--primary); letter-spacing: 0.02em; }
.price-toggle button.active .save { background: rgba(4,20,13,0.2); color: var(--on-primary); }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pcard { padding: 32px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 24px; position: relative; transition: border-color .2s, transform .2s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--border-active); }
.pcard.featured { border-color: var(--border-active); background: linear-gradient(180deg, rgba(0,229,153,0.06), var(--surface) 40%); box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 60px var(--glow-soft); }
.pcard.featured::before { content: "Mais popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 100px; letter-spacing: 0.04em; white-space: nowrap; }
.pcard .pname { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.pcard .pdesc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.pcard .pprice { display: flex; align-items: baseline; gap: 4px; }
.pcard .pprice .cur { font-size: 20px; font-weight: 500; color: var(--text-muted); }
.pcard .pprice .amt { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; }
.pcard .pprice .per { font-size: 15px; color: var(--text-subtle); }
.pcard .pfeats { display: flex; flex-direction: column; gap: 13px; }
.pcard .pfeats li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text-muted); list-style: none; line-height: 1.45; }
.pcard .pfeats li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.pcard .pfeats li b { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.faq-q .ico { width: 24px; height: 24px; flex-shrink: 0; color: var(--primary); transition: transform .25s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding-bottom: 24px; font-size: 16px; color: var(--text-muted); line-height: 1.6; max-width: 680px; }

/* ---------- CTA ---------- */
.cta-final { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 80px 56px; text-align: center; background: var(--surface); border: 1px solid var(--border-active); }
.cta-final-glow { position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 60%); opacity: 0.4; pointer-events: none; }
.cta-final-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); opacity: 0.4; }
.cta-final > *:not(.cta-final-glow):not(.cta-final-grid) { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.02; }
.cta-final p { font-size: 19px; color: var(--text-muted); margin: 20px auto 36px; max-width: 540px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { border-radius: 9999px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 300px; }
.footer-brand-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-brand-actions .btn { border-radius: 9999px; }
.footer-brand-actions .btn-secondary { border: 1px solid #00e599; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-muted); margin-bottom: 12px; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
.footer-bottom .cp { font-size: 13px; color: var(--text-subtle); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all .15s; }
.footer-social a:hover { border-color: var(--border-active); color: var(--primary); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(0.2,0.8,0.2,1), transform .7s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Hero entrance animation ---------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: heroIn .65s cubic-bezier(0.2,0.8,0.2,1) .05s both; }
.hero-l1 { display: block; animation: heroIn .7s cubic-bezier(0.2,0.8,0.2,1) .15s both; }
.hero-l2 { display: block; animation: heroIn .7s cubic-bezier(0.2,0.8,0.2,1) .28s both; }
.hero-sub    { animation: heroIn .65s cubic-bezier(0.2,0.8,0.2,1) .38s both; }
.hero-actions { animation: heroIn .65s cubic-bezier(0.2,0.8,0.2,1) .48s both; }
.hero-note   { animation: heroIn .65s cubic-bezier(0.2,0.8,0.2,1) .55s both; }
.hero-mockup-wrap { animation: heroIn .8s cubic-bezier(0.2,0.8,0.2,1) .65s both; }

/* ---------- Page hero (internal pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 90px); padding-bottom: 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.045em; }
.page-hero p { font-size: 19px; color: var(--text-muted); max-width: 560px; margin: 22px auto 0; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 99; background: var(--bg); padding: 32px; flex-direction: column; gap: 8px; display: none; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .nav-links, .nav-cta-ghost { display: none; }
  .nav-burger { display: flex; }
  .hero.vb .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .feature-row.flip .feature-text { order: 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .tgrid, .pgrid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .section-sm { padding-top: 40px !important; padding-bottom: 40px !important; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 16px; }
  .metric .v { font-size: 38px; }
  .feature-text h3 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; text-align: center; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { text-align: center; }
  .footer-col a { font-size: 13px; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-bottom { justify-content: center; }
  .footer-social { justify-content: center; }
  .cta-final { padding: 56px 24px; }
}
