/* ============================================================
   EDISON TECH — index.html Specific Styles
   ============================================================ */

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4a7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 7rem 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.orb-1 {
  width: 500px; height: 500px;
  background: rgba(116,167,199,0.18);
  top: -100px; left: -150px;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 350px; height: 350px;
  background: rgba(200,153,56,0.12);
  bottom: 0; right: -80px;
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 250px; height: 250px;
  background: rgba(249,247,35,0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}
@keyframes orb-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

/* Particles (JS-generated) */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(200,153,56,0.6);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,153,56,0.15);
  border: 1px solid rgba(200,153,56,0.4);
  color: var(--gold-light);
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

/* Hero title */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.title-highlight {
  color: var(--yellow);
  display: inline-block;
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 1s 0.8s forwards;
}

@keyframes underline-grow {
  to { transform: scaleX(1); }
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 660px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}
.hero-subtitle strong { color: var(--gold-light); font-weight: 600; }

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-suffix {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
  transition: color var(--transition);
}
.scroll-indicator:hover { color: var(--gold); }

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

/* ── Section Light ── */
.section-light {
  padding: 6rem 0;
  background: var(--bg-section);
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(25,56,92,0.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue-light), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(145deg, #fff 0%, #fffdf5 100%);
}
.service-card--featured::before {
  background: linear-gradient(90deg, var(--gold), var(--yellow));
  transform: scaleX(1);
}

.featured-badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.card-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--gold);
  box-shadow: 0 6px 20px rgba(25,56,92,0.25);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.card-features li {
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-features li i {
  color: var(--blue-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Section Dark ── */
.section-dark {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* ── Why Grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-5px);
}

.why-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(200,153,56,0.15);
  border: 1px solid rgba(200,153,56,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 auto 1rem;
}

.why-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Metrics banner */
.metrics-banner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,153,56,0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.metric i { color: var(--gold); font-size: 1.1rem; }
.metric-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.15); }

/* ── Steps Timeline ── */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  box-shadow: 0 0 0 8px var(--bg-section), 0 6px 20px rgba(200,153,56,0.2);
  transition: var(--transition);
}
.step:hover .step-number {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

.step-content h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(90deg, var(--gold) 0%, #e8b548 100%);
  padding: 3.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
}
.cta-text p {
  font-size: 1rem;
  color: rgba(25,56,92,0.75);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 6rem 0 3rem; }
  .hero-stats { padding: 1rem 1.5rem; gap: 1.2rem; }
  .stat-divider { width: 40px; height: 1px; }
  .steps-timeline::before { display: none; }
  .metrics-banner { flex-direction: column; gap: 1rem; }
  .metric-sep { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.6rem; }
}
