/*============================================
  HOMEPAGE MODERN ENHANCEMENTS
  Framer Motion-like animations with CSS
  Matching gradient theme (#6f3175, #c026d3)
============================================*/

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(192, 38, 211, 0.5), 0 0 60px rgba(111, 49, 117, 0.3);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shape-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.4;
  }
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }


/* ============================================
   GLASS MORPHISM CARDS
   ============================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme .glass-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 38, 211, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 60px rgba(192, 38, 211, 0.1);
}


/* ============================================
   GRADIENT TEXT & BACKGROUNDS
   ============================================ */

.gradient-text {
  background: linear-gradient(135deg, #c026d3 0%, #e879f9 50%, #f0abfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, #6f3175 0%, #c026d3 100%);
}


/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */

/* 
 * Hero section ALWAYS stays dark regardless of theme
 * This creates a dramatic hero effect even in light mode
 */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 50%, #16213e 100%);
}

/* Force dark text colors in hero for both themes */
.hero .hero-title-lg,
.hero .hero-title {
  color: #ffffff !important;
}

.hero .hero-text-centered,
.hero .hero-text {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero .hero-badge {
  background: rgba(192, 38, 211, 0.15);
  border: 1px solid rgba(192, 38, 211, 0.3);
  color: #e879f9;
}

/* GitHub-style Centered Hero */
.hero.hero-centered {
  text-align: center;
  padding: 100px 0 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero-centered .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content-centered {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Bottom Shine/Glow Effect */
.hero.hero-centered::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center bottom, 
    rgba(192, 38, 211, 0.4) 0%, 
    rgba(192, 38, 211, 0.2) 30%, 
    rgba(111, 49, 117, 0.1) 50%, 
    transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* Animated shimmer line at bottom */
.hero.hero-centered::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(192, 38, 211, 0.3) 20%, 
    rgba(232, 121, 249, 0.6) 50%, 
    rgba(192, 38, 211, 0.3) 80%, 
    transparent 100%);
  animation: shimmer-line 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes shimmer-line {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

/* Hero Bottom Shine Element - Shines up at the content */
.hero-bottom-shine {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, 
    rgba(192, 38, 211, 0.5) 0%, 
    rgba(232, 121, 249, 0.3) 30%, 
    rgba(192, 38, 211, 0.1) 60%, 
    transparent 80%);
  filter: blur(40px);
  animation: shine-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes shine-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero-title-lg {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--text-w);
  letter-spacing: -0.02em;
}

/* Light mode - ensure text is dark */
.hero-title-lg {
  color: var(--ooo);
}

.dark-theme .hero-title-lg {
  color: var(--fff);
}

.hero-text-centered {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--color-light);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.dark-theme .hero-text-centered {
  color: rgba(255, 255, 255, 0.75);
}

.hero-btn-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.hero-btn-centered .btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: 12px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(192, 38, 211, 0.15);
  border: 1px solid rgba(192, 38, 211, 0.3);
  border-radius: 50px;
  font-size: 14px;
  color: #e879f9;
  margin-bottom: 24px;
}

.hero .badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hero .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ooo);
}

.dark-theme .hero .hero-title {
  color: var(--fff);
}

.hero .hero-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--gray-dark);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.dark-theme .hero .hero-text {
  color: rgba(255, 255, 255, 0.7);
}

.hero .hero-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero .btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero .btn-glow ion-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero .btn-glow:hover ion-icon {
  transform: translateX(4px);
}

.hero .btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
}

.hero .btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

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

.hero-stats .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fff);
}

.hero-stats .stat-suffix {
  font-size: 1.5rem;
  color: #c026d3;
  font-weight: 600;
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.hero-stats .stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Banner */
.hero-banner {
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* Hero Background Shapes */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.2), rgba(111, 49, 117, 0.1));
  animation: shape-float 10s ease-in-out infinite;
}

.hero-bg-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-bg-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -50px;
  animation-delay: 3s;
}

.hero-bg-shapes .shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 20%;
  animation-delay: 6s;
}


/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c026d3;
  margin-bottom: 12px;
}

.section-header .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  background: var(--white-bg);
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  text-align: center;
  position: relative;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--fff);
  font-size: 28px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-w);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover .feature-glow {
  opacity: 1;
}


/* ============================================
   ABOUT SECTION ENHANCEMENTS
   ============================================ */

.about {
  background: var(--black-bg);
  padding: 100px 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(192, 38, 211, 0.2), transparent);
  pointer-events: none;
}

.about-content .section-subtitle,
.about-content .section-title {
  color: var(--text);
}

.about-content .section-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-list {
  list-style: none;
  margin-bottom: 32px;
}

.about-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.about-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fff);
  font-size: 24px;
}

.about-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.about-item-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}


/* ============================================
   INSTRUCTION/HOW IT WORKS ENHANCEMENTS
   ============================================ */

.instruction {
  background: var(--black-bg);
  padding: 100px 0;
}

.instruction .section-header .section-title,
.instruction .section-header .section-subtitle {
  color: var(--text);
}

.instruction .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.instruction-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.instruction-card {
  padding: 32px;
  text-align: center;
  position: relative;
}

.instruction-card .step-number {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(192, 38, 211, 0.15);
  line-height: 1;
}

.instruction-card .card-banner {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.instruction-card .card-banner img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  transition: transform 0.6s ease;
}

.instruction-card:hover .card-banner img {
  transform: rotateY(360deg);
}

.instruction-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.instruction-card .card-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  padding: 0;
}

.instruction-card .card-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.instruction-card:hover .card-glow {
  opacity: 1;
}


/* ============================================
   MODERN PRICING SECTION
   ============================================ */

.pricing {
  background: linear-gradient(180deg, var(--black-bg) 0%, #0d0d0d 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pricing .section-header .section-title,
.pricing .section-header .section-subtitle {
  color: var(--text);
}

.pricing .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card.popular {
  border-color: rgba(192, 38, 211, 0.4);
  background: linear-gradient(180deg, rgba(192, 38, 211, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #c026d3 0%, #a855f7 100%);
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popular-badge ion-icon {
  font-size: 12px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-starter .pricing-icon { color: #0891b2; border-color: rgba(8, 145, 178, 0.3); }
.tier-growth .pricing-icon { color: #059669; border-color: rgba(5, 150, 105, 0.3); }
.tier-premium .pricing-icon { color: #c026d3; border-color: rgba(192, 38, 211, 0.3); }

.pricing-tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-tier-level {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-price {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: super;
}

.tier-starter .price-currency,
.tier-starter .price-amount { color: #0891b2; }
.tier-growth .price-currency,
.tier-growth .price-amount { color: #059669; }
.tier-premium .price-currency,
.tier-premium .price-amount { color: #c026d3; }

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.pricing-features .feature-check {
  color: #22c55e;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features .feature-item strong {
  color: var(--text);
  font-weight: 600;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.tier-starter .pricing-cta { border-color: rgba(8, 145, 178, 0.3); }
.tier-starter .pricing-cta:hover { background: #0891b2; color: white; }

.tier-growth .pricing-cta { border-color: rgba(5, 150, 105, 0.3); }
.tier-growth .pricing-cta:hover { background: #059669; color: white; }

.tier-premium .pricing-cta { border-color: rgba(192, 38, 211, 0.3); }
.tier-premium .pricing-cta:hover { background: #c026d3; color: white; }

.pricing-cta.btn-glow {
  background: linear-gradient(135deg, #c026d3 0%, #a855f7 100%);
  border: none;
  color: white;
  animation: pulse-glow 3s ease-in-out infinite;
}

.pricing-cta ion-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.pricing-cta:hover ion-icon {
  transform: translateX(4px);
}

.pricing-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--white-bg);
  padding: 80px 0;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.1) 0%, rgba(111, 49, 117, 0.05) 100%);
  border: 1px solid rgba(192, 38, 211, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-w);
}

.cta-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.cta-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.15) 0%, transparent 70%);
  pointer-events: none;
}


/* ============================================
   FAQ SECTION ENHANCEMENTS
   ============================================ */

.faq {
  background: var(--white-bg);
  padding: 100px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-w);
  transition: all 0.3s ease;
}

.faq-question span {
  flex: 1;
}

.faq-question .faq-icon {
  font-size: 24px;
  color: #c026d3;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}


/* ============================================
   LIGHT MODE OVERRIDES
   Ensure text is visible on light backgrounds
   ============================================ */

/* Hero Section Light Mode */
body:not(.dark-theme) .hero-title-lg {
  color: #131316;
}

body:not(.dark-theme) .hero-text-centered {
  color: #56555e;
}

body:not(.dark-theme) .hero .hero-badge {
  background: rgba(192, 38, 211, 0.1);
  color: #6f3175;
}

body:not(.dark-theme) .hero.hero-centered::before {
  background: radial-gradient(ellipse at center bottom, 
    rgba(192, 38, 211, 0.25) 0%, 
    rgba(192, 38, 211, 0.1) 30%, 
    rgba(111, 49, 117, 0.05) 50%, 
    transparent 70%);
}

/* Hero bottom shine in light mode */
body:not(.dark-theme) .hero-bottom-shine {
  background: radial-gradient(ellipse at center, 
    rgba(192, 38, 211, 0.35) 0%, 
    rgba(232, 121, 249, 0.2) 30%, 
    rgba(192, 38, 211, 0.08) 60%, 
    transparent 80%);
}

/* Section Headers Light Mode */
body:not(.dark-theme) .section-header .section-title {
  color: #131316;
}

body:not(.dark-theme) .section-desc {
  color: #56555e;
}

/* Features Section Light Mode */
body:not(.dark-theme) .feature-title {
  color: #131316;
}

body:not(.dark-theme) .feature-text {
  color: #56555e;
}

/* About Section - has dark background, text stays light */
.about-content .section-subtitle,
.about-content .section-title {
  color: #fff;
}

body:not(.dark-theme) .about-content .section-subtitle,
body:not(.dark-theme) .about-content .section-title {
  color: #fff;
}

body:not(.dark-theme) .about-content .section-text {
  color: rgba(255, 255, 255, 0.8);
}

body:not(.dark-theme) .about-item-title {
  color: #fff;
}

body:not(.dark-theme) .about-item-text {
  color: rgba(255, 255, 255, 0.7);
}

/* Instruction Section - has dark background, text stays light */
body:not(.dark-theme) .instruction .section-header .section-title,
body:not(.dark-theme) .instruction .section-header .section-subtitle {
  color: #fff;
}

body:not(.dark-theme) .instruction .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

body:not(.dark-theme) .instruction-card .card-title {
  color: #fff;
}

body:not(.dark-theme) .instruction-card .card-text {
  color: rgba(255, 255, 255, 0.7);
}

/* Pricing Section - has dark background, text stays light */
body:not(.dark-theme) .pricing .section-header .section-title,
body:not(.dark-theme) .pricing .section-header .section-subtitle {
  color: #fff;
}

body:not(.dark-theme) .pricing .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

body:not(.dark-theme) .pricing-tier-name {
  color: #fff;
}

body:not(.dark-theme) .pricing-tier-level {
  color: rgba(255, 255, 255, 0.6);
}

body:not(.dark-theme) .price-period {
  color: rgba(255, 255, 255, 0.6);
}

body:not(.dark-theme) .pricing-features .feature-item {
  color: rgba(255, 255, 255, 0.7);
}

body:not(.dark-theme) .pricing-features .feature-item strong {
  color: #fff;
}

body:not(.dark-theme) .pricing-cta {
  color: #fff;
}

/* CTA Section Light Mode */
body:not(.dark-theme) .cta-title {
  color: #131316;
}

body:not(.dark-theme) .cta-text {
  color: #56555e;
}

/* FAQ Section Light Mode */
body:not(.dark-theme) .faq-question {
  color: #131316;
}

body:not(.dark-theme) .faq-answer p {
  color: #56555e;
}

/* Glass Card Light Mode Adjustments */
body:not(.dark-theme) .glass-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body:not(.dark-theme) .glass-card:hover {
  border-color: rgba(192, 38, 211, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
              0 0 60px rgba(192, 38, 211, 0.08);
}

/* Dark background sections keep dark glass cards */
body:not(.dark-theme) .about .glass-card,
body:not(.dark-theme) .instruction .glass-card,
body:not(.dark-theme) .pricing .glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero.hero-centered {
    padding: 80px 0 60px;
    min-height: calc(100vh - 60px);
  }

  .hero.hero-centered::before {
    height: 250px;
    width: 100%;
  }

  .hero.hero-centered::after {
    bottom: 40px;
    width: 80%;
  }

  .hero-bottom-shine {
    width: 300px;
    height: 200px;
    bottom: -80px;
  }

  .hero-title-lg {
    font-size: 2.2rem;
  }

  .hero-text-centered {
    font-size: 1rem;
    padding: 0 16px;
  }

  .hero-btn-centered {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 16px;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-btn-centered .btn-lg {
    flex: 1 1 0;
    min-width: 0;
    width: 50%;
    padding: 14px 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
  }

  .hero-btn-centered .btn-glow,
  .hero-btn-centered .btn-glass {
    padding: 14px 12px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .hero-btn-centered .btn-glow {
    gap: 6px;
  }

  .hero-btn-centered .btn-glow ion-icon {
    font-size: 16px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-banner {
    order: 2;
    margin-top: 40px;
  }

  .hero .hero-btn {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stats .stat-divider {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .features,
  .about,
  .instruction,
  .pricing,
  .cta-section,
  .faq {
    padding: 60px 0;
  }

  .cta-card {
    padding: 40px 24px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .hero.hero-centered {
    padding: 100px 0 80px;
    min-height: calc(100vh - 70px);
  }

  .hero.hero-centered::before {
    height: 300px;
  }

  .hero-title-lg {
    font-size: 3rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-banner {
    max-width: 500px;
    margin: 40px auto 0;
  }

  .hero .hero-btn {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hero.hero-centered {
    padding: 100px 0 100px;
    min-height: calc(100vh - 80px);
  }

  .hero.hero-centered::before {
    height: 450px;
  }

  .hero-title-lg {
    font-size: 4.5rem;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-content {
    text-align: left;
  }

  .hero .hero-btn {
    justify-content: flex-start;
  }

  .about .container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .instruction-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .hero-title-lg {
    font-size: 5rem;
  }

  .hero-text-centered {
    font-size: 1.4rem;
  }

  .hero .hero-title {
    font-size: 4rem;
  }

  .hero .hero-text {
    font-size: 1.25rem;
  }

  .pricing-grid {
    gap: 32px;
  }
}
