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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #0f1923;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #b0bec5;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffc107;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #1a1a2e;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffca28, #ffa726);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-soft:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ===== Cards ===== */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 28px;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-left h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-left p {
  margin-bottom: 14px;
  color: #b0bec5;
  font-size: 0.95rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #ffc107;
}

.pill b {
  font-size: 0.5rem;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffc107;
}

.stat-label {
  font-size: 0.75rem;
  color: #78909c;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.hero-note {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255, 193, 7, 0.06);
  border-left: 3px solid #ffc107;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #90a4ae;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hero-right img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* ===== Sections ===== */
.section {
  padding: 50px 0;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
  text-align: center;
}

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

.feature {
  text-align: center;
  padding: 32px 24px;
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #ffc107;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}

.feature p {
  color: #b0bec5;
  font-size: 0.9rem;
}

/* ===== Split (Guide) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.panel p {
  color: #90a4ae;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.panel ul {
  padding-left: 0;
}

.panel li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #b0bec5;
  font-size: 0.88rem;
}

.panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: 700;
}

/* ===== Article ===== */
.article {
  max-width: 860px;
  margin: 0 auto;
}

.article h2 {
  text-align: left;
  margin-bottom: 18px;
}

.article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffc107;
  margin-top: 24px;
  margin-bottom: 10px;
}

.article p {
  color: #b0bec5;
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  text-align: left;
}

details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0;
}

details:last-of-type {
  border-bottom: none;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #ffc107;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "−";
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 10px;
  color: #90a4ae;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  padding: 36px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer small {
  display: block;
  margin-top: 10px;
  color: #78909c;
  font-size: 0.78rem;
  max-width: 420px;
  line-height: 1.5;
}

.footer .links {
  display: flex;
  gap: 20px;
}

.footer .links a {
  font-size: 0.85rem;
  color: #90a4ae;
  transition: color 0.2s ease;
}

.footer .links a:hover {
  color: #ffc107;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

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

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

  .nav {
    display: none;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .pills {
    gap: 6px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 20px;
  }

  .hero-left h1 {
    font-size: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
