/* ============================================================
   IMEI GDL - CSS Fase 1
   Paleta: Negro profundo + Dorado + Firma Nextia
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --gold: #D4AF37;
  --gold-light: #FFD700;
  --gold-dark: #B8860B;
  --black: #080808;
  --black2: #111111;
  --black3: #1a1a1a;
  --white: #f5f5f5;
  --gray: #888;
  --nextia-red: #f10050;
  --nextia-cyan: #00D4FF;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== GRADIENTES ====== */
.gold-gradient {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== NAV ====== */
.imei-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,8,8,0.95);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  backdrop-filter: blur(10px);
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.imei-logo { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; }
.logo-gold { color: var(--gold); }
.logo-white { color: var(--white); }

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

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

/* ====== BOTONES ====== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-3px);
}

/* ====== HERO ====== */
.hero-imei {
  min-height: 100vh;
  background: linear-gradient(135deg, #080808 0%, #0f0f0f 60%, #1a1200 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  gap: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 80%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(212,175,55,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { flex: 1; max-width: 620px; position: relative; z-index: 2; }

.badge-imei {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.imei-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(212,175,55,0.15);
  padding-top: 24px;
}

.stat-item { text-align: left; }
.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-label { font-size: 0.8rem; color: var(--gray); }

/* Glass Card Hero */
.hero-visual { flex: 0 0 auto; display: flex; justify-content: center; position: relative; z-index: 2; }

.glass-card-imei {
  width: 300px;
  height: 380px;
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(212,175,55,0.1);
  animation: float 6s ease-in-out infinite;
}

.glow-gold {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.25), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.card-inner { text-align: center; z-index: 2; }
.card-emoji { font-size: 3.5rem; display: block; margin-bottom: 12px; }
.card-inner h3 {
  font-size: 3rem;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
}
.live-badge { color: #00E676; font-size: 0.85rem; margin-top: 12px; }
.card-sub { color: var(--gray); font-size: 0.9rem; margin-top: 4px; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ====== SECCIONES ====== */
.section-dark { padding: 90px 0; background: var(--black2); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--white);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== CARDS EDUCATIVAS ====== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.imei-card {
  background: var(--black3);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.imei-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.15);
}

.imei-card.featured {
  border-color: rgba(212,175,55,0.4);
  background: linear-gradient(135deg, #1a1500 0%, #111100 100%);
}

.card-icon-gold { font-size: 2.5rem; margin-bottom: 16px; }
.imei-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.imei-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }

.tag-gold {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.link-gold { color: var(--gold); text-decoration: none; font-weight: 600; }
.link-gold:hover { color: var(--gold-light); }

/* ====== JARDÍN ====== */
.section-gold-bg {
  padding: 90px 0;
  background: linear-gradient(135deg, #0d0900 0%, #1a1200 100%);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.jardin-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.jardin-text { flex: 1; }
.jardin-visual { flex: 1; display: flex; justify-content: center; }

.badge-dark {
  display: inline-block;
  background: rgba(0,0,0,0.4);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.title-dark {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}

.jardin-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.jardin-features { list-style: none; margin-bottom: 32px; }
.jardin-features li {
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}

.foto-placeholder {
  width: 380px;
  height: 300px;
  background: rgba(212,175,55,0.04);
  border: 2px dashed rgba(212,175,55,0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
}
.foto-placeholder span { font-size: 3rem; }

/* ====== WHY ====== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-item { text-align: center; padding: 32px 20px; }
.why-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.why-item h4 { color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.why-item p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* ====== CONTACTO ====== */
.section-contact {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--black) 0%, #0d0900 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  background: var(--black3);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212,175,55,0.1);
}

.contact-card span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.contact-card h4 { color: var(--gold); margin-bottom: 10px; }
.contact-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; }

/* ====== FOOTER ====== */
.imei-footer {
  background: #050505;
  border-top: 1px solid rgba(212,175,55,0.1);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand .imei-logo { font-size: 1.5rem; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; margin-top: 8px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--gray); font-size: 0.85rem; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
  .hero-imei { flex-direction: column; padding: 100px 24px 60px; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .stat-item { text-align: center; }
  .nav-links { display: none; }
  .jardin-layout { flex-direction: column; }
  .foto-placeholder { width: 100%; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .imei-title { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-gold, .btn-outline-gold { width: 100%; text-align: center; }
}

.imei-logo-img {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.4));
}
