:root {
  --bg: #f4f6fb;
  --bg-soft: #eef1f9;
  --ink: #10192e;
  --muted: #5f6b83;
  --line: #dbe1ed;
  --brand-a: #3268ff;
  --brand-b: #17a3ff;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(50, 104, 255, 0.22), transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(23, 163, 255, 0.12), transparent 40%),
    linear-gradient(180deg, #f7f9ff 0%, #f2f5fb 100%);
}

.container {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(247, 249, 255, 0.82);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.nav-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
  color: #fff;
  box-shadow: 0 10px 24px rgba(50, 104, 255, 0.25);
}

.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 18px; }

.hero {
  padding: 84px 0 70px;
}

.hero-inner {
  text-align: center;
}

.eyebrow {
  color: var(--brand-a);
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.subtitle {
  margin: 26px auto 0;
  width: min(860px, 100%);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.35;
}

.hero-actions {
  margin-top: 36px;
}

.app-shell {
  margin-top: 56px;
  text-align: left;
  border: 1px solid #ced7ea;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(20, 35, 78, 0.12);
  background: #fff;
}

.shell-top {
  height: 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5dbeb;
}

.shell-top p {
  margin: 0 0 0 10px;
  color: #3a4560;
  font-size: 14px;
  font-weight: 700;
}

.shell-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 360px;
}

.shell-left {
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafcff;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  color: #44506d;
  background: #fff;
}

.pill.active {
  border-color: #a1bbff;
  color: #1d3f96;
  background: #edf3ff;
}

.shell-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #f0f4ff;
}

.img-block {
  border-radius: 10px;
  min-height: 150px;
  background:
    linear-gradient(130deg, rgba(72, 121, 255, 0.35), rgba(36, 189, 255, 0.6)),
    linear-gradient(45deg, #bacfff, #d8f5ff);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.card-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.card h3, .tech-box h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.card p, .tech-box p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.two-col > div > p,
.two-col > div > ul {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.two-col ul {
  margin: 20px 0 0;
  padding-left: 22px;
}

.tech-box {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
}

.faq-wrap h2 {
  text-align: center;
}

.faq-item {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  color: #1d263a;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-q span {
  color: #8c97ad;
  font-size: 34px;
  line-height: 1;
}

.faq-a {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 180px;
  padding: 0 24px 22px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.cta-strip {
  background: linear-gradient(100deg, rgba(50, 104, 255, 0.12), rgba(23, 163, 255, 0.12));
}

.cta-inner {
  text-align: center;
}

.cta-inner p {
  margin: 16px auto 32px;
  color: var(--muted);
  max-width: 760px;
  font-size: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .shell-body { grid-template-columns: 1fr; }
  .shell-left { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card p, .tech-box p, .two-col > div > p, .two-col > div > ul, .faq-a { font-size: 18px; }
  .faq-q { font-size: 21px; }
}

@media (max-width: 640px) {
  .container { width: min(1120px, calc(100vw - 28px)); }
  .hero { padding-top: 60px; }
  .section { padding: 66px 0; }
  .btn-lg { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
