:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f0f4ff;
  --text: #111827;
  --muted: #64748b;
  --line: #dfe7f5;
  --blue: #4f84f6;
  --blue-deep: #4269dc;
  --purple: #8d68d4;
  --shadow: 0 22px 55px rgba(47, 82, 145, .12);
  --shadow-soft: 0 12px 30px rgba(53, 77, 128, .09);
  --gradient: linear-gradient(135deg, #4f8cf7 0%, #6576df 49%, #9b67cf 100%);
  --gradient-warm: linear-gradient(110deg, #4f8cf7, #756edb 55%, #dc6b85);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(219, 226, 241, .8);
  background: rgba(248, 250, 255, .85);
  backdrop-filter: blur(18px);
}
.nav-shell { width: min(1180px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 800; color: #4436b5; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 42px; height: 42px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.main-nav a { padding: 11px 15px; border-radius: 12px; color: #4b5565; font-weight: 600; transition: .2s ease; }
.main-nav a:hover { color: #4d51ca; background: #edf0ff; }
.nav-buy { flex: none; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 12px; background: #eef1fb; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 4px; background: #3d4561; transition: .2s; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 14px; padding: 0 22px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(80, 133, 246, .28); outline-offset: 3px; }
.button-primary { color: white; background: var(--gradient); box-shadow: 0 10px 25px rgba(90, 78, 215, .24); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(90, 78, 215, .32); }
.button-large { min-height: 54px; padding: 0 27px; border-radius: 16px; }
.button-ghost { color: #35405d; border: 1px solid #dbe3f3; background: rgba(255,255,255,.8); }
.button-light { color: #584ac5; background: #fff; box-shadow: 0 12px 30px rgba(36, 27, 109, .2); }

.hero { min-height: 610px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 90px 20px 80px; background: radial-gradient(circle at 50% 0%, #e8efff 0%, #f8faff 53%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(#6e85d5 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, black, transparent 76%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.eyebrow, .section-kicker { color: #3e70e4; font-size: 12px; font-weight: 800; letter-spacing: .25em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 13px; }
.eyebrow span { width: 35px; height: 1px; background: #7c9eed; }
.hero h1 { margin: 24px 0 18px; font-size: clamp(48px, 6.2vw, 82px); line-height: 1.05; letter-spacing: -.045em; font-weight: 900; }
.gradient-text { color: transparent; background: var(--gradient-warm); background-clip: text; -webkit-background-clip: text; }
.hero-content > p { margin: 0 auto; max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.trust-row { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; color: #63708b; font-size: 14px; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--gradient); font-style: normal; font-size: 12px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .28; }
.orb-one { width: 260px; height: 260px; left: -90px; top: 20px; background: #8cb7ff; }
.orb-two { width: 310px; height: 310px; right: -120px; bottom: -70px; background: #bd8df0; }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 104px 0; }
.section-heading { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 { margin: 13px 0 10px; font-size: clamp(32px, 4vw, 46px); line-height: 1.16; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 17px; }
.plans-section { width: min(1110px, calc(100% - 40px)); }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan-card {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px clamp(22px, 3vw, 34px) 32px;
  border: 1px solid #e5e9f1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 14px rgba(30, 48, 84, .05), 0 22px 48px rgba(30, 48, 84, .10);
  transition: translate .25s ease, box-shadow .25s ease;
}
.plan-card:focus-within { box-shadow: 0 10px 22px rgba(30, 48, 84, .07), 0 30px 58px rgba(30, 48, 84, .15); }
@media (hover: hover) {
  .plan-card:hover {
    translate: 0 -8px;
    box-shadow: 0 10px 22px rgba(30, 48, 84, .07), 0 30px 58px rgba(30, 48, 84, .15);
  }
}
.recommend-badge { position: absolute; top: 18px; right: -35px; width: 150px; padding: 7px 0; color: white; background: var(--gradient); text-align: center; font-size: 12px; font-weight: 800; transform: rotate(40deg); }
.plan-card-top { display: flex; align-items: center; gap: 18px; }
.plan-icon { display: block; flex: 0 0 auto; width: 70px; height: 70px; object-fit: contain; }
.tag { display: inline-flex; padding: 4px 10px; border: 1px solid #bad0fc; border-radius: 999px; color: #2871e9; background: #edf4ff; font-size: 12px; font-weight: 700; }
.plan-card h3 { margin: 8px 0 0; font-size: 25px; letter-spacing: -.02em; }
.plan-description { min-height: 58px; margin: 29px 0 10px; color: var(--muted); line-height: 1.8; }
.price { color: #161c2e; font-size: 43px; font-weight: 800; letter-spacing: -.04em; }
.price small { vertical-align: 12px; margin-right: 2px; font-size: 17px; }
.price span { color: #8b95a9; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.feature-list { display: grid; gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; color: #34415d; }
.feature-list li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.55; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--gradient); box-shadow: 0 5px 12px rgba(82, 105, 221, .2); font-size: 12px; font-weight: 800; }
.button-card { align-self: flex-start; margin-top: auto; color: #fff; background: var(--gradient); box-shadow: 0 10px 25px rgba(82, 105, 221, .23); }

@media (min-width: 881px) {
  .plan-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .plan-card-top { align-items: flex-start; }
  .plan-card .button-card { justify-self: start; align-self: end; margin-top: 0; }
  .plan-card:hover { translate: none; }
}

.comparison-section { padding-top: 55px; }
.info-grid { display: grid; gap: 24px; }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.info-card { min-height: 305px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.info-card.accent-card { background: linear-gradient(145deg, #f5f8ff, #f8f2ff); }
.info-title { display: flex; align-items: center; gap: 12px; }
.info-card h3 { margin: 0; font-size: 20px; }
.mini-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--gradient); font-weight: 800; }
.info-card > p { color: var(--muted); line-height: 1.75; }
.dash-list { display: grid; gap: 13px; padding: 0; list-style: none; }
.dash-list li { display: flex; gap: 10px; }
.dash-list li::before { content: "—"; color: #4f82f1; font-weight: 800; }

.features-section { width: 100%; max-width: none; padding-inline: max(20px, calc((100% - 1120px) / 2)); background: #f0f4fb; }
.use-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use-cases article { padding: 32px 20px; border: 1px solid #dce5f3; border-radius: 22px; background: #fff; text-align: center; transition: transform .2s, box-shadow .2s; }
.use-cases article:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.case-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 19px; color: #fff; background: var(--gradient); box-shadow: 0 12px 25px rgba(79, 113, 226, .22); font-size: 24px; font-weight: 700; }
.use-cases h3 { margin: 0 0 8px; font-size: 19px; }
.use-cases p { margin: 0; color: var(--muted); }

.process-section { padding-bottom: 70px; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { display: flex; gap: 18px; align-items: center; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.process-list li > span { color: transparent; background: var(--gradient); background-clip: text; font-size: 30px; font-weight: 900; }
.process-list h3 { margin: 0 0 5px; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-section { padding-top: 75px; }
.faq-list { max-width: 900px; margin: auto; display: grid; gap: 14px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 25px; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #6e65d6; font-size: 23px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 25px 24px; color: var(--muted); line-height: 1.75; }
.faq-list details p a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .16em; }

.cta-section { width: min(1120px, calc(100% - 40px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 15px auto 100px; padding: 18px 48px; border-radius: 24px; color: #fff; background: var(--gradient); box-shadow: 0 24px 55px rgba(83, 91, 199, .3); }
.section-kicker.light { color: #e8ebff; }
.cta-section .section-kicker { display: block; font-size: 10px; line-height: 1.4; }
.cta-section h2 { margin: 5px 0 4px; font-size: clamp(22px, 3vw, 30px); line-height: 1.25; letter-spacing: -.035em; }
.cta-section p { margin: 0; color: #e8eaff; font-size: 14px; line-height: 1.5; }
.cta-section .button { flex-shrink: 0; min-height: 44px; padding-inline: 18px; border-radius: 12px; font-size: 14px; }
.site-footer { padding: 50px 20px 25px; border-top: 1px solid var(--line); background: #fff; }
.contact-section { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.contact-section h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 38px); }
.contact-section > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 4vw, 30px); max-width: 580px; margin: auto; }
.contact-grid figure { margin: 0; padding: clamp(8px, 2.5vw, 18px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.contact-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: auto; }
.contact-grid figcaption { margin-top: 12px; font-weight: 700; font-size: clamp(13px, 2vw, 16px); }
.footer-inner { width: min(1120px, 100%); margin: auto; display: flex; align-items: center; gap: 30px; }
.footer-brand { font-size: 19px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-inner p { margin-right: auto; color: var(--muted); }
.copyright { margin: 35px auto 0; padding-top: 22px; border-top: 1px solid #edf0f6; color: #939bad; text-align: center; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.revealed { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

@media (max-width: 1050px) {
  .three-cols { grid-template-columns: 1fr 1fr; }
  .three-cols .info-card:last-child { grid-column: span 2; min-height: auto; }
}
@media (max-width: 720px) {
  .main-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 15px; }
  .nav-shell { gap: 8px; }
  .menu-toggle { display: block; flex: none; }
  .nav-buy { margin-left: auto; min-height: 44px; padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 880px) {
  .site-header { height: 68px; }
  .nav-shell { width: min(100% - 28px, 1180px); }
  .main-nav { top: 68px; left: 14px; right: 14px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 620px; padding-top: 75px; }
  .hero h1 { font-size: clamp(45px, 14vw, 67px); }
  .hero-content > p { font-size: 17px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .three-cols, .use-cases, .process-list { grid-template-columns: 1fr 1fr; }
  .three-cols .info-card:last-child { grid-column: auto; }
  .cta-section { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 28px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-inner p { margin: 0; }
}
@media (max-width: 540px) {
  .nav-shell > .brand { gap: 6px; font-size: clamp(15px, 4.2vw, 19px); }
  .nav-shell > .brand .brand-mark { width: 30px; height: 30px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .trust-row { gap: 14px; }
  .section { width: min(100% - 28px, 1120px); padding: 78px 0; }
  .section-heading { margin-bottom: 32px; }
  .plans-section { width: min(100% - 24px, 1110px); }
  .plans-grid { gap: 18px; }
  .plan-card { padding: 30px 25px 25px; border-radius: 21px; }
  .plan-icon { width: 59px; height: 59px; }
  .plan-card h3 { font-size: 21px; }
  .plan-description { min-height: auto; margin-top: 24px; }
  .button-card { width: 100%; }
  .three-cols, .use-cases, .process-list { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .features-section { width: 100%; padding-inline: 14px; }
  .process-list li { padding: 22px; }
  .cta-section { width: calc(100% - 28px); margin-bottom: 70px; padding: 16px 20px; border-radius: 20px; }
  .cta-section .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .plan-card:hover { translate: none; }
}
