:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #101828;
  --muted: #667085;
  --line: #e6eaf2;
  --purple: #6657f6;
  --purple-dark: #5040e8;
  --cyan: #19c7ee;
  --blue: #3b82f6;
  --green: #12b76a;
  --orange: #f79009;
  --red: #f04438;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.08), 0 3px 10px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 24px 54px rgba(80, 64, 232, 0.14), 0 5px 14px rgba(16, 24, 40, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(rgba(80, 64, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 64, 232, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, svg { display: block; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 234, 242, 0.82);
  background: rgba(247, 249, 255, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark, .icon-tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 4%, #4f8ff7 54%, var(--cyan) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(16, 24, 40, 0.28));
}

.brand-mark::after, .icon-tile::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 55%;
  top: -8%;
  right: -8%;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  filter: blur(7px);
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  position: relative;
  padding: 10px 9px;
  color: #475467;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: .2s ease;
}

.nav-link:hover { color: var(--purple); background: rgba(102, 87, 246, .07); }
.nav-link.active { color: var(--purple); background: rgba(102, 87, 246, .1); }

.nav-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.icon-button, .menu-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #667085;
  background: rgba(255,255,255,.86);
  cursor: pointer;
  transition: .2s ease;
}

.icon-button:hover, .menu-button:hover { color: var(--purple); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,24,40,.08); }
.icon-button svg, .menu-button svg { width: 19px; height: 19px; }
.menu-button { display: none; border-radius: 12px; }

.hero { padding: 94px 0 70px; position: relative; overflow: hidden; }
.hero.compact { padding: 76px 0 48px; }

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.hero::before {
  width: 390px; height: 390px;
  right: -150px; top: -150px;
  background: radial-gradient(circle, rgba(25,199,238,.18), transparent 68%);
}

.hero::after {
  width: 420px; height: 420px;
  left: -250px; bottom: -270px;
  background: radial-gradient(circle, rgba(102,87,246,.2), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(25,199,238,.12); }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
.hero.compact h1 { font-size: clamp(38px, 5vw, 62px); }
.gradient-text { color: transparent; background: linear-gradient(110deg, var(--purple) 0%, #5380f7 48%, #08bfe9 100%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 720px; margin-bottom: 30px; color: #59657a; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  transition: .2s ease;
}

.button.primary { color: white; background: linear-gradient(100deg, var(--purple), #6755ff); box-shadow: 0 12px 22px rgba(102,87,246,.24); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(102,87,246,.3); }
.button.secondary { background: rgba(255,255,255,.86); border-color: var(--line); color: #344054; }
.button.secondary:hover { border-color: #c9c1ff; color: var(--purple); transform: translateY(-2px); }
.button.small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.arrow { font-size: 17px; line-height: 1; transition: transform .2s; }
a:hover .arrow { transform: translateX(3px); }

.feature-card {
  padding: 24px;
  border: 1px solid rgba(230,234,242,.95);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.hero-showcase { position: relative; max-width: 430px; margin-left: auto; }
.showcase-main { padding: 27px; transform: rotate(-1.5deg); }
.showcase-main .icon-tile { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px; }
.showcase-main h3 { margin-bottom: 8px; font-size: 24px; }
.showcase-main p { color: var(--muted); }
.showcase-main .button { width: 100%; margin-top: 10px; }
.floating-badge {
  position: absolute;
  padding: 11px 15px;
  border: 1px solid rgba(230,234,242,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 32px rgba(16,24,40,.12);
  font-size: 13px;
  font-weight: 750;
}
.floating-badge.one { top: 16px; right: -30px; }
.floating-badge.two { bottom: 30px; left: -40px; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,183,106,.12); }

.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px 28px; color: #667085; font-size: 13px; font-weight: 650; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

main section { scroll-margin-top: 90px; }
.section { padding: 78px 0; }
.section.tint { background: rgba(255,255,255,.57); border-block: 1px solid rgba(230,234,242,.75); }
.section-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin-bottom: 9px; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.18; letter-spacing: -.035em; }
.section-heading p { max-width: 660px; margin-bottom: 0; color: var(--muted); }
.text-link { color: var(--purple); font-size: 14px; font-weight: 800; white-space: nowrap; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 18px rgba(16,24,40,.035);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: #d3ccff; box-shadow: var(--shadow-hover); }
.card .icon-tile { width: 45px; height: 45px; margin-bottom: 20px; border-radius: 13px; display: grid; place-items: center; color: white; font-weight: 900; }
.card h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.38; }
.card p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.card .text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0; }
.tag, .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 750;
}
.tag.purple { color: #5847e8; background: #efedff; }
.tag.green { color: #087a49; background: #e9fbf2; }
.tag.orange { color: #a15c00; background: #fff4df; }
.tag.red { color: #b42318; background: #fff0ef; }

.ranking-card { display: flex; flex-direction: column; min-height: 310px; }
.rank-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.rank-number { font-size: 38px; line-height: 1; color: #d9d5ff; font-weight: 900; letter-spacing: -.06em; }
.rank-price strong { display: block; font-size: 23px; }
.rank-price small { color: var(--muted); }
.metric-list { margin: 0 0 18px; padding: 0; list-style: none; }
.metric-list li { padding: 8px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #e8ebf2; color: #667085; font-size: 13px; }
.metric-list strong { color: #344054; font-weight: 750; text-align: right; }

.article-card { padding: 0; overflow: hidden; }
.article-cover { height: 150px; padding: 21px; display: flex; align-items: end; background: linear-gradient(135deg, #e8e5ff, #edf8ff); }
.article-cover.cyan { background: linear-gradient(135deg, #dff9ff, #eef3ff); }
.article-cover.orange { background: linear-gradient(135deg, #fff0dc, #f2ecff); }
.cover-symbol { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,.77); color: var(--purple); font-size: 28px; font-weight: 900; box-shadow: 0 10px 24px rgba(80,64,232,.10); }
.article-body { padding: 22px; }
.article-meta { margin-bottom: 10px; color: #98a2b3; font-size: 12px; font-weight: 700; }

.info-strip {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #dcd7ff;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, rgba(102,87,246,.09), rgba(25,199,238,.07));
}
.info-strip strong { display: block; margin-bottom: 3px; }
.info-strip p { margin: 0; color: var(--muted); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.9); }
.stat { padding: 25px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 3px; font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 13px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.92); }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th, .data-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.data-table th { color: #667085; background: #fafbff; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfaff; }
.brand-cell { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.mini-logo { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--purple), var(--cyan)); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.mini-logo.violet { background: linear-gradient(135deg, #7c64ff, #a68aff); }
.mini-logo.blue { background: linear-gradient(135deg, #3683f5, #27c6ee); }
.mini-logo.coral { background: linear-gradient(135deg, #ff6b6b, #ff9f7a); }
.mini-logo.green { background: linear-gradient(135deg, #12b76a, #35c9a0); }

.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px dashed rgba(200, 205, 220, 0.45); }
.btn-affiliate { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 750; padding: 6px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff !important; text-decoration: none; box-shadow: 0 4px 12px rgba(102, 87, 246, 0.2); transition: all 0.2s ease; white-space: nowrap; }
.btn-affiliate:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(102, 87, 246, 0.32); color: #fff !important; }
.btn-affiliate-ghost { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 750; padding: 5px 11px; border-radius: 999px; background: #f2f0ff; color: var(--purple) !important; border: 1px solid #ddd7ff; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; }
.btn-affiliate-ghost:hover { background: var(--purple); color: #fff !important; border-color: var(--purple); transform: translateY(-1px); }
.table-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ladder-card { position: relative; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.ladder-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ladder-badge { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: #eff0ff; color: var(--purple); }

.progress { width: 118px; height: 7px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--cyan)); }

.filters { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.86); color: #475467; cursor: pointer; font-size: 13px; font-weight: 750; }
.filter-button:hover, .filter-button.active { color: white; border-color: var(--purple); background: var(--purple); }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 14px; bottom: 14px; width: 2px; background: #e2dfff; }
.timeline li { position: relative; padding: 0 0 30px 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 8px; top: 2px; width: 22px; height: 22px; border: 5px solid #eeecff; border-radius: 50%; background: var(--purple); }
.timeline time { color: #98a2b3; font-size: 12px; font-weight: 750; }
.timeline h3 { margin: 4px 0 5px; font-size: 18px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

.steps { counter-reset: step; }
.step { padding-left: 70px; min-height: 56px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: white; background: linear-gradient(135deg, var(--purple), var(--cyan)); font-weight: 900; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.88); overflow: hidden; }
.faq-question { width: 100%; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-weight: 750; }
.faq-question span:last-child { color: var(--purple); font-size: 22px; transition: transform .2s; }
.faq-answer { max-height: 0; padding: 0 20px; overflow: hidden; color: var(--muted); font-size: 14px; transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-answer { max-height: 280px; padding: 0 20px 18px; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.notice { padding: 18px 20px; border-left: 4px solid var(--orange); border-radius: 4px 14px 14px 4px; background: #fff9ed; color: #7a4b00; font-size: 14px; }
.notice.red { border-color: var(--red); background: #fff4f3; color: #8f251d; }

.empty-card { padding: 48px 24px; text-align: center; }
.empty-icon { width: 70px; height: 70px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 22px; background: #eeecff; color: var(--purple); font-size: 30px; }

.cta {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(110deg, #5544ed, #6958ff 48%, #29bfe8);
  box-shadow: 0 26px 50px rgba(80,64,232,.23);
}
.cta h2 { margin-bottom: 8px; font-size: 30px; }
.cta p { margin: 0; color: rgba(255,255,255,.78); }
.cta .button { color: var(--purple); background: white; }

.site-footer { padding: 64px 0 24px; background: #11162a; color: #d0d5dd; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 46px; }
.footer-brand { margin-bottom: 17px; color: white; }
.footer-copy { max-width: 420px; color: #98a2b3; font-size: 14px; }
.footer-column h3 { margin-bottom: 14px; color: white; font-size: 14px; }
.footer-column a { display: block; margin: 9px 0; color: #98a2b3; font-size: 13px; }
.footer-column a:hover { color: white; }
.footer-bottom { margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #29304a; color: #667085; font-size: 12px; }

.content-shell { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 34px; align-items: start; }
.sidebar { position: sticky; top: 98px; }
.sidebar .card { margin-bottom: 16px; }
.sidebar-nav a { display: flex; padding: 9px 0; justify-content: space-between; border-bottom: 1px solid #eef0f5; color: #667085; font-size: 14px; }
.sidebar-nav a:last-child { border: 0; }
.sidebar-nav a:hover { color: var(--purple); }

.prose { padding: 32px; }
.prose h2 { margin: 36px 0 14px; font-size: 27px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; }
.prose p, .prose li { color: #59657a; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--purple); background: #f7f6ff; color: #475467; }

.apple-id-grid .card { min-height: 220px; }
.region-flag { font-size: 29px; margin-bottom: 14px; }
.copy-field { display: flex; align-items: center; gap: 8px; margin-top: 15px; padding: 10px 12px; border: 1px dashed #ccd1dc; border-radius: 11px; background: #fafbff; color: #667085; font-size: 13px; }
.copy-field code { flex: 1; overflow: hidden; text-overflow: ellipsis; }

.platform-card { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.platform-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: white; font-size: 20px; font-weight: 900; margin-bottom: 16px; flex-shrink: 0; }
.platform-icon.win { background: linear-gradient(135deg, #0078d4, #00c4f4); box-shadow: 0 10px 20px rgba(0, 120, 212, 0.25); }
.platform-icon.mac { background: linear-gradient(135deg, #6c5ce7, #a29bfe); box-shadow: 0 10px 20px rgba(108, 92, 231, 0.25); }
.platform-icon.ios { background: linear-gradient(135deg, #0984e3, #74b9ff); box-shadow: 0 10px 20px rgba(9, 132, 227, 0.25); }
.platform-icon.android { background: linear-gradient(135deg, #00b894, #55efc4); box-shadow: 0 10px 20px rgba(0, 184, 148, 0.25); }

.tutorial-block { padding: 36px; border-radius: var(--radius-xl); margin-bottom: 40px; scroll-margin-top: 90px; }
.tutorial-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tutorial-brand { display: flex; align-items: center; gap: 14px; }
.tutorial-brand h2 { margin: 0; font-size: 26px; }
.client-tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.client-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #f0edff; color: var(--purple); font-size: 12px; font-weight: 750; border: 1px solid #dfdaff; }
.code-box { padding: 12px 16px; border-radius: 10px; background: #1e1e2e; color: #a6accd; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; margin: 12px 0; overflow-x: auto; }
.tutorial-steps-grid { display: grid; gap: 18px; margin-top: 20px; }
.step-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 6px 16px rgba(16,24,40,.03); }
.step-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.step-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #e7e3ff; color: var(--purple); font-size: 12px; font-weight: 850; }
.step-card h3 { margin: 0; font-size: 16px; }
.step-card p { margin: 6px 0 0; color: #5f6d80; font-size: 14px; line-height: 1.75; }

.ai-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.ai-tool-card { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(16,24,40,.04); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ai-tool-card:hover { transform: translateY(-3px); border-color: #d8d3ff; box-shadow: var(--shadow-hover); }
.ai-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 750; background: #f0edff; color: var(--purple); }
.ai-badge.green { background: #e9fbf2; color: #087a49; }
.ai-badge.orange { background: #fff4df; color: #a15c00; }
.ai-badge.blue { background: #eef5ff; color: #2062b8; }

@media (max-width: 1080px) {
  .ai-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { position: fixed; inset: 74px 18px auto; padding: 14px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 11px 13px; }
  .menu-button { display: grid; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid { gap: 38px; }
}

@media (max-width: 820px) {
  .hero { padding: 68px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 500px; margin: 12px auto 0; width: 88%; }
  .hero-copy { font-size: 16px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / -1; }
  .content-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand small, .nav-actions .icon-button { display: none; }
  .nav-wrap { min-height: 66px; }
  .nav-links { top: 66px; }
  h1 { font-size: 43px; }
  .hero.compact h1 { font-size: 39px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .floating-badge.one { right: -16px; }
  .floating-badge.two { left: -20px; bottom: 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .info-strip, .cta { align-items: start; grid-template-columns: 1fr; flex-direction: column; }
  .cta { padding: 30px 24px; }
  .cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .prose { padding: 23px 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
