/* ─────────────────────────────────────────
   IoryxTech — Landing Page Styles
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #080c10;
  --deep: #0d1117;
  --card: #111820;
  --border: #1e2a35;
  --accent: #00e5c3;
  --accent2: #0070f3;
  --text: #e8edf2;
  --muted: #7a8fa0;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── 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.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: var(--black) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.btn-nav:hover { opacity: 0.85; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 6vw 6rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,229,195,0.12) 0%, rgba(0,112,243,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,229,195,0.08);
  border: 1px solid rgba(0,229,195,0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0,229,195,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,229,195,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(0,229,195,0.05);
}

.hero-trust {
  margin-top: 4rem;
  color: var(--muted);
  font-size: 0.85rem;
  animation: fadeUp 0.7s 0.5s ease both;
}
.hero-trust span { color: var(--accent); font-weight: 600; }

/* ─── BROWSER MOCKUP ─── */
.mockup-wrap {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
  animation: fadeUp 0.8s 0.4s ease both;
}

.mockup-browser {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.mockup-bar {
  background: #0a1018;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.mockup-url {
  margin-left: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 0.2rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  flex: 1;
  max-width: 300px;
}

.mockup-content {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  min-height: 320px;
}

.mockup-video {
  background: linear-gradient(135deg, #0d1a2a 0%, #071020 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,195,0.1), rgba(0,112,243,0.08));
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(0,229,195,0.15);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent);
  margin-left: 3px;
}

.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lesson-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lesson-item.active {
  background: rgba(0,229,195,0.06);
  border-color: rgba(0,229,195,0.3);
  color: var(--text);
}
.lesson-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lesson-item.active .lesson-num {
  background: var(--accent);
  color: var(--black);
}

.drm-badge {
  margin-top: auto;
  background: rgba(0,112,243,0.1);
  border: 1px solid rgba(0,112,243,0.25);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  color: #6aadff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── SHARED SECTION STYLES ─── */
section { padding: 7rem 6vw; }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
}

/* ─── WHY SECTION ─── */
.why {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pain-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pain-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,229,195,0.08);
  border: 1px solid rgba(0,229,195,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.pain-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.pain-text p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(0,229,195,0.4); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ─── HOW SECTION ─── */
.how { max-width: 1100px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.step {
  position: relative;
  padding: 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,195,0.3);
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0,229,195,0.1);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-connector {
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 1.5rem;
  z-index: 1;
}

/* ─── FEATURES SECTION ─── */
.features {
  background: var(--deep);
  border-top: 1px solid var(--border);
}

.features-inner { max-width: 1100px; margin: 0 auto; }

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}
.features-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(0,229,195,0.3);
  background: #141e28;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.feature-card.highlight {
  background: rgba(0,229,195,0.05);
  border-color: rgba(0,229,195,0.3);
}

/* ─── DRM SECTION ─── */
.drm-section { max-width: 1100px; margin: 0 auto; }

.drm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.drm-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.drm-visual::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,112,243,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.shield {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0,112,243,0.4));
}

.drm-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
  margin-top: 1.5rem;
}

.drm-features li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drm-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── ZERO KNOWLEDGE CARD ─── */
.zero-knowledge {
  margin-top: 2rem;
  background: rgba(0,112,243,0.06);
  border: 1px solid rgba(0,112,243,0.25);
  border-radius: 14px;
  padding: 2rem;
}

.zero-knowledge h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.zero-knowledge p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.zero-knowledge-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  background: rgba(0,112,243,0.12);
  border: 1px solid rgba(0,112,243,0.3);
  color: #6aadff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ─── SECTORES / SOCIAL PROOF ─── */
.sectores {
  background: var(--deep);
  border-top: 1px solid var(--border);
}

.sectores-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sectores-header { margin-bottom: 4rem; }
.sectores-header .section-sub { margin: 0 auto; }

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.sector-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s;
}
.sector-card:hover {
  border-color: rgba(0,229,195,0.3);
  transform: translateY(-3px);
}

.sector-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sector-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.metric {
  text-align: center;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-label {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ─── FAQ ─── */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
}

.faq-title { text-align: center; margin-bottom: 4rem; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }

.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }

.faq-a {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 1rem;
  font-weight: 300;
}

/* ─── CTA FINAL ─── */
.cta-final {
  text-align: center;
  padding: 8rem 6vw;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,195,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-final h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-final p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-fine {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── FOOTER ─── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p { color: var(--muted); font-size: 0.82rem; }
footer a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }
footer a:hover { color: var(--accent); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .why-grid, .drm-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps, .features-grid, .sectores-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .zero-knowledge-pills { justify-content: center; }
}
