:root {
  --ink: #102033;
  --muted: #667085;
  --line: #e8edf4;
  --soft: #f7f9fc;
  --brand: #2266f2;
  --brand-dark: #1647bd;
  --accent: #0fb981;
  --gold: #f5b841;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, .display-font {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.035em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 237, 244, 0.9);
  backdrop-filter: blur(16px);
}
.site-header .navbar { min-height: 76px; }
.navbar-brand {
  white-space: nowrap;
  align-items: center;
  gap: 6px;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
.brand-name {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.nav-link { color: #27364a; font-weight: 600; }
.nav-link:hover { color: var(--brand); }
.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(34, 102, 242, 0.22);
}
.btn-light { border: 1px solid var(--line); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 76px;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 102, 242, 0.14), transparent 30%),
    radial-gradient(circle at 10% 26%, rgba(15, 185, 129, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 420px;
  background: radial-gradient(ellipse at 60% 100%, rgba(34, 102, 242, 0.10), rgba(15, 185, 129, 0.07) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(14px);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #31506f;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(15, 185, 129, 0.13);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 800;
}
.gradient-text {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead-xl {
  margin-top: 24px;
  color: #526276;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  max-width: 720px;
}
.hero-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-metric {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.hero-metric strong { display: block; font-size: 1.1rem; }
.hero-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  background: #eef5ff;
  color: var(--brand);
  font-weight: 800;
}

.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-title { max-width: 820px; margin-bottom: 32px; }
.section-title h2 { font-weight: 800; font-size: clamp(1.55rem, 2.6vw, 2.4rem); }
.section-title p { color: var(--muted); font-size: 1.08rem; }

.card-modern {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.06);
}
.card-modern h3 { font-size: 1.28rem; font-weight: 800; }
.compact-card p { color: var(--muted); margin-bottom: 0; }
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 102, 242, 0.13), rgba(15, 185, 129, 0.13));
  color: var(--brand);
  font-weight: 800;
}

.product-band {
  border-radius: 38px;
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, #102033 0%, #183c76 55%, #0f7c70 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.product-band::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -120px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.product-band .content { position: relative; z-index: 1; }
.product-band p, .product-band li { color: rgba(255, 255, 255, 0.78); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li {
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
}
.feature-list h3 { color: #fff; margin-bottom: 4px; font-size: 1rem; }
.product-image {
  max-width: 100%;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.08);
}
.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.product-band .download-buttons { justify-content: center; }
.download-buttons img { width: auto; object-fit: contain; }
.app-store img { height: 42px; }
.google-play img { height: 56px; }
.microsoft-store img { height: 38px; }

.cta-strip {
  border-radius: 32px;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 38px 0 16px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}
.page-hero h1 {
  max-width: 920px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
}
.policy-section { padding-top: 18px; }
.product-hero, .guide-hero {
  background:
    radial-gradient(circle at 80% 0%, rgba(34,102,242,.16), transparent 30%),
    radial-gradient(circle at 10% 24%, rgba(15,185,129,.12), transparent 28%),
    linear-gradient(180deg, #f8fbff, #fff);
}
.policy-card, .contact-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.policy-card h2 { margin-top: 32px; font-size: 1.25rem; font-weight: 800; }
.policy-card p, .policy-card li { color: #4b5b70; }
.form-control {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dce4ef;
}
textarea.form-control { min-height: 140px; }
.form-label { font-weight: 700; color: #32435a; }
.alert { border-radius: 18px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.07);
}
.plan-top { min-height: 92px; }
.plan-top h3 { font-weight: 800; font-size: 1.28rem; }
.plan-top p { color: var(--muted); margin: 0; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.05em; }
.price span { font-size: .95rem; color: var(--muted); letter-spacing: 0; font-weight: 700; }
.annual { color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan-card li { color: #41536a; }
.plan-card li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }
.plan-card .btn { margin-top: auto; }
.free-plan { background: #fff; }
.addon-strip {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: #41536a;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  display: block;
  padding: 30px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16, 32, 51, .07);
  color: var(--ink);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card span { color: var(--brand); font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.guide-card h2 { margin: 12px 0 8px; font-size: 1.45rem; font-weight: 800; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-container { max-width: 1180px; }
.back-link { display: inline-block; font-weight: 800; margin-bottom: 12px; }
.guide-detail-card {
  padding: clamp(10px, 2vw, 22px) 0 0;
}
.guide-detail-card h2 { font-size: 1.25rem; font-weight: 800; margin: 34px 0 18px; }
.guide-detail-card h2:first-child { margin-top: 0; }
.guide-detail-card p, .guide-detail-card li { color: #33465d; }
.guide-steps { display: grid; gap: 16px; padding-left: 1.3rem; color: #33465d; font-size: 1.08rem; }
.guide-checklist { display: grid; gap: 12px; padding-left: 1.2rem; }
.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
}
.guide-section:first-child { border-top: 0; padding-top: 0; }
.guide-copy { max-width: 760px; }
.guide-visual {
  position: sticky;
  top: 100px;
  margin: 0;
  padding: 18px;
  border: 1px dashed #c9d7ea;
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  color: #40536a;
}
.mdi {
    font-size: 1.1em;
    vertical-align: -2px;
}
.guide-visual:has(> img) {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 20px;
  overflow: hidden;
}
.guide-visual > img {
  display: block;
  max-width: 100%;
  height: auto;
}
.guide-visual-frame {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34,102,242,.10), rgba(15,185,129,.10)),
    #fff;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
}
.guide-visual figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.guide-note { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: #f3f8ff; color: #33465d; }
.related-guides { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.related-guides h2 { width: 100%; margin-bottom: 0; }
.related-guides a { font-weight: 800; }

.site-footer {
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.footer-col h2 {
  min-height: 18px;
  margin: 0 0 12px;
  font-size: 0.86rem;
  text-transform: uppercase;
  color: #34465d;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.site-footer a { display: block; color: #5d6d81; margin: 7px 0; font-weight: 600; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #748299;
  font-size: 0.92rem;
}

.case-download-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}
.case-card {
  width: min(430px, 100%);
  text-align: center;
  padding: 38px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.case-card .download-buttons { justify-content: center; }
.case-card h1 { font-weight: 800; }

@media (max-width: 1199px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .hero { padding: 72px 0 58px; }
  .section { padding: 54px 0; }
  .page-hero { padding: 26px 0 10px; }
  .policy-section { padding-top: 12px; }
  .site-header .navbar { min-height: 66px; }
  .product-band { border-radius: 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-section { grid-template-columns: 1fr; gap: 18px; }
  .guide-visual { position: static; }
}

@media (max-width: 767px) {
  .plans-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
}

.gst-badge {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  opacity: .82;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .download-buttons { flex-direction: column; align-items: flex-start; }
  .product-band .download-buttons { align-items: center; }
  .case-card .download-buttons { align-items: center; }
  .cta-strip { padding: 28px; }
  .plan-card { min-height: auto; }
  .brand-name { font-size: 1.55rem; }
  .brand-logo { height: 32px; }
  .site-footer { padding-top: 34px; }
  .footer-col h2 { margin-bottom: 8px; }
  .footer-bottom { margin-top: 24px; }
}
