/* ── IronKron Landing — Estilos ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg:       #f8f9fc;
  --bg2:      #ffffff;
  --bg3:      #f0f2f7;
  --navy:     #0c1a3a;
  --navy2:    #1a2d5a;
  --blue:     #1a56db;
  --blue2:    #3b7af5;
  --blue-soft:#e8effd;
  --green:    #057a55;
  --green2:   #0e9f6e;
  --green-soft:#def7ec;
  --gold:     #d97706;
  --gold-soft:#fef3c7;
  --red:      #e02424;
  --red-soft: #fde8e8;
  --text:     #111827;
  --text2:    #374151;
  --text3:    #6b7280;
  --text4:    #9ca3af;
  --border:   #e5e7eb;
  --border2:  #d1d5db;
  --shadow:   0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow2:  0 4px 24px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  --shadow3:  0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  background-image: url('tile_background.png');
  background-repeat: repeat;
  background-size: auto;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── LANG BAR ── */
.lang-bar {
  position: fixed; top: 20px; right: 24px; z-index: 1000;
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 3px;
  box-shadow: var(--shadow);
}
.lang-btn {
  padding: 4px 14px; border-radius: 5px; border: none;
  background: none; font-size: 12px;
  font-family: 'DM Mono', monospace;
  font-weight: 500; color: var(--text3); cursor: pointer;
  transition: all 0.15s; letter-spacing: 0.5px;
}
.lang-btn.active { background: var(--navy); color: #fff; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center;
  background: rgba(248,249,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-logo {
  font-size: 18px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.5px; text-decoration: none;
}
.nav-logo span { color: var(--blue); }

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--blue-soft);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 36px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.1s ease forwards;
}
.hero-badge .pulse {
  width: 7px; height: 7px;
  background: var(--green2); border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }

.hero-title {
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -3px; color: var(--navy);
  margin-bottom: 8px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.2s ease forwards;
}
.hero-title .accent { color: var(--blue); }

.hero-tagline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(11px, 1.5vw, 13px);
  color: var(--text4); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.3s ease forwards;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text2); line-height: 1.7;
  max-width: 560px; margin-bottom: 48px;
  font-weight: 400;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.4s ease forwards;
}
.hero-desc strong { color: var(--navy); font-weight: 700; }

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 20px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.5s ease forwards;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--blue); color: #fff;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}
.btn-primary:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: transparent; color: var(--text2);
  border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border2);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-note {
  font-size: 12px; color: var(--text4);
  font-family: 'DM Mono', monospace; letter-spacing: 0.3px;
  opacity: 0; animation: fadeUp 0.6s 0.6s ease forwards;
}

/* ── DEMO WINDOW ── */
.demo-wrap {
  width: 100%; max-width: 500px; margin-top: 56px;
  opacity: 0; animation: fadeUp 0.7s 0.7s ease forwards;
}
.demo-window {
  background: var(--navy);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow3);
}
.demo-topbar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-bar-title {
  flex: 1; text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.35);
}
.demo-body { padding: 14px; }
.demo-header {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  border-radius: 8px 8px 0 0; padding: 15px 18px;
}
.demo-header-title { color: #fff; font-weight: 700; font-size: 13px; }
.demo-header-sub { color: #90caf9; font-size: 11px; margin-top: 3px; }
.demo-action {
  background: #fce4ec;
  border-radius: 0 0 8px 8px; padding: 15px 18px;
}
.demo-action-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.demo-action-text { font-size: 13px; color: #c62828; font-weight: 600; }
.demo-badge {
  background: #c62828; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 4px;
  font-family: 'DM Mono', monospace; white-space: nowrap;
}
.demo-buttons { display: flex; gap: 8px; margin-top: 12px; }
.demo-btn-allow {
  padding: 8px 16px; background: #e8f5e9;
  color: #2e7d32; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid #a5d6a7; cursor: default;
}
.demo-btn-block {
  padding: 8px 16px; background: #ffebee;
  color: #c62828; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid #ef9a9a; cursor: default;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LAYOUT ── */
.section-wrap { position: relative; z-index: 1; }
section {
  padding: 96px 24px;
  max-width: 1040px; margin: 0 auto;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px; font-weight: 500;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -1.5px; color: var(--navy);
  margin-bottom: 18px;
}
.section-desc {
  font-size: 17px; color: var(--text2);
  line-height: 1.75; max-width: 560px;
}
.divider {
  border: none; border-top: 1px solid var(--border);
  max-width: 1040px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* ── STATS ROW ── */
.stats-row {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 36px; font-weight: 800;
  color: var(--blue); letter-spacing: -1.5px; line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text3); }

/* ── PROBLEM GRID ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 48px;
}
.problem-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: all 0.25s;
}
.problem-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow2);
  transform: translateY(-3px);
}
.problem-icon {
  width: 48px; height: 48px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.problem-title {
  font-weight: 700; font-size: 15px;
  color: var(--navy); margin-bottom: 8px;
}
.problem-text { font-size: 13px; color: var(--text3); line-height: 1.65; }

/* ── FLOW ── */
.flow { display: flex; flex-direction: column; gap: 0; margin-top: 56px; max-width: 620px; }
.flow-step { display: flex; gap: 20px; position: relative; }
.flow-step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 19px; top: 44px; bottom: -4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.flow-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.flow-content { padding-bottom: 36px; }
.flow-title {
  font-weight: 700; font-size: 16px;
  color: var(--navy); margin-bottom: 6px;
}
.flow-desc { font-size: 14px; color: var(--text3); line-height: 1.7; }

/* ── COVERAGE BADGE ── */
.coverage-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-soft);
  border: 1.5px solid rgba(5,122,85,0.2);
  border-radius: 100px; padding: 8px 20px;
  font-size: 13px; font-weight: 600; color: var(--green);
  margin-bottom: 32px;
}
.coverage-badge .dot {
  width: 8px; height: 8px;
  background: var(--green2); border-radius: 50%;
}

/* ── COMPAT ── */
.compat-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.compat-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  transition: all 0.2s;
}
.compat-chip:hover { border-color: var(--border2); color: var(--text); }
.compat-chip.verified { border-color: rgba(5,122,85,0.25); }
.compat-chip.verified:hover { border-color: var(--green2); }
.compat-chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--text4); flex-shrink: 0;
}
.compat-chip.verified .dot { background: var(--green2); }
.compat-chip.new-agents {
  border-color: rgba(217,119,6,0.25);
  background: var(--gold-soft); color: var(--gold);
  font-style: italic;
}
.compat-chip.new-agents .dot { background: var(--gold); }
.compat-legend {
  margin-top: 20px; font-size: 12px;
  color: var(--text4); font-family: 'DM Mono', monospace;
}

/* ── PRIVACY GRID ── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 48px;
}
.privacy-card {
  border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px;
  background: var(--bg2);
  transition: all 0.25s;
}
.privacy-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow2);
  transform: translateY(-2px);
}
.privacy-icon {
  width: 44px; height: 44px;
  background: var(--blue-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.privacy-title {
  font-weight: 700; font-size: 14px;
  color: var(--navy); margin-bottom: 8px;
}
.privacy-text { font-size: 13px; color: var(--text3); line-height: 1.65; }

/* ── SMARTSCREEN ── */
.smartscreen-note {
  position: relative; z-index: 1;
  padding: 0 24px 64px;
  max-width: 1040px; margin: 0 auto;
}
.smartscreen-inner {
  background: var(--gold-soft);
  border: 1.5px solid rgba(217,119,6,0.2);
  border-radius: 14px; padding: 28px 32px;
  display: flex; gap: 20px; align-items: flex-start;
}
.smartscreen-icon { font-size: 28px; flex-shrink: 0; }
.smartscreen-title {
  font-weight: 700; font-size: 15px;
  color: var(--navy); margin-bottom: 10px;
}
.smartscreen-text { font-size: 13px; color: var(--text2); line-height: 1.75; }
.smartscreen-text strong { color: var(--navy); }

/* ── CTA ── */
.cta-section {
  position: relative; z-index: 1;
  padding: 96px 24px; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800; color: #fff;
  letter-spacing: -1.5px; margin-bottom: 18px; line-height: 1.05;
}
.cta-title .accent { color: #63b3ed; }
.cta-sub { color: rgba(255,255,255,0.6); font-size: 17px; margin-bottom: 40px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px;
  background: #fff; color: var(--navy);
  border-radius: 12px; font-size: 16px; font-weight: 800;
  text-decoration: none; transition: all 0.2s;
}
.btn-gold:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.cta-note {
  margin-top: 20px; font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Mono', monospace;
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 24px; text-align: center;
  font-size: 12px; color: var(--text4);
  font-family: 'DM Mono', monospace;
  background: var(--bg2);
}
footer a { color: var(--text3); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--blue); }

/* ── LANG ── */
.es { display: none; }
body.lang-es .es { display: block; }
body.lang-es .en { display: none; }
body.lang-es .flex-es { display: flex; }
body.lang-es .flex-en { display: none; }
.flex-es { display: none; }
.flex-en { display: flex; }
/* Listas y elementos block con clase de idioma */
ul.es, ol.es { display: none; }
body.lang-es ul.es, body.lang-es ol.es { display: flex; }
body.lang-es ul.en, body.lang-es ol.en { display: none; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .hero { padding: 110px 20px 80px; }
  .stats-row { gap: 24px; }
  .flow-step:not(:last-child)::after { display: none; }
}

/* ── HERO CHECKS ── */
.hero-checks {
  list-style: none; margin-bottom: 44px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: left; max-width: 460px;
}
.hero-checks li {
  font-size: 15px; color: var(--text2);
  font-weight: 500; display: flex; gap: 10px;
  align-items: flex-start;
}
.hero-checks li::before { content: none; }
