/* 3B.X SOLUTIONS — Shared styles
   Single source of truth. No inline duplication.
   ----------------------------------------------- */

:root {
  --sky-50:  #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-300: #7DD3FC;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-700: #0369A1;

  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --emerald-500: #10B981;
  --amber-500:   #F59E0B;
  --rose-500:    #F43F5E;

  --white: #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);

  --container: 1140px;
  --section-y: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--sky-700); }
button { font-family: inherit; cursor: pointer; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--sky-600);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--slate-900); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 40px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }
p  { margin: 0 0 16px; color: var(--slate-700); }
small { font-size: 14px; }

::selection { background: var(--sky-100); color: var(--slate-900); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--slate-50); }
.section--dark { background: var(--slate-900); color: var(--slate-100); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--slate-300); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 16px;
}
.eyebrow--muted { color: var(--slate-500); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 19px; color: var(--slate-600); }

.muted { color: var(--slate-500); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 32px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 15px; font-weight: 500; color: var(--slate-700);
}
.site-nav a:hover { color: var(--slate-900); }
.site-nav__cta { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 13px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.lang-switch a {
  display: inline-block;
  padding: 4px 10px;
  color: var(--slate-600);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lang-switch a.is-active {
  background: var(--white);
  color: var(--slate-900);
  box-shadow: var(--shadow-xs);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--slate-700); border-radius: 2px; position: relative; transition: 180ms;
}
.menu-toggle span::before { content: ''; position: absolute; top: -6px; left: 0; }
.menu-toggle span::after  { content: ''; position: absolute; top:  6px; left: 0; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.is-open span::after  { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 16px 24px 24px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--slate-100); }
  .site-nav__cta { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: all 160ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--sky-500); color: var(--white); }
.btn--primary:hover { background: var(--sky-600); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: var(--white); color: var(--slate-800); border-color: var(--slate-200); }
.btn--ghost:hover { background: var(--slate-50); color: var(--slate-900); border-color: var(--slate-300); }
.btn--dark { background: var(--slate-900); color: var(--white); }
.btn--dark:hover { background: var(--slate-800); color: var(--white); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 360px at 50% -10%, rgba(14, 165, 233, 0.10), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  overflow: hidden;
}
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 24px; }
.hero__sub { font-size: 20px; color: var(--slate-600); margin-bottom: 32px; }
.hero__ctas { justify-content: center; margin-bottom: 32px; }
.hero__proof {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 18px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 14px; color: var(--slate-600);
}
.hero__proof strong { color: var(--slate-900); font-weight: 600; }
.hero__proof .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-500); }

@media (max-width: 720px) {
  .hero { padding: 64px 0 48px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero__sub { font-size: 18px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.card__eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 12px; }
.card__title { margin-bottom: 8px; }
.card__price { font-family: var(--font-mono); font-size: 14px; color: var(--slate-500); margin-bottom: 16px; }
.card__price strong { color: var(--slate-900); font-weight: 700; font-size: 18px; }
.card__cta { margin-top: 24px; }
.card--feature { padding: 28px; }
.card--feature .card__num {
  display: inline-block; font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--sky-600); margin-bottom: 12px;
}

/* ---------- Stats / pillars ---------- */
.stat { padding: 28px; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: var(--white); }
.stat__num { font-size: 40px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.03em; margin-bottom: 4px; line-height: 1; }
.stat__label { color: var(--slate-600); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card--featured { border-color: var(--sky-500); box-shadow: var(--shadow-lg); }
.price-card__badge {
  position: absolute; top: -12px; left: 36px;
  background: var(--sky-500); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.price-card__price { font-size: 44px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin: 8px 0; }
.price-card__price small { font-size: 16px; font-weight: 500; color: var(--slate-500); }
.price-card__desc { color: var(--slate-600); margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 8px 0 8px 28px; position: relative; color: var(--slate-700); font-size: 15px; }
.price-card li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--sky-500); font-weight: 700; font-size: 16px;
}
.price-card .btn { margin-top: auto; }

/* ---------- Lists ---------- */
.deliverables { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .deliverables { grid-template-columns: 1fr; } }
.deliverables li {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; gap: 14px;
}
.deliverables li::before {
  content: ''; flex: 0 0 8px; height: 8px; margin-top: 9px;
  background: var(--sky-500); border-radius: 50%;
}
.deliverables strong { color: var(--slate-900); display: block; margin-bottom: 2px; }
.deliverables span { color: var(--slate-600); font-size: 14px; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 16px; }
.timeline__row {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  padding: 20px; background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}
.timeline__day {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--sky-600);
}
.timeline__title { font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.timeline__desc { color: var(--slate-600); font-size: 15px; }
@media (max-width: 600px) {
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 160ms ease;
}
.faq details[open] { border-color: var(--sky-300); }
.faq summary {
  font-weight: 600; color: var(--slate-900); font-size: 17px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 22px;
  color: var(--sky-600); transition: transform 200ms ease;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 12px; color: var(--slate-700); font-size: 16px; }

/* ---------- Quote / case study ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--sky-500);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.quote__text {
  font-size: 22px; line-height: 1.45; color: var(--slate-900);
  font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.quote__attr { font-size: 14px; color: var(--slate-600); display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}

/* ---------- Guarantee ---------- */
.guarantee {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: center;
}
.guarantee__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--sky-500);
}
.guarantee__icon svg { width: 40px; height: 40px; }
.guarantee h3 { color: var(--white); margin-bottom: 8px; }
.guarantee p { color: var(--slate-300); margin: 0; }
@media (max-width: 600px) {
  .guarantee { grid-template-columns: 1fr; padding: 32px; }
}

/* ---------- Countdown ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 540px; margin: 24px auto 0;
}
.countdown__unit {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 18px 8px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.countdown__num {
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.countdown__label {
  font-size: 12px; font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 6px;
}
@media (max-width: 480px) {
  .countdown__num { font-size: 28px; }
}

/* ---------- Stack badges ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--slate-700); font-weight: 500;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px; color: var(--slate-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 40px;
  font-size: 14px;
}
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: var(--white); }
.site-footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer h5 {
  color: var(--white); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; }
.site-footer__legal {
  padding-top: 32px;
  border-top: 1px solid var(--slate-800);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px;
  color: var(--slate-500);
}
.site-footer__legal address { font-style: normal; }
.site-footer__brand img { height: 28px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }

/* ---------- Misc ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--sky-100); color: var(--sky-700);
  margin-bottom: 16px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono); font-size: 12px;
  padding: 4px 10px; border-radius: 6px;
  background: var(--slate-100); color: var(--slate-700);
}

/* Compare / before-after */
.compare { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare__box { padding: 28px; border-radius: var(--radius-lg); }
.compare__box--before { background: var(--slate-50); border: 1px solid var(--slate-200); }
.compare__box--after  { background: linear-gradient(180deg, var(--white), var(--sky-50)); border: 1px solid var(--sky-300); }
.compare__box h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.compare__box--before h4 { color: var(--slate-500); }
.compare__box--after  h4 { color: var(--sky-700); }
.compare__box ul { list-style: none; padding: 0; margin: 0; }
.compare__box li { padding: 6px 0; color: var(--slate-700); font-size: 15px; }

/* Thank you page */
.thanks {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks__icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-50));
  border: 2px solid var(--sky-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.thanks__icon svg { width: 48px; height: 48px; color: var(--sky-600); }
