/* ══════════════════════════════════════════════════════
   PorciGest Pro — Marketing Website
   Linear-Style Dark · Purple Accents · Wallpaper Duotone
   ══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --primary: #7b39fc;
  --primary-hover: #6a2ce0;
  --primary-soft: rgba(123, 57, 252, 0.15);
  --secondary: #2b2344;
  --secondary-hover: #352b54;
  --accent: #f87b52;
  --accent-soft: rgba(248, 123, 82, 0.15);
  --glass-border: rgba(164, 132, 215, 0.5);
  --glass-bg: rgba(85, 80, 110, 0.4);

  --bg-base: #08070d;
  --bg-card: #15131e;
  --bg-elevated: #1c1929;
  --bg-soft: rgba(28, 25, 41, 0.6);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-faded: rgba(255, 255, 255, 0.4);

  --green: #2dd47e;
  --red: #f87171;

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

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
  --shadow-purple: 0 8px 32px rgba(123, 57, 252, 0.35);

  --nav-height: 76px;

  /* ── Compatibilidad con auth.css (tema viejo) ── */
  --bg-primary: #08070d;
  --bg-secondary: #0f0d18;
  --bg-surface: #15131e;
  --bg-surface-2: #1c1929;
  --bg-surface-3: #262234;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-accent: #f87b52;
  --amber-300: #ffd6a8;
  --amber-400: #ffc78a;
  --amber-500: #f87b52;
  --amber-600: #e26a3f;
  --amber-glow: rgba(248, 123, 82, 0.15);
  --amber-glow-strong: rgba(248, 123, 82, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(248, 123, 82, 0.3);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a47cff; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: white; }

/* ── A11Y SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 12px 18px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: white; }

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

/* ── UTILITIES ── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.text-accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #c4a8ff 0%, #f87b52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════
   BACKGROUND DUOTONE WALLPAPER
   ══════════════════════════════════════════════════════ */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-base);
}

/* CRITICAL: every child of .bg-wrap must NOT capture clicks */
.bg-wrap > * {
  pointer-events: none !important;
}

.bg-image {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 35%;
  filter: blur(3px) saturate(0.55) brightness(0.55) contrast(1.05);
  animation: kenburns 40s ease-in-out infinite alternate;
  opacity: 0.85;
}
@keyframes kenburns {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

.bg-duotone {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 57, 252, 0.55) 0%, rgba(43, 35, 68, 0.35) 50%, rgba(248, 123, 82, 0.25) 100%);
  mix-blend-mode: color;
}
.bg-darken { position: absolute; inset: 0; background: rgba(8, 7, 13, 0.55); }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
}

.bg-glow-1 {
  position: absolute;
  top: -150px; left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(123, 57, 252, 0.40) 0%, transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.bg-glow-2 {
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248, 123, 82, 0.22) 0%, transparent 60%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
  mix-blend-mode: screen;
}
.bg-glow-3 {
  position: absolute;
  top: 40%; right: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 126, 0.12) 0%, transparent 60%);
  animation: drift 26s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.1); }
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%, transparent 0%, rgba(8, 7, 13, 0.45) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg-base) 100%);
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* main + footer en z-index bajo, navbar (fixed) sube SOLO via .navbar */
main, footer { position: relative; z-index: 5; }
header { position: relative; z-index: 1000; }

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.40s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1001;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  pointer-events: auto;
}
.navbar * { pointer-events: auto; }
.navbar.scrolled {
  background: rgba(8, 7, 13, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.logo-square {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-text { color: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nav-links > a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}
.nav-links > a.active {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.nav-login {
  font-family: 'Cabin', sans-serif !important;
  font-weight: 600 !important;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-full) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-left: 8px;
}
.nav-login:hover { background: rgba(85, 80, 110, 0.6) !important; }

.nav-cta {
  font-family: 'Cabin', sans-serif !important;
  font-weight: 600 !important;
  background: var(--primary);
  color: white !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-full) !important;
  margin-left: 6px;
  box-shadow: 0 4px 16px rgba(123, 57, 252, 0.3);
}
.nav-cta:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(123, 57, 252, 0.45);
}

.mobile-toggle {
  display: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 10px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO (Split 60/40)
   ══════════════════════════════════════════════════════ */
.hero {
  padding: 140px 0 60px;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-left { animation: fadeInUp 0.7s ease-out; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 6px 18px 6px 6px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  font-family: 'Cabin', sans-serif;
  font-size: 14px;
  color: white;
}
.hero-tag-pill {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}
.hero h1 .gradient-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #c4a8ff 0%, #f87b52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-description strong { color: white; font-weight: 600; }

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

.btn-primary {
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(123, 57, 252, 0.3);
  letter-spacing: 0.01em;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(123, 57, 252, 0.45);
  color: white;
}

.btn-secondary {
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  color: white;
}

.hero-microcopy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-strip { padding-top: 24px; border-top: 1px solid var(--border); }
.trust-label {
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faded);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.trust-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.trust-logo:hover { color: white; }

/* ── HERO RIGHT (3 cards flotantes) ── */
.hero-right { position: relative; min-height: 540px; }

.dash-card {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -20px rgba(123, 57, 252, 0.4);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.dash-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(28, 25, 41, 0.5) 0%, transparent 100%);
}
.dash-title { display: flex; align-items: center; gap: 10px; }
.dash-title-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.dash-title-text { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: white; }
.dash-title-sub { font-size: 11px; color: var(--text-muted); }
.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  padding: 4px 10px;
  background: rgba(45, 212, 126, 0.12);
  border: 1px solid rgba(45, 212, 126, 0.25);
  border-radius: var(--radius-full);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.dash-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; }
.kpi-label {
  font-family: 'Cabin', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faded);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.kpi-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.kpi-trend { font-size: 10px; font-weight: 600; margin-top: 4px; color: var(--green); }
.kpi-trend.up::before { content: '↑ '; }
.kpi-trend.warn { color: var(--accent); }
.kpi-trend.warn::before { content: '⚠ '; }

.chart-card { padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; }
.chart-card .chart-title {
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.chart-card .chart-title strong { color: var(--green); font-family: 'JetBrains Mono', monospace; }
.chart-svg { width: 100%; height: 50px; display: block; }
.chart-svg path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-svg .area { fill: rgba(123, 57, 252, 0.15); stroke: none; }

.notif-card {
  position: absolute;
  top: 110px; left: -40px;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 30px -10px rgba(0, 0, 0, 0.7);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transform: rotate(-3deg);
}
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-content { flex: 1; min-width: 0; }
.notif-title {
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.notif-text { font-size: 13px; color: white; font-weight: 500; line-height: 1.35; }
.notif-text strong { color: var(--accent); }
.notif-time { font-size: 10px; color: var(--text-faded); margin-top: 4px; }

.ai-card {
  position: absolute;
  bottom: -10px; left: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 50px -15px rgba(123, 57, 252, 0.5);
  transform: rotate(2.5deg);
}
.ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.ai-icon-box {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c4a8ff 0%, #7b39fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.ai-title {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
}
.ai-title small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
}
.ai-msg { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-start; }
.ai-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-avatar { background: var(--bg-elevated); }
.bot-avatar {
  background: linear-gradient(135deg, #c4a8ff 0%, #7b39fc 100%);
  color: white;
}
.ai-bubble {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}
.ai-msg.user .ai-bubble { background: rgba(123, 57, 252, 0.12); border-color: rgba(123, 57, 252, 0.3); }
.ai-bubble strong { color: white; }
.ai-confidence {
  display: inline-block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--green);
  background: rgba(45, 212, 126, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════ */
.stats-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 7, 13, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  padding: 0 16px;
  border-left: 1px solid var(--border);
  text-align: center;
}
.stat-item:first-child { border-left: none; }
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(135deg, #c4a8ff 0%, #f87b52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   SECTION HEADER COMÚN
   ══════════════════════════════════════════════════════ */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  border: 1px solid rgba(123, 57, 252, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-family: 'Cabin', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4a8ff;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: white;
}

.section-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   INTRO SEO
   ══════════════════════════════════════════════════════ */
.intro-seo { padding: 80px 0; background: rgba(8, 7, 13, 0.4); }
.intro-seo-content { text-align: center; max-width: 880px; margin: 0 auto; }
.intro-seo-content .section-badge { margin-bottom: 16px; }
.intro-paragraph {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  margin-top: 24px;
  text-align: left;
}
.intro-paragraph strong { color: white; font-weight: 600; }

/* ══════════════════════════════════════════════════════
   PLATFORM SHOWCASE
   ══════════════════════════════════════════════════════ */
.platform-showcase { background: rgba(8, 7, 13, 0.55); }

.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.showcase-block:last-child { margin-bottom: 0; }
.showcase-block.reverse .showcase-content { order: 2; }

.showcase-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: #c4a8ff;
  border: 1px solid rgba(123, 57, 252, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.showcase-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: white;
}
.showcase-content > p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.6;
}
.showcase-features { display: flex; flex-direction: column; gap: 14px; }
.showcase-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}
.showcase-features li strong { color: white; font-weight: 600; }
.sf-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}

.image-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-frame-dots {
  background: var(--bg-elevated);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.image-frame-dots span { width: 11px; height: 11px; border-radius: 50%; }
.image-frame-dots span:nth-child(1) { background: #ff5f57; }
.image-frame-dots span:nth-child(2) { background: #ffbd2e; }
.image-frame-dots span:nth-child(3) { background: #28ca42; }
.image-frame img { width: 100%; display: block; }

/* ══════════════════════════════════════════════════════
   FEATURES (20 módulos grid)
   ══════════════════════════════════════════════════════ */
.features { background: rgba(8, 7, 13, 0.55); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--glass-border);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(123, 57, 252, 0.25);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  letter-spacing: -0.01em;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ══════════════════════════════════════════════════════
   LIFECYCLE
   ══════════════════════════════════════════════════════ */
.lifecycle { background: rgba(8, 7, 13, 0.55); }
.lifecycle-visual { margin: 48px 0; display: flex; justify-content: center; }
.lifecycle-image {
  max-width: 800px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.lifecycle-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.lifecycle-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s;
}
.lifecycle-step:hover { border-color: var(--glass-border); transform: translateY(-2px); }
.lifecycle-icon { font-size: 28px; margin-bottom: 8px; }
.lifecycle-step h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.lifecycle-step p { font-size: 12px; color: var(--text-muted); }
.lifecycle-arrow { color: var(--accent); font-size: 20px; font-weight: 600; }

.lifecycle-explain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.explain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}
.explain-number {
  width: 36px; height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(123, 57, 252, 0.3);
}
.explain-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.explain-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.explain-card strong { color: white; }

/* ══════════════════════════════════════════════════════
   ADVANTAGES + ROLES
   ══════════════════════════════════════════════════════ */
.advantages { background: rgba(8, 7, 13, 0.55); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
}
.advantage-card:hover { border-color: var(--glass-border); transform: translateY(-2px); }
.advantage-emoji { display: inline-block; font-size: 32px; margin-bottom: 16px; }
.advantage-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.advantage-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

.roles-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
}
.roles-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.roles-subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 16px; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.role-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}
.role-icon { font-size: 32px; margin-bottom: 10px; }
.role-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}
.role-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════ */
.pricing { background: rgba(8, 7, 13, 0.55); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.pricing-toggle label {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.pricing-toggle label.active-label { color: white; }

.toggle-switch { position: relative; width: 52px; height: 28px; display: inline-block; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 22px; width: 22px;
  left: 2px; bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); border-color: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

.pricing-save-badge {
  background: var(--accent-soft);
  border: 1px solid rgba(248, 123, 82, 0.3);
  color: var(--accent);
  font-family: 'Cabin', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { border-color: var(--glass-border); transform: translateY(-3px); }
.plan-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(123, 57, 252, 0.08) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 40px rgba(123, 57, 252, 0.18);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-icon { font-size: 30px; margin-bottom: 12px; }
.plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.plan-tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 18px;
}

.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .amount { display: flex; align-items: baseline; }
.plan-price .currency {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-right: 2px;
}
.plan-price .price-value {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price .price-cents {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
}
.plan-price .period { font-size: 14px; color: var(--text-muted); margin-left: 4px; font-weight: 500; }

.plan-annual-price { font-size: 13px; color: var(--accent); margin-bottom: 18px; font-weight: 600; }

.plan-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.plan-spec {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}
.spec-icon { display: block; font-size: 16px; margin-bottom: 4px; }
.spec-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 14px;
}
.spec-label { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; }

.plan-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

.plan-modules-title {
  font-family: 'Cabin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.plan-module-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.plan-module-item {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.cross { color: var(--text-faded); flex-shrink: 0; }

.plan-cta {
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  margin-top: auto;
  transition: all 0.2s;
  text-decoration: none;
}
.plan-cta.primary, .plan-cta.featured-cta {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(123, 57, 252, 0.3);
}
.plan-cta.primary:hover, .plan-cta.featured-cta:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
}
.plan-cta.secondary {
  background: var(--secondary);
  color: white;
  border: 1px solid var(--border);
}
.plan-cta.secondary:hover { background: var(--secondary-hover); color: white; }

.plan-audience {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.plan-audience strong { color: white; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
.testimonials { background: rgba(8, 7, 13, 0.55); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--glass-border); transform: translateY(-2px); }
.testimonial-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: white;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.testimonial-author-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}
.testimonial-author-info p { font-size: 12.5px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════ */
.faq { background: rgba(8, 7, 13, 0.55); }
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--glass-border); }

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-chevron { color: var(--accent); font-size: 12px; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-content {
  padding: 0 26px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.faq-answer-content strong { color: white; }

/* ══════════════════════════════════════════════════════
   CTA + CONTACT
   ══════════════════════════════════════════════════════ */
.cta-section { background: linear-gradient(180deg, rgba(123, 57, 252, 0.08) 0%, transparent 100%); }
.cta-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 18px;
}
.cta-content p { font-size: 18px; color: var(--text-2); margin-bottom: 32px; line-height: 1.6; }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: white;
}
.contact-form-wrap h3 {
  font-family: 'Inter', sans-serif;
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.contact-form-wrap p { color: var(--text-muted); }
.contact-form-wrap label {
  color: var(--text-2);
  font-family: 'Cabin', sans-serif;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: white;
  border-radius: 10px;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.contact-form-wrap textarea { font-family: inherit; resize: vertical; }
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus { border-color: var(--primary); }
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder { color: var(--text-faded); }

.btn-full {
  background: var(--primary);
  color: white;
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-full);
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-full:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(123, 57, 252, 0.4); }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: rgba(8, 7, 13, 0.85);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 360px;
}
.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo span { color: var(--primary); }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all 0.2s;
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.footer-col h4 {
  font-family: 'Cabin', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faded);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 80px; }
  .hero-right { min-height: 500px; max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .lifecycle-explain { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-block { grid-template-columns: 1fr; gap: 32px; }
  .showcase-block.reverse .showcase-content { order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 900px) {
  .navbar .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(8, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 55;
    padding: 100px 20px;
  }
  .nav-links.open > a { font-size: 22px; color: white; }
  .mobile-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .lifecycle-explain { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .lifecycle-flow { flex-direction: column; }
  .lifecycle-arrow { transform: rotate(90deg); }
  .roles-section { padding: 40px 24px; }
  .ai-card { width: 280px; }
  .notif-card { width: 250px; left: 0; }
  .dash-card { max-width: 380px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item:nth-child(n) { border-left: none; padding-left: 0; padding-right: 0; }
  .stat-value { font-size: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-login { display: none; }
}
