/* ===================================
   KDS Landing Page - Modern Redesign
   Matching Dashboard Style
   =================================== */

/* Variables de Diseño (iguales al dashboard) */
:root {
  /* Colores principales - Basados en logo KDS */
  --primary: #1a5f7a;
  --primary-hover: #0f3d4f;
  --primary-light: #d4e9f0;
  
  --secondary: #57cc99;
  --success: #57cc99;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #2d8baa;
  
  /* Grises */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Backgrounds */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  
  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* Bordes y sombras */
  --border: #e2e8f0;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Espaciado */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  
  /* Transiciones */
  --transition: all 0.2s ease;
}

/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch optimization */
a, button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Safe area for notch devices */
@supports (padding: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
  }
}

/* ===================================
   HEADER/NAV
   =================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  line-height: 1;
}

.logo:hover,
.logo:focus-visible {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--spacing-sm);
  cursor: pointer;
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--bg-hover);
}

.mobile-menu-toggle.active svg line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active svg line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-toggle svg line {
  transition: var(--transition);
  transform-origin: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  min-height: 44px;
}

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

.nav-links a.cta {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
}

.nav-links a.cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  padding: calc(72px + var(--spacing-4xl)) var(--spacing-xl) var(--spacing-4xl);
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.5;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 20px;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 14px 32px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: var(--spacing-4xl) var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  color: var(--text-primary);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
  background: var(--bg-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  transition: transform 0.3s ease;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: var(--spacing-xl) auto 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-proof-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 0;
  padding: var(--spacing-lg);
}

.feature-proof-item + .feature-proof-item {
  border-left: 1px solid var(--border);
}

.feature-proof-item strong {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.feature-proof-item span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
  background: var(--bg-card);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-xl);
}

.step {
  text-align: center;
  padding: var(--spacing-lg);
}

.step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.step-number {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* ===================================
   KDS HOMEPAGE VISUAL REFRESH
   =================================== */
:root {
  --bg-main: #f4f7f5;
  --bg-card: #ffffff;
  --bg-hover: #eef5f2;
  --text-muted: #6b7b8b;
  --border-radius: 8px;
  --border-radius-sm: 8px;
  --border-radius-lg: 8px;
  --shadow-lg: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 18px 36px rgba(15, 23, 42, 0.1);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-size: 15px;
  background: var(--bg-main);
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
}

header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

nav {
  max-width: 1280px;
  height: 72px;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.nav-links a.nav-cta {
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  box-shadow: 0 5px 14px rgba(26, 95, 122, 0.15);
}

.nav-links a.nav-cta:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
}

.hero {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 132px max(6vw, 32px) 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  text-align: left;
  color: var(--text-primary);
  background-color: #f7faf8;
  background-image: linear-gradient(rgba(26, 95, 122, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 95, 122, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero::before {
  content: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(100%, 570px);
  justify-self: end;
}

.hero-eyebrow,
.product-overline {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  content: '';
}

.hero h1 {
  max-width: 590px;
  margin: 0 0 20px;
  color: var(--text-primary);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.08;
}

.hero p {
  max-width: 510px;
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  opacity: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero .cta-button,
.pricing-card .cta-button,
.contact .cta-button {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 95, 122, 0.16);
}

.hero .cta-button:hover,
.pricing-card .cta-button:hover,
.contact .cta-button:hover {
  background: var(--primary-hover);
  color: white;
}

.hero-secondary-link {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-secondary-link span {
  margin-left: 5px;
  color: var(--primary);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.proof-dot,
.product-live i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #32a77c;
  box-shadow: 0 0 0 4px rgba(50, 167, 124, 0.12);
}

.hero-product-wrap {
  position: relative;
  display: flex;
  width: min(100%, 340px);
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-product {
  overflow: hidden;
  padding: 20px 22px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.product-topbar,
.product-brand,
.product-live,
.product-heading,
.product-activity-heading,
.product-activity {
  display: flex;
  align-items: center;
}

.product-topbar,
.product-heading,
.product-activity-heading,
.product-activity {
  justify-content: space-between;
}

.product-brand {
  gap: 9px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.product-brand small {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.product-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
}

.product-live {
  gap: 8px;
  padding: 6px 9px;
  border-radius: 99px;
  background: #eff8f3;
  color: #26785c;
  font-size: 10px;
  font-weight: 700;
}

.product-live i {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  box-shadow: none;
}

.product-heading {
  align-items: end;
  margin: 28px 0 16px;
}

.product-heading h2 {
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 22px;
}

.product-date {
  color: var(--text-muted);
  font-size: 10px;
}

.product-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-metric {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #e9efec;
  border-radius: 6px;
}

.product-metric span,
.product-metric small {
  color: var(--text-muted);
  font-size: 10px;
}

.product-metric strong {
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  line-height: 1;
}

.product-metric small:not(.metric-waiting) {
  color: #25805e;
}

.product-metric .metric-waiting {
  color: #a36b20;
}

.product-activity-heading {
  margin: 22px 0 8px;
  font-size: 11px;
}

.product-activity-heading span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}

.product-activity {
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf1ef;
}

.activity-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  color: #244a42;
  font-size: 9px;
  font-weight: 700;
}

.avatar-mint { background: #d9f1e5; }
.avatar-blue { background: #dcecf3; }
.avatar-peach { background: #f8e8da; }

.activity-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.activity-copy strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy small {
  color: var(--text-muted);
  font-size: 9px;
}

.activity-status {
  padding: 4px 7px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
}

.status-new { background: #fff4df; color: #94621a; }
.status-done { background: #e8f6ef; color: #26785c; }

.product-note {
  position: absolute;
  right: -16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 6px;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.product-note-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  background: #e8f6ef;
  color: #25805e;
  font-size: 18px;
}

.product-note strong,
.product-note small {
  display: block;
}

.product-note strong {
  font-size: 10px;
}

.product-note small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
}

section:not(.hero) {
  width: min(100%, 1320px);
  padding: 76px 40px;
}

.section-title {
  margin-bottom: 38px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.features,
.benefits {
  background: #f4f7f5;
}

.flow-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.youtube-short {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 18px;
  background: #132b2a;
  box-shadow: 0 22px 48px rgba(20, 43, 42, 0.18);
}

.youtube-short-trigger,
.youtube-short iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.youtube-short-trigger {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #132b2a;
  cursor: pointer;
}

.youtube-short-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-short-play {
  position: absolute;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(15, 61, 79, 0.9);
  color: #fff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.youtube-short-play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.youtube-short-trigger:hover .youtube-short-play {
  transform: scale(1.08);
  background: var(--primary);
}

.youtube-short-trigger:focus-visible,
.hero-product-wrap .youtube-short-trigger:focus-visible,
.youtube-short-link:focus-visible {
  outline: 3px solid #f7b267;
  outline-offset: 4px;
}

.youtube-short iframe {
  display: block;
  border: 0;
}

.youtube-short-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.youtube-short-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.how-it-works,
.pricing {
  background: #fff;
}

.how-it-works-heading {
  max-width: 680px;
  margin: 0 auto 46px;
  text-align: center;
}

.how-it-works-heading .section-title {
  margin-bottom: 10px;
}

.how-it-works-heading > p {
  color: var(--text-secondary);
  font-size: 15px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.step {
  position: relative;
  min-width: 0;
  padding: 0 4px;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 76px;
  right: -21px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #7a9d8e;
  border-right: 2px solid #7a9d8e;
  content: '';
  transform: rotate(45deg);
}

.step-illustration {
  height: 166px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 12px;
}

.step-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}

.step-number {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 14px;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  font-size: 16px;
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.16);
}

.step h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 17px;
}

.step p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.feature-card,
.benefit-item,
.pricing-card {
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  border-radius: 8px;
  background: #e7f2ed;
}

.feature-icon svg {
  stroke: var(--primary);
}

.feature-card h3,
.step h3,
.benefit-item h3,
.pricing-card h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.step:hover {
  box-shadow: none;
}

.step-number {
  border-radius: 8px;
  background: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: #f3f8f6;
  transform: none;
}

.pricing-card.featured:hover {
  transform: translateY(-4px);
}

.pricing-card.corporativo {
  border-color: #92c9b2;
  background: linear-gradient(145deg, #f5faf7, #eaf5ef);
}

.pricing-card.corporativo:hover {
  border-color: #4c9c78;
  box-shadow: 0 18px 36px rgba(42, 117, 84, 0.12);
}

.pricing-card.corporativo .price {
  color: #28785a;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.corporate-badge {
  border-color: #92c9b2 !important;
  color: #28785a !important;
}

.pricing-card.corporativo .cta-button,
.corporate-cta {
  background: #28785a !important;
}

.pricing-card.corporativo .check-icon {
  stroke: #28785a;
}

.contact {
  width: 100% !important;
  max-width: none !important;
  background: #eaf4ef;
  color: var(--text-primary);
}

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

.contact p,
.contact-item,
.contact-item a {
  color: #ffffff;
}

.contact p {
  opacity: 1;
}

.contact-item svg {
  stroke: #ffffff;
}

footer {
  background: #142b2a;
}

#corporateModal {
  background: rgba(15, 23, 42, 0.46) !important;
}

#corporateModal > div {
  border-radius: 8px !important;
  border-color: var(--border) !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2) !important;
}

#corporateModal > div h2,
#corporateModal > div h3 {
  color: var(--text-primary) !important;
  font-family: 'Space Grotesk', sans-serif;
}

#corporateModal > div p {
  color: var(--text-secondary) !important;
}

#corporateModal > div input,
#corporateModal > div select,
#corporateModal > div textarea {
  border-radius: 6px !important;
  border-color: var(--border) !important;
  background: #fff !important;
  color: var(--text-primary) !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 32px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .product-note {
    right: -8px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 10px 16px;
  }

  .nav-links {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 112px 24px 54px;
  }

  .hero-copy,
  .hero-product-wrap {
    width: min(100%, 570px);
    justify-self: center;
  }

  .hero h1 {
    max-width: 600px;
    font-size: 42px;
  }

  .hero-product-wrap {
    padding: 0;
  }

  section:not(.hero) {
    padding: 58px 24px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 104px 18px 42px;
    gap: 26px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 16px;
  }

  .hero .cta-button {
    width: 100%;
    justify-content: center;
  }

  .hero-secondary-link {
    text-align: center;
  }

  .hero-product {
    padding: 15px 13px 10px;
  }

  .product-heading {
    margin-top: 20px;
  }

  .product-heading h2 {
    font-size: 19px;
  }

  .product-metrics {
    gap: 8px;
  }

  .product-metric {
    padding: 10px;
  }

  .product-note {
    right: 4px;
    bottom: 8px;
    padding: 9px 11px;
  }

  section:not(.hero) {
    padding: 48px 18px;
  }

  .section-title {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.step:hover .step-number {
  transform: scale(1.1);
  background: var(--primary-hover);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   BENEFITS
   =================================== */
.benefits {
  background: var(--bg-main);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.benefits .benefit-item {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.benefits .benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.benefit-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #17262d;
  object-fit: cover;
}

.benefit-content {
  padding: 20px 22px 24px;
}

.benefit-content h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.benefit-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: var(--success);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: #dcfce7;
  color: var(--success);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-icon {
  transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.2);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--success);
}

.benefit-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.benefit-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===================================
   PRICING
   =================================== */
.pricing {
  background: var(--bg-card);
}

.pricing-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  margin-top: -20px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

/* Plan Badge */
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 2px solid var(--border);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.plan-badge.popular {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-md);
  color: var(--text-primary);
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.price-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.price-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
  flex-grow: 1;
}

.price-features li {
  padding: var(--spacing-sm) 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

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

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

.check-icon {
  color: var(--success);
  flex-shrink: 0;
}

.plan-ideal {
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-sm);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
}

.pricing-card .cta-button {
  width: 100%;
  justify-content: center;
  background: var(--primary);
  color: white;
  margin-top: auto;
}

.pricing-card.featured .cta-button {
  background: white;
  color: var(--primary);
}

/* Plan Corporativo */
.pricing-card.corporativo {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #f0e7ff 100%);
}

.pricing-card.corporativo:hover {
  border-color: #7c3aed;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.pricing-card.corporativo .price {
  font-size: 2rem;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.corporate-badge {
  border-color: #8b5cf6 !important;
  color: #7c3aed !important;
}

.pricing-card.corporativo .cta-button,
.corporate-cta {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
  color: white !important;
}

.pricing-card.corporativo .cta-button:hover,
.corporate-cta:hover {
  opacity: 0.9;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.pricing-card.corporativo .check-icon {
  stroke: #8b5cf6;
}

/* Pricing Benefits Bar */
.pricing-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
}

.pricing-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-benefits .benefit-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.contact .section-title {
  color: white;
}

.contact p {
  font-size: 18px;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 16px;
  font-weight: 500;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--gray-900);
  color: white;
  padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-lg);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.footer-section p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

  .benefits-grid .benefit-item:last-child {
    grid-column: 1 / -1;
    width: calc((100% - var(--spacing-lg)) / 2);
    justify-self: center;
  }
  
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .step:nth-child(3)::after {
    top: auto;
    right: calc(50% - 7px);
    bottom: -28px;
    transform: rotate(135deg);
  }

}

@media (max-width: 768px) {
  /* Minimum touch targets for mobile */
  a, button, .cta-button, .nav-links a {
    min-height: 44px;
  }
  
  /* Mobile menu toggle visible */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  nav {
    padding: var(--spacing-md);
    height: auto;
    flex-wrap: wrap;
    position: relative;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-md);
    overflow: hidden;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  
  .nav-links li:last-child a {
    border-bottom: none;
  }
  
  .nav-cta {
    background: var(--primary) !important;
    color: white !important;
    margin: var(--spacing-sm);
    border-radius: var(--border-radius-sm) !important;
  }
  
  .hero {
    padding: calc(100px + var(--spacing-2xl)) var(--spacing-md) var(--spacing-2xl);
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid,
  .benefits-grid,
  .pricing-cards,
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .benefits-grid .benefit-item:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .youtube-short {
    width: min(72vw, 300px);
  }

  .step {
    max-width: 420px;
    margin: 0 auto;
  }

  .step:not(:last-child)::after,
  .step:nth-child(2)::after,
  .step:nth-child(3)::after {
    display: block;
    top: auto;
    right: calc(50% - 7px);
    bottom: -25px;
    transform: rotate(135deg);
  }

  .feature-proof {
    grid-template-columns: 1fr;
  }

  .feature-proof-item + .feature-proof-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  
  .contact-info {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero {
    align-items: stretch;
  }
  
  .hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }

  .step-illustration {
    height: 156px;
  }
  
  /* Nav móvil mejorado */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 12px;
  }
  
  .nav-cta {
    margin: 0;
    width: 100%;
  }
  
  /* Feature cards más compactos */
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .feature-icon svg {
    width: 36px;
    height: 36px;
  }
  
  .feature-card h3 {
    font-size: 16px;
  }
  
  .feature-card p {
    font-size: 14px;
  }
  
  /* Steps más compactos */
  .step {
    padding: var(--spacing-md);
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  /* Pricing cards */
  .pricing-card {
    padding: var(--spacing-lg);
  }
  
  .price {
    font-size: 32px;
  }
  
  .pricing-subtitle {
    font-size: 16px;
    margin-top: -10px;
  }
  
  .pricing-benefits {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }
  
  .plan-badge {
    font-size: 11px;
    padding: 3px 12px;
  }
  
  /* Benefits */
  .benefit-item {
    padding: var(--spacing-sm);
  }
  
  /* Footer más compacto */
  .footer-content {
    gap: var(--spacing-lg);
  }
  
  .footer-section {
    text-align: center;
  }
  
  /* Scroll horizontal para pricing en móvil */
  .pricing-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    -webkit-overflow-scrolling: touch;
  }
  
  .pricing-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .cta-button {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .feature-card h3 {
    font-size: 15px;
  }
  
  .pricing-card {
    flex: 0 0 92%;
  }
  
  .contact-item {
    font-size: 14px;
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .footer-section h3 {
    font-size: 16px;
  }
}

/* iOS input zoom prevention */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ===================================
   UTILS
   =================================== */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 40px;
  height: 40px;
}

/* ===================================
   ANIMACIONES LANDING
   =================================== */

html.scroll-reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  filter: blur(2px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              translate 700ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.scroll-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

/* Feature cards con hover mejorado */
.feature-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon {
  transition: transform 0.3s ease;
}

/* Steps con animación de hover */
.step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  background: var(--primary-hover);
}

/* CTA Button con efecto */
.cta-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 95, 122, 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Pricing cards */
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.08);
}

/* Nav links animación */
.nav-links a {
  transition: color 0.2s ease;
}
