:root {
  --bg: #060b1d;
  --panel: #0f1630;
  --panel-soft: #121b3b;
  --text: #e8ecf9;
  --muted: #9ca8c7;
  --brand: #4f7dff;
  --brand-2: #00c2ff;
  --ok: #19c37d;
  --line: #24345f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 0% -10%, #172a58 0%, transparent 55%),
    radial-gradient(1000px 600px at 100% 0%, #0f3d69 0%, transparent 55%),
    var(--bg);
  color: var(--text);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding: 4.2rem 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-block: 1px solid rgba(255,255,255,0.05);
}

.hero.section {
  padding: 0;
}

.hero .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgb(1, 53, 83);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}

.main-nav a:hover { color: #fff; }

.nav-cta {
  display: flex;
  gap: .6rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: .65rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: .2s ease;
}

.btn-lg { padding: .8rem 1.15rem; }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 25px rgba(79,125,255,.35);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  color: #d6def6;
  border-color: #33497f;
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: #4f7dff; color: #fff; }

.menu-toggle {
  display: none;
  border: 1px solid #304673;
  background: rgba(255,255,255,.03);
  color: #d8e2ff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}

.hero-banner {
  min-height: calc(90vh - 74px);
  border-radius: 0;
  border: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(241, 245, 249, 0.98) 0%, rgba(241, 245, 249, 0.95) 36%, rgba(241, 245, 249, 0.22) 62%, rgba(241, 245, 249, 0.02) 100%),
    url('https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=1920') center right / cover no-repeat;
  box-shadow: none;
}

.hero-content {
  width: min(620px, 100%);
  color: #1e1b4b;
}

.hero-pill {
  border-color: rgba(79, 70, 229, .25);
  background: rgba(99, 102, 241, .1);
  color: #4f46e5;
}

.hero .hero-content h1 {
  color: #5b21b6;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: .9rem;
}

.hero .hero-content p {
  color: #1f2937;
  max-width: 57ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #2c4072;
  background: rgba(255,255,255,.02);
  color: #bed0ff;
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .83rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  margin: 1rem 0 .9rem;
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.2rem; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .7rem;
  margin-top: 1.6rem;
}

.hero-metrics div {
  border: 1px solid #273b6b;
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: .9rem;
}

.hero-metrics strong { display: block; font-size: 1.05rem; }
.hero-metrics span { color: var(--muted); font-size: .84rem; }

.phone-mock {
  border: 1px solid #2b3f6f;
  background: linear-gradient(160deg, var(--panel), var(--panel-soft));
  border-radius: 22px;
  padding: 1rem;
  display: grid;
  gap: .8rem;
  box-shadow: 0 24px 45px rgba(0,0,0,.35);
}

.mock-card {
  border: 1px solid #30477d;
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding: .9rem;
}
.mock-card h3, .mock-card h4 { margin: .2rem 0 .6rem; }
.mock-card small { color: #b5c5ee; }

.mock-card ul { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .55rem; }
.mock-card li { display: flex; justify-content: space-between; gap: .75rem; font-size: .92rem; }
.mock-card .ok { color: var(--ok); }

.bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #223764;
  overflow: hidden;
  margin-bottom: .45rem;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #37d67a, #0ea5e9);
}

.section-head { text-align: center; margin-bottom: 1.8rem; }
.section-head.left { text-align: left; margin-bottom: 0; }
.section-head h2 { margin: .8rem 0 .25rem; font-size: clamp(1.4rem, 2.7vw, 2rem); }
.section-head p { color: var(--muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .9rem;
}

.feature-card {
  border: 1px solid #2a406f;
  background: rgba(255,255,255,.025);
  border-radius: 16px;
  padding: 1rem;
}

.feature-card i {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
  background: linear-gradient(135deg, rgba(79,125,255,.25), rgba(0,194,255,.25));
}

.feature-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: .9rem;
}

.steps li {
  border: 1px solid #2a3f70;
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: .85rem;
}

.steps strong { display: block; margin-bottom: .25rem; }
.steps span { color: var(--muted); font-size: .93rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .95rem;
}

.price-card {
  border: 1px solid #2b4374;
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  padding: 1.1rem;
  position: relative;
}

.price-card.featured {
  border-color: #4f7dff;
  box-shadow: 0 18px 30px rgba(79,125,255,.2);
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: .72rem;
  border: 1px solid #3965da;
  color: #c7d7ff;
  border-radius: 999px;
  padding: .2rem .55rem;
}

.price { font-size: 2rem; font-weight: 800; margin: .35rem 0 1rem; }
.price span { font-size: .95rem; color: var(--muted); font-weight: 600; }

.price-card ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.price-card li { color: #dbe6ff; font-size: .93rem; }
.price-card li i { color: #49cc8a; margin-right: .35rem; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: .75rem;
}

.faq-list details {
  border: 1px solid #2a3f71;
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: .8rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p { margin: .6rem 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0 1.2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; color: #9cb0d8; font-size: .9rem; }
.back-top { color: #c7d6ff; text-decoration: none; font-weight: 700; }

/* ===================== MOBILE (< 640px) ===================== */
@media (max-width: 639px) {
  .container {
    width: calc(100% - 1rem);
  }

  .section { padding: 2rem 0; }

  .nav-wrap {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "menu menu"
      "cta cta";
  }

  .brand { grid-area: brand; font-size: 0.9rem; }
  .menu-toggle { grid-area: toggle; justify-self: end; display: inline-grid; place-items: center; width: 38px; height: 38px; }
  .main-nav { grid-area: menu; display: none; justify-self: start; flex-direction: column; gap: 0.5rem; width: 100%; padding: 0.75rem 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.5rem 0; font-size: 0.88rem; }
  .nav-cta { grid-area: cta; width: 100%; display: flex; gap: 0.4rem; }

  .hero-banner {
    min-height: calc(85vh - 60px);
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.65) 58%, rgba(15, 23, 42, 0.85) 100%),
      url('https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=800') center center / cover no-repeat;
    padding: 1.5rem;
  }

  .hero-content {
    width: 100%;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(6px);
  }

  .hero .hero-content h1 {
    color: #f8fafc;
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.08;
    margin: 0.65rem 0 0.5rem;
  }

  .hero .hero-content p {
    color: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-pill {
    border-color: rgba(186, 230, 253, .35);
    color: #dbeafe;
    background: rgba(59, 130, 246, .22);
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-actions { gap: 0.5rem; }
  .btn-lg { padding: 0.6rem 0.9rem; font-size: 0.85rem; }

  .section-head h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin: 0.6rem 0 0.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .feature-card {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .feature-card i {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.88rem; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps { padding-left: 0; }
  .steps li { padding: 0.75rem; }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .price-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .price {
    font-size: 1.7rem;
    margin: 0.3rem 0 0.8rem;
  }

  .price-card h3 { font-size: 1.1rem; }
  .price-card li { font-size: 0.88rem; }

  .pill { font-size: 0.75rem; padding: 0.3rem 0.6rem; }

  .faq-list { max-width: 100%; }
  .faq-list details { padding: 0.7rem 0.85rem; border-radius: 12px; }
  .faq-list summary { font-size: 0.95rem; }
  .faq-list p { font-size: 0.88rem; }

  .footer-wrap { flex-direction: column; gap: 0.5rem; text-align: center; }
  .site-footer p { font-size: 0.85rem; }
}

/* ===================== TABLET (640px - 1023px) ===================== */
@media (min-width: 640px) and (max-width: 1023px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .section { padding: 3rem 0; }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .brand { font-size: 0.95rem; }
  .menu-toggle { display: none; }
  .main-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-banner {
    min-height: calc(85vh - 70px);
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.8) 100%),
      url('https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=1200') center center / cover no-repeat;
  }

  .hero-content {
    width: min(500px, 100%);
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 14px;
    padding: 1.2rem;
  }

  .hero .hero-content h1 {
    color: #f8fafc;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0.75rem 0 0.6rem;
  }

  .hero .hero-content p {
    color: #f8fafc;
    font-size: 0.95rem;
  }

  .hero-actions { gap: 0.65rem; }

  .section-head h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .price {
    font-size: 1.8rem;
  }

  .faq-list { max-width: 90%; }

  .footer-wrap { flex-wrap: wrap; gap: 0.8rem; }
}

/* ===================== DESKTOP (1024px - 1919px) ===================== */
@media (min-width: 1024px) and (max-width: 1919px) {
  .container {
    width: min(1120px, calc(100% - 2rem));
  }

  .section { padding: 4.2rem 0; }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle { display: none; }
  .main-nav { display: flex; }

  .hero-banner {
    min-height: calc(90vh - 74px);
  }

  .hero-content {
    width: min(620px, 100%);
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

/* ===================== LARGE SCREENS/TV (>= 1920px) ===================== */
@media (min-width: 1920px) {
  .container {
    width: min(1480px, calc(100% - 3rem));
  }

  .section { padding: 5rem 0; }

  .site-header {
    min-height: 90px;
  }

  .nav-wrap {
    min-height: 90px;
    gap: 1.5rem;
  }

  .brand {
    font-size: 1.15rem;
    gap: 0.65rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .main-nav {
    gap: 1.5rem;
    font-size: 1rem;
  }

  .main-nav a {
    font-size: 1.05rem;
  }

  .nav-cta {
    gap: 0.8rem;
  }

  .btn {
    padding: 0.75rem 1.3rem;
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.95rem 1.4rem;
    font-size: 1.1rem;
  }

  .hero-banner {
    min-height: calc(85vh - 90px);
    border-radius: 0;
  }

  .hero-content {
    width: min(700px, 100%);
  }

  .hero .hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1.1;
  }

  .hero .hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 1rem 0 0.4rem;
  }

  .section-head p {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .feature-card {
    padding: 1.3rem;
    border-radius: 18px;
  }

  .feature-card i {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.99rem;
    line-height: 1.65;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .steps li {
    padding: 1.15rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .price-card {
    padding: 1.5rem;
  }

  .price {
    font-size: 2.4rem;
    margin: 0.5rem 0 1.3rem;
  }

  .price span {
    font-size: 1.1rem;
  }

  .price-card h3 {
    font-size: 1.3rem;
  }

  .price-card li {
    font-size: 1rem;
  }

  .faq-list {
    max-width: 920px;
    gap: 1rem;
  }

  .faq-list details {
    padding: 1rem 1.3rem;
    border-radius: 16px;
  }

  .faq-list summary {
    font-size: 1.05rem;
  }

  .faq-list p {
    font-size: 0.98rem;
    margin: 0.8rem 0 0;
  }

  .site-footer {
    padding: 1.5rem 0 2rem;
  }

  .footer-wrap {
    gap: 1rem;
  }

  .site-footer p {
    font-size: 0.98rem;
  }

  .back-top {
    font-size: 1rem;
  }
}
