/* ===================================================
   InventaPy Landing Page – styles.css (rediseño 2026)
   Light-locked, acento violeta de marca, neutros slate.
   Nombres de clase preservados para no romper app.js.
   =================================================== */

:root {
  /* Acento de marca (violeta) */
  --purple: #6d28d9;
  --purple-dark: #5b21b6;
  --purple-light: #f3f0ff;
  --purple-ring: rgba(109, 40, 217, 0.14);

  /* Colores de apoyo (solo en iconos/estados, no como acentos globales) */
  --blue: #2563eb;
  --green: #059669;
  --orange: #ea580c;
  --red: #dc2626;
  --teal: #0d9488;

  /* Neutros (slate) */
  --ink: #0b1020;         /* casi negro para superficies oscuras */
  --ink2: #131a2e;
  --ink3: #1e2740;
  --text: #16182b;        /* texto principal */
  --text-light: #5b6478;  /* texto secundario */
  --line: #e7e9f0;        /* bordes */
  --surface: #ffffff;
  --surface-2: #f7f8fb;   /* fondo de sección alterno */
  --surface-3: #f0f2f7;

  --font: 'Inter', system-ui, sans-serif;

  /* Radios (sistema único) */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Sombras tintadas al fondo, nunca negro puro */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow: 0 8px 24px rgba(20, 24, 51, 0.07);
  --shadow-lg: 0 24px 60px rgba(20, 24, 51, 0.12);
  --shadow-violet: 0 16px 40px rgba(109, 40, 217, 0.22);

  --t: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 88px; }
body {
  font-family: var(--font); color: var(--text); background: var(--surface);
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }

::selection { background: var(--purple); color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; border: 1.5px solid transparent; transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-violet); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); background: var(--purple-light); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,0.28); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-whatsapp:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0; transition: background var(--t), box-shadow var(--t), padding var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; display: block; width: 40px; height: auto; }
.logo-word { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.navbar.scrolled .logo-word { color: var(--text); }
.logo-word-accent { color: #60a5fa; }
.navbar.scrolled .logo-word-accent { color: #2563eb; }
.logo-footer .logo-mark { width: 44px; }
.logo-footer .logo-word { color: #fff; font-size: 22px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,0.82); transition: color var(--t);
}
.navbar.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: #fff; }
.navbar.scrolled .nav-links a.active { color: var(--purple); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--purple); border-radius: 2px;
}
.nav-cta { margin-left: 4px; }
.navbar:not(.scrolled) .nav-cta { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); box-shadow: none; color: #fff; }
.navbar:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--purple); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.navbar.scrolled .hamburger span { background: var(--text); }

/* ===== SECTION BASE ===== */
.section { padding: 104px 0; }
.section-light { background: var(--surface-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-pricing { background: var(--surface-2); }
.section-faq { background: var(--surface); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-header h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 14px 0 14px; line-height: 1.08; }
.section-header p { font-size: 18px; color: var(--text-light); line-height: 1.6; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.66); }

.section-badge {
  display: inline-block; background: var(--purple-light); color: var(--purple);
  padding: 6px 14px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-light { background: rgba(255,255,255,0.10); color: #c4b5fd; border: 1px solid rgba(196,181,253,0.25); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #241b4a 0%, var(--ink2) 42%, var(--ink) 100%);
  padding: 150px 0 130px; min-height: 100dvh; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 78% 42%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(closest-side at 12% 88%, rgba(37, 99, 235, 0.18), transparent 70%);
}
/* rejilla sutil sobre el hero (decoración con función: aporta profundidad) */
.hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  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;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 75%);
}
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-text { color: #fff; }
.hero-text h1 {
  font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 22px;
}
.hero-text h1 .accent { color: #a78bfa; }
.gradient-text { background: linear-gradient(100deg, #a78bfa, #60a5fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 18px; color: rgba(255,255,255,0.72); margin-bottom: 34px; line-height: 1.65; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; align-items: center; gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat span { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,0.14); }

.hero-visual { position: relative; }
.hero-mockup {
  background: var(--ink3); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.mockup-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-bar span:first-child { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.hero-mockup img { width: 100%; object-fit: cover; }

.hero-float-card {
  position: absolute; background: #fff; border-radius: var(--r); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-float-card { animation: float 4s ease-in-out infinite; }
}
.hero-float-card i { font-size: 22px; }
.hero-float-card strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); }
.hero-float-card small { font-size: 11px; color: var(--text-light); }
.card-1 { bottom: -22px; left: -28px; }
.card-2 { top: -18px; right: -22px; animation-delay: 1.6s; }
.text-green { color: var(--green); }
.text-purple { color: var(--purple); }
.text-blue { color: var(--blue); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-wave { display: none; }

/* ===== SCREENSHOTS SWIPER ===== */
.screenshots-swiper { padding: 0 8px 52px !important; }
.screenshot-frame {
  border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.screenshot-frame a { display: block; position: relative; cursor: zoom-in; }
.screenshot-frame a::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 14px; right: 14px;
  background: rgba(11,16,32,0.62); color: #fff;
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.screenshot-frame a:hover::after { opacity: 1; }
.screenshot-frame img {
  width: 100%; height: auto; display: block;
  background: var(--surface-3);
}
.screenshot-caption { padding: 20px 24px; background: #fff; border-top: 1px solid var(--line); }
.screenshot-caption h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.screenshot-caption h4 i { color: var(--purple); }
.screenshot-caption p { font-size: 14px; color: var(--text-light); }
.swiper-button-prev, .swiper-button-next { color: var(--purple) !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 22px !important; font-weight: 800; }
.swiper-pagination-bullet { background: #cbd0dd; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--purple) !important; width: 22px; border-radius: 5px; }

/* ===== FEATURES (bento con ritmo, no 3 tarjetas iguales) ===== */
.features-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border-radius: var(--r-lg); padding: 30px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  grid-column: span 2;
}
/* primera fila: 2 tarjetas anchas (span 3) + una alta a la derecha */
.feature-card:nth-child(1) { grid-column: span 3; }
.feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--purple-ring); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 18px;
}
.bg-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.bg-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.bg-red { background: linear-gradient(135deg, #f87171, #dc2626); }
.bg-teal { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.6; }

/* ===== MODULES (banda oscura) ===== */
.modules-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.module-featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-lg); padding: 38px;
  transition: border-color var(--t), transform var(--t);
}
.module-featured:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-4px); }
.module-icon-big {
  width: 60px; height: 60px; background: linear-gradient(135deg, #7c3aed, #6d28d9); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 20px;
}
.module-icon-big.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.module-featured h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.module-featured p { color: rgba(255,255,255,0.66); font-size: 15px; margin-bottom: 22px; line-height: 1.65; }
.module-checklist { display: grid; gap: 10px; }
.module-checklist li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.86); font-size: 14.5px; }
.module-checklist i { color: #34d399; font-size: 15px; flex-shrink: 0; }

.modules-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.module-card {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r); padding: 22px 16px; text-align: center; transition: var(--t);
}
.module-card:hover { background: rgba(124,58,237,0.16); border-color: rgba(167,139,250,0.4); transform: translateY(-4px); }
.module-card i { font-size: 24px; color: #a78bfa; margin-bottom: 10px; display: block; }
.module-card h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.module-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* ===== USE CASES ===== */
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 16px 20px; text-align: center; transition: var(--t); box-shadow: var(--shadow-sm);
}
.usecase-card:hover { border-color: var(--purple-ring); transform: translateY(-5px); box-shadow: var(--shadow); }
.usecase-img-wrap {
  width: 100%; aspect-ratio: 1 / 1; margin: 0 auto 14px; border-radius: var(--r);
  overflow: hidden; background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
}
.usecase-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.usecase-card:hover .usecase-img-wrap img { transform: scale(1.06); }
.usecase-card h4 { font-size: 15px; font-weight: 700; color: var(--text); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }
.testimonial-card {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stars { color: #f59e0b; margin-bottom: 14px; font-size: 14px; display: flex; gap: 3px; }
.testimonial-card p { font-size: 15.5px; color: var(--text); margin-bottom: 22px; line-height: 1.65; }
.client-info { display: flex; align-items: center; gap: 12px; }
.client-avatar {
  width: 44px; height: 44px; background: linear-gradient(135deg, #7c3aed, #6d28d9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.client-avatar.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.client-avatar.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.client-info strong { display: block; font-size: 14.5px; font-weight: 700; }
.client-info small { font-size: 12.5px; color: var(--text-light); }

/* ===== CLIENT LOGO MARQUEE ===== */
.logos-track-wrapper {
  overflow: hidden; padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logos-track { display: flex; gap: 32px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .logos-track { animation: marquee-logos 34s linear infinite; }
  .logos-track:hover { animation-play-state: paused; }
}
.logos-slide {
  flex-shrink: 0; width: 168px; height: 120px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.logos-slide:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.logos-slide img { width: 100%; height: 100%; object-fit: contain; padding: 20px; filter: grayscale(1); opacity: 0.72; transition: var(--t); }
.logos-slide:hover img { filter: grayscale(0); opacity: 1; }
@keyframes marquee-logos { to { transform: translateX(-50%); } }

/* ===== PRICING ===== */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 52px; }
.toggle-label { font-size: 15.5px; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; }
.badge-discount { background: #dcfce7; color: var(--green); padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; margin-left: 6px; }
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #cbd0dd; border-radius: var(--r-pill); cursor: pointer; transition: var(--t); }
.toggle-slider::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: var(--t); box-shadow: var(--shadow-sm); }
.toggle-switch input:checked + .toggle-slider { background: var(--purple); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--purple); box-shadow: var(--shadow-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, #a78bfa, #6d28d9) border-box;
  border: 1.5px solid transparent;
}
.pricing-card.featured::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, var(--purple-light), transparent 60%);
}
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff;
  padding: 6px 18px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-violet); z-index: 1;
}
.plan-header { margin-bottom: 20px; position: relative; }
.plan-header h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan-desc { font-size: 14px; color: var(--text-light); }
.plan-price { margin-bottom: 26px; min-height: 66px; position: relative; }
.price-monthly { display: flex; align-items: baseline; gap: 4px; }
.currency { font-size: 20px; font-weight: 700; }
.amount { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.period { font-size: 15px; color: var(--text-light); }
.price-original { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.currency-sm { font-size: 15px; font-weight: 600; color: var(--text-light); }
.strikethrough { font-size: 22px; font-weight: 700; color: var(--text-light); text-decoration: line-through; }
.period-sm { font-size: 13px; color: var(--text-light); }
.discount-badge { display: inline-block; background: #dcfce7; color: var(--green); padding: 3px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.price-discounted { display: flex; align-items: baseline; gap: 4px; }

.plan-features { display: grid; gap: 11px; margin-bottom: 28px; position: relative; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.plan-features i { color: var(--green); font-size: 13px; flex-shrink: 0; }
.plan-features .fa-wand-magic-sparkles { color: var(--purple); }
.plan-features .fa-share-nodes { color: var(--blue); }
.feat-addon { color: var(--text-light); }
.feat-addon .fa-file-invoice { color: var(--text-light); }
.addon-tag {
  display: inline-block; margin-left: 4px; font-size: 11px; font-weight: 700;
  color: var(--orange); background: #fff3e8; padding: 1px 8px; border-radius: var(--r-pill);
}
.included-trial { color: var(--purple); font-weight: 600; }
.included-trial i { color: var(--purple); }
.pricing-card .btn { position: relative; }

/* ===== FAQ ===== */
.faq-grid { max-width: 800px; margin: 0 auto 48px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color var(--t), box-shadow var(--t); }
.faq-item.open { border-color: var(--purple); box-shadow: 0 6px 24px var(--purple-ring); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--text); text-align: left;
}
.faq-question:hover, .faq-item.open .faq-question { color: var(--purple); }
.faq-question i { font-size: 13px; color: var(--purple); flex-shrink: 0; transition: transform var(--t); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; }
.faq-answer p { font-size: 15px; color: var(--text-light); line-height: 1.72; padding-bottom: 20px; }
.faq-answer strong { color: var(--text); }
.faq-item.open .faq-answer { max-height: 340px; padding: 0 24px; }
.faq-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.faq-cta p { font-size: 17px; font-weight: 600; color: var(--text-light); }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.contact-form-wrapper { background: #fff; border-radius: var(--r-lg); padding: 40px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.required { color: var(--red); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font); font-size: 15px; color: var(--text); background: var(--surface);
  transition: border-color var(--t), box-shadow var(--t); outline: none; -webkit-appearance: none; appearance: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa2b4; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-ring); }
.contact-form input.error, .contact-form select.error { border-color: var(--red); }
.field-error { display: block; font-size: 12px; color: var(--red); margin-top: 4px; min-height: 16px; }

.contact-info { display: grid; gap: 18px; }
.info-card { background: linear-gradient(150deg, var(--purple), var(--blue)); border-radius: var(--r-lg); padding: 28px; color: #fff; }
.info-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.info-card p { font-size: 14px; opacity: 0.9; margin-bottom: 18px; }
.info-card .btn-whatsapp { background: #fff; color: #128c3f; box-shadow: none; }
.info-card .btn-whatsapp:hover { background: #f0fff5; }
.info-items { display: grid; gap: 16px; background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-item { display: flex; align-items: center; gap: 14px; }
.info-item i { font-size: 20px; width: 26px; text-align: center; flex-shrink: 0; }
.info-item strong { display: block; font-size: 12.5px; color: var(--text-light); font-weight: 600; }
.info-item a { font-size: 15px; font-weight: 600; color: var(--text); transition: color var(--t); }
.info-item a:hover { color: var(--purple); }
.guarantee-box { display: flex; align-items: center; gap: 14px; background: var(--purple-light); border-radius: var(--r); padding: 18px 20px; }
.guarantee-box i { font-size: 26px; color: var(--purple); flex-shrink: 0; }
.guarantee-box strong { display: block; font-size: 15px; color: var(--purple); font-weight: 700; }
.guarantee-box p { font-size: 13px; color: var(--text-light); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 20px; color: rgba(255,255,255,0.55); max-width: 34ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 16px; transition: var(--t); }
.footer-social a:hover { background: var(--purple); color: #fff; }
.footer-links h4, .footer-contact h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links ul, .footer-contact ul { display: grid; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-contact i { font-size: 14px; color: #a78bfa; width: 16px; text-align: center; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.38); }
.footer-seo { font-size: 11px !important; margin-top: 4px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,0.45); transition: var(--t);
}
@media (prefers-reduced-motion: no-preference) { .whatsapp-float { animation: pulse-wa 2.4s ease-in-out infinite; } }
.whatsapp-float:hover { transform: scale(1.08); }
.wa-tooltip { position: absolute; right: 66px; background: var(--ink2); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: var(--t); pointer-events: none; }
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45); } 50% { box-shadow: 0 8px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.08); } }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 999;
  width: 44px; height: 44px; background: var(--purple); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px;
  cursor: pointer; box-shadow: var(--shadow); transition: var(--t); opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--purple-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card, .feature-card:nth-child(1), .feature-card:nth-child(2) { grid-column: span 1; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content { gap: 40px; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 130px 0 90px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-stats, .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .modules-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .container { padding: 0 18px; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 64px; left: 0; right: 0; background: rgba(11,16,32,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 20px 24px; gap: 18px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a, .navbar.scrolled .nav-links a { color: rgba(255,255,255,0.85); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-form-wrapper { padding: 26px 20px; }
  .back-to-top { bottom: 88px; left: 16px; }
  .whatsapp-float { bottom: 20px; right: 16px; }
  .wa-tooltip { display: none; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
