/* ============================================
   RESET & CUSTOM PROPERTIES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-body: #0d1117;
  --bg-header: #13242c;
  --bg-card: #1a1a2e;
  --bg-nav: #009344;
  --green-primary: #39b549;
  --green-login: #2be53d;
  --green-clock: #49ad57;
  --gold-cta: #d19f22;
  --text-heading: #ffffff;
  --text-body: #9ca3af;
  --text-muted: rgba(255, 255, 255, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-family: 'Open Sans', Arial, sans-serif;
  --container-max: 1100px;
  --header-topbar-h: 46px;
  --header-nav-h: 74px;
  --mobile-header-h: 45px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-login); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; line-height: 1.3; }
h1 { font-size: 32px; }
h2 { font-size: 24px; color: var(--green-primary); font-weight: 700; }
h3 { font-size: 20px; color: var(--green-primary); font-weight: 600; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }

/* ============================================
   HEADER - TOP BAR (Desktop)
   ============================================ */
.header-topbar {
  background: var(--bg-header);
  height: var(--header-topbar-h);
  display: none;
}
.header-topbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.header-clock { color: var(--green-clock); font-size: 14px; white-space: nowrap; }
.header-topbar-right { display: flex; align-items: center; gap: 16px; }
.lang-selector { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; font-size: 14px; }
.lang-flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #cc0001; }

.btn-join {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-cta); color: #222; min-width: 90px; height: 30px;
  border-radius: 4px; font-size: 16px; font-weight: 700; padding: 0 14px; transition: background 0.2s;
}
.btn-join:hover { background: #e0b032; color: #222; }
.btn-login-link { color: var(--green-login); font-size: 16px; font-weight: 700; }
.btn-login-link:hover { color: #5fff6a; }

/* ============================================
   HEADER - NAVIGATION BAR (Desktop)
   ============================================ */
.header-nav { background: var(--bg-nav); height: var(--header-nav-h); display: none; }
.header-nav .container { display: flex; align-items: center; height: 100%; padding: 0; }
.site-logo-box {
  width: 230px; height: var(--header-nav-h); background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 0 20px; flex-shrink: 0;
}
.site-logo-box img { height: 40px; width: auto; max-width: 190px; }
.nav-menu { display: flex; align-items: center; height: 100%; flex: 1; padding-left: 8px; }
.nav-menu a {
  display: flex; align-items: center; height: 100%; padding: 0 16px;
  color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================
   HEADER - MOBILE
   ============================================ */
.header-mobile {
  background: #fff; height: var(--mobile-header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px; position: relative;
}
.header-mobile .site-logo-mobile { position: absolute; left: 50%; transform: translateX(-50%); }
.header-mobile .site-logo-mobile img { height: 30px; width: auto; }
.hamburger-btn {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px; z-index: 1001;
}
.hamburger-line {
  display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: all 0.3s;
}
.hamburger-btn.is-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn.is-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-overlay { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.mobile-menu-overlay.is-open { pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute; inset: 0; background: rgba(13,17,23,0.95); opacity: 0; transition: opacity 0.3s;
}
.mobile-menu-overlay.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; padding: 80px 24px 24px;
  transform: translateX(100%); transition: transform 0.3s ease-out; overflow-y: auto;
}
.mobile-menu-overlay.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 14px 0; color: rgba(255,255,255,0.8);
  font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--green-primary); }
.mobile-menu-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* Sticky Header */
.site-header { position: relative; z-index: 1000; transition: box-shadow 0.3s; }
.site-header.is-sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-spacer { display: none; }
.header-spacer.is-active { display: block; }

@media (min-width: 1024px) {
  .header-topbar { display: block; }
  .header-nav { display: block; }
  .header-mobile { display: none; }
  .mobile-menu-overlay { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #13242c 50%, #0d2818 100%);
  padding: 48px 16px; text-align: center;
}
.hero-label { font-size: 12px; color: var(--green-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.hero h1 { margin-bottom: 12px; }
.hero p { max-width: 500px; margin: 0 auto 24px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border-radius: 4px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--gold-cta); color: #fff; }
.btn-primary:hover { background: #e0b032; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--green-primary); color: var(--green-primary); }
.btn-outline:hover { background: var(--green-primary); color: #fff; }

/* ============================================
   SECTIONS, CARDS, PROVIDERS
   ============================================ */
.section { padding: 48px 0; border-top: 1px solid var(--border-subtle); }
.section-header { margin-bottom: 24px; }
.section-header p { margin-top: 8px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border-radius: 10px; padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; }
.card-category { text-align: center; padding: 24px 12px; }
.card-category .card-icon { font-size: 32px; }

.provider-list { display: flex; gap: 10px; flex-wrap: wrap; }
.provider-pill {
  background: var(--bg-card); border-radius: 20px; padding: 8px 16px;
  font-size: 13px; color: var(--text-body); white-space: nowrap;
}

/* ============================================
   SEO CONTENT, FAQ, TABLES
   ============================================ */
.seo-content { padding: 32px 0; }
.seo-content h2 { margin-bottom: 16px; }
.seo-content p { margin-bottom: 16px; }
.seo-content p:last-child { margin-bottom: 0; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border-radius: 8px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text-heading);
  font-size: 15px; font-weight: 600; font-family: var(--font-family);
  padding: 16px 20px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--green-primary); }
.faq-arrow { font-size: 12px; transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer-inner { padding: 0 20px 16px; font-size: 14px; line-height: 1.7; }

.info-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.info-table th, .info-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-subtle); font-size: 14px; }
.info-table th { color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   STEP GUIDE
   ============================================ */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.step-content h3 { font-size: 16px; margin-bottom: 6px; }
.step-content p { font-size: 14px; }

/* ============================================
   REVIEW PAGE - RATING, PROS/CONS
   ============================================ */
.rating-stars { color: var(--gold-cta); font-size: 24px; letter-spacing: 2px; }
.rating-score { font-size: 48px; font-weight: 700; color: var(--text-heading); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.pros li::before { content: '\2713'; color: var(--green-primary); font-weight: 700; margin-right: 8px; }
.cons li::before { content: '\2717'; color: #ef4444; font-weight: 700; margin-right: 8px; }
.pros li, .cons li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border-subtle); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-body); }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--bg-header); padding: 40px 0 0; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 32px; }
.footer-col h4 { color: var(--green-primary); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; padding: 4px 0; color: var(--text-body); font-size: 13px; }
.footer-col a:hover { color: var(--green-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding: 16px 0;
  text-align: center; font-size: 12px; color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 36px 16px; }
  h1 { font-size: 28px; }
}
@media (max-width: 767px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid.card-grid-3-mobile { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 32px 16px; }
  .pros-cons { grid-template-columns: 1fr; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .step { flex-direction: column; gap: 12px; }
}
