/* =========================================================
   Guides SEO Pages – Antigravity Design
   ========================================================= */

/* Hero Section */
.guide-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

.guide-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.guide-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(68, 138, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.guide-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.guide-breadcrumb a:hover {
  opacity: 0.7;
}

.guide-breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.guide-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(224, 64, 251, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.guide-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.guide-hero h1 span {
  background: var(--grad-brand-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 700px;
}

/* Stat Cards Row */
.guide-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.guide-stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(124, 77, 255, 0.08);
  box-shadow: 0 4px 24px rgba(124, 77, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.12);
}

.guide-stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-brand-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.guide-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
}

/* Main Content */
.guide-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid rgba(224, 64, 251, 0.12);
}

.guide-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.guide-section p {
  font-size: 16px;
  line-height: 1.85;
  color: #3a3856;
  margin-bottom: 16px;
}

.guide-section ul,
.guide-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.guide-section li {
  font-size: 16px;
  line-height: 1.85;
  color: #3a3856;
  margin-bottom: 8px;
}

/* Highlight Box */
.guide-highlight {
  background: linear-gradient(135deg, rgba(224, 64, 251, 0.04) 0%, rgba(68, 138, 255, 0.04) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 24px 0;
}

.guide-highlight p {
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
}

.guide-highlight strong {
  color: var(--primary);
}

/* Price Callout */
.guide-price-callout {
  background: var(--white);
  border: 2px solid rgba(224, 64, 251, 0.15);
  border-radius: 20px;
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(224, 64, 251, 0.06);
}

.guide-price-callout .price-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
}

.guide-price-callout .price-text {
  flex: 1;
}

.guide-price-callout .price-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.guide-price-callout .price-text span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* CTA Section */
.guide-cta {
  background: var(--grad-brand);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.guide-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.guide-cta h3 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.guide-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.guide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.guide-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.guide-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.guide-faq h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 36px;
}

.guide-faq-item {
  background: var(--white);
  border: 1px solid rgba(124, 77, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.guide-faq-item:hover {
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.08);
}

.guide-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.guide-faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s;
}

.guide-faq-item.open .guide-faq-question svg {
  transform: rotate(180deg);
}

.guide-faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light);
  display: none;
}

.guide-faq-item.open .guide-faq-answer {
  display: block;
}

/* Other Guides Links */
.guide-related {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.guide-related h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.guide-related-card {
  background: var(--white);
  border: 1px solid rgba(124, 77, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.guide-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124, 77, 255, 0.1);
  border-color: rgba(224, 64, 251, 0.2);
}

.guide-related-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.guide-related-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Guide Index Page */
.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.guide-index-card {
  background: var(--white);
  border: 1px solid rgba(124, 77, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.guide-index-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(124, 77, 255, 0.12);
  border-color: rgba(224, 64, 251, 0.25);
}

.guide-index-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.guide-index-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.guide-index-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 20px;
}

.guide-index-card .read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-index-card:hover .read-more {
  gap: 10px;
}

.guide-index-card .read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.guide-index-card:hover .read-more svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .guide-hero {
    padding: 120px 0 60px;
  }

  .guide-stats-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -20px;
  }

  .guide-stat-number {
    font-size: 28px;
  }

  .guide-content-wrapper {
    padding: 40px 20px 60px;
  }

  .guide-section h2 {
    font-size: 22px;
  }

  .guide-cta {
    padding: 32px 24px;
  }

  .guide-cta h3 {
    font-size: 22px;
  }

  .guide-price-callout {
    flex-direction: column;
    text-align: center;
  }

  .guide-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .guide-stats-row {
    grid-template-columns: 1fr;
  }
}
