/* ========================================
   TOKOWA GLOBAL STYLES
   Studio Digital Turbo - Untuk Semua Halaman
   Lisensi: CC BY-SA 4.0
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  padding: 1rem;
  max-width: 880px;
  margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  color: #1a1a2e;
}

h2.border-green {
  border-left: 4px solid #25D366;
  padding-left: 1rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.25rem 0 0.75rem 0;
  color: #2d3561;
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
}

a {
  color: #25D366;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #128C7E;
}

/* ---------- NAVIGATION ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.nav-menu a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding-bottom: 0.25rem;
}

.nav-menu a:hover {
  color: #25D366;
}

.nav-menu a.active {
  color: #25D366;
  font-weight: 600;
  border-bottom: 2px solid #25D366;
}

.menu-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 0.5rem 0 2rem 0;
}

/* ---------- HERO SECTION ---------- */
.hero {
  text-align: center;
  padding: 1rem 0 2rem 0;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-image {
  margin: 2rem 0;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

.tagline {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

/* ---------- BADGES & LABELS ---------- */
.badge-green {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-dark {
  display: inline-block;
  background: #1a1a2e;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.badge-warning {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-back {
  background: #64748b;
}

.btn-back:hover {
  background: #475569;
}

.btn-outline {
  background: transparent;
  border: 2px solid #25D366;
  color: #25D366;
}

.btn-outline:hover {
  background: #25D366;
  color: white;
}

/* ---------- CARD COMPONENTS ---------- */
.card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  margin: 1rem 0;
}

.card:hover {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.card-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}

.card-red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}

.card-blue {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1px solid #7dd3fc;
}

/* ---------- STEP CARDS (untuk page-2) ---------- */
.step-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.step-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
}

.step-duration {
  background: #e2e8f0;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #475569;
}

/* ---------- PROGRESS TRACKER ---------- */
.progress-tracker {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 1rem;
  margin: 2rem 0;
  position: sticky;
  top: 10px;
  z-index: 100;
}

.progress-tracker h4 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #475569;
}

.progress-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.progress-links a {
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.8rem;
  color: #25D366;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.progress-links a:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

/* ---------- INFO BOXES ---------- */
.tip-box {
  background: #e0f2fe;
  border-left: 4px solid #0284c7;
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.warning-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.note-box {
  background: #f1f5f9;
  border-left: 4px solid #64748b;
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.time-estimate {
  background: #fef3c7;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-align: center;
  margin: 1rem 0;
  font-weight: 600;
}

/* ---------- TABLES ---------- */
.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  text-align: left;
}

th {
  background: #f1f5f9;
  font-weight: 600;
}

/* ---------- LISTS ---------- */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.35rem;
}

.list-dot {
  list-style: none;
  margin-left: 0;
}

.list-dot li {
  padding-left: 1.25rem;
  position: relative;
}

.list-dot li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: bold;
  font-size: 1.2rem;
}

.checklist {
  list-style: none;
  margin-left: 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: bold;
}

.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.icon-list li::before {
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

/* ---------- GRIDS ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* ---------- COMPARE CARDS ---------- */
.compare-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
}

.compare-card.before {
  border-left: 4px solid #ef4444;
}

.compare-card.after {
  border-left: 4px solid #25D366;
}

.compare-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.compare-card ul {
  list-style: none;
  padding: 0;
}

.compare-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.compare-card.before li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

.compare-card.after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: bold;
}

/* ---------- AUDIENCE BOXES ---------- */
.audience-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.25rem;
}

.audience-box.green {
  background: #e8f5e9;
  border-left: 4px solid #25D366;
}

.audience-box.red {
  background: #ffebee;
  border-left: 4px solid #ef4444;
}

.audience-box h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.audience-box ul {
  list-style: none;
  padding: 0;
}

.audience-box li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.audience-box.green li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: bold;
}

.audience-box.red li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* ---------- STEPS (3 langkah) ---------- */
.step {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.step-number {
  width: 48px;
  height: 48px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

.step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #166534;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #14532d;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.faq-question:hover {
  color: #25D366;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0 1rem 1rem;
  color: #4a5568;
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-toggle.rotated {
  transform: rotate(180deg);
}

/* ---------- TRUTH BOX ---------- */
.truth {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.truth blockquote {
  font-size: 1.2rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 1rem;
}

.truth p {
  color: #78350f;
  margin: 0;
}

/* ---------- BRAND LINE ---------- */
.brand-line {
  background: #1a1a2e;
  color: white;
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  margin: 2rem 0;
}

.brand-line a {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
}

.brand-line a:hover {
  text-decoration: underline;
}

/* ---------- CC ICONS ---------- */
.cc-icons {
  text-align: center;
  margin: 1.5rem 0;
  font-size: 2rem;
  letter-spacing: 5px;
}

/* ---------- ATTRIBUTION BOX ---------- */
.attribution-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  border: 1px solid #cbd5e1;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 2rem 0 4rem 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

footer a {
  color: #4a5568;
  text-decoration: none;
}

/* ---------- FLOATING SHARE BUTTON ---------- */
.wa-share-floating {
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-share-floating:hover {
  transform: scale(1.05);
  background: #128C7E;
}

/* ---------- MISC ---------- */
.accent {
  color: #25D366;
  font-weight: 600;
}

.hr-medium {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin: 2rem 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  body {
    padding: 0.75rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

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

  .tagline {
    font-size: 1rem;
  }

  .compare-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .nav-menu {
    gap: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

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

  .progress-links {
    gap: 0.35rem;
  }

  .wa-share-floating {
    padding: 8px 16px;
    font-size: 12px;
    right: 15px;
    bottom: 20px;
  }

  .progress-tracker h4 {
    font-size: 10px;
  }

  .progress-links a {
    font-size: 9px;
  }
}

@media (min-width: 641px) and (max-width: 880px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- PRINT STYLES ---------- */
@media print {
  .wa-share-floating,
  .nav-menu,
  .btn,
  .progress-tracker,
  footer {
    display: none;
  }
}

.mtop-50 {
  margin-top: 50px;
}