/* ── Crestline Commerce — Global Styles ── */
:root {
  --navy: #0f1c2e;
  --navy-light: #1a2d45;
  --teal: #0891b2;
  --teal-light: #06b6d4;
  --teal-dark: #0e7490;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --green: #059669;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }

/* ── Navigation ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: var(--max-w); margin: 0 auto;
}
.nav-logo {
  font-weight: 800; font-size: 1.2rem; color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray-400); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: 6px; font-weight: 600 !important;
  font-size: 0.875rem !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 0.875rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); color: var(--navy); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0c2340 100%);
  padding: 6rem 0 5rem;
  color: var(--white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,145,178,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-block; background: rgba(8,145,178,0.2); color: var(--teal-light);
  padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1.5rem; border: 1px solid rgba(8,145,178,0.3);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--teal-light); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 580px; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ── Social Proof Bar ── */
.proof-bar {
  background: var(--teal-dark); color: var(--white);
  padding: 1.25rem 0; text-align: center;
}
.proof-bar p { font-size: 0.95rem; margin: 0; opacity: 0.9; }
.proof-bar cite { font-style: normal; opacity: 0.7; font-size: 0.85rem; }

/* ── How It Works ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.step-card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}
.step-number {
  width: 48px; height: 48px; background: var(--teal); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem; margin-bottom: 1.25rem;
}
.step-card h3 { margin-bottom: 0.75rem; }

/* ── Why Section / Feature Grid ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.feature-card {
  padding: 1.75rem; border-radius: 10px;
  background: var(--white); border: 1px solid var(--gray-200);
}
.feature-icon {
  width: 44px; height: 44px; background: var(--gray-100);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.feature-card p { font-size: 0.95rem; color: var(--gray-600); margin: 0; }

/* ── Stats Grid ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.stat-card { text-align: center; padding: 1.5rem; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 0.5rem; }
.stat-copy { font-size: 0.9rem; color: var(--gray-600); line-height: 1.4; }
.stat-source { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.5rem; display: block; }

/* ── Pricing Card ── */
.pricing-card {
  background: var(--white); border: 2px solid var(--teal);
  border-radius: 16px; padding: 2.5rem; max-width: 560px; margin: 3rem auto 0;
  box-shadow: 0 8px 32px rgba(8,145,178,0.12);
}
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin: 0.5rem 0; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--gray-600); }
.pricing-badge {
  display: inline-block; background: var(--green); color: var(--white);
  font-size: 0.8rem; padding: 0.25rem 0.75rem; border-radius: 100px;
  font-weight: 600; margin-bottom: 1rem;
}
.pricing-list { list-style: none; margin: 1.5rem 0; }
.pricing-list li {
  padding: 0.6rem 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; color: var(--gray-700);
}
.pricing-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-fine { font-size: 0.8rem; color: var(--gray-400); margin-top: 1rem; text-align: center; }

/* ── FAQ ── */
.faq-list { margin-top: 3rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; font-size: 1.05rem; }
.faq-a { color: var(--gray-600); font-size: 0.95rem; margin: 0; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); text-align: center; padding: 5rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; }
.cta-group { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Audience Pills ── */
.audience-list {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}
.pill {
  background: var(--gray-100); color: var(--gray-700);
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.9rem;
  border: 1px solid var(--gray-200);
}

/* ── Checklist ── */
.checklist { list-style: none; margin-top: 2rem; }
.checklist li {
  padding: 1rem 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 1rem;
}
.checklist li:last-child { border-bottom: none; }
.check-icon { color: var(--teal); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.check-label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 0.25rem; }
.checklist p { font-size: 0.95rem; color: var(--gray-600); margin: 0; }

/* ── Contact / Book page ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); }
.calendly-placeholder {
  background: var(--gray-50); border: 2px dashed var(--gray-200);
  border-radius: 12px; padding: 3rem 2rem; text-align: center; color: var(--gray-400);
}
.contact-detail { margin-top: 2rem; }
.contact-detail a { color: var(--teal); font-weight: 600; font-size: 1.05rem; }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 4rem 0 3rem; color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; }

/* ── Values ── */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.value-card {
  padding: 2rem; border-radius: 10px;
  border-left: 4px solid var(--teal);
  background: var(--gray-50);
}
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--gray-600); margin: 0; font-size: 0.95rem; }

/* ── Footer ── */
footer {
  background: var(--gray-900); color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand { font-weight: 800; font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.85rem; margin-bottom: 0.75rem; }
.footer-email { color: var(--teal-light); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Section Headers ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 1rem; }
.section-header.left { text-align: left; margin: 0 0 1rem; }
.section-sub { color: var(--gray-600); font-size: 1.05rem; margin-top: 0.75rem; }

/* ── Scope Box ── */
.scope-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 2rem; margin-top: 3rem;
}
.scope-box h3 { margin-bottom: 0.75rem; }
.scope-box p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
}
