/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:       #0A0E1A;
  --bg-card:  #111627;
  --bg-card-hover: #161C33;
  --blue:     #2563EB;
  --blue-hover: #3B7BFF;
  --white:    #FFFFFF;
  --gray-100: #E2E8F0;
  --gray-300: #94A3B8;
  --gray-500: #64748B;
  --gray-700: #334155;
  --radius:   12px;
  --radius-sm: 8px;
  --shadow:   0 4px 24px rgba(0,0,0,.35);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; border: none; cursor: pointer;
  border-radius: var(--radius-sm); transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn--sm  { font-size: .875rem; padding: 10px 20px; }
.btn--lg  { font-size: 1rem;    padding: 14px 28px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 0 20px rgba(37,99,235,.25);
}
.btn--primary:hover {
  background: var(--blue-hover); color: var(--white);
  box-shadow: 0 0 30px rgba(37,99,235,.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--gray-500);
}
.btn--ghost:hover {
  border-color: var(--white); color: var(--white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: rgba(37,99,235,.1); color: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  letter-spacing: -.02em;
}
.nav__logo:hover { color: var(--white); }
.nav__logo span { color: var(--blue); }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,.12) 0%, transparent 70%),
    var(--bg);
}
.hero__inner { max-width: 780px; margin: 0 auto; }

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300); max-width: 600px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero__badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  font-size: .8rem; font-weight: 500; color: var(--gray-300);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px; padding: 8px 16px;
}

/* ===== SECTION HEADERS ===== */
.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -.02em; text-align: center;
  margin-bottom: 10px;
}
.section__sub {
  font-size: 1.05rem; color: var(--gray-300);
  text-align: center; margin-bottom: 48px;
}

/* ===== HOW IT WORKS ===== */
.how { padding: 100px 0; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.how__card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}
.how__card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37,99,235,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.how__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(37,99,235,.15); color: var(--blue);
  font-weight: 700; font-size: 1.1rem; margin-bottom: 18px;
}
.how__card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px;
}
.how__card p { font-size: .95rem; color: var(--gray-300); line-height: 1.65; }

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(37,99,235,.08) 0%, transparent 70%),
    var(--bg);
}
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.pricing__card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing__card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(37,99,235,.15);
  transform: scale(1.04);
}
.pricing__card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 50px rgba(37,99,235,.2);
}

.pricing__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 5px 16px; border-radius: 100px;
}

.pricing__plan {
  font-size: 1.1rem; font-weight: 600; color: var(--gray-300);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.pricing__price {
  font-size: 2.75rem; font-weight: 800; color: var(--white);
  letter-spacing: -.03em; margin-bottom: 24px;
}

.pricing__features {
  list-style: none; margin-bottom: 28px;
}
.pricing__features li {
  font-size: .93rem; color: var(--gray-300); padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.pricing__features li::before {
  content: '✓'; color: var(--blue); font-weight: 700; margin-right: 10px;
}

.pricing__enterprise {
  text-align: center; color: var(--gray-500);
  font-size: .95rem; margin-top: 40px;
}

/* ===== TRUST ===== */
.trust {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.trust__item {
  padding: 20px 12px;
}
.trust__item strong {
  font-size: .93rem; font-weight: 600; color: var(--gray-300);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0; }
.contact__inner { max-width: 580px; margin: 0 auto; }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 12px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group--full { grid-column: 1 / -1; }

.form__group label {
  font-size: .85rem; font-weight: 600; color: var(--gray-300);
}

.form__group input,
.form__group textarea,
.form__group select {
  font-family: inherit; font-size: .95rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-500);
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--blue);
}

.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form__group select option {
  background: var(--bg-card); color: var(--white);
}

.contact__form .btn { margin-top: 6px; grid-column: 1 / -1; }

.contact__alt {
  text-align: center; color: var(--gray-500);
  font-size: .9rem; margin-top: 28px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .how__grid,
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .pricing__card--featured { transform: none; }
  .pricing__card--featured:hover { transform: translateY(-4px); }

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

@media (max-width: 600px) {
  .hero { padding: 130px 0 72px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__badges { flex-direction: column; align-items: center; }

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

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

  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}
