/* ========================================
   Growth Signal — Marketing Site
   Enterprise Intelligence Brand System
   ======================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --navy: #1E3A8A;
  --green: #10B981;
  --green-hover: #059669;
  --gold: #F59E0B;
  --platinum: #E5E7EB;
  --white: #FFFFFF;
  --dark: #0F172A;
  --dark-mid: #1E293B;

  /* Neutrals */
  --n900: #0F172A;
  --n800: #1E293B;
  --n700: #374151;
  --n500: #6B7280;
  --n400: #9CA3AF;
  --n300: #D1D5DB;
  --n50: #F9FAFB;

  /* Gradients */
  --grad-navy: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  --grad-premium: linear-gradient(180deg, #1E3A8A 0%, #1E293B 60%, #0F172A 100%);
  --grad-growth: linear-gradient(135deg, #1E3A8A 0%, #10B981 100%);
  --grad-cta: linear-gradient(135deg, #10B981 0%, #1E3A8A 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.15);

  /* Typography */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', 'Segoe UI', -apple-system, sans-serif;

  /* Layout */
  --max-w: 1160px;
  --px: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--n700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── Typography ───────────────────────────── */

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; color: var(--n900); line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.sub { color: var(--n500); font-size: 1.125rem; line-height: 1.7; max-width: 600px; }
.gold-bar { width: 80px; height: 4px; background: var(--gold); border-radius: 2px; margin: 16px 0 24px; }

/* ─── Layout ───────────────────────────────── */

.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ─── Buttons ──────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-hover); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-gold { background: var(--gold); color: var(--n900); }
.btn-gold:hover { background: #D97706; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Navigation ───────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--n400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.8125rem !important;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* ─── Hero ─────────────────────────────────── */

.hero {
  position: relative;
  background: var(--grad-premium);
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: 8px; }
.hero .sub { color: rgba(255,255,255,0.55); margin-bottom: 32px; }

.hero-wave {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.06;
  pointer-events: none;
}

.trust-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
}

.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 10px;
}

/* ─── Metrics Bar ──────────────────────────── */

.metrics {
  background: var(--dark);
  border-top: 3px solid var(--green);
  padding: 40px 0;
}

.metrics .inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.metric {
  text-align: center;
  padding: 16px;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.metric-label {
  color: var(--n400);
  font-size: 0.8125rem;
  margin-top: 8px;
}

/* ─── Cards ────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--platinum);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--n300);
  box-shadow: var(--shadow-md);
}

.card-dark {
  background: var(--dark-mid);
  border-color: rgba(255,255,255,0.06);
  color: var(--n300);
}

.card-dark:hover { border-color: rgba(255,255,255,0.12); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--n50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon img { width: 24px; height: 24px; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--n500); font-size: 0.9375rem; line-height: 1.6; }

.card-vertical {
  border-top: 3px solid transparent;
  cursor: default;
}

.card-vertical:hover { border-top-color: var(--gold); }

/* ─── Problem / Solution ───────────────────── */

.ps-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
}

.ps-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.ps-dot-red { background: #EF4444; }
.ps-dot-green { background: var(--green); }

.ps-item p { font-size: 0.9375rem; color: var(--n700); }

/* ─── Steps (How It Works) ─────────────────── */

.steps-section { background: var(--dark); color: var(--white); }

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}

.step-num-gold {
  border-color: var(--gold);
  background: rgba(245,158,11,0.1);
  color: var(--gold);
}

.step h3 { color: var(--white); margin-bottom: 8px; }
.step p { color: var(--n400); font-size: 0.9375rem; }

/* ─── Pricing ──────────────────────────────── */

.pricing-section { background: var(--n50); }

.pricing-card {
  background: var(--white);
  border: 1px solid var(--platinum);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--n900);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--n900);
}

.pricing-desc {
  color: var(--n500);
  font-size: 0.8125rem;
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pricing-period {
  color: var(--n400);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--n700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-best {
  font-size: 0.75rem;
  color: var(--n500);
  font-style: italic;
  margin-bottom: 20px;
}

.pricing-note {
  text-align: center;
  color: var(--n500);
  font-size: 0.8125rem;
  margin-top: 40px;
}

/* ─── FAQ ──────────────────────────────────── */

.faq details {
  border-bottom: 1px solid var(--platinum);
}

.faq summary {
  padding: 20px 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--n900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--n400);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: '−';
  color: var(--green);
}

.faq summary::-webkit-details-marker { display: none; }

.faq .answer {
  padding: 0 0 20px;
  color: var(--n500);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ─── CTA Banner ───────────────────────────── */

.cta-banner {
  background: var(--grad-cta);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 24px; }
.cta-banner .btn { font-size: 1rem; padding: 16px 40px; }

/* ─── Guarantees ───────────────────────────── */

.guarantee {
  background: var(--n50);
  border: 1px solid var(--platinum);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green);
  font-size: 1.25rem;
}

.guarantee h4 { margin-bottom: 8px; }
.guarantee p { color: var(--n500); font-size: 0.875rem; }

/* ─── Team ─────────────────────────────────── */

.team-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--platinum);
  border-radius: 12px;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.team-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--n900);
  font-size: 1.125rem;
}

.team-role {
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-bio { color: var(--n500); font-size: 0.875rem; }

/* ─── Service Detail Blocks ────────────────── */

.svc-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--platinum);
}

.svc-block:last-child { border-bottom: none; }

.svc-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
  background: rgba(30,58,138,0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.svc-result {
  color: var(--green);
  font-style: italic;
  font-size: 0.9375rem;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--green);
}

.svc-list { margin-top: 16px; }
.svc-list li {
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--n700);
  padding-left: 20px;
  position: relative;
}
.svc-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ─── Principles ───────────────────────────── */

.principle {
  padding: 24px;
  border-left: 3px solid var(--gold);
  margin-bottom: 16px;
}

.principle h4 { color: var(--white); margin-bottom: 4px; }
.principle p { color: var(--n400); font-size: 0.875rem; }

/* ─── Page Hero (inner pages) ──────────────── */

.page-hero {
  background: var(--grad-premium);
  padding: 80px 0 60px;
}

.page-hero h1 { color: var(--white); }
.page-hero .sub { color: rgba(255,255,255,0.5); }

/* ─── Footer ───────────────────────────────── */

.footer {
  background: var(--dark);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--n400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--n500);
  font-size: 0.75rem;
}

/* ─── Responsive ───────────────────────────── */

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .metrics .inner { grid-template-columns: repeat(4, 1fr); }
  .svc-block { grid-template-columns: 1fr 1fr; }
  .svc-block:nth-child(even) .svc-text { order: 2; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 60px 0; min-height: auto; }
  .section { padding: 56px 0; }
}

/* ─── Animations ───────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
