/* ==========================================================
   Astrabrized Investor Site — 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: var(--bg);
  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;
}

/* Card patterns --------------------------------------------- */
.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);
}

/* Icon circles ---------------------------------------------- */
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.08);
  flex-shrink: 0;
}

/* Logo styling ---------------------------------------------- */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-mark svg { flex-shrink: 0; }

/* Nav hover indicator -------------------------------------- */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.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::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--brand-green); }

/* Section divider ------------------------------------------ */
.divider-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 2px;
}

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

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

/* Phone mockup glow ---------------------------------------- */
.glow-green {
  box-shadow:
    0 0 60px rgba(34, 197, 94, 0.25),
    0 0 120px rgba(34, 197, 94, 0.1);
}

/* Phase timeline connector --------------------------------- */
.timeline-line {
  position: absolute;
  left: 27px; top: 60px; bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(34,197,94,0.4) 0%, rgba(34,197,94,0.1) 100%);
}
.timeline-item:last-child .timeline-line { display: none; }

/* CTA Button ----------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px -4px rgba(22, 163, 74, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(22, 163, 74, 0.55);
}

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

/* Page header hero ---------------------------------------- */
.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

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