/* Programmatic SEO Pages - Brand-aligned with main site styles.css */

/* ==================== */
/* BREADCRUMBS */
/* ==================== */
.breadcrumb-nav {
  padding: var(--spacing-sm) 0;
  background: var(--gray-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--gray-medium);
}

.breadcrumb-item a {
  color: var(--purple-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--purple-light);
}

.breadcrumb-item span {
  color: var(--gray-medium);
}

/* ==================== */
/* LAYOUT */
/* ==================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container--narrow {
  max-width: 800px;
}

/* ==================== */
/* HERO SECTIONS */
/* ==================== */
.hero {
  position: relative;
  padding: var(--spacing-xl) 0;
  text-align: center;
  background: var(--gradient-purple);
  color: var(--white);
  overflow: hidden;
}

/* Wave overlay matching homepage hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.hero-trust {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==================== */
/* BUTTONS — Match homepage btn-primary / btn-secondary */
/* ==================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

/* Gold primary — matches homepage .btn-primary */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #f5d420;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Purple gradient secondary — matches homepage .btn-secondary */
.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Non-hero context: purple gradient secondary */
.content-section .btn--secondary,
.content-section--alt .btn--secondary {
  background: var(--gradient-purple);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-purple);
}

.content-section .btn--secondary:hover,
.content-section--alt .btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(94, 23, 235, 0.3);
}

/* ==================== */
/* CONTENT SECTIONS */
/* ==================== */
.content-section {
  padding: var(--spacing-xl) 0;
}

.content-section--alt {
  background: var(--gray-light);
}

/* Section headings — gradient text matching homepage h2/h3 pattern */
.content-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Alt sections — solid dark text on light bg for readability */
.content-section--alt h2 {
  color: var(--navy);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.authority-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--purple-dark);
  margin-top: var(--spacing-sm);
}

/* ==================== */
/* BENEFITS GRID */
/* ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.benefit-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(94, 23, 235, 0.1);
}

/* Gold checkmark icon matching homepage feature lists */
.benefit-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--gold);
  background: none;
  border-radius: 0;
}

.benefit-card p {
  line-height: 1.7;
  color: var(--gray-dark);
  font-size: 1.125rem;
}

/* ==================== */
/* SETUP STEPS */
/* ==================== */
.setup-steps {
  max-width: 700px;
  margin: 0 auto;
}

.setup-step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.setup-step:last-child {
  border-bottom: none;
}

/* Gold step markers matching homepage timeline markers */
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255, 221, 39, 0.2);
}

.setup-step p {
  line-height: 1.7;
  padding-top: 0.5rem;
  font-size: 1.125rem;
}

/* ==================== */
/* SPECS GRID */
/* ==================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.spec-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(94, 23, 235, 0.1);
}

.spec-card h3 {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

.spec-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: var(--spacing-sm) 0;
}

.spec-price span {
  font-size: 1rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--gray-medium);
}

.spec-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

/* Gold checkmarks matching homepage equipment-features */
.spec-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-light);
  padding-left: 2rem;
  position: relative;
  color: var(--gray-dark);
  font-size: 1.125rem;
}

.spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.5rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

.recommended-package {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-dark);
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

/* ==================== */
/* FAQ ACCORDION — Match homepage .faq-item border + hover */
/* ==================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--purple-light);
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--purple-dark);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
  margin-left: var(--spacing-sm);
}

details[open] .faq-question::after {
  content: '−';
}

details[open] .faq-item,
.faq-item:has(> [open]) {
  border-color: var(--purple-light);
}

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  line-height: 1.8;
  color: var(--gray-dark);
  font-size: 1.125rem;
}

/* ==================== */
/* RELATED / EVENT TYPE GRIDS */
/* ==================== */
.related-grid,
.event-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
}

.related-card,
.event-type-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--gray-dark);
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.related-card:hover,
.event-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
  border-color: rgba(94, 23, 235, 0.1);
}

.related-card h3,
.event-type-card h3 {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.related-card p,
.event-type-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.card-link {
  color: var(--purple-dark);
  font-weight: 600;
  margin-top: var(--spacing-sm);
  display: inline-block;
  transition: color var(--transition-fast);
}

.card-link:hover {
  color: var(--purple-light);
}

/* ==================== */
/* VENUE TAGS */
/* ==================== */
.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--spacing-md) 0;
}

.venue-tag {
  background: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--purple-dark);
  border: 1px solid rgba(94, 23, 235, 0.15);
  transition: all var(--transition-smooth);
}

.venue-tag:hover {
  background: var(--purple-dark);
  color: var(--white);
  border-color: var(--purple-dark);
}

/* ==================== */
/* NOISE CALLOUT */
/* ==================== */
.noise-callout {
  background: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--gold);
  margin-top: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.noise-callout h3 {
  color: var(--navy);
}

/* ==================== */
/* CTA SECTION */
/* ==================== */
.cta-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  text-align: center;
  background: var(--gradient-purple);
  color: var(--white);
  overflow: hidden;
}

/* Wave overlay on CTA too */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
  background-size: cover;
  opacity: 0.3;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
  opacity: 0.9;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.cta-subtext {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: var(--spacing-sm) !important;
}

/* ==================== */
/* HEADER — Match homepage .header style */
/* ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.25rem var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Gradient text logo matching homepage .logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  background: var(--gray-light);
  color: var(--purple-dark);
}

/* CTA button in nav — purple gradient matching homepage .nav-portal */
.nav-cta {
  background: var(--gradient-purple) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-purple);
}

.nav-cta:hover {
  background: var(--purple-dark) !important;
  box-shadow: 0 12px 40px rgba(94, 23, 235, 0.3) !important;
  transform: translateY(-1px);
}

/* ==================== */
/* FOOTER — Match homepage .footer style */
/* ==================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-top: var(--spacing-sm);
  font-size: 1rem;
}

/* Gold section headings matching homepage .footer-section h3 */
.footer-links h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

/* Gold hover matching homepage .footer-links a:hover */
.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */
@media (max-width: 768px) {
  .hero {
    padding: var(--spacing-lg) 0;
  }

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

  .hero-trust {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }

  .nav-links {
    display: none; /* TODO: Add mobile menu */
  }

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

  .content-section {
    padding: var(--spacing-lg) 0;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px;
  }

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

  .related-grid,
  .event-type-grid {
    grid-template-columns: 1fr;
  }

  .spec-card {
    padding: var(--spacing-md);
  }

  .faq-question {
    font-size: 1rem;
    padding: var(--spacing-sm);
  }

  .faq-answer {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
  }
}

/* ==================== */
/* ANSWER SUMMARY */
/* ==================== */
.answer-summary {
  border-left: 4px solid var(--gold);
  background: rgba(255, 221, 39, 0.06);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

.answer-summary p {
  margin: 0;
  font-size: 1.125rem;
}

/* ==================== */
/* AUTHOR BYLINE */
/* ==================== */
.author-byline {
  font-size: 0.9rem;
  color: var(--gray-medium);
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.author-byline a {
  color: var(--purple-dark);
  font-weight: 500;
}

.author-byline .byline-separator {
  color: var(--gray-medium);
  opacity: 0.5;
}
