@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  color: #0f172a;
  line-height: 1.7;
  background: #dce2f0;
  font-size: 1rem;
}

a { color: #2563eb; }
ul { padding-left: 20px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
code { background: #c8d4ea; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(220, 226, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(180, 192, 220, 0.7);
  padding: 0 24px;
}
[id] {
  scroll-margin-top: 80px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 62px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-logo span { color: #2563eb; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  color: #334e7a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: #0f172a; background: rgba(180,200,240,0.4); }
.nav-cta {
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  margin-left: 10px;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #1d4ed8; color: #fff; }

/* ===== Hero ===== */
.hero {
  background-color: #152d62;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(37, 99, 235, 0.25) 0%, transparent 55%),
    radial-gradient(rgba(180, 200, 240, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  padding: 120px 24px 96px;
  text-align: center;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #fff;
}
.hero .sub {
  font-size: 1.2rem;
  color: #93afd4;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===== Trust Strip ===== */
.trust-strip {
  border-bottom: 1px solid #1e3d7a;
  background: #152d62;
  padding: 18px 24px;
}
.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #6b8ab8;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Tool Cards ===== */
.tools-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.tool-card {
  background: linear-gradient(145deg, #e4e8f6 0%, #f0f4fb 60%, #e8ecf8 100%);
  border: 1px solid #bec8e0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(15,45,98,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 32px rgba(15,45,98,0.14);
  transform: translateY(-3px);
}
.tool-card-blue   { border-top: 3px solid #2563eb; }
.tool-card-purple  { border-top: 3px solid #7c3aed; }
.tool-card-emerald { border-top: 3px solid #059669; }
.tool-card-blue:hover   { box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 40px rgba(37,99,235,0.18); }
.tool-card-purple:hover  { box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 40px rgba(124,58,237,0.18); }
.tool-card-emerald:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 40px rgba(5,150,105,0.18); }
.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.tool-icon-blue { background: #dbeafe; }
.tool-icon-purple { background: #ede9fe; }
.tool-icon-emerald { background: #d1fae5; }
.tool-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}
.tool-card p {
  font-size: 0.9rem;
  color: #3d5480;
  margin: 0 0 16px;
  flex-grow: 1;
  line-height: 1.6;
}
.tool-card-footer {
  border-top: 1px solid #c8d4e8;
  padding-top: 16px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-price { font-size: 0.85rem; color: #3d5480; }
.tool-price strong { color: #0f172a; font-weight: 700; }

/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-purple { background: #ede9fe; color: #7c3aed; }
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-orange { background: #fed7aa; color: #c2410c; }
.badge-gray   { background: #c8d4e8; color: #334e7a; }
.badge-yellow { background: #fef3c7; color: #92400e; }

.platforms {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}

/* ===== Page Header ===== */
.page-header {
  background-color: #152d62;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(99, 102, 241, 0.45) 0%, transparent 65%),
    radial-gradient(rgba(180, 200, 240, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px;
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid #1e3d7a;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
}
.page-header .sub {
  font-size: 1.1rem;
  color: #93afd4;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== Containers ===== */
.container { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }

/* ===== Typography ===== */
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 16px; }
h2 { font-size: 1.55rem; font-weight: 700; margin: 48px 0 12px; letter-spacing: -0.02em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; letter-spacing: -0.01em; }

/* ===== Box ===== */
.box {
  background: linear-gradient(145deg, #e4e8f6 0%, #eef2fb 100%);
  border: 1px solid #bec8e0;
  padding: 20px 24px;
  border-radius: 10px;
  margin: 14px 0;
}

/* ===== Steps ===== */
.step {
  display: flex;
  gap: 18px;
  margin: 24px 0;
  align-items: flex-start;
}
.step-num {
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 2px;
}
.step-body strong { display: block; margin-bottom: 4px; font-size: 1rem; }

/* ===== Feature Cards ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.card {
  border: 1px solid #bec8e0;
  padding: 18px 20px;
  border-radius: 10px;
  background: linear-gradient(145deg, #e4e8f6 0%, #f0f4fb 100%);
  box-shadow: 0 2px 8px rgba(15,45,98,0.07);
}
.card-icon { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.card-icon svg { display: block; }
.card h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 6px; }
.card p { font-size: 0.875rem; color: #3d5480; margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.btn:hover { background: #1d4ed8; color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
  padding: 10px 22px;
}
.btn-outline:hover { background: rgba(219,234,254,0.4); color: #1d4ed8; }
.btn-white { background: #fff; color: #2563eb; }
.btn-white:hover { background: #e8f0fe; color: #1d4ed8; }
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 13px 22px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-green { background: #16a34a; }
.btn-green:hover { background: #15803d; }
.btn-purple { background: #7c3aed; }
.btn-purple:hover { background: #6d28d9; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }
.btn-disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

.cta { margin-top: 36px; text-align: center; }

/* ===== CTA Band ===== */
.cta-band {
  background-color: #152d62;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #152d62 0%, #1e3a8a 55%, #2563eb 100%);
  background-size: 24px 24px, 100% 100%;
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #93afd4; margin-bottom: 32px; font-size: 1.05rem; }

/* ===== Table ===== */
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
th { background: #c8d4e8; text-align: left; padding: 12px 16px; border: 1px solid #bec8e0; font-weight: 600; }
td { padding: 12px 16px; border: 1px solid #bec8e0; background: linear-gradient(145deg, #e4e8f6, #eef2fb); }
tr:nth-child(even) td { background: #dce2f0; }

/* ===== Notice ===== */
.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #713f12;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pricing-card {
  border: 1px solid #bec8e0;
  border-radius: 14px;
  padding: 28px;
  background: linear-gradient(145deg, #e4e8f6 0%, #f0f4fb 60%, #e8ecf8 100%);
}
.pricing-card.featured { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.pricing-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin: 14px 0 4px;
}
.pricing-amount span { font-size: 1rem; font-weight: 500; color: #3d5480; }
.pricing-note { font-size: 0.85rem; color: #3d5480; margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-features li {
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px solid #c0cce0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: #2563eb; font-weight: 700; flex-shrink: 0; }

/* ===== Download Cards ===== */
.download-card {
  border: 1px solid #bec8e0;
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 24px;
  background: linear-gradient(145deg, #e4e8f6 0%, #f0f4fb 60%, #e8ecf8 100%);
}
.download-card h2 { margin-top: 0; }

/* ===== FAQ ===== */
.faq h3 { font-size: 1.05rem; margin-top: 28px; }
.faq p { margin-top: 6px; color: #3d5480; }

/* ===== Related Links ===== */
.related a {
  display: block;
  color: #2563eb;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #bec8e0;
  font-size: 0.95rem;
}
.related a:last-child { border-bottom: none; }
.related a:hover { color: #1d4ed8; }

/* ===== Divider ===== */
hr.divider { border: none; border-top: 1px solid #bec8e0; margin: 48px 0; }

/* ===== Section backgrounds ===== */
.section-gray { background: #cdd4e8; }

/* ===== Footer ===== */
footer {
  background: #152d62;
  color: #6b8ab8;
  padding: 64px 24px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 10px;
}
.footer-brand span { color: #60a5fa; }
.footer-tagline { font-size: 0.875rem; line-height: 1.7; color: #4a6490; }
.footer-col h4 {
  color: #93afd4;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: #6b8ab8;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e3d7a;
  padding-top: 24px;
  font-size: 0.825rem;
  color: #4a6490;
}
.footer-bottom a { color: #6b8ab8 !important; }
.footer-bottom a:hover { color: #fff !important; }

/* bare text-only grid cards (no h4 child) */
.grid .card:not(:has(h4)) {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.9rem;
  color: #334e7a;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .hero { padding: 70px 20px 60px; }
  .page-header h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  .nav-link { display: none; }
  .nav-cta { margin-left: auto; }
  .tools-section { margin-top: 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .page-header h1 { font-size: 1.6rem; }
}
