/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  --bg: #F3FBF8;
  --white: #FFFFFF;
  --text: #10201B;
  --text-sec: #58716A;
  --accent: #10B981;
  --accent-hover: #059669;
  --border: #CDEFE4;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(16, 32, 27, 0.07);
  --shadow-lg: 0 8px 32px rgba(16, 32, 27, 0.10);
  --max-w: 1200px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { color: var(--accent); }

.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg); color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-active {
  background: var(--bg);
  color: var(--accent) !important;
  font-weight: 600;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ===========================
   Breadcrumbs
   =========================== */
.breadcrumbs {
  padding: 12px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sec);
}
.breadcrumbs li + li::before {
  content: '›';
  margin-right: 8px;
  color: var(--border);
}
.breadcrumbs a { color: var(--text-sec); }
.breadcrumbs a:hover { color: var(--accent); }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 16px 36px; }
.btn-full { width: 100%; }

/* ===========================
   Sections
   =========================== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--white);
}

.section h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-sec);
  max-width: 680px;
  margin-bottom: 48px;
}

.section-cta-wrap {
  margin-top: 40px;
  text-align: center;
}

/* ===========================
   1. Hero
   =========================== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.hero-badge {
  display: inline-block;
  background: #ECFDF5;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-domain-field {
  max-width: 480px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 8px;
  transition: border-color 0.2s;
}
.hero-domain-field:focus-within { border-color: var(--accent); }

.domain-icon { font-size: 20px; padding: 0 8px; }

.domain-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 12px 8px;
  background: transparent;
  color: var(--text);
  cursor: text;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.metric-label {
  font-size: 13px;
  color: var(--text-sec);
  margin-top: 4px;
}

/* ===========================
   2. Packages Grid
   =========================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pkg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pkg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.pkg-popular {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.badge-popular, .badge-value, .badge-new {
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}
.badge-popular { background: var(--accent); color: var(--white); }
.badge-value { background: #F59E0B; color: var(--white); }
.badge-new { background: #6366F1; color: var(--white); }

.pkg-header {
  margin-bottom: 20px;
}
.pkg-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pkg-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.pkg-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
}

.pkg-features {
  flex: 1;
  margin-bottom: 20px;
}
.pkg-features li {
  font-size: 14px;
  color: var(--text-sec);
  padding: 6px 0;
  border-bottom: 1px solid #f0f7f4;
  padding-left: 20px;
  position: relative;
}
.pkg-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pkg-bar-wrap {
  margin-bottom: 20px;
}
.pkg-bar-label {
  font-size: 12px;
  color: var(--text-sec);
  display: block;
  margin-bottom: 6px;
}

/* Progress bars */
.progress-bar {
  height: 8px;
  background: #E8F5F0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #34D399);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.prog-bad {
  background: linear-gradient(90deg, #F87171, #FBBF24) !important;
}

/* Rank metrics in cards */
.rank-metrics {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.rank-metric {
  text-align: center;
  flex: 1;
}
.rm-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.rm-lbl {
  font-size: 11px;
  color: var(--text-sec);
}

/* ===========================
   Sticky Bar
   =========================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(16, 32, 27, 0.08);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-bar.visible { transform: translateY(0); }

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-text {
  font-size: 15px;
  color: var(--text-sec);
}
.sticky-text strong { color: var(--text); }

/* ===========================
   3. Service Cards
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.section-alt .service-card { background: var(--bg); }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-icon {
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: #ECFDF5;
  color: var(--accent-hover);
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ===========================
   5. Rank Types
   =========================== */
.rank-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rank-type-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.section-alt .rank-type-card { background: var(--bg); }

.rank-type-num {
  font-size: 32px;
  margin-bottom: 12px;
}

.rank-type-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.rank-type-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 16px;
}

.rank-impact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.impact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-right: 4px;
}

/* ===========================
   6. Before / After
   =========================== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ba-col {
  border-radius: var(--radius);
  overflow: hidden;
}

.ba-before { background: var(--white); border: 2px solid #FCA5A5; }
.ba-after { background: var(--white); border: 2px solid var(--accent); }

.ba-col h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  text-align: center;
}
.ba-before h3 { background: #FEF2F2; color: #B91C1C; }
.ba-after h3 { background: #ECFDF5; color: var(--accent-hover); }

.dashboard-mock {
  padding: 20px 24px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f7f4;
  font-size: 14px;
}

.dash-label { color: var(--text-sec); }
.dash-val { font-weight: 700; }
.dash-bad { color: #DC2626; }
.dash-good { color: var(--accent-hover); }

.source-bars {
  margin-top: 16px;
}
.source-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.source-bar-item span:first-child {
  min-width: 60px;
  color: var(--text-sec);
}
.source-bar-item .progress-bar { flex: 1; }

/* ===========================
   7. Traffic Sources
   =========================== */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.source-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.section-alt .source-card { background: var(--bg); }
.source-card:hover { box-shadow: var(--shadow-lg); }

.source-icon { margin-bottom: 12px; }

.source-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.source-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ===========================
   8. Channels
   =========================== */
.channels-list {
  max-width: 720px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.channel-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}

.channel-item div {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.6;
}
.channel-item strong { color: var(--text); }

/* ===========================
   9. Bot
   =========================== */
.bot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.bot-info h3, .bot-params h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.bot-info p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 16px;
}

.bot-info ul {
  padding-left: 0;
}
.bot-info li {
  font-size: 14px;
  color: var(--text-sec);
  padding: 6px 0 6px 20px;
  position: relative;
}
.bot-info li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.param-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-alt .param-item { background: var(--bg); }
.param-icon { font-size: 20px; }
.param-item strong { font-size: 13px; color: var(--text); }
.param-item span:last-child { font-size: 12px; color: var(--text-sec); }

/* ===========================
   10. Steps
   =========================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.55;
}

/* ===========================
   11. Process Timeline
   =========================== */
.process-timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.ps-marker {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
}

.ps-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.ps-content p {
  font-size: 14px;
  color: var(--text-sec);
}

/* ===========================
   12. Analysis
   =========================== */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.analysis-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.analysis-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.analysis-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.analysis-item p {
  font-size: 13px;
  color: var(--text-sec);
}

/* ===========================
   13. Check Traffic
   =========================== */
.check-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.check-form-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.section-alt .check-form-visual { background: var(--bg); }

.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  cursor: text;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus { border-color: var(--accent); }

.check-includes {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.section-alt .check-includes { background: var(--bg); }

.check-includes h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.check-includes li {
  font-size: 14px;
  color: var(--text-sec);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid #eef6f2;
}
.check-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.check-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-sec);
  font-style: italic;
}

/* ===========================
   14. Data Metrics
   =========================== */
.data-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.data-metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.dm-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.data-metric-card p {
  font-size: 13px;
  color: var(--text-sec);
}

.data-who {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.data-who h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.who-tag {
  font-size: 13px;
  padding: 8px 16px;
  background: #ECFDF5;
  color: var(--accent-hover);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-weight: 500;
}

/* ===========================
   15. Direct
   =========================== */
.direct-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.direct-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.direct-text p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 20px;
}

.direct-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.direct-service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.section-alt .direct-service-card { background: var(--bg); }

.direct-service-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.direct-service-card p {
  font-size: 13px;
  color: var(--text-sec);
  margin: 0;
}

/* ===========================
   16. Geo
   =========================== */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.geo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.2s;
}
.geo-card:hover { box-shadow: var(--shadow-lg); }

.geo-flag { font-size: 36px; display: block; margin-bottom: 10px; }

.geo-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.geo-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.geo-sources span {
  font-size: 11px;
  color: var(--accent-hover);
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 8px;
}

.geo-custom { border-style: dashed; }

/* ===========================
   17. Niches
   =========================== */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.niche-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.55;
}
.section-alt .niche-item { background: var(--bg); }
.niche-item strong { color: var(--text); }

/* ===========================
   18. Who Needs
   =========================== */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.55;
  box-shadow: var(--shadow);
}
.who-card strong { color: var(--text); }

/* ===========================
   19. Use Cases
   =========================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.uc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.section-alt .uc-card { background: var(--bg); }
.uc-card:hover { box-shadow: var(--shadow-lg); }

.uc-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.uc-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.uc-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ===========================
   Final CTA
   =========================== */
.section-cta-final {
  background: linear-gradient(180deg, var(--accent) 0%, #059669 100%);
  padding: 80px 0;
  text-align: center;
}
.section-cta-final h2 {
  color: var(--white);
  font-size: 36px;
}
.section-cta-final p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 560px;
  margin: 12px auto 32px;
}

.final-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.final-cta-row .btn-primary {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.final-cta-row .btn-primary:hover {
  background: #ECFDF5;
  border-color: #ECFDF5;
}
.final-cta-row .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.final-cta-row .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.final-contacts {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #0B1A15;
  color: #8BA69E;
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 13px;
  color: #8BA69E;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid #1A2E27;
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 12px;
  text-align: center;
  color: #5A7A70;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-types-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .data-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateY(0); }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
  }

  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-metrics { gap: 24px; }
  .metric-value { font-size: 22px; }

  .section { padding: 56px 0; }
  .section h2 { font-size: 24px; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }

  .packages-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .bot-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .analysis-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .direct-info { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr 1fr; }
  .niche-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .data-metrics-grid { grid-template-columns: 1fr; }
  .param-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .section-cta-final h2 { font-size: 26px; }

  .sticky-text { font-size: 13px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn { width: 100%; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .final-cta-row { flex-direction: column; align-items: center; }
  .final-cta-row .btn { width: 100%; }
  .final-contacts { flex-direction: column; gap: 12px; text-align: center; }
  .geo-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Print */
@media print {
  .site-header, .sticky-bar, .menu-toggle, .btn { display: none; }
  .section { padding: 24px 0; }
  body { background: white; }
}
