/* BuildARoster — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0F1B2D;
  --ink: #16233A;
  --offwhite: #F6F7FB;
  --white: #FFFFFF;
  --accent: #5B4EE0;
  --accent-dark: #4438B8;
  --amber: #E8A33D;
  --text: #1B2436;
  --text-muted: #5B6478;
  --border: #E4E7F0;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(15, 27, 45, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent-dark); }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-toggle { display: none; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 220px;
  z-index: 110;
}
/* Invisible bridge across the gap so the menu doesn't vanish
   while the cursor travels from the nav link down to the menu. */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.dropdown-menu a:hover { background: var(--offwhite); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, #14233B 100%);
  color: var(--white);
  padding: 96px 0 88px;
}
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  background: rgba(91,78,224,0.18);
  color: #B4ABFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 22px 0;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}
.trust-grid strong { color: var(--white); font-weight: 700; }

/* ---------- SECTIONS ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--offwhite); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.tag {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- SERVICE GRID ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(91,78,224,0.12);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.card a.link { font-weight: 600; color: var(--accent-dark); font-size: 0.88rem; }

/* ---------- TIERS ---------- */
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.tier-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.tier-badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--accent); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.03em;
}
.tier-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.tier-countries { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }
.tier-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.tier-list { margin-bottom: 20px; }
.tier-list li {
  font-size: 0.88rem; color: var(--text);
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.tier-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700;
}

/* ---------- STEPS ---------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.02rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  margin-top: 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: 0.88rem; }
.footer li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logo { font-weight: 800; color: var(--white); font-size: 1.1rem; margin-bottom: 14px; display:block; }
.footer-logo span { color: var(--accent); }

/* ---------- PAGE HERO (sub pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, #14233B 100%);
  color: var(--white);
  padding: 64px 0 64px;
  text-align: center;
}
.page-hero .tag { color: #B4ABFF; }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }

/* ---------- FORM ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--offwhite);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-muted); margin-top: 12px; font-size: 0.94rem; max-width: 720px; }

/* ---------- PRICE FLOOR NOTE ---------- */
.price-note {
  background: rgba(91,78,224,0.08);
  border: 1px solid rgba(91,78,224,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--navy);
}
.price-note strong { color: var(--accent-dark); font-size: 1.1rem; }

/* ---------- PULL QUOTE (testimonial on landing pages) ---------- */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 32px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.quote-block p.quote {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 18px;
}
.quote-block .attrib {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.quote-block .attrib strong { color: var(--navy); font-weight: 700; }

/* ---------- QA / OBJECTION BLOCK ---------- */
.qa-block {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  max-width: 820px;
  margin: 0 auto;
}
.qa-question {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.qa-question::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -13px;
  width: 0; height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 13px solid var(--white);
}
.qa-question span {
  display: block;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qa-question p { font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.qa-answer { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; padding-left: 4px; }
.qa-answer strong { color: var(--navy); }

/* ---------- BIG STATS BAND ---------- */
.stats-band {
  background: var(--navy);
  border-radius: 24px;
  padding: 56px 40px;
}
.stats-band h2 { color: var(--white); text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 40px; letter-spacing: -0.02em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .num { font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin-bottom: 8px; }
.stats-grid .label { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } .qa-block { padding: 28px; } .qa-question p { font-size: 1.1rem; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 60px 0; }
}
