/* ─── Custom Properties ─── */
:root {
  --color-navy:       #0C1A33;
  --color-navy-mid:   #132240;
  --color-blue:       #2563EB;
  --color-blue-hover: #1D4ED8;
  --color-blue-light: #EFF6FF;
  --color-off-white:  #F7F9FC;
  --color-alt:        #EEF2FF;
  --color-white:      #FFFFFF;
  --color-text:       #111827;
  --color-muted:      #6B7280;
  --color-border:     #E5E7EB;
  --color-success:    #059669;
  --color-error:      #DC2626;

  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1100px;
  --radius: 10px;
  --shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --transition: 150ms ease;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ─── Typography ─── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem);   font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2;  letter-spacing: -.015em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p  { line-height: 1.7; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section     { padding: 80px 0; background: var(--color-off-white); }
.section--alt { background: var(--color-alt); }
.section--dark { background: var(--color-navy); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}
.btn--primary { background: var(--color-blue); color: var(--color-white); }
.btn--primary:hover { background: var(--color-blue-hover); }
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.8); }
.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo svg { height: 32px; width: auto; }

.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--color-text); }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__drawer {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  gap: .25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}
.nav__drawer.is-open { display: flex; }
.nav__drawer a {
  padding: .65rem .5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: background var(--transition);
}
.nav__drawer a:hover { background: var(--color-off-white); }
.nav__drawer .btn { margin-top: .5rem; text-align: center; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .nav__drawer { display: none !important; }
}

/* ─── Hero ─── */
.hero {
  background: var(--color-navy);
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 { color: var(--color-white); max-width: 750px; margin: 0 auto .75rem; }
.hero__sub {
  color: rgba(255,255,255,.72);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  font-weight: 500;
}
.hero__trust span { display: flex; align-items: center; gap: .35rem; }
.check { color: #34D399; }

/* ─── Why ─── */
.why__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.why__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.why__icon { font-size: 2rem; margin-bottom: .75rem; }
.why__card p { color: var(--color-muted); font-size: .9375rem; margin-top: .35rem; }
.why__note {
  text-align: center;
  color: var(--color-muted);
  font-size: .9375rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .why__cards { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Pricing ─── */
.pricing__intro { text-align: center; margin-bottom: 2.5rem; }
.pricing__intro h2 { margin-bottom: .4rem; }
.pricing__intro p { color: var(--color-muted); }
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing__card--featured { border-color: var(--color-blue); }
.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue);
  color: var(--color-white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .02em;
}
.pricing__name { font-size: .9375rem; font-weight: 600; color: var(--color-muted); margin-bottom: .5rem; }
.pricing__price { font-size: 2.75rem; font-weight: 800; color: var(--color-navy); line-height: 1; margin-bottom: .25rem; }
.pricing__mo { color: var(--color-muted); font-size: .875rem; margin-bottom: 1.5rem; }
.pricing__features { flex: 1; margin-bottom: 1.5rem; }
.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .9rem;
  gap: .5rem;
}
.pricing__row:first-child { border-top: 1px solid var(--color-border); }
.pricing__row-label { color: var(--color-muted); }
.pricing__row-val { font-weight: 600; color: var(--color-text); text-align: right; }
.p-check { color: var(--color-blue); }
.p-dash { color: var(--color-border); }
.pricing__addons { max-width: 540px; margin: 0 auto; }
.pricing__addons h3 { margin-bottom: 1rem; }
.addons-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.addons-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); }
.addons-table tr:first-child td { border-top: 1px solid var(--color-border); }
.addons-table td:first-child { color: var(--color-muted); }
.addons-table td:last-child { font-weight: 600; text-align: right; white-space: nowrap; }
@media (min-width: 640px) {
  .pricing__cards { grid-template-columns: repeat(2, 1fr); }
}

/* ─── What's included ─── */
.included__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.included__item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.included__item h3 { color: var(--color-navy); margin-bottom: .75rem; }
.included__item p {
  color: var(--color-muted);
  font-size: .9375rem;
  line-height: 1.9;
}
@media (min-width: 640px) {
  .included__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Process ─── */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
}
.process__step { display: flex; gap: 1.25rem; align-items: flex-start; }
.process__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process__step h3 { margin-bottom: .3rem; }
.process__step p { color: var(--color-muted); font-size: .9375rem; }
.process__note {
  text-align: center;
  color: var(--color-muted);
  font-size: .9375rem;
  font-style: italic;
  margin-bottom: 2rem;
}
.process__cta { display: flex; justify-content: center; }
@media (min-width: 768px) {
  .process__steps { flex-direction: row; }
  .process__step { flex-direction: column; align-items: center; text-align: center; flex: 1; }
}

/* ─── FAQ ─── */
.faq__list { max-width: 700px; margin: 2.5rem auto 0; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item:first-child { border-top: 1px solid var(--color-border); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  gap: 1rem;
}
.faq__question:hover { color: var(--color-blue); }
.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--color-muted);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}
.faq__answer {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: .9375rem;
  line-height: 1.75;
}
.faq__item.is-open .faq__answer { display: block; }

/* ─── Contact form ─── */
.contact-section { background: var(--color-navy); padding: 80px 0; }
.contact-section__head { text-align: center; margin-bottom: 2.5rem; }
.contact-section__head h2 { color: var(--color-white); margin-bottom: .5rem; }
.contact-section__head p { color: rgba(255,255,255,.6); font-size: 1rem; }

.contact-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .contact-card { padding: 3rem; } }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .35rem;
}
.form-group label .opt { color: var(--color-muted); font-weight: 400; margin-left: .25rem; font-size: .8125rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group input.is-error,
.form-group select.is-error,
.form-group textarea.is-error { border-color: var(--color-error); }
.field-error {
  font-size: .8125rem;
  color: var(--color-error);
  margin-top: .3rem;
  display: none;
}
.field-error.visible { display: block; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}
.form__error-banner {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--color-error);
  border-radius: 6px;
  padding: .85rem 1rem;
  font-size: .875rem;
  margin-bottom: 1.25rem;
}
.form__error-banner.visible { display: block; }

.btn--submit { position: relative; overflow: hidden; }
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-submitting .spinner { display: block; }
.is-submitting .btn-label { opacity: 0; position: absolute; }

.form__success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form__success.visible { display: block; }
.success-icon {
  width: 56px;
  height: 56px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.form__success h3 { color: var(--color-navy); margin-bottom: .5rem; }
.form__success p { color: var(--color-muted); }

/* ─── Footer ─── */
.footer {
  background: var(--color-navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__logo { display: flex; align-items: center; margin-bottom: 1rem; }
.footer__logo svg { height: 30px; width: auto; }
.footer__tagline { color: rgba(255,255,255,.5); font-size: .9375rem; margin-bottom: .4rem; }
.footer__email a {
  color: rgba(255,255,255,.65);
  font-size: .9375rem;
  transition: color var(--transition);
}
.footer__email a:hover { color: var(--color-white); }
.footer__nav-label {
  color: var(--color-white);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a {
  color: rgba(255,255,255,.55);
  font-size: .9375rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-white); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  color: rgba(255,255,255,.35);
  font-size: .8125rem;
}
@media (min-width: 640px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
