/*
Theme Name: Black History Lecture Series
Theme URI: https://github.com/community-heritage/lecture-series
Author: Community Heritage Collective
Description: Custom theme for Black History, The Dishonest Truth lecture series. One-page layout with registration and newsletter forms (Contact Form 7).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lecture-series
*/

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-alt: #111111;
  --text: #ffffff;
  --muted: #b0b0b0;
  --accent: #f6b042;
  --accent-dark: #d28b1e;
  --accent-glow: rgba(246, 176, 66, 0.4);
  --border: rgba(246, 176, 66, 0.2);
  --max-width: 1100px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.hero {
  position: relative;
  background-image: url('assets/images/hero%20-1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 4rem 1.5rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-backdrop {
  position: relative;
  height: 55vh;
  background-image: url('assets/images/hero%20-1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-backdrop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-content {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 176, 66, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.hero-social-proof {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-cta-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 8px 24px rgba(246, 176, 66, 0.4), 0 0 20px var(--accent-glow);
  font-weight: 700;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(246, 176, 66, 0.6), 0 0 30px var(--accent-glow);
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--text);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn.ghost:hover {
  background: rgba(246, 176, 66, 0.1);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: auto;
}

.highlight-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.highlight-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-card {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--accent-glow);
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-card-text {
  flex: 1;
  min-width: 0;
}

.hero-card-photo {
  width: 100%;
  max-width: 120px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.hero-card-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.card-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.card-subtitle {
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.3rem;
}

.card-role {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero-card-teaser {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 1.25rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-list {
  list-style: none;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.card-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.section {
  position: relative;
  padding: 4rem 1.5rem;
}

.prompt-page {
  padding: 5rem 1.5rem 6rem;
}

.prompt-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.prompt-card h1 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.prompt-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.prompt-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.donate-form {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  pointer-events: none;
}

.amount-input-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.amount-input-wrapper input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.preset-amounts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.preset-amounts .preset-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-right: 0.25rem;
}

.preset-amounts .preset-amount {
  min-width: 4rem;
}

.amount-hint {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.form-error {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.form-error.hidden {
  display: none;
}

.hidden {
  display: none;
}

.btn-link {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-align: center;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--accent);
}

.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.sponsor-tier {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.sponsor-tier:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(246, 176, 66, 0.3);
}

.sponsor-tier h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tier-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.tier-benefits {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.section > * {
  position: relative;
  z-index: 2;
}

.section.alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.section-head p {
  color: var(--muted);
}

.overview-grid,
.schedule-grid,
.speakers-grid,
.upsell-grid,
.faq-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.share-grid,
.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.overview-card,
.schedule-item,
.speaker-card,
.upsell-card,
.faq-item {
  background: rgba(10, 10, 10, 0.9);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.share-card,
.contact-card {
  background: rgba(10, 10, 10, 0.9);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card a {
  color: var(--accent);
}

.support-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: rgba(10, 10, 10, 0.9);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.support-card h3 {
  margin-bottom: 0.5rem;
}

.support-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.support-card .btn {
  margin-top: 0.5rem;
}

.sponsor-placeholders {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.sponsor-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 50px;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.overview-card:hover,
.schedule-item:hover,
.speaker-card:hover,
.upsell-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(246, 176, 66, 0.3);
}

.schedule-item h3,
.speaker-card h3,
.upsell-card h3 {
  margin-bottom: 0.4rem;
}

.schedule-item .topic {
  font-weight: 600;
  color: var(--accent);
  margin: 0.4rem 0;
}

.schedule-item .speaker,
.speaker-role {
  color: var(--muted);
}

.featured-lecture {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.95);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-glow);
}

.featured-speaker-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: block;
}

.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: #1d1405;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.featured-lecture h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.featured-speaker-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.featured-speaker {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.featured-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.featured-credentials {
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.calendar-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.topics-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.topics-compact {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.topics-tags {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.topics-assigned {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.topic-item {
  background: rgba(10, 10, 10, 0.9);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.topic-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.topic-item.topic-assigned {
  border-color: var(--accent);
  background: rgba(246, 176, 66, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
}

.topic-speaker {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.topic-date {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

.topic-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.topic-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

.speaker-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #1d1405;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.featured-speaker-section {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.featured-speaker-section.reverse {
  grid-template-columns: 1fr 280px;
}

.featured-speaker-section.reverse .speaker-photo {
  order: 2;
}

.featured-speaker-section.reverse .speaker-bio {
  order: 1;
}

.speaker-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
}

.speaker-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.speaker-bio h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.speaker-bio p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.speaker-bio em {
  font-style: italic;
  color: var(--text);
}

.speaker-cta {
  margin-top: 2rem;
}

.muted-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content,
  .hero-card {
    min-height: auto;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .featured-speaker-section,
  .featured-speaker-section.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-speaker-section.reverse .speaker-photo,
  .featured-speaker-section.reverse .speaker-bio {
    order: initial;
  }

  .speaker-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

.register-form {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.95);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: grid;
  gap: 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.field-group input,
.field-group select,
.field-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-message {
  min-height: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

/* Contact Form 7: match theme styles when inside .register-form / .newsletter-form */
.register-form .wpcf7-form-control-wrap,
.newsletter-form .wpcf7-form-control-wrap {
  display: block;
}
.register-form .wpcf7-form p,
.newsletter-form .wpcf7-form p {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.register-form .wpcf7-form label,
.newsletter-form .wpcf7-form label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.register-form .wpcf7-form input[type="text"],
.register-form .wpcf7-form input[type="email"],
.register-form .wpcf7-form input[type="tel"],
.register-form .wpcf7-form select,
.register-form .wpcf7-form textarea,
.newsletter-form .wpcf7-form input[type="email"] {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.register-form .wpcf7-form input:focus,
.register-form .wpcf7-form select:focus,
.register-form .wpcf7-form textarea:focus,
.newsletter-form .wpcf7-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.register-form .wpcf7-form .wpcf7-submit,
.newsletter-form .wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  background: var(--accent);
  color: #000000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.register-form .wpcf7-form .wpcf7-response-output,
.newsletter-form .wpcf7-form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.5rem;
  color: var(--accent);
  font-weight: 600;
}

.upsell-card .price {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.cta-row {
  text-align: center;
  margin-top: 2rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  border-top: 2px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
}

.site-footer p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent);
}

@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 1.5rem 5rem;
    background-attachment: scroll;
  }

  .hero-backdrop {
    background-attachment: scroll;
    height: 40vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
