/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:      #0071df;
  --blue-dark: #005cba;
  --ink:       #0a0e11;
  --grey:      #a3a6a9;
  --white:     #ffffff;
  --surface:   #111519;
  --surface-2: #161c22;
  --border:    rgba(163, 166, 169, 0.12);
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ──────────────────────────────────────────── */
h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}
p { color: var(--grey); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.text-blue { color: var(--blue); }

/* ─── Container ───────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: 10px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 113, 223, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--grey);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: rgba(0, 113, 223, 0.5);
  color: var(--blue);
}

.btn--outline-sm {
  background: transparent;
  color: var(--grey);
  border-color: var(--border);
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 7px;
}
.btn--outline-sm:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

/* ─── Section Shared ──────────────────────────────────────── */
.section { padding: 108px 0; }

.section__header {
  text-align: center;
  margin-bottom: 72px;
}
.section__header h2 { margin-bottom: 16px; }
.section__header p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section__label {
  display: inline-block;
  background: rgba(0, 113, 223, 0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 113, 223, 0.2);
}

/* ─── Scroll Animations ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 17, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.nav--scrolled {
  background: rgba(10, 14, 17, 0.96);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links > a:not(.btn) {
  font-size: 0.875rem;
  color: var(--grey);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links > a:not(.btn):hover { color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grey);
  border-radius: 2px;
  transition: all 0.28s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 130px 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 113, 223, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 223, 0.1);
  border: 1px solid rgba(0, 113, 223, 0.25);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero__title { margin-bottom: 24px; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 540px;
  margin: 0 auto 44px;
  color: var(--grey);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Benefits Strip ──────────────────────────────────────── */
.benefits {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0;
}
.benefits__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 0.875rem;
  font-weight: 500;
}
.benefit svg { flex-shrink: 0; }

/* ─── Process ─────────────────────────────────────────────── */
.process { background: var(--surface); }

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.step {
  flex: 1;
  text-align: center;
  padding: 36px 28px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step h3 { color: var(--white); margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

.step__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.step__connector {
  width: 48px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0, 113, 223, 0.5), transparent);
  margin-top: 56px;
  align-self: flex-start;
}

/* ─── Pricing ─────────────────────────────────────────────── */
.pricing { background: var(--ink); }

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 32px;
}

.pricing__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pricing__card--featured {
  background: var(--surface-2);
  border-color: rgba(0, 113, 223, 0.45);
  box-shadow: 0 0 52px rgba(0, 113, 223, 0.12);
}

.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing__card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--white);
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.pricing__amount {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}
.pricing__period {
  font-size: 0.85rem;
  color: var(--grey);
}
.pricing__desc { font-size: 0.9rem; line-height: 1.6; }

.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--grey);
}
.pricing__card--featured .pricing__features li {
  color: rgba(255,255,255,0.8);
}
.pricing__features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230071df' d='M13.5 3.5L6 11 2.5 7.5 1.5 8.5 6 13l8.5-8.5-1-1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing__price--dual {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pricing__price-option {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__amount--sm {
  font-size: 2.2rem;
}
.pricing__price-divider {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 500;
  padding: 0 2px;
}

.pricing__note {
  max-width: 1120px;
  margin: 8px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
}
.pricing__note-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pricing__note-icon {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing__note strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.pricing__note > .pricing__note-inner > div {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ─── Contact ─────────────────────────────────────────────── */
.contact { background: var(--surface); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contact__copy .section__label { margin-bottom: 16px; }
.contact__copy h2 { margin-bottom: 18px; }
.contact__copy p { font-size: 1rem; line-height: 1.75; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form__group label {
  font-size: 0.825rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}
.form__group select,
.form__group input,
.form__group textarea {
  background: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  -webkit-appearance: none;
}
.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23a3a6a9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form__group select option { background: #0a0e11; }

.form__group--hidden {
  display: none;
}
.form__group--hidden.visible {
  display: flex;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(163, 166, 169, 0.45);
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: rgba(0, 113, 223, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 113, 223, 0.12);
}
.form__group input.error,
.form__group textarea.error {
  border-color: rgba(220, 60, 60, 0.6);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand p {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 10px;
}
.footer__nav {
  display: flex;
  gap: 28px;
}
.footer__nav a {
  font-size: 0.875rem;
  color: var(--grey);
  font-weight: 500;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(163, 166, 169, 0.5);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .process__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .step__connector { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 17, 0.98);
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }

  .hero { padding: 90px 0 80px; }

  .benefits__grid { gap: 28px; }

  .process__steps { grid-template-columns: 1fr; }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing__note {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  .pricing__card { padding: 36px 28px; }
  .pricing__note { padding: 20px 22px; }
}
