/* CSS Variables */
:root {
  --primary-color: #1976D2;
  --primary-dark: #1565C0;
  --primary-light: #64B5F6;
  --secondary-color: #667eea;
  --text-dark: #2d3748;
  --text-light: #6c757d;
  --text-muted: #9ca3af;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-bg: #2d3748;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-light: linear-gradient(135deg, #f8f9ff 0%, var(--white) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, #4a5568 100%);
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --border-radius: 10px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --section-padding: 100px 0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.6;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(25, 118, 210, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(25, 118, 210, 0.6);
  }
}

/* Section Animation Classes */
.section-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Section Headers */
.section-header {
   font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero Section */
.review-hero {
  padding: 120px 0 100px;
  background: var(--gradient-light);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
}

.review-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(25, 118, 210, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.review-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content-left {
  animation: slideInLeft 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(25, 118, 210, 0.1);
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(25, 118, 210, 0.2);
  transition: var(--transition);
}

.hero-badge:hover {
  background: rgba(25, 118, 210, 0.15);
  transform: translateY(-2px);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 150px;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
 line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-primary, .cta-secondary {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cta-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-medium);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  animation: pulseGlow 2s infinite;
}

.cta-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-light);
}

.cta-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
  animation: slideInRight 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-dashboard-mockup {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: floatUpDown 3s ease-in-out infinite;
  width: 100%;
  max-width: 450px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.dashboard-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.dashboard-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
}

.rating-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric {
  text-align: center;
  padding: 25px 15px;
  background: var(--gradient-light);
  border-radius: var(--border-radius);
  border: 1px solid rgba(25, 118, 210, 0.1);
  transition: var(--transition);
}

.metric:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-color);
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Difference Section */
.difference-section {
  padding: var(--section-padding);
  background: white;
}

.comparison-table {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  animation: fadeInUp 0.8s ease-out;
  margin-top: 60px;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gradient-primary);
  color: white;
}

.basic-column, .encyclohub-column {
  padding: 30px;
  text-align: center;
}

.basic-column h3, .encyclohub-column h3 {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.encyclohub-column {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
}

.encyclohub-column::before {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
}

.comparison-rows {
  background: white;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}

.comparison-row:hover {
  background: rgba(25, 118, 210, 0.02);
}

.basic-feature, .encyclohub-feature {
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.basic-feature i, .encyclohub-feature i {
  font-size: 1.2rem;
  min-width: 20px;
}

.basic-feature i {
  color: var(--text-muted);
}

.encyclohub-feature {
  background: rgba(25, 118, 210, 0.05);
  font-weight: 500;
  border-left: 3px solid var(--primary-color);
}

.encyclohub-feature i {
  color: var(--success-color);
}

/* Framework Section */
.framework-section {
  padding: var(--section-padding);
  background: var(--light-bg);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.framework-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  border: 2px solid transparent;
  position: relative;
}

.framework-card:nth-child(1) { animation-delay: 0.1s; }
.framework-card:nth-child(2) { animation-delay: 0.2s; }
.framework-card:nth-child(3) { animation-delay: 0.3s; }
.framework-card:nth-child(4) { animation-delay: 0.4s; }

.framework-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
 
}

.framework-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 32px;
  box-shadow: var(--shadow-medium);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-description {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1rem;
}

.card-features {
  list-style: none;
}

.card-features li {
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  padding-left: 25px;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.card-features strong {
  color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
  padding: var(--section-padding);
  background: var(--gradient-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(100, 181, 246, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: rgba(100, 181, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: var(--shadow-medium);
}

.benefit-icon i {
  font-size: 32px;
  color: var(--primary-light);
}

.benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-description {
  opacity: 0.9;
  line-height: 1.7;
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--gradient-light);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  border: 2px solid #e9ecef;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.service-icon i {
  font-size: 28px;
  color: white;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-description {
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-cta {
  background: white;
  color: var(--primary-color);
  padding: 18px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-heavy);
}

.btn-cta:hover {
  background: #f8f9fa;
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .review-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .basic-feature,
  .encyclohub-feature {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .framework-grid,
  .benefits-grid,
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .review-hero {
    padding: 100px 0 80px;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .review-dashboard-mockup {
    padding: 25px;
    margin-top: 20px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .framework-grid,
  .benefits-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .framework-card,
  .benefit-card,
  .service-card {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .review-hero {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .metric-value {
    font-size: 1.8rem;
  }
  
  .review-dashboard-mockup {
    max-width: 100%;
    margin-top: 15px;
    padding: 20px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .framework-card,
  .benefit-card,
  .service-card {
    padding: 25px 20px;
  }
  
  .basic-feature,
  .encyclohub-feature {
    padding: 20px 25px;
  }
}
/* Workflow Section */
.workflow-section {
  
  background: white;
}
.workflow-header{
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    text-align: center;
   
}

.workflow-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.workflow-step {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  
  align-items: flex-start;
   animation: slideInLeft 0.8s ease-out;
  animation-fill-mode: both;
}

.workflow-step:nth-child(1) { animation-delay: 0.1s; }
.workflow-step:nth-child(2) { animation-delay: 0.2s; }
.workflow-step:nth-child(3) { animation-delay: 0.3s; }
.workflow-step:nth-child(4) { animation-delay: 0.4s; }
.workflow-step:nth-child(5) { animation-delay: 0.5s; }

.workflow-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.workflow-content {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--primary-color);
}

.workflow-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.workflow-step-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.workflow-features {
  list-style: none;
}

.workflow-features li {
  padding: 5px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 20px;
}

.workflow-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Case Studies Section */
.case-studies-section {
  padding: var(--section-padding);
  background: var(--gradient-light);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.case-study-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  position: relative;
}

.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.2s; }
.case-study-card:nth-child(3) { animation-delay: 0.3s; }

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.case-study-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.case-study-category {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.result-before-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
}

.result-item {
  text-align: center;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 5px;
}

.result-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.case-study-quote {
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.case-study-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.5;
}

.case-study-author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}
/* Benefits Section */
.benefits-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #0f172a, #1e293b); /* deep navy gradient */

  /* Local theme override (only inside this section) */
  --gradient-primary: linear-gradient(135deg, #9333ea, #2563eb); /* violet → blue */
  --primary-light: #3b82f6;  /* strong blue */
  --text-dark: #f9fafb;      /* very light text */
  --text-light: #cbd5e1;     /* soft gray-blue */
  --shadow-light: 0 8px 25px rgba(59, 130, 246, 0.25); /* blue glow */
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--border-radius-lg);
  background: #1e293b; /* default deep slate */
  border: 2px solid transparent;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  color: var(--text-light);
  cursor: pointer;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }

.benefit-card:hover {
  background: linear-gradient(135deg, #1e3a8a, #312e81); /* hover indigo */
  border-color: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
  color: #fff;
}

/* ✅ Active / Clicked State */
.benefit-card.active {
  background: linear-gradient(135deg, #4338ca, #3730a3); /* balanced violet-indigo */
  border-color: #6366f1;  /* indigo border */
  color: #fff;
  transform: scale(0.98);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.benefit-card.active .benefit-title,
.benefit-card.active .benefit-description,
.benefit-card.active .benefit-stat {
  color: white !important;
}

.benefit-card.active .benefit-icon {
  background: linear-gradient(135deg, #6366f1, #9333ea); /* active brighter icon */
  color: #fff;
}

/* Benefit Icon */
.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 32px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.benefit-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.benefit-stat {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}


/* Packages Section */
.packages-section {
  padding: var(--section-padding);
  background: var(--light-bg);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.package-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  border: 2px solid transparent;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }

.package-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.package-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.package-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.package-header {
  margin-bottom: 30px;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.package-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 32px;
}

.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.package-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dark);
}

.package-features i {
  color: var(--primary-color);
  margin-top: 3px;
}

.package-cta {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.package-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(25, 118, 210, 0.3);
}

/* FAQ Section */
.faq-section-review {
  padding: var(--section-padding);
  background: white;
}

.faq-accordion-review {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item-review {
  margin-bottom: 20px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.faq-item-review:nth-child(1) { animation-delay: 0.1s; }
.faq-item-review:nth-child(2) { animation-delay: 0.2s; }
.faq-item-review:nth-child(3) { animation-delay: 0.3s; }
.faq-item-review:nth-child(4) { animation-delay: 0.4s; }
.faq-item-review:nth-child(5) { animation-delay: 0.5s; }

.faq-question-review {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: white;
}

.faq-question-review:hover {
  background: rgba(25, 118, 210, 0.05);
}

.faq-question-review h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.faq-question-review i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer-review {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--light-bg);
}

.faq-answer-review p {
  padding: 0 30px 25px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
  padding: var(--section-padding);
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite alternate;
}

.cta-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.cta-highlight {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 50px;
  backdrop-filter: blur(10px);
}

.cta-highlight h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-highlight > p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.audit-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.audit-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.audit-feature i {
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-top: 5px;
}

.audit-feature strong {
  display: block;
  margin-bottom: 5px;
}

.audit-feature span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-light);
}

.contact-method strong {
  display: block;
  margin-bottom: 5px;
}

.contact-method span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-primary-large, .cta-secondary-large {
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.cta-primary-large {
  background: white;
  color: var(--primary-color);
}

.cta-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-secondary-large {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary-large:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.brand-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
  font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 1024px) {
  .review-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
  
  .framework-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .step-number {
    align-self: center;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .package-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .comparison-header {
    grid-template-columns: 1fr;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .basic-feature, .encyclohub-feature {
    padding: 20px;
  }
  
  .framework-grid {
    grid-template-columns: 1fr;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .audit-features {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary-large, .cta-secondary-large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .framework-card, .case-study-card, .benefit-card, .package-card {
    padding: 30px 20px;
  }
  
  .card-icon, .benefit-icon, .package-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step-content {
    padding: 20px;
  }
  
  .result-before-after {
    grid-template-columns: 1fr;
  }
  
  .faq-question-review {
    padding: 20px;
  }
  
  .faq-question-review h3 {
    font-size: 1rem;
  }
  
  .cta-highlight {
    padding: 30px 20px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Print Styles */
@media print {
  .hero-visual,
  .cta-primary,
  .cta-secondary,
  .package-cta,
  .final-cta-buttons {
    display: none;
  }
  
  .review-hero {
    background: none;
    color: black;
  }
  
  .section-title {
    color: black;
  }
  
  .framework-card,
  .case-study-card,
  .benefit-card,
  .package-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .review-hero::before {
    animation: none;
  }
  
  .review-dashboard-mockup {
    animation: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .framework-card,
  .case-study-card,
  .benefit-card,
  .package-card,
  .faq-item-review {
    border: 2px solid var(--text-dark);
  }
  
  .cta-primary,
  .package-cta,
  .cta-primary-large {
    border: 2px solid var(--text-dark);
  }
}

/* Focus Styles for Better Accessibility */
.cta-primary:focus,
.cta-secondary:focus,
.package-cta:focus,
.cta-primary-large:focus,
.cta-secondary-large:focus,
.faq-question-review:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}