:root {
  --bg-page: #f3f7f4;
  --bg-card: #ffffff;
  --bg-hero-start: #052e16;
  --bg-hero-mid: #064e3b;
  --bg-hero-end: #047857;
  --text-main: #1e293b;
  --text-muted: #475569;
  --accent-green: #059669;
  --accent-green-dark: #065f46;
  --accent-gold: #eab308;
  --accent-gold-light: #fef08a;
  --border-light: #e2e8f0;
  --shadow-card: 0 8px 28px rgba(5, 46, 22, 0.08);
  --radius-lg: 18px;
  --radius-md: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--accent-green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover, a:focus-visible {
  color: var(--bg-hero-start);
}

/* Header & Navigation */
.site-header {
  background-color: var(--bg-hero-start);
  color: #ffffff;
  border-bottom: 2px solid rgba(250, 204, 21, 0.35);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-link:hover {
  color: var(--accent-gold-light);
}

.brand-logo-sm {
  border-radius: 8px;
  border: 1.5px solid var(--accent-gold);
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.main-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  padding: 6px 4px;
}

.main-nav a:hover {
  color: var(--accent-gold-light);
}

/* Main Layout */
.page-container {
  max-width: 1040px;
  margin: 26px auto 52px;
  padding: 0 16px;
}

/* Hero Card */
.hero-card {
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-mid) 55%, var(--bg-hero-end) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 18px 42px rgba(5, 46, 22, 0.25);
  border: 1px solid rgba(250, 204, 21, 0.35);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-logo {
  border-radius: 22px;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: block;
  width: 155px;
  height: 155px;
  object-fit: cover;
}

.hero-badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: #ffffff;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #d1fae5;
  font-size: 1rem;
}

/* Countdown Timer */
.launch-timer-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: rgba(5, 46, 22, 0.78);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.launch-timer-label {
  color: var(--accent-gold-light);
  font-size: 0.92rem;
  font-weight: 700;
}

.launch-timer-digits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
}

.timer-unit {
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 44px;
  text-align: center;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
  color: #052e16;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #052e16;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0369a1;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.btn-telegram:hover {
  background: #075985;
  color: #ffffff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #15803d;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #166534;
  color: #ffffff;
}

/* Article Card */
.article-body {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.article-body h2 {
  color: var(--bg-hero-start);
  font-size: 1.5rem;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-green);
  line-height: 1.3;
}

.article-body h3 {
  color: var(--bg-hero-mid);
  font-size: 1.18rem;
  margin: 24px 0 10px;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

/* Two-Column Showcase (Text + App Screenshot) */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: start;
  margin: 24px 0 30px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

.showcase-img-wrap {
  margin: 0;
  text-align: center;
}

.showcase-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 450 / 800;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  border: 2px solid var(--accent-green);
  box-shadow: 0 10px 24px rgba(5, 46, 22, 0.16);
}

.showcase-img-wrap figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Table of Contents */
.toc-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 28px;
}

.toc-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--bg-hero-start);
}

.toc-box ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 6px 20px;
}

.toc-box a {
  text-decoration: none;
  font-size: 0.94rem;
}

.toc-box a:hover {
  text-decoration: underline;
}

/* Responsive Accessible Tables */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  margin: 20px 0 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 12px 16px;
  background: #f8fafc;
  color: var(--bg-hero-start);
  border-bottom: 1px solid var(--border-light);
}

thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  background: var(--bg-hero-mid);
  color: #ffffff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
}

tbody th, tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

tbody th {
  background: #f8fafc;
  color: var(--bg-hero-start);
  font-weight: 700;
}

tbody tr:last-child th, tbody tr:last-child td {
  border-bottom: none;
}

@container (width < 560px) {
  .table-wrapper table,
  .table-wrapper thead,
  .table-wrapper tbody,
  .table-wrapper tr,
  .table-wrapper th,
  .table-wrapper td {
    display: block;
  }

  .table-wrapper thead {
    display: none;
  }

  .table-wrapper tr {
    margin-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
  }

  .table-wrapper tbody th {
    background: #ecfdf5;
  }
}

/* Social Community Banner */
.community-banner {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  margin: 30px 0;
}

.community-banner h2 {
  color: #ffffff;
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

.community-banner p {
  color: #ecfdf5;
  margin: 0 0 18px;
}

/* Keyword Cluster Pills */
.keyword-cluster {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
}

.keyword-cluster h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--bg-hero-start);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--bg-hero-start);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0;
}

/* FAQ Accordion */
.faq-section details {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 12px;
}

.faq-section details[open] {
  background: #f0fdf4;
  border-color: #86efac;
}

.faq-section summary {
  font-weight: 700;
  color: var(--bg-hero-start);
  cursor: pointer;
  font-size: 1.02rem;
}

.faq-section details p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-hero-start);
  color: #cbd5e1;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent-gold-light);
  margin: 0 8px;
  display: inline-block;
  padding: 6px 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

@media (max-width: 768px) {
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }

  .hero-logo {
    margin: 0 auto;
    width: 128px;
    height: 128px;
  }

  .cta-group {
    justify-content: center;
  }

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

  .article-body {
    padding: 24px 18px;
  }
}
