/* ==========================================================================
   sms-activator.css — Page-specific styles for sms-activator.biz
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SVG Icon Base
   -------------------------------------------------------------------------- */
.icon {
  display: block;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, #E0E7FF 100%);
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.hero__badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .text-blue {
  color: var(--color-primary);
}

.hero__hook {
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 20px;
}

.hero__trust .trust-icon {
  color: var(--color-success);
  display: flex;
  align-items: center;
}

/* Hero visual / device mockup */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mockup {
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-md), 0 8px 40px rgba(37, 99, 235, 0.15);
  padding: 28px;
  position: relative;
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.mockup__avatar {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mockup__sender {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.mockup__time {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.mockup__msg {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mockup__code {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-mono);
}

.mockup__label {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   2. Key Takeaways Box
   -------------------------------------------------------------------------- */
.takeaways-box {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  margin-top: 28px;
}

.takeaways-box__heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.takeaways-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaways-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.takeaways-box ul li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   3. Stats Bar
   -------------------------------------------------------------------------- */
.stat-bar {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
}

.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-bar__item {
  padding: 8px;
}

.stat-bar__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-bar__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   4. Section 2.1 — Infographic Steps
   -------------------------------------------------------------------------- */
.infographic-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin: 36px 0;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.step-circle {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. Section 2.2 — Compare Table
   -------------------------------------------------------------------------- */
.compare-table thead th:first-child {
  width: 28%;
}

.compare-table .feature-label {
  font-weight: 600;
  color: var(--color-text);
}

.compare-table .check-yes {
  color: var(--color-success);
  font-weight: 700;
}

.compare-table .check-no {
  color: var(--color-danger);
  font-weight: 700;
}

.compare-table .col-virtual {
  background-color: rgba(37, 99, 235, 0.04);
}

/* --------------------------------------------------------------------------
   6. Section 3.0 — Benefits List
   -------------------------------------------------------------------------- */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 3px;
}

.benefit-text span {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Section 3.1 — Use Cases List
   -------------------------------------------------------------------------- */
.use-cases-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  counter-reset: use-case;
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
  counter-increment: use-case;
}

.use-case-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.use-case-rank {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.use-case-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.use-case-text span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   8. Section 3.2 — Privacy Diagram
   -------------------------------------------------------------------------- */
.privacy-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.privacy-col {
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}

.privacy-col--danger {
  background: #FEF2F2;
  border: 2px solid #FCA5A5;
}

.privacy-col--safe {
  background: #F0FDF4;
  border: 2px solid #86EFAC;
}

.privacy-col__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.privacy-col--danger .privacy-col__icon {
  color: var(--color-danger);
}

.privacy-col--safe .privacy-col__icon {
  color: var(--color-success);
}

.privacy-col__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.privacy-col--danger .privacy-col__title {
  color: var(--color-danger);
}

.privacy-col--safe .privacy-col__title {
  color: var(--color-success);
}

.privacy-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.privacy-col ul li {
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.privacy-col--danger ul li::before {
  content: '✗';
  color: var(--color-danger);
  font-weight: 700;
  flex-shrink: 0;
}

.privacy-col--safe ul li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Section 4.0 — Provider Table
   -------------------------------------------------------------------------- */
.provider-table tr.recommended {
  background-color: rgba(37, 99, 235, 0.06) !important;
  border-left: 3px solid var(--color-primary);
}

.provider-table .recommended-badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.provider-table .rating {
  color: #D97706;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   10. Section 4.1 — Price List
   -------------------------------------------------------------------------- */
.price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.price-card {
  border-radius: var(--radius-card);
  padding: 28px;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  border-color: var(--color-primary);
}

.price-card__badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.price-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.price-card__price span {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

.price-card ul li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card ul li.con::before {
  content: '✗';
  color: var(--color-muted);
}

.price-card ul li.con {
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   11. Section 4.2 — World Coverage
   -------------------------------------------------------------------------- */
.world-coverage {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 36px;
  margin: 28px 0;
}

.world-coverage__map {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 200px;
  border: 1px solid var(--color-border);
}

.world-map-svg {
  width: 100%;
  height: auto;
  max-height: 280px;
}

.coverage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-dot--high  { background-color: #16A34A; }
.legend-dot--med   { background-color: var(--color-primary); }
.legend-dot--low   { background-color: #F59E0B; }
.legend-dot--none  { background-color: var(--color-border); }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.coverage-country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.coverage-country .flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  padding: 0 5px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.coverage-country .country-info strong {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.875rem;
}

.coverage-country .country-info span {
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Section 5.0 — Step Guide
   -------------------------------------------------------------------------- */
.step-guide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
  counter-reset: steps;
}

.guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  counter-increment: steps;
}

.guide-step__number {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.guide-step__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.guide-step__content p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.guide-step__icon {
  color: var(--color-primary);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   13. Section 5.1 — Trouble List
   -------------------------------------------------------------------------- */
.trouble-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.trouble-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 22px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.trouble-problem {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-danger);
  background: #FEF2F2;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: start;
  white-space: nowrap;
}

.trouble-solution strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 3px;
}

.trouble-solution p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. Section 5.2 — Code Block
   -------------------------------------------------------------------------- */
.code-block {
  background: #0F172A;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1E293B;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.code-block__dots {
  display: flex;
  gap: 6px;
}

.code-block__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-block__dot:nth-child(1) { background: #EF4444; }
.code-block__dot:nth-child(2) { background: #F59E0B; }
.code-block__dot:nth-child(3) { background: #10B981; }

.code-block__lang {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-block pre {
  padding: 24px;
  overflow-x: auto;
  margin: 0;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #E2E8F0;
  background: none;
  padding: 0;
}

.code-keyword { color: #93C5FD; }
.code-string  { color: #86EFAC; }
.code-comment { color: #64748B; }
.code-number  { color: #FCD34D; }

/* --------------------------------------------------------------------------
   15. Section 6 — Legal Block
   -------------------------------------------------------------------------- */
.legal-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 36px;
  margin: 28px 0;
}

.legal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  min-width: 100px;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0.75em;
}

/* --------------------------------------------------------------------------
   16. Section 7 — Future List
   -------------------------------------------------------------------------- */
.future-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.future-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}

.future-item__icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.future-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.future-item p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   17. Section Backgrounds (alternating)
   -------------------------------------------------------------------------- */
.section-bg-white { background-color: var(--color-white); }
.section-bg-light { background-color: var(--color-bg); }
.section-bg-alt   { background-color: var(--color-bg-alt); }

/* --------------------------------------------------------------------------
   18. Responsive Overrides for Page-Specific Components
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .hero h1 {
    font-size: 2.625rem;
  }

  .stat-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 52px 0 48px;
  }

  .hero h1 {
    font-size: 2.125rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .infographic-steps {
    flex-direction: column;
    gap: 20px;
  }

  .step-item:not(:last-child)::after {
    display: none;
  }

  .step-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 0;
  }

  .step-circle {
    margin-bottom: 0;
    margin-right: 14px;
    flex-shrink: 0;
  }

  .privacy-diagram {
    grid-template-columns: 1fr;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .legal-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trouble-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trouble-problem {
    white-space: normal;
    display: inline-block;
  }

  .stat-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-bar__number {
    font-size: 1.625rem;
  }

  .world-coverage {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .guide-step {
    flex-direction: column;
    gap: 14px;
  }

  .guide-step__icon {
    display: none;
  }

  .stat-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Section article spacing utility (replaces inline margin-top)
   -------------------------------------------------------------------------- */
.section-article {
  margin-top: 2.5rem;
}

.future-outro {
  margin-top: 1.5rem;
}
