/* ==========================================================
   Astrabrized — Public Website Shared Styles
   Brand: Deep navy + signal green, sharp & corporate
   ========================================================== */

:root {
  --brand-navy: #0a1f44;
  --brand-navy-deep: #050f24;
  --brand-navy-soft: #112a5c;
  --brand-green: #16a34a;
  --brand-green-bright: #22c55e;
  --brand-blue: #3b82f6;
  --brand-cyan: #38bdf8;
  --ink: #0f172a;
  --ink-soft: #334155;
  --line: #e2e8f0;
  --bg: #f8fafc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv01", "cv11";
  background: white;
  color: var(--ink);
}

.font-display {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.font-serif-display {
  font-family: 'Fraunces', 'Georgia', serif;
  font-optical-sizing: auto;
}

/* ── Gradient utilities ──────────────────────────────────── */
.bg-navy-radial {
  background:
    radial-gradient(ellipse at top right, rgba(34,197,94,0.18), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(59,130,246,0.18), transparent 50%),
    linear-gradient(135deg, #050f24 0%, #0a1f44 50%, #112a5c 100%);
}

.bg-navy-mesh {
  background-color: #0a1f44;
  background-image:
    radial-gradient(at 20% 15%, rgba(34,197,94,0.15) 0px, transparent 50%),
    radial-gradient(at 85% 25%, rgba(56,189,248,0.15) 0px, transparent 50%),
    radial-gradient(at 70% 90%, rgba(59,130,246,0.12) 0px, transparent 50%);
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.text-gradient-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(10,31,68,0.15);
  border-color: rgba(34,197,94,0.3);
}

.card-dark {
  background: linear-gradient(160deg, #0a1f44 0%, #112a5c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  color: white;
}

/* ── Number badges ───────────────────────────────────────── */
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  background: linear-gradient(135deg, #0a1f44, #112a5c);
  color: white;
  flex-shrink: 0;
}
.num-badge-green { background: linear-gradient(135deg, #16a34a, #22c55e); }

/* ── Step numbers ────────────────────────────────────────── */
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Feature icon circles ────────────────────────────────── */
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,163,74,0.1);
  flex-shrink: 0;
}
.icon-circle-blue {
  background: rgba(59,130,246,0.1);
}
.icon-circle-sm {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,163,74,0.1);
  flex-shrink: 0;
}

/* ── Logo ────────────────────────────────────────────────── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark svg { flex-shrink: 0; }
.logo-mark img.logo-img { width: 70px; height: auto; flex-shrink: 0; display: inline-block; }

/* ── Navbar ──────────────────────────────────────────────── */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s;
  text-decoration: none;
  color: #334155;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brand-green-bright);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--brand-navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--brand-green); }
.nav-link.active::after { width: 100%; }

/* Solutions dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px -5px rgba(10,31,68,0.15);
  padding: 0.5rem;
  min-width: 200px;
  display: none;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background 0.15s;
  text-decoration: none;
}
.nav-dropdown-menu a:hover {
  background: #f1f5f9;
  color: var(--brand-navy);
}

/* Nav buttons */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.2s;
  background: white;
  text-decoration: none;
}
.btn-login:hover { background: var(--brand-navy); color: white; }

.btn-signup {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: var(--brand-navy);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-signup:hover { background: var(--brand-navy-soft); }

/* ── CTA Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px -4px rgba(22,163,74,0.4);
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(22,163,74,0.55);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--brand-navy);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-dark:hover { background: var(--brand-navy-soft); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  background: transparent;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-outline:hover { background: var(--brand-navy); color: white; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.25s;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-ghost:hover { border-color: rgba(34,197,94,0.6); background: rgba(34,197,94,0.08); }

/* ── Hero label badge ────────────────────────────────────── */
.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.75rem;
}

/* ── Section heading ─────────────────────────────────────── */
.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  font-size: 2rem;
}
.section-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ── Divider line ────────────────────────────────────────── */
.divider-line {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.divider-line-left { margin: 0 0 1.25rem; }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Float animation ─────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* ── Hero visual area (right side) ──────────────────────── */
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 50%, #eff6ff 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Truck SVG illustration ──────────────────────────────── */
.truck-wrap {
  position: relative;
  z-index: 2;
}

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar { background: var(--brand-navy); color: white; }

/* ── Feature card ────────────────────────────────────────── */
.feat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px rgba(10,31,68,0.12);
  border-color: rgba(22,163,74,0.25);
}

/* ── Learn more link ─────────────────────────────────────── */
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-green);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: gap 0.2s;
}

/* Centralized icon styling for Font Awesome and externalized SVGs */
.site-icon {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* Font Awesome icon styling */
i[class*="fas"] {
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
}

/* Ensure icons in check items and badges work well */
.check-item i,
.check-green i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i,
.icon-circle-sm i {
  display: inline;
}

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-navy);
  transition: all 0.2s;
  text-decoration: none;
  font-size: 0.875rem;
}
.social-icon:hover {
  background: rgba(22, 163, 74, 0.1);
  color: var(--brand-green);
}
.learn-more:hover { gap: 0.6rem; }

/* ── Process step connector ──────────────────────────────── */
.step-dashes {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #cbd5e1 0px, #cbd5e1 6px,
    transparent 6px, transparent 12px
  );
  margin: 0 0.5rem;
  align-self: flex-start;
  margin-top: 32px;
}

/* ── Phone mockup ────────────────────────────────────────── */
.phone-mockup {
  background: #0f172a;
  border-radius: 2.5rem;
  padding: 0.6rem;
  box-shadow: 0 30px 60px -15px rgba(10,31,68,0.4);
}
.phone-screen {
  background: white;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 5rem; height: 1.5rem;
  background: #0f172a;
  border-radius: 0 0 1rem 1rem;
  z-index: 10;
}

/* ── Dashboard mockup ────────────────────────────────────── */
.dashboard-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(10,31,68,0.2);
  overflow: hidden;
}

/* ── Pricing card ────────────────────────────────────────── */
.pricing-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
}
.pricing-card:hover {
  box-shadow: 0 16px 40px -8px rgba(10,31,68,0.15);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 500;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.9rem;
  color: #64748b;
  padding-bottom: 0;
}
.faq-body.open { max-height: 200px; padding-bottom: 1rem; }
.faq-icon { transition: transform 0.3s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(180deg); }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--brand-navy);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ── Check list ──────────────────────────────────────────── */
.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #334155;
}

/* ── Mobile menu ─────────────────────────────────────────── */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ── Social icon ─────────────────────────────────────────── */
.social-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* ── Trust badge ─────────────────────────────────────────── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #475569;
}
.trust-badge svg { color: var(--brand-navy); }

/* ── India map dots ──────────────────────────────────────── */
@keyframes ping-dot {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}
.map-ping {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-green-bright);
}
.map-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-green-bright);
  animation: ping-dot 2s cubic-bezier(0,0,0.2,1) infinite;
}

/* ── Green checkmark ──────────────────────────────────────── */
.check-green {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(22,163,74,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
