/* ═══════════════════════════════════════════════════════
   ALVEAR GO — styles.css
   Design: Dark glassmorphism, futuristic, ultra-clean
   ═══════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base:        #080c14;
  --bg-surface:     #0d1220;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.08);
  --border-bright:  rgba(255,255,255,0.14);
  --blue:      #faa101;   /* antes: #60a5fa */
  --blue-dim:  #ec7601;   /* antes: #3b82f6 */
  --purple:    #faa101;   /* antes: #a78bfa */
  --green:          #34d399;
  --red:            #f87171;
  --yellow:         #fbbf24;
  --text-primary:   #f0f4ff;
  --text-secondary: #8b98b8;
  --text-muted:     #4b5680;
  --font:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── BACKGROUND ORBS ──────────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  animation: drift 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
background: radial-gradient(circle, #ec7601, transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 22s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: 30%; right: -150px;
  animation-duration: 27s;
  animation-delay: -8s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #faa101, transparent 70%);
  bottom: 10%; left: 30%;
  animation-duration: 18s;
  animation-delay: -14s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -40px); }
  66%       { transform: translate(-20px, 30px); }
}

/* ─── SHARED LAYOUT ────────────────────────────────────── */
.section-inner,
.nav-inner,
.stats-inner,
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── GLASSMORPHISM MIXIN ──────────────────────────────── */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* ─── TYPOGRAPHY HELPERS ───────────────────────────────── */
.title-gradient {
background: linear-gradient(135deg, #faa101 0%, #fdc55a 50%, #fff8e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.07);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
background: linear-gradient(135deg, #ec7601, #faa101);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-dim), var(--purple));
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 20px rgba(96,165,250,0.25);
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-inner { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* PRIMARY BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 4px 24px rgba(96,165,250,0.3), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(96,165,250,0.45), 0 0 0 1px rgba(255,255,255,0.12) inset;
  filter: brightness(1.08);
}

.btn-primary:hover::before { opacity: 1; }

/* GHOST BUTTON */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: rgba(255,255,255,0.07);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta .dot { opacity: 0.4; }

/* ─── PHONE MOCKUP ─────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  background: linear-gradient(160deg, #111827, #0d1220);
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 100px rgba(0,0,0,0.6),
    0 0 60px rgba(96,165,250,0.1);
  padding: 14px;
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 22px;
  background: #0d1220;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.phone-screen {
  background: #0a0f1c;
  border-radius: 26px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 10px 10px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.screen-icons { display: flex; gap: 6px; align-items: center; }

.screen-map {
  flex: 1;
  background: linear-gradient(160deg, #111827 0%, #0d1729 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.screen-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 30px);
}

.map-pin {
  position: absolute;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.pin-1 { top: 30%; left: 40%; }
.pin-2 { top: 50%; left: 65%; }
.pin-3 { top: 65%; left: 25%; }

.pulse-ring {
  position: absolute;
  top: calc(30% + -4px); left: calc(40% + -4px);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(96,165,250,0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.screen-notification {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 10px;
  font-size: 0.58rem;
}

.notif-icon { font-size: 1rem; }

.notif-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  color: var(--text-primary);
}

.notif-text strong { font-size: 0.62rem; }
.notif-text span { color: var(--text-secondary); }

.screen-cards {
  display: flex;
  gap: 6px;
}

.mini-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.5rem;
  color: var(--text-secondary);
}

.mini-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mini-card-dot.blue   { background: var(--blue); }
.mini-card-dot.purple { background: var(--purple); }
.mini-card-dot.green  { background: var(--green); }

/* ─── STATS STRIP ──────────────────────────────────────── */
.stats-strip {
  position: relative; z-index: 1;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #60a5fa, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── FEATURES GRID ────────────────────────────────────── */
.features {
  position: relative; z-index: 1;
  padding: 110px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header .section-sub {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}

/* first card spans 2 columns */
.feat-card--large {
  grid-column: span 2;
}

/* ─── GLASS CARD ────────────────────────────────────────── */
.feat-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

/* subtle top-edge highlight (crystal reflejo) */
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.feat-card-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.12;
  top: -60px; right: -60px;
  pointer-events: none;
  transition: opacity 0.3s;
}

.feat-card:hover .feat-card-glow { opacity: 0.22; }

.glow-blue   { background: var(--blue); }
.glow-purple { background: var(--purple); }
.glow-green  { background: var(--green); }
.glow-red    { background: var(--red); }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feat-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.2);
  color: var(--blue);
  letter-spacing: 0.05em;
}

/* ─── TECH SECTION ─────────────────────────────────────── */
.tech {
  position: relative; z-index: 1;
  padding: 110px 24px;
  border-top: 1px solid var(--border);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tech-left { position: sticky; top: 100px; }

.tech-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tech-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, background 0.2s;
}

.tech-item:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.tech-item-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.tech-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.tech-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── DOWNLOAD SECTION ─────────────────────────────────── */
.download {
  position: relative; z-index: 1;
  padding: 80px 24px 110px;
}

.download-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  background: linear-gradient(145deg, rgba(30,41,70,0.6), rgba(15,22,40,0.9));
  border: 1px solid rgba(96,165,250,0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  overflow: hidden;
  text-align: center;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), rgba(167,139,250,0.4), transparent);
}

.download-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(96,165,250,0.15), transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.download-content {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-content .section-sub {
  margin: 0 auto 40px;
  text-align: center;
}

.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

/* ─── STORE BUTTONS ────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
}

.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.store-btn--ghost {
  background: transparent;
  border-color: rgba(96,165,250,0.3);
}

.store-btn--ghost:hover {
  background: rgba(96,165,250,0.08);
  border-color: rgba(96,165,250,0.5);
}

.store-btn-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.store-small {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.store-big {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.download-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 220px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-inner { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { justify-content: center; order: -1; }
  .phone-mockup { width: 200px; height: 400px; }

  .tech-layout { grid-template-columns: 1fr; gap: 50px; }
  .tech-left { position: static; }

  .stats-inner { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item { min-width: 40%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feat-card--large { grid-column: span 1; }

  .download-card {
    padding: 40px 24px;
  }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 110px; }
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 1.8rem; }
  .store-btn { min-width: unset; width: 100%; }
  .download-buttons { width: 100%; max-width: 340px; }
}

/* ─── SCROLL FADE IN ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .feat-card,
  .tech-item,
  .stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
  }

  .feat-card:nth-child(1) { animation-delay: 0.05s; }
  .feat-card:nth-child(2) { animation-delay: 0.10s; }
  .feat-card:nth-child(3) { animation-delay: 0.15s; }
  .feat-card:nth-child(4) { animation-delay: 0.20s; }
  .feat-card:nth-child(5) { animation-delay: 0.25s; }
  .feat-card:nth-child(6) { animation-delay: 0.30s; }
  .feat-card:nth-child(7) { animation-delay: 0.35s; }

  .tech-item:nth-child(1) { animation-delay: 0.05s; }
  .tech-item:nth-child(2) { animation-delay: 0.15s; }
  .tech-item:nth-child(3) { animation-delay: 0.25s; }
  .tech-item:nth-child(4) { animation-delay: 0.35s; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   COMPONENTES ADAPTADOS PARA PÁGINAS LEGALES Y FORMULARIOS (SIN LOADER)
   ========================================================================== */

/* Layout de dos columnas para Políticas */
.policy-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

/* Índice Lateral Fijo */
.policy-nav {
  position: sticky;
  top: 120px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-nav h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 8px;
}

.policy-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.policy-nav a:hover {
  color: #fff;
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

/* Área de Bloques de Texto */
.policy-content {
  padding: 40px;
}

.policy-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 140px;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.policy-section h2 i {
  color: var(--blue);
}

.policy-section h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 1.5rem 0 0.5rem 0;
  font-weight: 600;
}

.policy-section p, .policy-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.98rem;
  margin: 0.8rem 0;
}

.policy-section ul, .policy-section ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

/* Alertas Informativas */
.highlight-box {
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: rgba(250, 161, 1, 0.05);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

.highlight-box.danger {
  border-left-color: var(--red);
  background: rgba(248, 113, 113, 0.05);
}

.highlight-box p {
  margin: 0 !important;
  color: #fff !important;
  font-weight: 500;
}

/* Tablas Legales */
.data-table, .data-retention-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th, .data-table td, .data-retention-table th, .data-retention-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th, .data-retention-table th {
  background: rgba(250, 161, 1, 0.06);
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.data-table td, .data-retention-table td {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:last-child td, .data-retention-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover, .data-retention-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Clases de estado en Tablas */
.deleted { color: #4ade80 !important; font-weight: 600; }
.retained { color: #ffc107 !important; font-weight: 600; }

/* Estructuras de Formularios e Inputs */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.form-group label .label-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: rgba(250, 161, 1, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 16px rgba(250, 161, 1, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
}

/* Listas ordenadas visuales */
.steps-list {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
}

.step-item {
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.01);
  border-radius: var(--radius-sm);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(250, 161, 1, 0.15);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
}

.step-header strong {
  color: #fff;
  font-size: 1rem;
}

/* Botones de Envío */
.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--blue-dim), var(--blue));
  box-shadow: 0 4px 20px rgba(236, 118, 1, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 118, 1, 0.3);
  filter: brightness(1.1);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 992px) {
  .policy-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .policy-nav {
    position: static;
    padding: 16px;
  }
  .policy-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .policy-content {
    padding: 24px;
  }
}