/* Global Styles - PAGE Multifamily Housing Branded */
:root {
  --primary-color: #c35a28;
  --primary-dark: #8b4020;
  --primary-light: #e67340;
  --secondary-color: #6b4423;
  --accent-orange: #d97843;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #c35a28;
  --success-color: #10b981;
  --bg-gray: #f9fafb;
  --bg-warm: #fef6f0;
  --border-color: #e5e7eb;
  --text-dark: #2d1810;
  --text-muted: #6b7280;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-warm);
}

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

/* Navigation */
.top-nav {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary-color);
}

.branded-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  padding: 0.75rem 0;
  color: white;
  text-align: center;
  font-size: 0.875rem;
}

.branded-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.instructor-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.credential-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.credential-tag {
  background: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 0 0 2rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

/* Content Sections */
.intro-section,
.course-overview,
.tools-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.intro-section h2,
.course-overview h2,
.tools-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.intro-section p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  border-left: 4px solid;
}

.alert strong {
  font-weight: 600;
}

.alert-info {
  background: #dbeafe;
  border-color: var(--info-color);
  color: #1e40af;
}

.alert-warning {
  background: #fef3c7;
  border-color: var(--warning-color);
  color: #92400e;
}

.alert-success {
  background: #d1fae5;
  border-color: var(--success-color);
  color: #065f46;
}

.alert-danger {
  background: #fee2e2;
  border-color: var(--danger-color);
  color: #991b1b;
}

/* Module Cards Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.module-number {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.module-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.module-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.module-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Tools Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.tool-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Module Detail Page */
.breadcrumb {
  padding: 1rem 0;
  margin-bottom: 2rem;
}

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

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

.module-header {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.module-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.module-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.module-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Lessons */
.lessons-container {
  margin-bottom: 2rem;
}

.lesson-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.lesson-number {
  display: inline-block;
  background: #f3f4f6;
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.lesson-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.content-section {
  margin-bottom: 1.5rem;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.example-box {
  background: #f9fafb;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.example-box strong {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.example-box pre {
  white-space: pre-wrap;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
}

.key-points {
  background: #fef3c7;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.key-points h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.key-points ul {
  list-style: none;
  margin-left: 0;
}

.key-points li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.key-points li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Module Navigation */
.module-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

/* Template Form */
.template-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.demographics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Examples Page */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.example-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.example-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.example-highlights {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}

.example-highlights strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.example-highlights ul {
  list-style: none;
  margin-left: 0;
}

.example-highlights li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.example-highlights li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* Checklist */
.checklist-container {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.checklist-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.checklist-section:last-child {
  border-bottom: none;
}

.checklist-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.checklist-item:hover {
  background: #f3f4f6;
}

.checklist-item label {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
}

.checklist-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  cursor: pointer;
  flex-shrink: 0;
}

.item-text {
  flex-grow: 1;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: white;
  margin-top: 4rem;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-section a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.eho-footer {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }

  .modules-grid,
  .tools-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .module-header h1 {
    font-size: 1.75rem;
  }

  .lesson-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .module-navigation {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  .top-nav,
  .site-footer,
  .btn,
  .module-navigation {
    display: none;
  }

  .container {
    max-width: 100%;
  }

  .lesson-card,
  .module-header {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* Instructor Profile Section */
.instructor-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.instructor-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.instructor-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.instructor-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.instructor-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instructor-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.instructor-title {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 1rem;
  font-weight: 300;
}

.instructor-credentials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.credential-badge {
  background: white;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.instructor-bio {
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.instructor-contact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Instructor Profile Page */
.profile-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 0 0 2rem 2rem;
}

.profile-image-large {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid white;
  box-shadow: var(--shadow-lg);
  margin: 0 auto 2rem;
  overflow: hidden;
  display: block;
  background-color: white;
}

.profile-image-large img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.credential-card {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.credential-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.credential-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.credential-full {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.experience-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.experience-item {
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.experience-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.specialties-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.specialty-item {
  background: var(--bg-warm);
  border-left: 3px solid var(--primary-color);
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

/* Branded Footer */
.branded-footer-bar {
  background: var(--secondary-color);
  padding: 1rem 0;
  text-align: center;
  color: white;
  font-weight: 600;
}

.footer-instructor {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .instructor-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .instructor-image,
  .instructor-placeholder {
    margin: 0 auto;
  }

  .instructor-credentials,
  .instructor-contact {
    justify-content: center;
  }

  .branded-header-content {
    flex-direction: column;
    text-align: center;
  }

  .credential-tags {
    justify-content: center;
  }
}

/* ============================================
   PAYWALL & PRICING STYLES
   ============================================ */

/* Pricing Hero */
.pricing-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin-bottom: 0;
}

.price-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  display: inline-block;
  margin: 2rem auto;
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.savings-badge {
  background: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.125rem;
}

.btn-enroll-large {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.btn-enroll-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-text {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Module Preview Cards */
.modules-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.module-preview-card {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.module-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.module-number-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.module-preview-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin: 1rem 0;
}

.module-duration {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-warm);
  padding: 4rem 0;
  margin: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.stars {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* FAQs */
.faqs-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.faq-question {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.0625rem;
}

/* Guarantee Section */
.guarantee-section {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  padding: 4rem 0;
  margin: 4rem 0;
}

.guarantee-box {
  text-align: center;
  color: white;
}

.guarantee-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.guarantee-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.guarantee-box p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 5rem 2rem;
  margin-top: 4rem;
}

/* Paywall Lock Page */
.paywall-lock {
  max-width: 700px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem;
  background: white;
  border: 3px solid var(--primary-color);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.lock-icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
}

.paywall-lock h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.lock-message {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.lock-benefits {
  background: var(--bg-warm);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.lock-benefits h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.lock-benefits ul {
  list-style: none;
  padding: 0;
}

.lock-benefits li {
  padding: 0.5rem 0;
  font-size: 1.0625rem;
}

.lock-pricing {
  margin: 2rem 0;
}

.lock-price-box {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
}

.lock-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.lock-price {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.lock-note {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.lock-actions {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  width: 100%;
  max-width: 400px;
}

.lock-guarantee {
  color: #28a745;
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: 2rem;
}

/* Success Page */
.success-page {
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem;
}

.success-icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
}

.success-page h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.success-next-steps {
  background: var(--bg-warm);
  padding: 3rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
  text-align: left;
}

.success-next-steps h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.success-step {
  display: flex;
  gap: 2rem;
  align-items: start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.success-support {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2rem !important;
  }
  
  .current-price {
    font-size: 3rem;
  }
  
  .btn-enroll-large {
    font-size: 1.25rem;
    padding: 1.25rem 2rem;
  }
  
  .paywall-lock {
    padding: 2rem 1rem;
    margin: 2rem 1rem;
  }
  
  .success-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ============================================
   ENROLLMENT STATUS & MODULE ACCESS
   ============================================ */

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #28a745;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
  padding: 1rem 1.5rem;
  border-radius: 8px;
}

.module-card {
  position: relative;
  overflow: visible;
}

.premium-badge,
.free-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
}

.premium-badge {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.free-badge {
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
}

.enroll-cta {
  margin-top: 3rem;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.enroll-cta h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.enroll-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-light {
  background: white !important;
  color: var(--primary-color) !important;
  border: none !important;
  font-weight: bold;
}

.btn-light:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Paywall overlay */
#paywall-overlay {
  animation: fadeIn 0.3s ease-in;
}

#module-content {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .premium-badge,
  .free-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  .enroll-cta {
    padding: 2rem 1rem;
  }
  
  .enroll-cta h3 {
    font-size: 1.5rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
