/* ============================================================
   style.css — sebastianartaza.com
   Terminal-meets-editorial aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;1,300&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #080b12;
  --surface:   #0e1420;
  --surface2:  #141b2d;
  --border:    rgba(255,255,255,0.07);
  --accent:    #00e5ff;
  --accent2:   #7c6aff;
  --accent3:   #ff6b6b;
  --text:      #eef2ff;
  --muted:     #5a6a8a;
  --muted2:    #8899bb;
  --mono:      'DM Mono', monospace;
  --sans:      'DM Sans', sans-serif;
  --display:   'Syne', sans-serif;
  --radius:    4px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 300;
}

/* ── Noise overlay ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Ambient glows ─────────────────────────────────────────── */
.glow-1, .glow-2 {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,229,255,0.03) 0%, transparent 65%);
  top: -250px; left: -150px;
}

.glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,106,255,0.04) 0%, transparent 65%);
  bottom: -150px; right: -150px;
}

/* ── Nav ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(8,11,18,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
}

.nav-logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

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

.nav-badge {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: nav-pulse 2s infinite;
}

@keyframes nav-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 60px;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fade-up 0.8s ease both;
}

.hero-sub-sep {
  color: var(--accent);
  margin: 0 10px;
  opacity: 0.4;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  animation: fade-up 0.8s ease 0.1s both;
}

.hero-title .line-muted {
  display: block;
  color: var(--muted2);
  font-weight: 400;
  font-size: 0.6em;
  font-family: var(--sans);
  letter-spacing: 0.01em;
  margin-top: 10px;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.75;
  margin: 0 auto 44px;
  animation: fade-up 0.8s ease 0.2s both;
}

/* ── AI Box ────────────────────────────────────────────────── */
.ai-box {
  width: 100%;
  max-width: 700px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fade-up 0.8s ease 0.3s both;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

/* Top bar */
.ai-box-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.ai-box-dots {
  display: flex;
  gap: 6px;
}

.ai-box-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}

.ai-box-dots span:nth-child(1) { background: #ff5f57; }
.ai-box-dots span:nth-child(2) { background: #febc2e; }
.ai-box-dots span:nth-child(3) { background: #28c840; }

.ai-box-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.ai-box-lang {
  display: flex;
  gap: 4px;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.07em;
  transition: all 0.15s;
}

.lang-btn.active {
  border-color: rgba(0,229,255,0.4);
  color: var(--accent);
  background: rgba(0,229,255,0.06);
}

/* Messages */
.ai-messages {
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.ai-messages::-webkit-scrollbar       { width: 3px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* System message */
.ai-msg-system {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: fade-up 0.2s ease;
}

.ai-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px 8px 8px 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  max-width: 560px;
  text-align: left;
}

/* User message */
.ai-msg-user {
  align-self: flex-end;
  background: rgba(124,106,255,0.12);
  border: 1px solid rgba(124,106,255,0.22);
  border-radius: 8px 2px 8px 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  max-width: 460px;
  text-align: left;
  animation: fade-up 0.2s ease;
}

/* Tags inside bubble */
.tag {
  display: inline-block;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.18);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 2px;
  margin: 2px 2px 2px 0;
  letter-spacing: 0.05em;
}

/* Links inside bubble */
.ai-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,0.3);
  transition: border-color 0.15s;
}

.ai-link:hover { border-color: var(--accent); }

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 2px 0;
}

.ai-typing span {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0);   opacity: 0.4; }
  40%           { transform: translateY(-5px); opacity: 1; }
}

/* Input row */
.ai-input-row {
  display: flex;
  border-top: 1px solid var(--border);
}

.ai-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
}

.ai-input::placeholder { color: var(--muted); }

#ai-send-btn {
  background: var(--accent);
  border: none;
  padding: 0 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #080b12;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

#ai-send-btn:hover    { background: #33eaff; }
#ai-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Scroll hint ───────────────────────────────────────────── */
.scroll-hint {
  position: relative;
  z-index: 1;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fade-up 0.8s ease 0.5s both;
}

.scroll-hint-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

/* ── Traditional section ───────────────────────────────────── */
.traditional {
  position: relative;
  z-index: 1;
  padding: 100px 48px 120px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skill-card {
  background: var(--surface);
  padding: 28px 24px;
  transition: background 0.2s;
  cursor: default;
}

.skill-card:hover { background: var(--surface2); }

.skill-number {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.skill-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.skill-desc {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.65;
}

.skill-bar {
  margin-top: 20px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 1px;
  transform-origin: left;
  animation: bar-grow 1s ease both;
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Contact page ──────────────────────────────────────────── */
.contact-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  text-align: center;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: rgba(0,229,255,0.3);
  background: var(--surface2);
}

.contact-link-icon {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  width: 60px;
  letter-spacing: 0.05em;
}

.contact-link-text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted2);
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 48px; }
  .traditional { padding: 64px 20px 80px; }
  .skills-grid { grid-template-columns: 1fr; }
  .ai-box { max-width: 100%; }
  footer { padding: 24px 20px; }
}




/* Nuevo estilo */
.section {
  padding: 120px 40px;
  position: relative;
  z-index: 2;
}

.section-inner {
  max-width: 1300px;
  margin: auto;
}

.section-label {
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: .2em;
  font-size: 12px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(34px,5vw,64px);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.1;
}

.about-grid,
.projects-grid,
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 28px;
}

.project-card,
.cert-card,
.skill-card,
.exp-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  border-radius: 18px;
  transition: .35s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover,
.cert-card:hover,
.skill-card:hover,
.exp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,.35);
  box-shadow: 0 20px 50px rgba(0,229,255,.08);
}

.about-desc,
.project-desc {
  color: #9aa7c2;
  line-height: 1.8;
}

.skill-item-bar {
  height: 10px;
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  overflow: hidden;
}

.skill-item-fill {
  height: 100%;
  background: linear-gradient(90deg,#00e5ff,#7c6aff);
  border-radius: 20px;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: .8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}



/* ── About section: 2 columnas ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

/* Columna derecha */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Avatar / Foto */
.about-avatar {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.about-avatar-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-avatar-img:hover {
  transform: scale(1.02);
}

/* Meta datos personales */
.about-meta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.about-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.about-meta-item:last-child {
  border-bottom: none;
}

.about-meta-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}

.about-meta-value {
  font-size: 14px;
  color: var(--text);
  text-align: right;
  font-weight: 400;
}

/* Skills debajo de las columnas */
.about-skills {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-right {
    order: -1;
  }

  .about-avatar {
    max-width: 200px;
  }

  .about-meta-item {
    flex-direction: column;
    gap: 6px;
  }

  .about-meta-value {
    text-align: left;
  }
}


/* ── Experience Grid (estilo proyectos) ────────────────────── */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.experience-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.experience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.08);
}

.experience-highlight {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03), rgba(124, 106, 255, 0.03));
  border-color: rgba(0, 229, 255, 0.15);
}

.experience-period {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 20px;
  align-self: flex-start;
}

.experience-company {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.experience-role {
  font-size: 13px;
  color: var(--muted2);
  margin-bottom: 20px;
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.experience-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
}

.experience-bullets li {
  font-size: 13px;
  color: #9aa7c2;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.experience-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.experience-tags .tag {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.12);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .experience-card {
    padding: 22px;
  }

  .experience-company {
    font-size: 18px;
  }
}


/* ── Lead Modal (mejorado) ───────────────────────────────────── */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 11, 18, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s ease;
}

.lead-modal-container {
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

.lead-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slide-up 0.4s ease;
}

.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--mono);
  z-index: 10;
}

.lead-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.lead-modal-header {
  padding: 40px 40px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03), rgba(124, 106, 255, 0.03));
}

.lead-modal-icon {
  font-size: 56px;
  margin-bottom: 16px;
  display: inline-block;
  animation: bounce-icon 0.6s ease;
}

.lead-modal-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.lead-modal-sub {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.6;
}

.lead-modal-body {
  padding: 32px 40px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}

.lead-label-icon {
  font-size: 14px;
}

.lead-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
}

.lead-input:focus {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.lead-input::placeholder {
  color: var(--muted);
  font-size: 13px;
}

.lead-error {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent3);
  margin-top: 4px;
  display: none;
}

.lead-error.show {
  display: block;
}

.lead-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.lead-skip {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lead-skip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
}

.lead-submit {
  flex: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #080b12;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lead-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

.lead-submit:active {
  transform: translateY(0);
}

.lead-submit-arrow {
  transition: transform 0.2s ease;
}

.lead-submit:hover .lead-submit-arrow {
  transform: translateX(4px);
}

.lead-modal-footer {
  padding: 20px 40px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.lead-privacy {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.lead-success {
  text-align: center;
  padding: 48px 40px;
}

.lead-success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: inline-block;
}

.lead-success-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.lead-success-message {
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.6;
}

/* Animaciones */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-icon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Loading state */
.lead-submit.loading {
  opacity: 0.7;
  cursor: wait;
}

.lead-submit.loading .lead-submit-arrow {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .lead-modal-container {
    padding: 16px;
  }

  .lead-modal-header {
    padding: 32px 24px 20px;
  }

  .lead-modal-body {
    padding: 24px;
  }

  .lead-modal-footer {
    padding: 20px 24px 28px;
  }

  .lead-modal-title {
    font-size: 24px;
  }

  .lead-modal-actions {
    flex-direction: column-reverse;
  }

  .lead-skip, .lead-submit {
    padding: 12px;
  }
}