/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0f1b38;
  color: #b8c5e0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ─── Tokens ─── */
:root {
  --bg:          #0f1b38;
  --bg-soft:     #152244;
  --bg-deep:     #1a2d5a;
  --bg-darkest:  #070f22;
  --ink:         #eef2ff;
  --ink-mid:     #b8c5e0;
  --ink-light:   #7a8db3;
  --border:      #1e3060;
  --border-soft: #192848;
  --teal:        #0a8ea0;
  --teal-light:  #06b6d4;
  --teal-pale:   #092d38;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-pill: 100px;
}

/* ─── Layout ─── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.section-alt  { background: var(--bg-soft); }
.section-dark { background: var(--bg-darkest); }

/* ─── Typography ─── */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 16px; color: var(--ink); }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
p  { color: var(--ink-mid); line-height: 1.7; }
.section-dark p  { color: rgba(238,242,255,0.55); }
.section-dark h2 { color: var(--ink); }
.section-dark h3 { color: var(--ink); }

/* ─── Label ─── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 20px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--bg-deep); opacity: 1; }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { opacity: 0.9; }
.btn-ghost { background: rgba(238,242,255,0.08); color: var(--ink); border: 1.5px solid rgba(238,242,255,0.18); }
.btn-ghost:hover { background: rgba(238,242,255,0.14); opacity: 1; }

/* ─── Navigation ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,27,56,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.nav-logo { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a { padding: 7px 14px; border-radius: var(--radius-pill); font-size: 0.86rem; font-weight: 500; color: var(--ink-light); transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-deep); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { margin-left: 10px; }

/* ══════════ HOME ══════════ */

.hero {
  padding: 120px 0 96px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,142,160,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 28px;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); display: inline-block; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero-sub { font-size: 1.1rem; color: var(--ink-mid); max-width: 600px; margin-bottom: 44px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 0; margin-top: 80px; border-top: 1px solid var(--border); padding-top: 36px; }
.stat-item { flex: 1; padding-right: 36px; border-right: 1px solid var(--border); margin-right: 36px; }
.stat-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--ink-light); margin-top: 5px; line-height: 1.45; }

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 52px;
}
@media (max-width: 700px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: var(--bg-soft); padding: 36px 32px; transition: background 0.2s; }
.problem-card:hover { background: var(--bg-deep); }
.problem-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--teal); text-transform: uppercase; margin-bottom: 16px; }
.problem-card p { font-size: 1rem; color: var(--ink-mid); line-height: 1.6; }

/* Solution */
.solution-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 720px) { .solution-layout { grid-template-columns: 1fr; gap: 48px; } }
.solution-panel { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.solution-panel h3 { margin-bottom: 6px; }
.solution-panel > p { font-size: 0.9rem; margin-bottom: 28px; }
.solution-bullets { display: flex; flex-direction: column; gap: 14px; }
.solution-bullet { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--ink-mid); line-height: 1.55; }
.bullet-check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 0.6rem; color: var(--teal-light); }
.solution-text h2 { margin-bottom: 18px; }
.solution-text > p { font-size: 1rem; line-height: 1.75; margin-bottom: 32px; }

/* How It Works */
.steps-layout { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
@media (max-width: 700px) { .steps-layout { grid-template-columns: 1fr; gap: 36px; } }
.step { border-top: 2px solid var(--teal); padding-top: 24px; }
.step-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-light); text-transform: uppercase; margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.91rem; }

/* CTA Banner */
.cta-banner { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; text-align: center; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner > .container > p { font-size: 1.05rem; margin-bottom: 36px; }

/* ══════════ INTERIOR PAGES ══════════ */

.page-hero { padding: 80px 0 64px; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 680px; }
.page-hero p { margin-top: 18px; font-size: 1.05rem; max-width: 560px; }
.page-hero .about-quote { font-size: 1.1rem; color: var(--teal-light); max-width: 640px; margin-top: 24px; line-height: 1.75; font-style: italic; }

/* ══════════ SERVICES ══════════ */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 52px; }
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--bg-soft); padding: 36px 32px; display: flex; flex-direction: column; transition: background 0.2s; }
.service-card:hover { background: var(--bg-deep); }
.service-card.featured { background: var(--teal); }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-card.featured .service-ideal { color: rgba(255,255,255,0.6); }
.service-card.featured .service-badge { color: rgba(255,255,255,0.6); }
.service-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; color: var(--ink-light); }
.service-card h3 { margin-bottom: 12px; }
.service-card > p { flex: 1; margin-bottom: 14px; font-size: 0.91rem; line-height: 1.7; }
.service-ideal { font-size: 0.8rem; color: var(--ink-light); font-style: italic; margin-bottom: 28px; flex: 1; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
@media (max-width: 700px) { .industries-grid { grid-template-columns: 1fr; } }
.industry-card { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); transition: border-color 0.2s, background 0.2s; }
.industry-card:hover { border-color: var(--teal); background: var(--bg-deep); }
.industry-icon { font-size: 1.6rem; margin-bottom: 14px; }
.industry-card h3 { margin-bottom: 10px; }
.industry-card p { font-size: 0.9rem; }

/* FAQ */
.faq-list { margin-top: 48px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { padding: 22px 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-question:hover { color: var(--ink-mid); }
.faq-chevron { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; transition: transform 0.2s, background 0.2s, border-color 0.2s; flex-shrink: 0; color: var(--ink-light); }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--teal); border-color: var(--teal); color: #fff; }
.faq-answer { display: none; padding: 0 0 22px; font-size: 0.92rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ══════════ BOOK A CALL ══════════ */

.call-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 80px 0 96px; }
@media (max-width: 800px) { .call-layout { grid-template-columns: 1fr; gap: 48px; } }
.call-info h2 { margin-bottom: 16px; }
.call-info > p { font-size: 1rem; margin-bottom: 44px; line-height: 1.75; }
.what-to-expect-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 22px; }
.expect-steps { display: flex; flex-direction: column; }
.expect-step { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.expect-step:last-child { border-bottom: none; }
.expect-num { font-size: 0.72rem; font-weight: 700; color: var(--teal-light); letter-spacing: 0.08em; width: 28px; flex-shrink: 0; padding-top: 2px; }
.expect-step p { font-size: 0.91rem; line-height: 1.6; }
.calendly-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.calendly-header { background: var(--bg-darkest); padding: 24px 28px; border-bottom: 1px solid var(--border); }
.calendly-header h3 { font-size: 0.98rem; }
.calendly-header p { color: var(--ink-light); font-size: 0.82rem; margin-top: 4px; }
.contact-form { padding: 28px 28px 32px; }
.contact-form h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-mid); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; font-family: inherit; color: var(--ink); background: var(--bg-deep); transition: border-color 0.15s, box-shadow 0.15s; outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-light); }
.form-group select option { background: var(--bg-deep); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,142,160,0.15); }
.form-group textarea { resize: vertical; min-height: 88px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 500px) { .form-grid { grid-template-columns: 1fr; } }
.form-submit { width: 100%; margin-top: 6px; }

/* ─── Footer ─── */
footer { background: var(--bg-darkest); color: var(--ink-light); padding: 56px 0 36px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; display: block; margin-bottom: 10px; }
.footer-logo span { color: var(--teal-light); }
.footer-brand p { font-size: 0.84rem; max-width: 240px; line-height: 1.6; }
.footer-col h4 { color: var(--ink-light); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.86rem; color: var(--ink-light); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; }

/* ─── Responsive ─── */
@media (max-width: 580px) {
  .nav-links a { padding: 6px 10px; font-size: 0.82rem; }
  .nav-cta { display: none; }
  .hero { padding: 80px 0 64px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 24px; margin-right: 0; margin-bottom: 0; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}
