/* ========================================
   MENTOR MD - Design System & Styles
   ======================================== */

/* ========== CSS Variables ========== */
:root {
  /* Colors - Coral/Pink Theme (matching logo) */
  --color-primary: #ff6b7a;
  --color-primary-light: #ff8a96;
  --color-primary-dark: #ff4757;
  --color-secondary: #3b82f6;
  --color-accent: #10b981;
  --color-warning: #f59e0b;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff6b7a 0%, #ff4757 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-hero: linear-gradient(135deg, #151b36 0%, #3e2040 55%, #191c36 100%);

  /* Neutrals */
  --color-dark: #0f172a;
  --color-dark-light: #1e293b;
  --color-gray: #64748b;
  --color-light-gray: #cbd5e1;
  --color-white: #ffffff;
  --color-bg-light: rgba(248, 250, 252, 0.7);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Borders & Shadows */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(255, 107, 122, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Glassmorphism Defaults */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(15px);
}

/* ========== Animated Background Blobs ========== */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  background: var(--color-primary);
  animation-duration: 25s;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  background: var(--color-secondary);
  animation-duration: 30s;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(100px, 50px) scale(1.1);
  }

  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* ========== Global Resets ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-black);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-gray);
}

/* ========== Utilities ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Pop Effect */
.hero-pop {
  background: linear-gradient(to right,
      #fff 0%,
      var(--color-primary-light) 25%,
      var(--color-primary-dark) 50%,
      var(--color-primary-light) 75%,
      #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  position: relative;
  font-weight: 900;
  filter: drop-shadow(0 0 10px rgba(255, 107, 122, 0.5));
  text-shadow: none;
  /* Override parent shadow for better clipping */
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 107, 122, 0.4);
}

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

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

.btn-outline:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-3px);
}

.btn-hero-outline {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.btn-hero-outline:hover {
  background: var(--gradient-primary) !important;
  color: var(--color-white) !important;
  border-color: transparent !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 107, 122, 0.4);
}

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

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
}

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

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

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--color-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 150px 100px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 20px 180px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 110px 140px, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 180px 180px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
    radial-gradient(2.5px 2.5px at 250px 80px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 300px 220px, rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 380px 120px, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 450px 280px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0));
  background-size: 500px 350px;
  animation: starTwinkle 8s infinite alternate;
  z-index: 0;
}

@keyframes starTwinkle {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: var(--spacing-xl);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-xl);
  font-weight: var(--font-weight-medium);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: nowrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--spacing-xs);
}

/* ========== Features Section ========== */
.features {
  background: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  margin-bottom: var(--spacing-sm);
}

/* Exam Readiness Calculator Premium Styles */
.timeline-calculator {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Softer border */
  border-radius: 20px;
  /* More rounded */
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  /* Deeper shadow */
  position: relative;
  overflow: hidden;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two equal columns */
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.timeline-item {
  min-width: 0;
  /* Allow grid to shrink if needed */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  /* Standard padding */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  backdrop-filter: blur(5px);
}

.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

/* Full Width for Recommended Date */
/* Full Width for Recommended Date (3rd child) */
.timeline-item.full-width {
  grid-column: 1 / -1;
  /* Span entire row */
  width: 100%;
  margin-top: 1.5rem;
  padding: 4rem 2rem;
  /* Big padding */
}

/* Full With card typography - Clean & Premium */
.timeline-item.full-width .timeline-value {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 1.5rem 0;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  /* Soft premium glow */
  background: none;
  -webkit-text-fill-color: initial;
  letter-spacing: -0.5px;
}

/* Recommended Highlight styling - Matching Theme (Coral/Red) */
.timeline-item.recommended-highlight {
  background: linear-gradient(145deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.05));
  /* Brand Tint */
  border: 1px solid rgba(255, 71, 87, 0.4);
  box-shadow: 0 20px 50px rgba(255, 71, 87, 0.15);
  /* Brand Glow */
  position: relative;
  overflow: hidden;
}

.timeline-item.recommended-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 1), transparent);
  /* Top Accent Line */
}

.timeline-item.recommended-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(255, 71, 87, 0.25);
  border-color: rgba(255, 71, 87, 0.6);
}

.timeline-item.recommended-highlight .timeline-label {
  color: #ff4757;
  /* Brand color title */
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 1;
}

.timeline-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  font-weight: 700;
}

.timeline-value {
  font-size: 1.75rem;
  /* Larger font */
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.timeline-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

.timeline-status {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark);
}

.feature-description {
  color: var(--color-gray);
}

/* ========== Packages/Pricing Section ========== */
.packages {
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.packages::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 122, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid var(--glass-border);
  padding: var(--spacing-2xl) var(--spacing-xl);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(255, 107, 122, 0.15);
  border-color: rgba(255, 107, 122, 0.2);
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.pricing-header h3 {
  color: var(--color-dark);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.pricing-header p {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.pricing-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.price {
  margin-bottom: var(--spacing-xl);
  position: relative;
  display: inline-block;
}

.price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-light);
  vertical-align: super;
  margin-right: 4px;
}

.price .amount {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-dark);
  letter-spacing: -2px;
}

.price .period {
  display: block;
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 500;
  margin-top: 5px;
}

.pricing-features {
  margin-bottom: var(--spacing-xl);
  padding: 0;
  flex-grow: 1;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--color-gray);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.1rem;
}

.session-card .pricing-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.session-card .pricing-body>div:last-child {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.session-card button {
  margin-top: auto !important;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.subscribe-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  padding: 1rem !important;
  border-radius: var(--radius-md) !important;
}

.pricing-disclaimer {
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: var(--color-gray) !important;
  margin-top: auto;
  padding: var(--spacing-sm);
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-sm);
  font-style: italic;
}

/* Popular Card Special Styling */
.pricing-card.pricing-card.popular {
  border: 2px solid rgba(255, 107, 122, 0.2);
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.03);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: scale(1.03) translateY(0);
  }

  50% {
    transform: scale(1.03) translateY(-10px);
  }
}

.pricing-card.popular:hover {
  animation-play-state: paused;
  transform: scale(1.05) translateY(-15px);
}

.pricing-card.popular::after {
  opacity: 1;
  height: 8px;
}

/* Premium Card Golden Glow */
.pricing-card.premium {
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

.pricing-card.premium::after {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  opacity: 0.8;
}

.pricing-card.premium:hover {
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.4);
}

.pricing-card.premium .pricing-header h3 {
  background: linear-gradient(90deg, #ccac00, #e6c200);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card.premium .subscribe-btn {
  background: linear-gradient(90deg, #FFD700, #FFA500) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

.pricing-card.premium .pricing-features li::before {
  color: #ccac00;
}

/* ========== Accountability System Section ========== */
.accountability {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.accountability .section-title,
.accountability .section-subtitle {
  color: var(--color-white);
}

.infographic-container {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cycle-wrapper {
  position: relative;
  width: min(550px, 95vw);
  height: min(550px, 95vw);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cycle-ring {
  position: absolute;
  width: 70%;
  height: 70%;
  border: 2px dashed rgba(255, 107, 122, 0.3);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cycle-center {
  position: relative;
  z-index: 10;
  width: 25%;
  height: 25%;
  background: var(--color-dark-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 30px rgba(255, 107, 122, 0.4);
}

.center-inner {
  text-align: center;
}

.center-inner img {
  height: clamp(30px, 8vw, 60px);
  margin: 0 auto;
}

.center-inner span {
  display: block;
  font-size: clamp(0.5rem, 1.2vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-top: 5px;
}

.cycle-node {
  position: absolute;
  width: 30%;
  text-align: center;
  z-index: 5;
  transition: all 0.4s ease;
}

.node-icon {
  width: clamp(50px, 12vw, 75px);
  aspect-ratio: 1 / 1;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  margin: 0 auto 10px;
  box-shadow: var(--shadow-glow);
  border: 4px solid var(--color-dark);
}

.node-content h3 {
  color: var(--color-white);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 5px;
}

.node-content p {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Position nodes in a circle */
.node-1 {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.node-2 {
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

.node-3 {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.node-4 {
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
}

.cycle-node:hover {
  transform: scale(1.1);
  z-index: 10;
}

.node-1:hover {
  transform: translateX(-50%) scale(1.1) translateY(-5px);
}

.node-2:hover {
  transform: translateY(-50%) scale(1.1) translateX(5px);
}

.node-3:hover {
  transform: translateX(-50%) scale(1.1) translateY(5px);
}

.node-4:hover {
  transform: translateY(-50%) scale(1.1) translateX(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .infographic-container {
    padding: var(--spacing-xl) 0;
  }

  .cycle-wrapper {
    height: auto;
    width: 100%;
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .cycle-ring,
  .cycle-center {
    display: none;
  }

  .cycle-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .node-icon {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
    font-size: 1.25rem;
  }

  .cycle-node:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.05);
  }
}

/* ========== Testimonials Section ========== */
.testimonials {
  background: var(--color-bg-light);
}

/* ========== Testimonials Carousel ========== */
.testimonials-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
}

.testimonial-card {
  flex: 0 0 calc(100% / 3 - 20px);
  min-width: 300px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--glass-border);
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(100% / 2 - 15px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-primary);
  width: 30px;
  border-radius: 10px;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-gray);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.testimonial-text.expanded {
  max-height: 1000px;
}

/* Faded bottom for truncated text */
.testimonial-card.expandable .testimonial-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, var(--color-white), transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.testimonial-card.expandable:hover .testimonial-text::after {
  opacity: 0.5;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  padding: 0;
  margin-bottom: var(--spacing-md);
  display: block;
  /* Shown if needed via JS */
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: fit-content;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--glass-border);
}

.testimonial-card.expandable:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 107, 122, 0.2);
}

.testimonial-card.expandable::after {
  content: 'Click to read more';
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 0.7rem;
  color: var(--color-gray);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card.expandable:hover::after {
  opacity: 0.5;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* ========== FAQ Section ========== */
.faq {
  background: var(--color-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-sm);
}

.faq-header {
  width: 100%;
  padding: var(--spacing-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  transition: all var(--transition-base);
}

.faq-header:hover {
  color: var(--color-primary);
}

.faq-header i {
  font-size: 0.875rem;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-item.active .faq-header {
  color: var(--color-primary);
}

.faq-item.active .faq-header i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: var(--spacing-md);
}

.faq-answer p {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: var(--spacing-sm);
}

.faq-answer ul {
  list-style: disc;
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray);
}

.faq-answer ul li {
  margin-bottom: var(--spacing-xs);
}

/* ========== CTA Section ========== */
.cta {
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 6s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.cta p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a:not(.social-link) {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-xl);
    transition: left var(--transition-slow);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: var(--spacing-lg);
  }

  .features-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

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

/* ========== Animations ========== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Modal Styles ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding-top: 60px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--color-white);
  margin: 20px auto;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 800px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10px auto;
    padding: var(--spacing-xl);
    width: 98%;
  }

  .close-modal {
    top: 10px;
    right: 15px;
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--color-gray);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--color-primary);
}

#modal-body {
  margin-top: var(--spacing-md);
  overflow-y: auto;
  padding-right: 5px;
}

#modal-body .testimonial-text {
  max-height: none;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: var(--spacing-xl);
}

#modal-body .testimonial-author {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Lock scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* --- Hero Success Gallery --- */
.hero-success-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.gallery-side {
  position: absolute;
  top: 0;
  width: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.gallery-side.left {
  left: 100px;
}

.gallery-side.right {
  right: 10px;
}

.gallery-item {
  width: 200px;
  height: auto;
  background: white;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.gallery-item:hover {
  transform: translateX(var(--final-x)) scale(1.1) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

/* Specific Positions and Rotations using CSS Variables to prevent snapping glitches */
.left .item-1 {
  --final-x: -100px;
  --final-rot: -15deg;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.2s;
}

.left .item-2 {
  --final-x: -120px;
  --final-rot: -10deg;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.4s;
  margin-left: 40px;
}

.left .item-3 {
  --final-x: -100px;
  --final-rot: -20deg;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.6s;
}

.left .item-4 {
  --final-x: -120px;
  --final-rot: -12deg;
  animation: slideInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.8s;
  margin-left: 30px;
}

.right .item-5 {
  --final-x: 100px;
  --final-rot: 15deg;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.3s;
}

.right .item-6 {
  --final-x: 120px;
  --final-rot: 10deg;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.5s;
  margin-left: -40px;
}

.right .item-7 {
  --final-x: 100px;
  --final-rot: 20deg;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.7s;
}

.right .item-8 {
  --final-x: 120px;
  --final-rot: 12deg;
  animation: slideInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.9s;
  margin-left: -30px;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(calc(var(--final-x) - 150px)) rotate(calc(var(--final-rot) - 10deg));
  }

  100% {
    opacity: 0.85;
    transform: translateX(var(--final-x)) rotate(var(--final-rot));
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(calc(var(--final-x) + 150px)) rotate(calc(var(--final-rot) + 10deg));
  }

  100% {
    opacity: 0.85;
    transform: translateX(var(--final-x)) rotate(var(--final-rot));
  }
}

/* Responsive adjust for Gallery */
@media (max-width: 1200px) {
  .hero-success-gallery {
    display: none;
    /* Hide on smaller screens to keep focus on text */
  }
}

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

/* ========== Report Summary Card ========== */
.report-summary-card {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-radius: 20px;
  padding: 0;
  margin: 3rem auto;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  color: white;
}

.report-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff4757, #ff6b81);
}

.summary-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Logo left, Title right */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-logo {
  height: 35px;
  /* Adjust based on logo aspect ratio */
  width: auto;
  opacity: 1;
}

.summary-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin: 0;
  text-align: right;
  /* Align right to balance logo */
}

.summary-content {
  padding: 2rem;
  text-align: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.summary-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}

.summary-hero {
  margin: 2rem 0;
  padding: 2rem 0;
  background: linear-gradient(145deg, rgba(255, 71, 87, 0.1), rgba(255, 71, 87, 0.02));
  border-radius: 16px;
  border: 1px solid rgba(255, 71, 87, 0.3);
  position: relative;
}

.summary-hero-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ff4757;
  margin-bottom: 1rem;
  font-weight: 700;
}

.summary-hero-value {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: white;
  text-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
}

.summary-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.badge-success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.summary-message {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.summary-footer {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* ========== Modals ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  background-color: var(--color-white);
  margin: 20px auto;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 800px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slideInModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s;
  z-index: 10;
}

.close-modal:hover {
  color: var(--color-primary);
}

.modal-body {
  line-height: 1.7;
  color: #4b5563;
  overflow-y: auto;
  padding: 1rem;
  padding-right: 1.5rem;
  flex: 1;
}

.modal-body h2 {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-size: 1.5rem !important;
  position: sticky;
  top: 0;
  background: var(--color-white);
  padding-bottom: 1.25rem;
  margin-top: 0;
  z-index: 5;
  border-bottom: 1px solid #f1f5f9;
}

.modal-body h3,
.modal-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}