/* ═══════════════════════════════════════════════════════════════
   KRUMORA — Landing Page CSS
   Dark + Vermelho Royal + Logo K Neon  ·  PREMIUM EDITION
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #030305;
  --surface: #0b0b0f;
  --surface-2: #14141a;
  --surface-3: #1a1a22;
  --border: #1f1f28;
  --border-2: #2a2a35;
  --accent: #b8152c;
  --accent-hi: #e11d3a;
  --accent-glow: rgba(184, 21, 44, 0.35);
  --accent-soft: rgba(184, 21, 44, 0.08);
  --text: #f0f0f5;
  --text-2: #8a8a9a;
  --text-3: #575768;
  --success: #3dd66a;
  --warning: #ffb020;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --ease-spring: cubic-bezier(.2, .9, .3, 1.2);
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  animation: bodyIn 1.2s ease-out;
}
@keyframes bodyIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═════════════ Scroll progress bar ═════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hi) 60%, #ff6584 100%);
  box-shadow: 0 0 10px var(--accent-hi), 0 0 20px rgba(225,29,58,.3);
  z-index: 100;
  transition: width .12s ease-out;
  pointer-events: none;
}

/* ═════════════ Grain overlay ═════════════ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Ambient glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(ellipse 60% 40% at 10% 40%, rgba(184,21,44,.04), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(184,21,44,.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO K
   ═══════════════════════════════════════════════════════════════ */

.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(160deg, #0c0c11 0%, #050507 100%);
  border: 1.5px solid var(--accent-hi);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 14px rgba(225,29,58,.32),
    inset 0 0 10px rgba(225,29,58,.10),
    0 4px 14px -4px rgba(0,0,0,.6);
  animation: kBreathe 3.6s ease-in-out infinite;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.brand:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}
.logo-mark .k-letter {
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  color: var(--accent-hi);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 6px rgba(225,29,58,.85), 0 0 14px rgba(225,29,58,.45);
  animation: kGlyphPulse 3.6s ease-in-out infinite;
}
.logo-mark::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.10) 55%,
    transparent 100%);
  transform: rotate(12deg);
  animation: kSheen 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(225,29,58,.6) 0 1px, transparent 1px 100%) top left / 7px 7px no-repeat,
    linear-gradient(225deg, rgba(225,29,58,.6) 0 1px, transparent 1px 100%) top right / 7px 7px no-repeat,
    linear-gradient(45deg,  rgba(225,29,58,.6) 0 1px, transparent 1px 100%) bottom left / 7px 7px no-repeat,
    linear-gradient(-45deg, rgba(225,29,58,.6) 0 1px, transparent 1px 100%) bottom right / 7px 7px no-repeat;
  opacity: .55;
  pointer-events: none;
  z-index: 1;
}
.logo-mark.large {
  width: 72px; height: 72px;
  border-radius: 16px;
  border-width: 2px;
  box-shadow:
    0 0 28px rgba(225,29,58,.42),
    inset 0 0 14px rgba(225,29,58,.14),
    0 14px 34px -10px rgba(0,0,0,.7);
  animation: kBreathe 3.6s ease-in-out infinite, kFloat 5s ease-in-out infinite;
}
.logo-mark.large .k-letter { font-size: 36px; }

@keyframes kBreathe {
  0%, 100% { box-shadow: 0 0 12px rgba(225,29,58,.28), inset 0 0 8px rgba(225,29,58,.08), 0 4px 14px -4px rgba(0,0,0,.6); }
  50%      { box-shadow: 0 0 22px rgba(225,29,58,.48), inset 0 0 14px rgba(225,29,58,.18), 0 4px 14px -4px rgba(0,0,0,.6); }
}
@keyframes kGlyphPulse {
  0%, 100% { text-shadow: 0 0 5px rgba(225,29,58,.70), 0 0 12px rgba(225,29,58,.35); }
  50%      { text-shadow: 0 0 9px rgba(225,29,58,.95), 0 0 18px rgba(225,29,58,.55); }
}
@keyframes kSheen {
  0%, 65%, 100% { left: -60%; opacity: 0; }
  70%           { opacity: .85; }
  95%           { left: 120%; opacity: 0; }
}
@keyframes kFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 3, 5, 0.65);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
header.site-header.scrolled {
  background: rgba(3, 3, 5, 0.85);
  border-bottom-color: rgba(225,29,58,.15);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-text .accent { color: var(--accent-hi); }
nav.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
nav.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent-hi);
  transition: right .3s var(--ease-smooth);
  box-shadow: 0 0 8px var(--accent-hi);
}
nav.nav-links a:hover { color: var(--text); }
nav.nav-links a:hover::after { right: 0; }
nav.nav-links a.active { color: var(--text); }
nav.nav-links a.active::after { right: 0; }

/* ═════════════ Buttons ═════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s var(--ease-smooth), box-shadow .25s, filter .2s, background .2s, border-color .2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --tx: 0px;
  --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 0);
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow), 0 0 0 1px rgba(255,255,255,.05) inset;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s var(--ease-smooth);
  z-index: 1;
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px -8px var(--accent-glow), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 24px rgba(225,29,58,.3);
}
.btn-primary:hover::before { left: 120%; }
.btn-primary:active { filter: brightness(.96); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(184,21,44,.05); }
.btn-lg { padding: 16px 28px; font-size: 15px; border-radius: 12px; }

/* ═══════════════════════════════════════════════════════════════
   HERO + CANVAS + ORBS
   ═══════════════════════════════════════════════════════════════ */

section.hero {
  padding: 120px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .7;
}
section.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  mix-blend-mode: screen;
}
.orb-1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, var(--accent-hi), transparent 60%);
  top: -12%; left: -6%;
  animation: orbDrift1 22s ease-in-out infinite;
}
.orb-2 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #7a0b1a, transparent 60%);
  top: 20%; right: -8%;
  animation: orbDrift2 28s ease-in-out infinite;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent), transparent 60%);
  bottom: 10%; left: 30%;
  animation: orbDrift3 24s ease-in-out infinite;
  opacity: .3;
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-70px, 90px) scale(.9); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-100px, -40px) scale(1.2); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(184,21,44,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: eyebrowIn 1s var(--ease-spring) both;
}
@keyframes eyebrowIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--accent-hi);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-hi);
  animation: pulse 1.6s ease-in-out infinite;
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent-hi);
  opacity: 0;
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  animation: heroTitleIn 1.1s var(--ease-spring) .15s both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent-hi) 0%, #ff4569 40%, #ffc2cd 50%, #ff4569 60%, var(--accent-hi) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7s ease-in-out infinite;
  position: relative;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.55;
  animation: heroSubtitleIn 1s var(--ease-spring) .35s both;
}
@keyframes heroSubtitleIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: heroCtaIn 1s var(--ease-spring) .55s both;
}
@keyframes heroCtaIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hero-niches {
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  max-width: 560px;
  margin: 0 auto;
  animation: heroCtaIn 1s var(--ease-spring) .75s both;
}
.hero-niches strong { color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════════ */

section {
  padding: 96px 0;
  position: relative;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-hi);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-hi));
}
.section-head.center .section-eyebrow {
  margin: 0 auto 14px;
}
.section-head.center .section-eyebrow::before {
  content: none;
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 14px;
  color: #fff;
}
.section-subtitle {
  color: var(--text-2);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.55;
}
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   CARDS — universal spotlight + tilt
   ═══════════════════════════════════════════════════════════════ */

.feature, .plan, .niche {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transform-style: preserve-3d;
  will-change: transform;
}
.feature > *, .plan > *, .niche > * {
  position: relative;
  z-index: 2;
}

/* ═════════════ FEATURES ═════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .45s var(--ease-spring), border-color .3s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-hi) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .4s;
  transform: translateX(calc(var(--mx) - 50%));
  z-index: 3;
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 260px at var(--mx) var(--my),
    rgba(225, 29, 58, 0.14),
    transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 1;
}
.feature:hover {
  --lift: -4px;
  border-color: rgba(225, 29, 58, .25);
  box-shadow: 0 30px 60px -20px rgba(184,21,44,.25), 0 0 0 1px rgba(225,29,58,.08) inset;
}
.feature:hover::before { opacity: .7; }
.feature:hover::after { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(225,29,58,.02));
  border: 1px solid rgba(184,21,44,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  position: relative;
  transition: transform .4s var(--ease-spring), box-shadow .3s;
}
.feature-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent, var(--accent-hi), transparent);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
  filter: blur(6px);
}
.feature:hover .feature-icon {
  transform: scale(1.05) rotate(-4deg);
  box-shadow: 0 0 20px rgba(225,29,58,.25);
}
.feature:hover .feature-icon::before { opacity: .6; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   SPOTLIGHT SECTION
   ═══════════════════════════════════════════════════════════════ */

.spotlight {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(184,21,44,.08), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spotlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.spotlight-text ul {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spotlight-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
  transition: color .3s, transform .3s var(--ease-spring);
}
.spotlight-text ul li:hover {
  color: var(--text);
  transform: translateX(4px);
}
.spotlight-text ul li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-hi), var(--accent));
  box-shadow: 0 0 10px var(--accent-glow);
  margin-top: 2px;
  position: relative;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.spotlight-text ul li:hover::before {
  transform: scale(1.15);
  box-shadow: 0 0 16px var(--accent-hi);
}
.spotlight-text ul li strong { color: var(--text); font-weight: 600; }

/* Chat preview mockup */
.chat-preview {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 40px -10px rgba(225,29,58,.12);
  position: relative;
  animation: chatFloat 6s ease-in-out infinite;
}
@keyframes chatFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.chat-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent);
  opacity: .7;
}
.chat-preview::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(225,29,58,.3) 50%, transparent 60%);
  opacity: 0;
  animation: chatShine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  filter: blur(14px);
}
@keyframes chatShine {
  0%,80%,100% { opacity: 0; }
  85%         { opacity: .6; }
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.chat-header .dot-group { display: flex; gap: 6px; }
.chat-header .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.chat-header .dot.red { background: #ff5f56; }
.chat-header .dot.yellow { background: #ffbd2e; }
.chat-header .dot.green { background: #27c93f; }
.chat-header .title {
  font-size: 12px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  margin-left: auto;
}
.chat-body { display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 85%;
  animation: msgIn .55s var(--ease-spring) backwards;
}
.chat-msg.bot {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.bot strong { color: var(--accent-hi); }
.chat-msg.user {
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg:nth-child(1) { animation-delay: .1s; }
.chat-msg:nth-child(2) { animation-delay: .4s; }
.chat-msg:nth-child(3) { animation-delay: .75s; }
.chat-msg:nth-child(4) { animation-delay: 1.1s; }
.chat-typing {
  display: inline-flex; gap: 4px;
  padding: 12px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-self: flex-start;
  animation: msgIn .5s var(--ease-spring) 1.35s backwards;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3);
  animation: typingDot 1.3s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

/* ═══════════════════════════════════════════════════════════════
   NICHES
   ═══════════════════════════════════════════════════════════════ */

.niches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.niche {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .4s var(--ease-spring), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.niche::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 180px at var(--mx) var(--my),
    rgba(225, 29, 58, 0.10),
    transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.niche:hover {
  --lift: -3px;
  border-color: rgba(225,29,58,.35);
  box-shadow: 0 18px 36px -16px rgba(184,21,44,.28);
}
.niche:hover::after { opacity: 1; }
.niche-emoji {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .4s var(--ease-spring);
}
.niche:hover .niche-emoji {
  transform: scale(1.15) rotate(-6deg);
}
.niche h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.niche p {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .45s var(--ease-spring), border-color .3s, box-shadow .35s;
  /* overflow: visible — allows "MAIS VENDIDO" badge at top:-12px to render outside card.
     Spotlight ::after still clips via its own border-radius:inherit */
}
.plan::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 320px at var(--mx) var(--my),
    rgba(225, 29, 58, 0.12),
    transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 30px 60px -20px rgba(184,21,44,.3), 0 0 0 1px rgba(225,29,58,.2) inset;
  --lift: -6px;
}
.plan.featured::before {
  content: 'MAIS VENDIDO';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
  z-index: 3;
  animation: featuredPulse 2.4s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 4px 12px -2px var(--accent-glow); }
  50%      { box-shadow: 0 4px 20px rgba(225,29,58,.55); }
}
.plan:hover:not(.featured) {
  --lift: -4px;
  border-color: rgba(225, 29, 58, .35);
  box-shadow: 0 30px 60px -20px rgba(184,21,44,.25);
}
.plan.featured:hover { --lift: -10px; }
.plan:hover::after { opacity: 1; }

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan-price .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}
.plan-price .amount .currency { font-size: 26px; color: var(--text-2); margin-right: 4px; }
.plan-price .period {
  font-size: 14px;
  color: var(--text-3);
}
.plan-pitch {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.45;
  min-height: 40px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  align-items: flex-start;
  transition: transform .3s var(--ease-spring);
}
.plan-features li:hover { transform: translateX(3px); }
.plan-features li::before {
  content: '✓';
  color: var(--accent-hi);
  font-weight: 800;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(225,29,58,.5);
}
.plan .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: border-color .3s;
}
.faq-item[open] {
  border-bottom-color: rgba(225,29,58,.2);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 0;
  list-style: none;
  transition: color .2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent-hi); }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-hi);
  transition: transform .35s var(--ease-spring), background .3s, border-color .3s;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--accent-soft);
  border-color: rgba(225,29,58,.3);
}
.faq-question:hover::after {
  background: var(--accent-soft);
  border-color: rgba(225,29,58,.35);
}
.faq-answer {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
  padding: 14px 0 4px;
  animation: faqIn .35s var(--ease-smooth);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════ */

.final-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(184,21,44,.18), transparent 70%),
    var(--bg);
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(225,29,58,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,29,58,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.05;
  position: relative;
  z-index: 1;
}
.final-cta p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.final-cta > .container > div:last-child {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  position: relative;
  z-index: 3;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 14px;
}
.footer-meta {
  font-size: 12px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .niches-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { --lift: 0px; }
  .spotlight-content { grid-template-columns: 1fr; gap: 40px; }
  nav.nav-links { display: none; }
  section { padding: 72px 0; }
  section.hero { padding: 72px 0 56px; }
  .final-cta { padding: 90px 0; }
  .orb { filter: blur(40px); }
  .orb-1, .orb-2, .orb-3 { width: 280px; height: 280px; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ═══════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-spring);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-canvas, .orb, .grain { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════ */

.video-section {
  padding: 80px 0 40px;
}

.video-wrapper {
  max-width: 920px;
  margin: 40px auto 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0c0c10 0%, #1a0d0d 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(220, 38, 38, 0.15), 0 0 0 1px rgba(255,255,255,0.05);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
}

.video-placeholder .play-icon {
  font-size: 56px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #ff6464;
}

.video-placeholder p {
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  line-height: 1.5;
}

.video-placeholder a {
  color: #ff6464;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   PLAN — installment + badge (oferta one-time vs subscription)
   ═══════════════════════════════════════════════════════════════ */

.plan-installment {
  margin: -8px 0 14px;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.plan {
  position: relative;
}

.plan-features li strong {
  color: var(--text-1);
  font-weight: 700;
}
