/* ── HERO — Light theme ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f6ff 0%, #e8f0fe 40%, #f8fafc 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb-1 { width: 600px; height: 600px; background: rgba(26,86,219,0.1); top: -200px; right: -150px; }
.orb-2 { width: 350px; height: 350px; background: rgba(14,165,233,0.08); bottom: -100px; left: 5%; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 2rem 4rem;
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
}

/* ── LEFT ── */
.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; color: var(--text-primary);
  margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -0.03em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; max-width: 430px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat strong { display: block; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--blue-primary); }
.stat span { font-size: 0.78rem; color: var(--text-secondary); }
.stat-div { width: 1px; height: 32px; background: var(--gray-200); }

/* ── RIGHT — Cards Grid ── */
.hero-visual { position: relative; }

.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hc-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  display: flex; align-items: center; gap: 0.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.hc-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 6px 24px rgba(26,86,219,0.12);
  transform: translateY(-3px);
}
.hc-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-primary) 0%, #1e40af 100%);
  border-color: transparent;
  color: white;
}
.hc-wide .hc-title { color: white; }
.hc-wide .hc-sub { color: rgba(255,255,255,0.65); }
.hc-wide:hover { border-color: transparent; box-shadow: 0 8px 30px rgba(26,86,219,0.4); }

.hc-icon { font-size: 1.5rem; flex-shrink: 0; }
.hc-title { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.hc-sub { font-size: 0.7rem; color: var(--text-secondary); margin-top: 0.15rem; }

.hc-badge-live {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; padding: 0.2rem 0.6rem;
  font-size: 0.7rem; font-weight: 700; color: #a7f3d0;
}
.hc-badge-live span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #34d399; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hc-1 { animation: fadeUp 0.5s 0.25s both; }
.hc-2 { animation: fadeUp 0.5s 0.33s both; }
.hc-3 { animation: fadeUp 0.5s 0.41s both; }
.hc-4 { animation: fadeUp 0.5s 0.49s both; }
.hc-5 { animation: fadeUp 0.5s 0.57s both; }
.hc-6 { animation: fadeUp 0.5s 0.65s both; }

/* ── SERVICES ── */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.srv-card {
  display: flex; flex-direction: column;
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.6rem;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.srv-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-primary), var(--cyan)); transform: scaleX(0); transition: var(--transition); transform-origin: left; }
.srv-card:hover::after { transform: scaleX(1); }
.srv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,86,219,0.1); border-color: rgba(26,86,219,0.2); }
.srv-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.srv-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-primary); }
.srv-card p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.srv-arrow { font-size: 1rem; color: var(--blue-primary); margin-top: 1.1rem; font-weight: 600; transition: var(--transition); }
.srv-card:hover .srv-arrow { transform: translateX(4px); }
.srv-featured { background: linear-gradient(135deg, var(--blue-primary), #1e40af); border-color: transparent; }
.srv-featured h3 { color: white; }
.srv-featured p { color: rgba(255,255,255,0.7); }
.srv-featured .srv-arrow { color: #7dd3fc; }
.srv-featured::after { display: none; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-items { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item { display: flex; gap: 1.25rem; }
.why-num { font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 800; color: var(--blue-primary); background: rgba(26,86,219,0.07); border: 1px solid rgba(26,86,219,0.15); width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.2rem; }
.why-item p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.metric-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition); }
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mc-icon { font-size: 1.4rem; margin-bottom: 0.7rem; }
.mc-val { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--blue-primary); line-height: 1; }
.mc-lbl { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.3rem; line-height: 1.4; }
.mc-1 { border-top: 3px solid var(--blue-primary); }
.mc-2 { border-top: 3px solid var(--cyan); }
.mc-3 { border-top: 3px solid #10b981; }
.mc-4 { border-top: 3px solid #f59e0b; }

/* ── CTA ── */
.cta-banner { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%); padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.orb-cta-1 { width: 400px; height: 400px; background: rgba(26,86,219,0.4); top: -150px; left: 10%; filter: blur(80px); position: absolute; border-radius: 50%; }
.orb-cta-2 { width: 300px; height: 300px; background: rgba(14,165,233,0.2); bottom: -100px; right: 15%; filter: blur(80px); position: absolute; border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: white; font-weight: 800; margin-bottom: 1rem; }
.cta-inner p { font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 460px; margin: 0 auto; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cards-grid { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-cards-grid { grid-template-columns: 1fr; }
  .hc-wide { grid-column: span 1; }
  .why-visual { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════
   HERO MOBILE DEEP FIX
   ════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding-top: 68px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 3rem;
  }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .hero-stats { gap: 1rem; }
  .hero-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    max-width: 100%;
  }
  .hc-wide { grid-column: span 2; }
  .hc-card { padding: 1rem 0.85rem; }
  .hc-icon { font-size: 1.3rem; }
  .hc-title { font-size: 0.82rem; }
  .hc-sub { font-size: 0.65rem; }
  .hc-badge-live { display: none; } /* Too cramped on mobile */

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .sec-head { flex-direction: column; align-items: flex-start; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .mc-val { font-size: 1.6rem; }

  /* CTA */
  .cta-banner { padding: 3rem 1.25rem; }
  .cta-inner h2 { font-size: 1.6rem; }
  .cta-inner > div { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-cards-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hc-wide { grid-column: span 2; }
  .why-visual { grid-template-columns: 1fr 1fr; }
  .hero-stats { justify-content: flex-start; }
}
