/* ============================================================
   OUTSOURCE HUB — MAIN STYLESHEET
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #152336;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --blue-glow:   rgba(37,99,235,0.15);
  --teal:        #0891B2;
  --orange:      #F97316;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --gradient:    linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  --gradient-hero: linear-gradient(135deg, #0D1B2A 0%, #1a3a5c 60%, #0d2a4a 100%);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.14);
  --transition:  0.3s ease;
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;
  --max-width:   1200px;
  --section-py:  80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utilities --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-blue  { color: var(--blue); }
.text-teal  { color: var(--teal); }
.text-orange { color: var(--orange); }
.section-py { padding: var(--section-py) 0; }
.bg-white   { background: var(--white); }
.bg-light   { background: var(--gray-50); }
.bg-navy    { background: var(--navy); }
.bg-gradient { background: var(--gradient); }
.fw-600 { font-weight: 600; }
.mb-0 { margin-bottom: 0 !important; }

/* Fade-in animation — only applies to below-fold elements, not hero */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Hero elements are always visible — use CSS keyframe instead of JS-triggered class */
.hero .fade-in,
.hero .fade-in.fade-in-delay-2 {
  opacity: 1 !important;
  transform: none !important;
  animation: heroEntrance 0.9s ease-out both;
}
.hero .fade-in.fade-in-delay-2 {
  animation-delay: 0.25s;
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-blue {
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* Section labels */
.section-label {
  display: inline-block;
  background: var(--blue-glow);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label-white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 620px;
}
.section-desc.center { margin: 0 auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 12px 0;
}
.site-header.scrolled .nav-logo { color: var(--navy); }
.site-header.scrolled .nav-links a { color: var(--gray-600); }
.site-header.scrolled .nav-links a:hover { color: var(--blue); }
.site-header.scrolled .hamburger span { background: var(--navy); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}
.logo-mark {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 74px;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(8,145,178,0.22);
}
.logo-orbit {
  position: absolute;
  inset: 0;
  animation: logoSpin 16s linear infinite;
}
.logo-img {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  object-position: 52% 44%;
}
.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--white);
  font-size: 1.18rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo-wordmark strong {
  color: #38BDF8;
  font-weight: 800;
}
.site-header.scrolled .logo-mark::before {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(13,27,42,0.14);
}
.site-header.scrolled .logo-orbit path:nth-of-type(1) {
  stroke: rgba(13,27,42,.5);
}
.site-header.scrolled .logo-wordmark {
  color: var(--navy);
}
@keyframes logoSpin {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-head);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(8,145,178,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(37,99,235,0.12) 0%, transparent 60%);
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
  align-items: center;
  gap: 84px;
  padding: 120px 0 80px;
}
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 620px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-label .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, #38BDF8 0%, #60A5FA 50%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.hero-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 86px 76px 78px 54px;
}
.hero-orbit-art {
  position: absolute;
  inset: -46px -34px -42px -60px;
  z-index: 0;
  opacity: .92;
  animation: heroOrbitDrift 11s ease-in-out infinite;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
}
.hero-card-main {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(44,92,125,.97) 0%, rgba(32,82,113,.98) 55%, rgba(25,70,101,.99) 100%);
  backdrop-filter: none;
  box-shadow: 0 26px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-card-main::before {
  content: '';
  position: absolute;
  top: -38%;
  right: -18%;
  width: 48%;
  height: 88%;
  background: radial-gradient(circle, rgba(56,189,248,.18) 0%, rgba(56,189,248,0) 68%);
  pointer-events: none;
}
.hero-card-main > * {
  position: relative;
  z-index: 1;
}
.hero-card-bg {
  position: absolute;
  top: 108px;
  right: 40px;
  width: calc(100% - 94px);
  height: calc(100% - 164px);
  background: rgba(8,145,178,0.15);
  border: 1px solid rgba(8,145,178,0.25);
  border-radius: var(--radius-lg);
  z-index: 1;
}
.card-icon-circle {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.card-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
}
.card-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--white);
}
.card-stat-label { color: rgba(255,255,255,0.65); font-size: 0.85rem; }

/* Floating badge */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 7;
}
.float-badge-1 { bottom: 10px; left: -8px; animation-delay: 0s; }
.float-badge-2 { top: 16px; right: -8px; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes heroOrbitDrift {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(10px,-8px,0) rotate(2deg); }
}
.badge-icon { font-size: 1.4rem; }
.badge-text strong { display: block; font-size: 0.85rem; color: var(--navy); font-weight: 700; }
.badge-text span { font-size: 0.75rem; color: var(--gray-600); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: var(--section-py) 0; background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-icon-1 { background: rgba(37,99,235,0.1); }
.service-icon-2 { background: rgba(8,145,178,0.1); }
.service-icon-3 { background: rgba(249,115,22,0.1); }
.service-icon-4 { background: rgba(16,185,129,0.1); }

.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { color: var(--gray-600); font-size: 0.93rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 10px; }
.service-features {
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.service-feature::before {
  content: '✓';
  width: 18px; height: 18px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  text-align: center;
  align-items: center;
}
.stat-item { padding: 20px 32px; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--teal); }
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section { padding: var(--section-py) 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
  padding: 20px;
}
.why-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-mini-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.why-mini-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--gray-200);
}
.why-mini-card.featured {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  grid-column: 1 / -1;
}
.why-mini-card .card-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--blue);
  margin-bottom: 4px;
}
.why-mini-card.featured .card-num { color: rgba(255,255,255,0.8); }
.why-mini-card .card-label { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; }
.why-mini-card.featured .card-label { color: rgba(255,255,255,0.8); }

.why-points { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-point-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-point-text h4 { margin-bottom: 4px; }
.why-point-text p { color: var(--gray-600); font-size: 0.93rem; margin: 0; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { padding: var(--section-py) 0; background: var(--gray-50); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  transition: var(--transition);
  position: relative;
}
.process-step:hover .step-num {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(8,145,178,0.2) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
}
.cta-phone svg { flex-shrink: 0; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: var(--section-py) 0; }
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--gradient);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin: 16px 0 24px;
  max-width: 280px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--teal); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(8,145,178,0.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.service-detail-intro {
  padding: var(--section-py) 0;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-visual {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.feature-item:hover { background: var(--gray-50); }
.feature-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-item-text h4 { margin-bottom: 4px; font-size: 0.95rem; }
.feature-item-text p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }

/* Sub-services grid */
.sub-services-section { padding: var(--section-py) 0; background: var(--gray-50); }
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.sub-service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.sub-service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.sub-service-card .icon { font-size: 2rem; margin-bottom: 14px; }
.sub-service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.sub-service-card p { font-size: 0.87rem; color: var(--gray-600); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: var(--section-py) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--gray-600); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-detail-text span { font-weight: 600; color: var(--navy); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 { margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray-50);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; }
.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  display: none;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #065F46;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.form-error {
  display: none;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #991B1B;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: var(--section-py) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-values { padding: var(--section-py) 0; background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  text-align: center;
}
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }
.about-team-strip {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}
.about-team-strip h2 { color: var(--white); margin-bottom: 16px; }
.about-team-strip p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 32px; }

/* ============================================================
   FAQ PAGE (DEDICATED)
   ============================================================ */
.faq-page-section { padding: var(--section-py) 0; }
.faq-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.faq-cat-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  transition: var(--transition);
}
.faq-cat-btn:hover,
.faq-cat-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

/* ============================================================
   SERVICES OVERVIEW PAGE
   ============================================================ */
.services-overview { padding: var(--section-py) 0; }
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-overview-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.soc-header {
  padding: 36px;
  background: var(--gradient-hero);
  position: relative;
}
.soc-header h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.soc-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.soc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.soc-body { padding: 28px 36px 36px; background: var(--white); }
.soc-body ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.soc-body ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.soc-body ul li::before { content: '→'; color: var(--blue); font-weight: 700; }

/* ============================================================
   ZOHO-SPECIFIC VISUALS
   ============================================================ */
.zoho-integrations {
  background: var(--gray-50);
  padding: var(--section-py) 0;
}
.integration-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.integration-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.integration-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.integration-card .int-icon { font-size: 2.5rem; margin-bottom: 12px; }
.integration-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.integration-card p { font-size: 0.82rem; color: var(--gray-600); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1120px) {
  .nav-inner { gap: 22px; }
  .nav-logo { min-width: 86px; }
  .logo-wordmark { display: none; }
  .nav-links { gap: 22px; }
}
@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .nav-links, .nav-cta { display: none; }
  .site-header { padding: 14px 0; }
  .logo-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .logo-img {
    width: 50px;
    height: 50px;
  }
  .hamburger { display: flex; }
  .hero-grid { padding: 100px 0 60px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .why-card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .contact-form-wrap { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AI ADVISOR — HERO FEATURE SECTION
   ============================================================ */
.ai-hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  text-align: center;
}
.ai-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: aiOrbFloat 8s ease-in-out infinite;
}
.ai-orb-1 {
  width: 500px; height: 500px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  animation-duration: 9s;
}
.ai-orb-2 {
  width: 400px; height: 400px;
  bottom: -150px; right: -80px;
  background: radial-gradient(circle, rgba(249,115,22,0.10) 0%, transparent 70%);
  animation-duration: 11s; animation-delay: -3s;
}
.ai-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(96,165,250,0.08) 0%, transparent 70%);
  animation-duration: 13s; animation-delay: -6s;
}
@keyframes aiOrbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.ai-orb-3 { animation-name: aiOrb3Float; }
@keyframes aiOrb3Float {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-60%) scale(1.08); }
}

/* Top badges */
.ai-top-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ai-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.ai-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: aiPulse 1.8s infinite;
}
@keyframes aiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.ai-claude-badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}
.ai-first-badge {
  background: linear-gradient(135deg,rgba(249,115,22,0.25),rgba(249,115,22,0.10));
  border: 1px solid rgba(249,115,22,0.40);
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 50px;
}

/* Headline */
.ai-main-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.ai-main-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Search bar */
.ai-searchbar-wrap {
  max-width: 780px;
  margin: 0 auto 24px;
}
.ai-searchbar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ai-searchbar:focus-within {
  border-color: rgba(56,189,248,0.6);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15), 0 8px 40px rgba(0,0,0,0.25);
}
.ai-searchbar-icon {
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  margin-right: 14px;
}
.ai-searchbar-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.05rem;
  font-family: var(--font-body);
  resize: none;
  min-height: 44px;
  line-height: 1.5;
  padding: 8px 0;
}
.ai-searchbar-input::placeholder { color: rgba(255,255,255,0.38); }
.ai-searchbar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-head);
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.ai-searchbar-btn:hover { background: #ea6005; transform: translateY(-1px); }
.ai-searchbar-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Suggestion chips */
.ai-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.ai-chips-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.ai-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  backdrop-filter: blur(4px);
}
.ai-chip:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  transform: translateY(-1px);
}

/* Trust strip */
.ai-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 32px;
}
.ai-strip-dot { color: rgba(255,255,255,0.25); }

/* Loading */
.ai-loading {
  text-align: center;
  padding: 20px 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.ai-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.ai-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(56,189,248,0.7);
  animation: aiBounce 1.2s infinite ease-in-out;
}
.ai-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiBounce {
  0%,80%,100% { transform: translateY(0); opacity: 0.4; }
  40%          { transform: translateY(-10px); opacity: 1; }
}

/* Response card */
.ai-response-wrap {
  max-width: 780px;
  margin: 0 auto;
  animation: fadeUp 0.4s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ai-response-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  text-align: left;
}
.ai-response-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.ai-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(56,189,248,0.2);
  border: 1.5px solid rgba(56,189,248,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}
.ai-advisor-label {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  font-family: var(--font-head);
}
.ai-advisor-sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  display: block;
}
.ai-response-text {
  padding: 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  white-space: pre-wrap;
  min-height: 60px;
}
.ai-response-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 10px;
}
.ai-powered { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.ai-cta-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fb923c;
  text-decoration: none;
  transition: color 0.2s;
}
.ai-cta-link:hover { color: var(--white); }

.ai-error-msg {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 600;
  text-align: center;
}

/* ── Globe ─────────────────────────────────────────────────── */
.ai-globe-wrap {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.ai-globe-svg {
  width: 100%;
  height: 100%;
  animation: globeSpin 40s linear infinite;
  transform-origin: center center;
}
@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ai-hero-section .container { position: relative; z-index: 1; }

/* Latitude lines — disassemble outward then reassemble */
.globe-lat { transform-origin: 130px 130px; }
.globe-lat-1 { animation: latScatter1 9s ease-in-out infinite; }
.globe-lat-2 { animation: latScatter2 9s ease-in-out infinite 1s; }
.globe-lat-3 { animation: latScatter3 9s ease-in-out infinite 2s; }
.globe-lat-4 { animation: latScatter4 9s ease-in-out infinite 3s; }
@keyframes latScatter1 {
  0%,40%,100% { transform: translateY(0)  scaleX(1);   opacity: 0.6; }
  65%          { transform: translateY(-28px) scaleX(0.7); opacity: 0.08; }
}
@keyframes latScatter2 {
  0%,40%,100% { transform: translateY(0)  scaleX(1);   opacity: 0.6; }
  65%          { transform: translateY(28px)  scaleX(0.7); opacity: 0.08; }
}
@keyframes latScatter3 {
  0%,40%,100% { transform: translateY(0)  scaleX(1);   opacity: 0.5; }
  65%          { transform: translateY(-50px) scaleX(0.5); opacity: 0.05; }
}
@keyframes latScatter4 {
  0%,40%,100% { transform: translateY(0)  scaleX(1);   opacity: 0.5; }
  65%          { transform: translateY(50px)  scaleX(0.5); opacity: 0.05; }
}

/* Meridian lines — disassemble sideways then reassemble */
.globe-mer { transform-origin: 130px 130px; }
.globe-mer-1 { animation: merScatter1 11s ease-in-out infinite 0.5s; }
.globe-mer-2 { animation: merScatter2 11s ease-in-out infinite 1.5s; }
.globe-mer-3 { animation: merScatter3 11s ease-in-out infinite 2.5s; }
@keyframes merScatter1 {
  0%,40%,100% { transform: scaleX(1)   scaleY(1);   opacity: 0.6; }
  65%          { transform: scaleX(0.1) scaleY(1.3); opacity: 0.05; }
}
@keyframes merScatter2 {
  0%,40%,100% { transform: scaleX(1)   scaleY(1);   opacity: 0.5; }
  65%          { transform: scaleX(1.8) scaleY(0.6); opacity: 0.05; }
}
@keyframes merScatter3 {
  0%,40%,100% { transform: scaleX(1)   scaleY(1);   opacity: 0.4; }
  65%          { transform: scaleX(2.2) scaleY(0.3); opacity: 0.03; }
}

/* Outer ring pulse */
.globe-ring { animation: ringPulse 9s ease-in-out infinite; }
@keyframes ringPulse {
  0%,40%,100% { opacity: 0.6; stroke-width: 1.2; }
  65%          { opacity: 0.1; stroke-width: 3; }
}
.globe-eq { animation: ringPulse 9s ease-in-out infinite 0.3s; }

/* Dots — scatter and return */
.globe-dot { animation: dotScatter 9s ease-in-out infinite; }
.globe-dot-1 { transform-origin: 130px 10px;  animation-delay: 0s; }
.globe-dot-2 { transform-origin: 250px 130px; animation-delay: 0.4s; }
.globe-dot-3 { transform-origin: 130px 250px; animation-delay: 0.8s; }
.globe-dot-4 { transform-origin: 10px 130px;  animation-delay: 1.2s; }
.globe-dot-5 { transform-origin: 192px 46px;  animation-delay: 0.2s; }
.globe-dot-6 { transform-origin: 68px 214px;  animation-delay: 0.6s; }
@keyframes dotScatter {
  0%,35%,100% { opacity: 1;   r: 3; }
  55%          { opacity: 0;   r: 8; }
  60%,90%     { opacity: 0.2; }
}

/* Connection lines — dash flow */
.globe-line { animation: lineDash 3s linear infinite; }
.globe-line-1 { animation-delay: 0s; }
.globe-line-2 { animation-delay: 0.75s; }
.globe-line-3 { animation-delay: 1.5s; }
.globe-line-4 { animation-delay: 2.25s; }
@keyframes lineDash {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

@media (max-width: 900px) {
  .ai-globe-wrap { width: 380px; height: 380px; right: -100px; opacity: 0.25; }
}
@media (max-width: 640px) {
  .ai-hero-section { padding: 56px 0 52px; }
  .ai-globe-wrap { display: none; }
  .ai-searchbar { flex-direction: column; padding: 12px; gap: 10px; }
  .ai-searchbar-btn { width: 100%; justify-content: center; }
  .ai-main-headline { font-size: 2rem; }
  .ai-top-badges { gap: 8px; }
  .ai-chip { font-size: 0.8rem; padding: 6px 12px; }
}
