/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  color: #cbd5e1;
  background: #0b1120;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Fustat', 'Inter', sans-serif; line-height: 1.2; color: #f1f5f9; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s, background 0.3s;
}
.header--sticky { box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4); background: rgba(11, 17, 32, 0.95); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1140px; margin: 0 auto; padding: 0 20px;
}
.logo { font-family: 'Fustat', sans-serif; font-size: 22px; font-weight: 800; color: #3b82f6; }
.logo span { color: #f1f5f9; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: #64748b; transition: color 0.25s; }
.nav a:hover { color: #60a5fa; }
.header__cta { display: none; }

/* CTA Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 12px;
  padding: 9px 22px; transition: all 0.25s ease;
}
.btn--primary {
  background: #3b82f6;
  color: #fff;
}
.btn--primary:hover { background: #60a5fa; }
.btn--secondary {
  background: transparent; color: #3b82f6;
  border: 1px solid #243040;
}
.btn--secondary:hover { border-color: #3b82f6; color: #60a5fa; }

/* Burger */
.burger { display: flex; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; z-index: 110; }
.burger span {
  display: block; height: 2.5px; background: #cbd5e1; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger--active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger--active span:nth-child(2) { opacity: 0; }
.burger--active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; z-index: 105;
  background: #111827; box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
  padding: 90px 28px 40px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.drawer--open { transform: translateX(0); }
.drawer a {
  font-size: 17px; font-weight: 500; padding: 12px 0; color: #cbd5e1;
  border-bottom: 1px solid #24304033; transition: color 0.25s;
}
.drawer a:hover { color: #60a5fa; }
.drawer .btn { margin-top: 16px; text-align: center; }

/* ===== HERO (#top) ===== */
.hero {
  padding: 100px 0 60px; background: #0b1120;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: #111827;
  border: 1px solid #243040; border-radius: 50px;
  padding: 8px 20px; font-size: 14px; font-weight: 600; color: #60a5fa;
  margin-bottom: 24px;
}
.hero__rating svg { flex-shrink: 0; }
.hero h1 { font-size: 32px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; max-width: 600px; }
.hero h1 span { color: #3b82f6; }
.hero__subtitle { font-size: 16px; color: #64748b; max-width: 520px; margin-bottom: 28px; line-height: 1.65; }
.hero__buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; margin-bottom: 40px; }
.hero__buttons .btn { width: 100%; }
.hero__image { width: 100%; max-width: 550px; }

/* ===== SECTION SHARED ===== */
.section { padding: 60px 0; }
.section--alt { background: #111827; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.section__head p { font-size: 16px; color: #64748b; max-width: 540px; margin: 0 auto; }

/* ===== STATEMENT (#statement) ===== */
.statement__grid { display: flex; flex-direction: column; gap: 28px; }
.statement__text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.statement__text p { font-size: 16px; color: #64748b; line-height: 1.7; }
.statement__card {
  background: #1a2332; border: 1px solid #243040; border-radius: 12px; padding: 28px;
}
.statement__card p { font-size: 15px; color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; }
.statement__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
  background: #0b1120;
  border: 1px solid #243040; color: #60a5fa;
}

/* ===== FEATURES (#features) ===== */
.features__grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px;
}
.feature-card {
  background: #111827; border-radius: 12px; padding: 24px;
  transition: background 0.25s;
}
.feature-card:hover {
  background: #1a2332;
}
.feature-card__icon {
  width: 44px; height: 44px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.65; }
.features__image { display: flex; justify-content: center; }
.features__image img { width: 100%; max-width: 300px; }

/* ===== WORKFLOW (#workflow) ===== */
.workflow__strip { display: flex; flex-direction: column; gap: 16px; }
.workflow-step {
  background: #1a2332; border: 1px solid #243040; border-radius: 12px; padding: 24px;
}
.workflow-step__num {
  width: 40px; height: 40px; border-radius: 10px;
  background: #3b82f6;
  color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.workflow-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.workflow-step p { font-size: 14px; color: #64748b; }

/* ===== MATRIX (#matrix) ===== */
.matrix__rows { display: flex; flex-direction: column; gap: 0; }
.matrix-row {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #243040;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row__icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.matrix-row__icon svg { width: 28px; height: 28px; }
.matrix-row__text { flex: 1; }
.matrix-row__text h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.matrix-row__text p { font-size: 14px; color: #64748b; line-height: 1.65; }

/* ===== COMPARISON (#comparison) ===== */
.comparison__columns { display: flex; flex-direction: column; gap: 16px; }
.comparison__col {
  border-radius: 12px; padding: 24px;
}
.comparison__col--old {
  background: #111827; border: 1px solid #243040;
}
.comparison__col--new {
  background: #1a2332; border: 1px solid #3b82f6;
}
.comparison__col-header {
  font-family: 'Fustat', sans-serif; font-size: 18px; font-weight: 700;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #243040;
  color: #f1f5f9;
}
.comparison__col--new .comparison__col-header { color: #3b82f6; border-bottom-color: #3b82f640; }
.comparison__col-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 14px;
}
.comparison__col-item svg { flex-shrink: 0; margin-top: 2px; }
.comparison__col--old .comparison__col-item span { color: #64748b; }
.comparison__col--new .comparison__col-item span { color: #cbd5e1; }

/* ===== TRUST (#trust) ===== */
.trust__banners { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.trust-banner {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #243040;
}
.trust-banner:last-child { border-bottom: none; }
.trust-banner__icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.trust-banner__icon svg { width: 24px; height: 24px; }
.trust-banner__text h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.trust-banner__text p { font-size: 14px; color: #64748b; line-height: 1.65; }
.trust__image { display: flex; justify-content: center; }
.trust__image img { width: 100%; max-width: 220px; }

/* ===== INSTALL (#install) ===== */
.install__card {
  background: #1a2332; border: 1px solid #243040; border-radius: 12px; padding: 32px 24px;
  max-width: 520px; margin: 0 auto 32px; text-align: center;
}
.install__card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.install__card p { font-size: 14px; color: #64748b; margin-bottom: 20px; }
.install__card .btn { font-size: 16px; padding: 12px 32px; }
.install__steps { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 520px; margin: 0 auto; }
.install-step {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #24304060;
}
.install-step:last-child { border-bottom: none; }
.install-step__num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: #3b82f6;
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.install-step p { font-size: 14px; color: #cbd5e1; }

/* ===== FAQ (#faq) ===== */
.faq__list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  border-bottom: 1px solid #243040;
}
.faq__item:last-child { border-bottom: none; }
.faq__trigger {
  width: 100%; padding: 18px 0; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: #f1f5f9; text-align: left; background: none; border: none;
  font-family: inherit;
}
.faq__trigger svg { flex-shrink: 0; color: #3b82f6; transition: transform 0.3s; }
.faq__item--open .faq__trigger svg { transform: rotate(45deg); }
.faq__item--open .faq__trigger { color: #3b82f6; }
.faq__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq__item--open .faq__answer { max-height: 300px; padding-bottom: 18px; }
.faq__answer p { font-size: 15px; color: #64748b; line-height: 1.7; }

/* ===== FINAL CTA (#cta) ===== */
.final-cta {
  background: #111827; border-top: 1px solid #243040; border-bottom: 1px solid #243040;
  padding: 60px 0; text-align: center;
}
.final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.final-cta p { font-size: 16px; color: #64748b; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn--cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; border-radius: 12px;
  padding: 9px 22px; background: #3b82f6; color: #fff;
  transition: background 0.25s;
}
.btn--cta:hover { background: #60a5fa; }

/* ===== FOOTER ===== */
.footer { background: #0a0f1a; color: #64748b; padding: 40px 0 28px; font-size: 13px; }
.footer__inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer__brand { font-family: 'Fustat', sans-serif; font-size: 20px; font-weight: 800; color: #3b82f6; }
.footer__brand span { color: #cbd5e1; }
.footer__legal { line-height: 1.7; color: #475569; max-width: 400px; }
.footer__docs { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer__docs a { color: #64748b; transition: color 0.25s; }
.footer__docs a:hover { color: #60a5fa; }
.footer__copy { color: #475569; font-size: 12px; }

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .hero { padding: 120px 0 80px; }
  .hero h1 { font-size: 42px; }
  .hero__subtitle { font-size: 17px; }
  .hero__buttons { flex-direction: row; max-width: none; width: auto; }
  .hero__buttons .btn { width: auto; }
  .hero__image { max-width: 320px; }

  .section { padding: 80px 0; }
  .section__head h2 { font-size: 34px; }

  .statement__grid { flex-direction: row; align-items: center; }
  .statement__text { flex: 1; }
  .statement__text h2 { font-size: 34px; }
  .statement__card { flex: 1; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .workflow__strip { flex-direction: row; flex-wrap: wrap; }
  .workflow-step { flex: 1 1 calc(50% - 8px); }

  .matrix-row { padding: 32px 0; }

  .comparison__columns { flex-direction: row; gap: 16px; }
  .comparison__col { flex: 1; }

  .install__steps { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
}


.hero__content {
margin-top: 16px;;
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: block; }
  .burger { display: none; }
  .drawer { display: none; }

  .hero { padding: 140px 0 100px; }
  .hero__inner { flex-direction: row; text-align: left; align-items: center; gap: 60px; }
  .hero__content { flex: 1; }
  .hero__image { flex: 0 0 440px; max-width: 440px; }
  .hero h1 { font-size: 48px; max-width: none; }
  .hero__subtitle { margin-left: 0; margin-right: 0; }
  .hero__buttons { justify-content: flex-start; }
  .hero__rating { margin-left: 0; margin-right: auto; }

  .section { padding: 100px 0; }
  .section__head h2 { font-size: 38px; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .workflow__strip { flex-wrap: nowrap; }
  .workflow-step { flex: 1 1 0; }

  .matrix-row { padding: 36px 0; gap: 40px; }
  .matrix-row--flip { flex-direction: row-reverse; }
  .matrix-row__icon { width: 56px; height: 56px; }
  .matrix-row__icon svg { width: 32px; height: 32px; }
  .matrix-row__text h3 { font-size: 19px; }
  .matrix-row__text p { font-size: 15px; }

  .trust-banner { padding: 28px 0; gap: 28px; }

  .final-cta h2 { font-size: 36px; }
}
