@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&display=swap');

/* ==========================================================================
   24HVAY - GUIDE & REVIEW DETAIL PAGE STYLES
   ========================================================================== */
:root {
  --guide-primary: #0066ff;
  --guide-primary-dark: #0052cc;
  --guide-accent: #ff6b00;
  --guide-accent-dark: #e65100;
  --guide-success: #00b074;
  --guide-dark: #0f172a;
  --guide-gray: #475569;
  --guide-light: #f8fafc;
  --guide-border: #e2e8f0;
  --guide-radius: 12px;
}

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

html, body.guide-page {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body.guide-page {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--guide-dark);
  background: #f8faff;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  padding-bottom: 80px;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--guide-border);
  padding: 12px 0;
}

.guide-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: var(--guide-dark);
}

.guide-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--guide-primary), #00c6ff);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.guide-back-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--guide-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-back-link:hover {
  text-decoration: underline;
}

/* Breadcrumb */
.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--guide-gray);
  margin: 20px 0 14px;
  flex-wrap: wrap;
}

.guide-breadcrumb a {
  color: var(--guide-primary);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  text-decoration: underline;
}

/* Article Container */
.guide-article {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--guide-border);
  padding: 36px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 40px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.guide-tag {
  background: rgba(0, 102, 255, 0.1);
  color: var(--guide-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.guide-verified-badge {
  background: #e6f9f2;
  color: #00875a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guide-date {
  font-size: 13px;
  color: var(--guide-gray);
}

.guide-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  color: var(--guide-dark);
}

.guide-lead {
  font-size: 17px;
  color: var(--guide-gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Gold Factsheet Box */
.factsheet-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--guide-radius);
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.factsheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.factsheet-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.factsheet-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--guide-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.factsheet-brand h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.factsheet-brand span {
  font-size: 13px;
  color: #94a3b8;
}

.factsheet-rating {
  text-align: right;
}

.factsheet-stars {
  color: #ffb800;
  font-size: 18px;
  font-weight: 800;
}

.factsheet-reviews {
  font-size: 12px;
  color: #94a3b8;
}

.factsheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.fact-item {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fact-label {
  font-size: 12px;
  color: #94a3b8;
  display: block;
}

.fact-value {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
  display: block;
}

.fact-value.highlight {
  color: #38bdf8;
}

.btn-guide-main-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--guide-accent), #ff8c00);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-guide-main-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
}

/* Exclusive Tip Box */
.secret-tip-box {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: var(--guide-radius);
  padding: 24px;
  margin: 32px 0;
}

.secret-tip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 12px;
}

.secret-tip-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: #78350f;
  line-height: 1.8;
}

.secret-tip-list li strong {
  color: #92400e;
}

/* Steps Walkthrough */
.steps-walkthrough {
  margin: 32px 0;
}

.step-row {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--guide-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--guide-dark);
}

.step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--guide-gray);
  line-height: 1.6;
}

/* Pros and Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--guide-radius);
  padding: 20px;
}

.cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--guide-radius);
  padding: 20px;
}

.pros-box h4 {
  color: #166534;
  margin: 0 0 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cons-box h4 {
  color: #991b1b;
  margin: 0 0 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pros-box ul, .cons-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}

/* Multi Apply Backup Section */
.multi-apply-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--guide-radius);
  padding: 24px;
  margin: 36px 0;
}

.multi-apply-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 8px;
}

.multi-apply-desc {
  font-size: 14px;
  color: #3b82f6;
  margin-bottom: 18px;
}

.multi-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-offer-card {
  background: #ffffff;
  border: 1px solid var(--guide-border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-offer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mini-offer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-offer-name {
  font-weight: 700;
  font-size: 14px;
}

.mini-offer-details {
  font-size: 12px;
  color: var(--guide-gray);
  margin-bottom: 12px;
}

.btn-mini-apply {
  background: var(--guide-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-mini-apply:hover {
  background: var(--guide-primary-dark);
}

/* FAQ Accordion */
.guide-faq-section {
  margin: 36px 0;
}

.faq-item-guide {
  background: var(--guide-light);
  border: 1px solid var(--guide-border);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 16px 20px;
}

.faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--guide-dark);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 14px;
  color: var(--guide-gray);
  margin: 0;
  line-height: 1.6;
}

/* Sticky Bottom Bar on Mobile */
.guide-sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--guide-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  display: none;
  z-index: 99;
}

.guide-sticky-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-info strong {
  display: block;
  font-size: 14px;
  color: var(--guide-dark);
}

.sticky-info span {
  font-size: 11px;
  color: #00b074;
  font-weight: 700;
}

.btn-sticky-guide-cta {
  background: linear-gradient(135deg, var(--guide-accent), #ff8c00);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .guide-article {
    padding: 20px 16px;
  }
  .guide-title {
    font-size: 24px;
  }
  .factsheet-grid {
    grid-template-columns: 1fr;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .multi-cards {
    grid-template-columns: 1fr;
  }
  .guide-sticky-bottom {
    display: block;
  }
}
