/* ============================================================
   DAVTOOL AGENDA — LANDING REDESIGN
   Stack: HTML + CSS + JS | Dark-Tech Refined
   Tipografía: Space Grotesk (headings) + DM Sans (body)
   ============================================================ */

/* ============================================================
   TOKENS & VARIABLES
   ============================================================ */
:root {
  /* Brand */
  --brand: #c75e2a;
  --brand-glow: rgba(199, 94, 42, 0.35);
  --brand-dim: rgba(199, 94, 42, 0.12);
  --brand-light: #e07040;

  /* Dark palette */
  --bg-base: #0b0d0f;
  --bg-surface: #111316;
  --bg-card: #161a1e;
  --bg-card-hover: #1c2127;
  --bg-border: rgba(255, 255, 255, 0.07);
  --bg-border-strong: rgba(255, 255, 255, 0.12);

  /* Type */
  --text-primary: #f0f2f5;
  --text-secondary: #8a919c;
  --text-muted: #555d68;
  --text-accent: var(--brand-light);

  /* Light section overrides */
  --light-bg: #f4f5f7;
  --light-card: #ffffff;
  --light-text: #0f1115;
  --light-sub: #5a6270;
  --light-border: #e4e6ea;

  /* Sizing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-brand: 0 0 40px rgba(199, 94, 42, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ============================================================
   CANVAS PARTICLES (background)
   ============================================================ */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  max-width: 100vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  overflow: hidden;
}

/* ============================================================
   ICON PLACEHOLDERS
   (user replaces with real icons later)
   ============================================================ */
.icon-placeholder {
  width: 28px;
  height: 28px;
  background: rgba(199, 94, 42, 0.2);
  border: 1px solid rgba(199, 94, 42, 0.4);
  border-radius: 6px;
  flex-shrink: 0;
}
.icon-placeholder.lrg { width: 52px; height: 52px; border-radius: 12px; }
.icon-placeholder.sm  { width: 22px; height: 22px; }
.icon-placeholder.xs  { width: 18px; height: 18px; border-radius: 4px; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  transition: background 0.4s var(--ease), border-color 0.4s;
  overflow: hidden;
}

.header.scrolled {
  background: rgba(11, 13, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
}

.nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 16px var(--brand-glow);
}

.logo-mark.sm-mark {
  width: 28px;
  height: 28px;
}

.logo-inner {
  width: 14px;
  height: 14px;
  border: 2.5px solid rgba(255,255,255,0.9);
  border-radius: 3px;
  position: relative;
}

.logo-inner::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 2px;
  width: 2px;
  height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
}

.logo-inner::after {
  content: '';
  position: absolute;
  top: -5px;
  right: 2px;
  width: 2px;
  height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--brand-light);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-left: auto;
  flex-shrink: 1;
  overflow: hidden;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.005em;
}

.nav-links a:hover { color: var(--text-primary); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-primary-sm {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: var(--brand);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  box-shadow: 0 0 16px var(--brand-glow);
}
.btn-primary-sm:hover {
  background: var(--brand-light);
  box-shadow: 0 0 24px var(--brand-glow);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu ul {
  list-style: none;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  padding: 0.25rem 0;
}

.mobile-menu .mobile-cta {
  margin-top: 0.5rem;
  color: var(--brand-light);
  font-weight: 600;
}

/* ============================================================
   BUTTONS (reusable)
   ============================================================ */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
  box-shadow: 0 0 32px var(--brand-glow);
  letter-spacing: -0.01em;
}

.btn-hero-primary:hover {
  background: var(--brand-light);
  box-shadow: 0 0 48px rgba(199, 94, 42, 0.5);
  transform: translateY(-2px);
}

.btn-hero-primary svg {
  transition: transform 0.2s;
}
.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-border-strong);
  transition: all 0.2s;
}
.btn-hero-ghost:hover {
  color: var(--text-primary);
  border-color: var(--bg-border-strong);
  background: rgba(255,255,255,0.04);
}

.btn-hero-ghost.ghost-dark {
  color: var(--light-sub);
  border-color: var(--light-border);
}
.btn-hero-ghost.ghost-dark:hover {
  color: var(--light-text);
  background: rgba(0,0,0,0.04);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(199, 94, 42, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero content */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(199, 94, 42, 0.3);
  border-radius: 50px;
  background: var(--brand-dim);
  width: fit-content;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.title-highlight {
  color: var(--brand-light);
  position: relative;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.trust-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.av1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.av2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.av3 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.av4 { background: linear-gradient(135deg, var(--brand), var(--brand-light)); }

.hero-trust p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-trust strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Decorative line */
.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bg-border-strong), transparent);
}

/* ============================================================
   DASHBOARD MOCKUP — inspired by real panel
   ============================================================ */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--bg-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  animation: float-mock 6s ease-in-out infinite;
}

@keyframes float-mock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Top bar */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-border);
}

.mock-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.mock-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

.mock-brand-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mock-biz-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mock-plan-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.mock-plan-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* Usage bar */
.mock-usage-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--bg-border);
}

.mub-left {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mub-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mub-detail {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.mub-progress {
  width: 80px;
  flex-shrink: 0;
}

.mub-track {
  height: 4px;
  background: var(--bg-border-strong);
  border-radius: 2px;
  overflow: hidden;
}

.mub-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--brand-glow);
}

.mub-upgrade {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  background: var(--brand);
  color: white;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 4-stat cards */
.mock-4stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bg-border);
}

.m4s-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.5rem;
  text-align: center;
}

.m4s-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.m4s-num.blue   { color: #6366f1; }
.m4s-num.orange { color: #f59e0b; }
.m4s-num.green  { color: #22c55e; }
.m4s-num.red    { color: #ef4444; }

.m4s-lbl {
  font-size: 0.575rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Gestion section */
.mock-gestion {
  padding: 0.75rem 1rem 0.5rem;
}

.mock-gestion-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.mock-filters {
  display: flex;
  gap: 0.375rem;
}

.mf-select {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.3rem 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border-strong);
  border-radius: 5px;
  font-size: 0.575rem;
  color: var(--text-secondary);
}

.mf-date {
  flex: 1;
  padding: 0.3rem 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border-strong);
  border-radius: 5px;
  font-size: 0.575rem;
  color: var(--text-muted);
}

/* Appointment list */
.mock-appt-list {
  border-top: 1px solid var(--bg-border);
}

.appt-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--bg-border);
  transition: background 0.2s;
}

.appt-row:last-child { border-bottom: none; }

.appt-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.appt-dot.confirmed { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,0.5); }
.appt-dot.pending   { background: #f59e0b; box-shadow: 0 0 5px rgba(245,158,11,0.5); }
.appt-dot.cancelled { background: #ef4444; box-shadow: 0 0 5px rgba(239,68,68,0.5); }

.appt-info { flex: 1; }

.appt-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.appt-time {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.appt-badge {
  font-size: 0.575rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 50px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.appt-badge.pend {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.appt-badge.cancel {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--bg-border-strong);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.fc-notification {
  bottom: -24px;
  left: -24px;
  animation: float-card-a 5s ease-in-out infinite;
}

.fc-stat {
  top: 60px;
  right: -28px;
  flex-direction: column;
  align-items: flex-start;
  animation: float-card-b 5s ease-in-out infinite;
}

@keyframes float-card-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes float-card-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.fc-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-dim);
  border: 1px solid rgba(199, 94, 42, 0.3);
  border-radius: var(--radius-sm);
}

.fc-text strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.fc-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fc-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
}

.fc-small {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
  max-width: 100px;
  line-height: 1.3;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  background: var(--bg-surface);
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-num span {
  color: var(--brand-light);
}

.stat-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--bg-border-strong);
  flex-shrink: 0;
}

/* ============================================================
   FOR WHO SECTION
   ============================================================ */
.for-who {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  padding: 6rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 1rem;
}

.section-tag.light {
  color: var(--brand-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--light-text);
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
}

.section-title.light {
  color: var(--text-primary);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.who-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all 0.3s var(--ease);
}

.who-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(199, 94, 42, 0.12);
  transform: translateY(-4px);
}

.who-icon {
  margin-bottom: 1.25rem;
}

.who-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.who-card p {
  font-size: 0.9rem;
  color: var(--light-sub);
  line-height: 1.65;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  padding: 3rem 2rem 6rem;
  border-top: 1px solid var(--light-border);
}

.features-intro {
  margin-bottom: 4rem;
}

.features-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

/* Feature main (large card) */
.feature-main {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  transition: all 0.3s var(--ease);
}

.feature-main:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 48px rgba(199, 94, 42, 0.1);
}

.fm-icon {
  margin-bottom: 1.5rem;
}

.feature-main h3 {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.feature-main p {
  color: var(--light-sub);
  line-height: 1.75;
  font-size: 0.9625rem;
  margin-bottom: 2rem;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand);
}

.hl-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.hl-text {
  font-size: 0.875rem;
  color: var(--light-sub);
  line-height: 1.45;
}

/* Feature side cards */
.features-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(199, 94, 42, 0.08);
  transform: translateX(4px);
}

.fc-icon-sm {
  flex-shrink: 0;
}

.fc-body h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.fc-body p {
  font-size: 0.875rem;
  color: var(--light-sub);
  line-height: 1.6;
}

/* Bottom features */
.features-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.fb-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s var(--ease);
}

.fb-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(199, 94, 42, 0.1);
  transform: translateY(-3px);
}

.fb-card .icon-placeholder {
  margin-bottom: 1rem;
}

.fb-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.fb-card p {
  font-size: 0.85rem;
  color: var(--light-sub);
  line-height: 1.6;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  position: relative;
  z-index: 1;
  background: var(--bg-base);
  padding: 7rem 2rem;
  border-top: 1px solid var(--bg-border);
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(199, 94, 42, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-light);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(199, 94, 42, 0.3);
  border-radius: 50px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: var(--brand-light);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

/* Pricing grid — 2 cards only */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 840px;
  margin: 0 auto 3rem;

   align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);

  display: flex;              
  flex-direction: column;     
  height: 100%;               
}

.pricing-card:hover {
  border-color: rgba(199, 94, 42, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.pricing-card.featured {
  border-color: rgba(199, 94, 42, 0.5);
  box-shadow: 0 0 60px rgba(199, 94, 42, 0.12), 0 24px 64px rgba(0,0,0,0.5);
}

.pc-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 50% 0%, rgba(199, 94, 42, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.pc-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.875rem;
  background: var(--brand);
  color: white;
  border-radius: 50px;
  box-shadow: 0 0 16px var(--brand-glow);
}

.pc-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bg-border);
}

.pc-plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.pc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.pc-price-row {
  display: flex;
  align-items: flex-end; 
  gap: 0.35rem;
}

.pc-currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pc-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pc-amount {
  min-width: 4ch;        
  text-align: left;
}

.pc-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pc-note {
  font-size: 0.8125rem;
  color: var(--brand-light);
  font-weight: 500;
  margin-top: 0.625rem;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;

  flex-grow: 1; 
}

.pc-features li {
  display: flex;
  align-items: flex-start; 
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-border);
}

.pc-features li:last-child {
  border-bottom: none;
}

.pc-features li {
  min-height: 56px;           /* 👈 sube un poco */
  align-items: center;        /* 👈 REGRESA a center */
}

.check-wrap {
  width: 22px;
  height: 22px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #22c55e;
}

.check-wrap.gold {
  background: var(--brand-dim);
  border-color: rgba(199, 94, 42, 0.35);
  color: var(--brand-light);
}

.pc-cta {
  display: block;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
  letter-spacing: -0.01em;
}

.pc-cta.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 32px var(--brand-glow);
}

.pc-cta.primary:hover {
  background: var(--brand-light);
  box-shadow: 0 0 48px rgba(199, 94, 42, 0.5);
  transform: translateY(-2px);
}

.pc-cta.secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--bg-border-strong);
}

.pc-cta.secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(199, 94, 42, 0.4);
  transform: translateY(-2px);
}

/* Guarantee strip */
.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: fit-content;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
}

.pg-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.pg-divider {
  width: 1px;
  height: 24px;
  background: var(--bg-border-strong);
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  padding: 7rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-bg-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-inner .section-tag {
  margin-bottom: 1.25rem;
}

.cta-inner h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--light-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: var(--light-sub);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-detail {
  font-size: 0.8125rem;
  color: #9ca3af;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080a0c;
  border-top: 1px solid var(--bg-border);
  padding: 4rem 2rem 2rem;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-contact {
  margin-top: 1.25rem;
}

.footer-contact a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--brand-light); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fl-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.fl-col ul { list-style: none; }

.fl-col li { margin-bottom: 0.875rem; }

.fl-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.fl-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
.who-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.who-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.who-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.features-side [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.features-side [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.features-side [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.features-bottom [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.features-bottom [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.features-bottom [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.pricing-grid [data-animate]:nth-child(2) { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet grande: 1100px --- */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .dashboard-mock {
    width: 100%;
  }

  .float-card { display: none; }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-layout {
    grid-template-columns: 1fr;
  }

  .features-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Nav colapsa a 900px para evitar overflow --- */
@media (max-width: 900px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-mobile-toggle {
    display: flex;
    margin-left: auto;
  }
  .mobile-menu { display: block; }
}

/* --- Tablet pequeña / móvil grande: 768px --- */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  /* Hero */
  .hero {
    padding: 6rem 1.25rem 3.5rem;
  }

  .hero-container {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 2.75rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  /* Stats */
  .stats-bar {
    padding: 2rem 1.25rem;
  }

  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .stat-divider { display: none; }

  .stat-item {
    flex: none;
    width: 100%;
  }

  /* For who */
  .for-who {
    padding: 4rem 1.25rem;
  }

  .who-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Features */
  .features {
    padding: 2rem 1.25rem 4rem;
  }

  .feature-main {
    padding: 2rem 1.5rem;
  }

  .features-bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Pricing */
  .pricing {
    padding: 4rem 1.25rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-guarantee {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem;
  }

  .pg-divider { display: none; }

  /* CTA */
  .cta-section {
    padding: 4rem 1.25rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btns .btn-hero-primary,
  .cta-btns .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 3rem 1.25rem 2rem;
  }

  .footer-top {
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* General */
  .section-title {
    font-size: clamp(1.625rem, 5vw, 2rem);
  }

  .container {
    padding: 0;
  }
}

/* --- Móvil pequeño: 480px --- */
@media (max-width: 480px) {
  .hero {
    padding: 5.5rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-label {
    font-size: 0.7rem;
  }

  /* Stats: columna única */
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  /* Mock body height reducido en móvil */
  .mock-body {
    height: 280px;
  }

  .mock-sidebar {
    width: 40px;
    padding: 0.75rem 0.5rem;
  }

  .mock-main {
    padding: 0.875rem;
    gap: 0.75rem;
  }

  .mstat-value {
    font-size: 1rem;
  }

  .chart-bars {
    height: 50px;
  }

  /* Pricing */
  .pricing-grid {
    gap: 1rem;
  }

  .pc-amount {
    font-size: 2.75rem;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Secciones */
  .for-who, .features, .pricing, .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .who-card, .fb-card {
    padding: 1.5rem 1.25rem;
  }

  .feature-main {
    padding: 1.75rem 1.25rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .pricing-guarantee {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.625rem;
  }
}


.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}