/* ============================================================
     HOME PAGE (index.html)
   ============================================================ */

/* ── Section wrappers ──────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.section-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mist: very subtle ice blue radial glow */
.section-mist {
  background: rgba(125, 211, 252, 0.05);
}
.section-mist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(186, 230, 253, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Haze: diagonal ice blue gradient */
.section-haze {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.12) 0%,
    rgba(2, 132, 199, 0.08) 50%,
    rgba(56, 189, 248, 0.12) 100%
  );
}

/* Indigo: deep dark with purple undertone */
.section-indigo {
  background: rgba(5, 7, 28, 0.8);
}
.section-indigo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 550px at 20% 40%, rgba(79, 70, 229, 0.14), transparent 60%),
    radial-gradient(800px 400px at 80% 65%, rgba(67, 56, 202, 0.09), transparent 60%);
  pointer-events: none;
}
.section-indigo .local-orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-indigo .section-content {
  position: relative;
  z-index: 1;
}
.orb-indigo {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.25;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42) 0%, rgba(67, 56, 202, 0.22) 45%, transparent 72%);
}
.section-indigo .section-header h2 {
  background: linear-gradient(135deg, #e0e7ff 20%, #c7d2fe 50%, #a5b4fc 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-indigo .section-tag {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.35);
}
.section-indigo .card {
  border-color: rgba(99, 102, 241, 0.22);
}
.section-indigo .card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 8px 34px rgba(79, 70, 229, 0.3);
}
.section-indigo .service-card {
  border-color: rgba(99, 102, 241, 0.18);
}
.section-indigo .service-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.32);
}
.section-indigo .service-card::before {
  background: linear-gradient(90deg, #e0e7ff, #c7d2fe, #a5b4fc, #6366f1);
}
.section-indigo .service-icon {
  background: linear-gradient(135deg, rgba(199, 210, 254, 0.18), rgba(79, 70, 229, 0.18));
  border-color: rgba(165, 180, 252, 0.3);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.22);
}
.section-indigo .service-features li::before,
.section-indigo .learn-more {
  color: #a5b4fc;
}
.section-indigo .learn-more:hover {
  color: #e0e7ff;
}

/* Ice: dark with local ice blue orbs */
.section-ice {
  background: rgba(10, 14, 20, 0.68);
}
.section-ice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 25% 30%, rgba(125, 211, 252, 0.11), transparent 60%),
    radial-gradient(900px 450px at 75% 70%, rgba(59, 130, 246, 0.07), transparent 65%);
  pointer-events: none;
}
.local-orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-ice .section-content {
  position: relative;
  z-index: 1;
}
.orb-ice {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.28;
  background: radial-gradient(
    circle,
    rgba(125, 211, 252, 0.34) 0%,
    rgba(59, 130, 246, 0.18) 45%,
    transparent 72%
  );
}

/* Teal: dark with cyan overlay */
.section-teal {
  background: rgba(3, 12, 15, 0.85);
}
.section-teal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.12) 0%,
    rgba(56, 189, 248, 0.08) 50%,
    rgba(14, 165, 233, 0.12) 100%
  );
  pointer-events: none;
}
.section-teal .section-header h2 {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 40%, #67e8f9 70%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-teal .section-tag {
  background: rgba(34, 211, 238, 0.15);
  color: #a5f3fc;
  border-color: rgba(34, 211, 238, 0.35);
}
.section-teal .card {
  border-color: rgba(34, 211, 238, 0.2);
}
.section-teal .card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25);
}
.section-teal .benefit-icon {
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
}

/* ── Section headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  padding-bottom: 0.1em;
  margin-bottom: calc(1rem - 0.1em);
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #7dd3fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-ice .section-header h2 {
  background: linear-gradient(135deg, #c2ebfe 25%, #9fdefd 50%, #7dd3fc 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  font-size: 1.2rem;
  color: #b4b4c8;
}

/* Section tags */
.section-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 2rem;
}
.section-ice .section-tag {
  background: rgba(125, 211, 252, 0.15);
  color: #e0f2fe;
  border-color: rgba(125, 211, 252, 0.3);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}
.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  padding-bottom: 0.15em;
  margin-bottom: calc(1.5rem - 0.15em);
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #7dd3fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 1.3rem;
  color: #b4b4c8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-badge {
  font-size: 0.95rem;
  color: #9ca3af;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-badge span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Glass card with gradient border + outer glow */
.glass-card-glow {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  border: 3px solid transparent;
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
}
.glass-card-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.8) 0%,
    rgba(186, 230, 253, 0.6) 20%,
    rgba(125, 211, 252, 0.5) 40%,
    rgba(56, 189, 248, 0.4) 60%,
    rgba(14, 165, 233, 0.5) 80%,
    rgba(56, 189, 248, 0.6) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.glass-card-glow::after {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  right: -60px;
  bottom: -60px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(56, 189, 248, 0.4) 0%,
    rgba(14, 165, 233, 0.2) 40%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(50px);
}

/* 3×2 icon grid inside glass card */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.feature-item {
  text-align: center;
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.25), rgba(14, 165, 233, 0.25));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  border: 1px solid rgba(125, 211, 252, 0.4);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #e6edf3;
}
.feature-item p {
  font-size: 0.9rem;
  color: #b4b4c8;
}

/* ── Service cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e0f2fe, #bae6fd, #7dd3fc, #0ea5e9);
  transform: scaleX(0);
  transition: transform 0.4s;
  border-radius: 20px 20px 0 0;
}
.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(14, 165, 233, 0.2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #e6edf3;
}
.service-card > p {
  color: #b4b4c8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.service-features {
  list-style: none;
  margin-bottom: 2rem;
}
.service-features li {
  padding: 0.5rem 0;
  color: #b4b4c8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li::before {
  content: "✓";
  color: #7dd3fc;
  font-weight: bold;
}
.learn-more {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    gap 0.3s,
    color 0.3s;
}
.learn-more:hover {
  gap: 0.8rem;
  color: #e0f2fe;
}

/* ── Stat & Benefit cards (4-column subgrid) ─────────────── */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2rem;
  row-gap: 0;
}
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: start;
}
.card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.2);
  transform: translateY(-4px);
}
.section-ice .card {
  border-color: rgba(125, 211, 252, 0.22);
}
.section-ice .card:hover {
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow: 0 8px 34px rgba(59, 130, 246, 0.28);
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e0f2fe, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: #b4b4c8;
  font-size: 1rem;
}
.benefit-icon {
  font-size: 3rem;
  padding-bottom: 1rem;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #e6edf3;
}
.card p {
  color: #b4b4c8;
  font-size: 0.95rem;
}

/* ── Pricing cards (simplified — no subgrid) ─────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border: 2px solid rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.pricing-card.featured::before {
  content: "⭐ Most Popular";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
.pricing-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3);
}
.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e6edf3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c1829;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-radius: 4px;
  padding: 0.2em 0.55em;
  vertical-align: middle;
}
.plan-tagline {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}
.plan-price {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e0f2fe, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.plan-price span {
  font-size: 1.2rem;
  color: #9ca3af;
}
.plan-billing {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}
.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}
.plan-features li {
  padding: 0.75rem 0;
  color: #b4b4c8;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.plan-features li::before {
  content: "✓";
  color: #7dd3fc;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.plan-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}
.plan-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .card {
    grid-row: auto;
    grid-template-rows: auto;
    display: block;
  }
  .benefit-icon {
    padding-bottom: 0;
    margin-bottom: 1rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text h1 {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .section-header h2 {
    font-size: 2.5rem;
  }
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
}
