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

:root {
  --dark:        #06070f;
  --dark2:       #0d0f1e;
  --accent:      #5b6ef5;
  --accent-soft: #818cf8;
  --cta:         #f97316;
  --cta-hover:   #ea6c08;
  --text:        #111827;
  --text-mid:    #4b5563;
  --text-muted:  #9ca3af;
  --border-dark: rgba(255,255,255,0.08);
  --border-light:#e5e7eb;
  --radius:      12px;
  --radius-lg:   20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,7,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.nav-logo span { font-weight: 700; font-size: 15px; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.6);
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.18s; line-height: 1;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover {
  background: var(--cta-hover); transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.07); color: #fff;
  border: 1px solid var(--border-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark {
  background: #fff; color: var(--text);
}
.btn-dark:hover { background: #f3f4f6; transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

/* ── LAYOUT ──────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 24px; }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-soft);
  margin-bottom: 14px;
}
.section-label-dark { color: var(--accent); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.55); max-width: 560px;
}
.section-sub-dark { color: var(--text-mid); }

/* ── HERO ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(91,110,245,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(91,110,245,0.1); border: 1px solid rgba(91,110,245,0.28);
  font-size: 13px; font-weight: 500; color: var(--accent-soft);
  margin-bottom: 36px; position: relative; z-index: 1;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

.hero h1 {
  font-size: clamp(44px, 7.5vw, 86px);
  font-weight: 900; line-height: 1.03; letter-spacing: -2.5px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #c084fc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,0.58);
  max-width: 580px; margin-bottom: 44px;
  line-height: 1.75; position: relative; z-index: 1;
}
.hero-ctas {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 56px; position: relative; z-index: 1;
}
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  padding: 10px 24px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark);
  position: relative; z-index: 1;
}
.hero-trust-label { font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1.5px; }
.hero-trust-items { display: flex; align-items: center; gap: 18px; }
.hero-trust-item { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; }
.hero-trust-sep { color: rgba(255,255,255,0.15); }

/* ── PAIN ────────────────────────────── */
.pain { background: #fff; }
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px; margin-top: 56px;
}
.pain-card {
  padding: 28px; border-radius: var(--radius);
  background: #f8f9fc; border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.pain-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-2px); }
.pain-icon { font-size: 26px; margin-bottom: 14px; }
.pain-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.pain-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }

/* ── HOW ─────────────────────────────── */
.how { background: var(--dark); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px; margin-top: 56px;
}
.step {
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-dark);
  position: relative; transition: border-color 0.2s;
}
.step:hover { border-color: rgba(91,110,245,0.3); }
.step-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── AUTOMATION ──────────────────────── */
.auto-section { background: var(--dark2); }
.auto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.auto-log {
  background: #0a0b14; border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 24px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace; font-size: 12.5px;
}
.log-header {
  font-size: 11px; color: rgba(255,255,255,0.3);
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
}
.log-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: blink 2s infinite; }
.log-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.log-row:last-child { border-bottom: none; }
.log-t { color: rgba(255,255,255,0.25); flex-shrink: 0; width: 42px; }
.log-ok { color: #4ade80; flex-shrink: 0; }
.log-name { color: rgba(255,255,255,0.75); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-cr { color: var(--accent-soft); flex-shrink: 0; font-size: 11px; }
.log-footer {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; color: rgba(255,255,255,0.35);
}
.auto-list { list-style: none; margin-top: 28px; }
.auto-list li {
  padding: 11px 0; border-bottom: 1px solid var(--border-dark);
  font-size: 15px; color: rgba(255,255,255,0.7);
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.5;
}
.auto-list li::before { content: '→'; color: var(--accent-soft); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── COPILOT ─────────────────────────── */
.copilot-section { background: #fff; }
.copilot-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.chat-demo {
  background: #f8f9fc; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px; max-width: 480px;
}
.chat-msg { display: flex; gap: 10px; margin-bottom: 14px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.chat-avatar.ai {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: #fff; font-weight: 800; font-size: 12px;
}
.chat-avatar.human { background: #e5e7eb; font-size: 13px; }
.chat-bubble {
  padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.6; max-width: 82%;
}
.chat-bubble.ai {
  background: #fff; border: 1px solid var(--border-light);
  color: var(--text); border-radius: 4px 12px 12px 12px;
}
.chat-bubble.human {
  background: var(--accent); color: #fff;
  border-radius: 12px 4px 12px 12px;
}
.copilot-list { list-style: none; margin-top: 24px; }
.copilot-list li {
  padding: 9px 0; border-bottom: 1px solid var(--border-light);
  font-size: 14.5px; color: var(--text-mid);
  display: flex; align-items: center; gap: 10px;
}
.copilot-list li:last-child { border-bottom: none; }
.copilot-list li::before { content: '→'; color: var(--accent); font-weight: 700; }

/* ── FEATURES ────────────────────────── */
.features-section { background: var(--dark); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; margin-top: 56px;
}
.feat-card {
  padding: 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-dark);
  transition: all 0.2s;
}
.feat-card:hover {
  background: rgba(255,255,255,0.055); border-color: rgba(91,110,245,0.3);
  transform: translateY(-2px);
}
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.feat-card p { font-size: 13.5px; color: rgba(255,255,255,0.48); line-height: 1.7; }

/* ── SOLUCIONES CARDS ────────────────── */
.sol-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 56px;
}
.sol-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-dark);
  text-decoration: none; color: #fff;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.2s;
}
.sol-card:hover {
  background: rgba(255,255,255,0.06); border-color: rgba(91,110,245,0.35);
  transform: translateY(-3px);
}
.sol-card-icon { font-size: 28px; }
.sol-card h3 { font-size: 17px; font-weight: 700; }
.sol-card p { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; flex: 1; }
.sol-card-cta { font-size: 13px; color: var(--accent-soft); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* ── CTA BOTTOM ──────────────────────── */
.cta-section {
  background: var(--dark2);
  border-top: 1px solid var(--border-dark);
  text-align: center; padding: 100px 24px;
}
.cta-section h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.52);
  max-width: 500px; margin: 0 auto 36px; line-height: 1.7;
}

/* ── FOOTER ──────────────────────────── */
footer {
  background: var(--dark); border-top: 1px solid var(--border-dark);
  padding: 36px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── MOBILE ──────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .auto-grid, .copilot-grid { grid-template-columns: 1fr; gap: 40px; }
  .auto-log { display: none; }
}
@media (max-width: 600px) {
  section { padding: 72px 20px; }
  .hero { padding: 120px 20px 60px; }
}
