/* ==========================================================================
   ELEVAY — MODERN LEARNING PLATFORM DESIGN SYSTEM
   Pixel-perfect translation of Dribbble UI reference + Enhanced Features
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --color-hero-bg: #F4F8DC;
  --color-lime-primary: #D4F63D;
  --color-lime-glow: #CCFF00;
  --color-lime-light: #EBFAB2;
  --color-lime-ring-1: #D2F435;
  --color-lime-ring-2: #DBF858;
  --color-lime-ring-3: #E6FA7F;
  --color-lime-ring-4: #F0FCAE;

  --color-dark: #111827;
  --color-dark-surface: #1E293B;
  --color-body-text: #5A6578;
  --color-muted-text: #8E9AA8;
  
  --color-white: #FFFFFF;
  --color-surface-soft: #F7F8FA;
  --color-surface-card: #FFFFFF;
  --color-border-subtle: rgba(17, 24, 39, 0.07);
  --color-border-card: rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-floating: 0 20px 40px -12px rgba(17, 24, 39, 0.12), 0 8px 16px -6px rgba(17, 24, 39, 0.04);
  --shadow-hover: 0 24px 48px -12px rgba(17, 24, 39, 0.14);
  --shadow-lime: 0 12px 28px -6px rgba(212, 246, 61, 0.5);
  --shadow-modal: 0 25px 60px -15px rgba(0, 0, 0, 0.35);

  /* Layout */
  --container-max: 1240px;
  --container-pad: 24px;
  --header-height: 84px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast), opacity var(--trans-fast);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

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

/* --------------------------------------------------------------------------
   3. Typography Styles
   -------------------------------------------------------------------------- */
.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--color-dark);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  font-weight: 500;
  color: var(--color-body-text);
  line-height: 1.65;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.desktop-br {
  display: inline;
}

@media (max-width: 768px) {
  .desktop-br {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-dark-pill {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 13px 32px;
  border-radius: 9999px;
  box-shadow: 0 6px 18px -4px rgba(17, 24, 39, 0.25);
  border: 1.5px solid var(--color-dark);
}

.btn-dark-pill:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(17, 24, 39, 0.35);
  color: var(--color-white);
}

.btn-dark-pill:active {
  transform: translateY(0);
}

.btn-outline-pill {
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
  padding: 10px 24px;
  border-radius: 9999px;
  background: transparent;
}

.btn-outline-pill:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(17, 24, 39, 0.2);
}

/* --------------------------------------------------------------------------
   5. Site Header & Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  padding: 24px 0;
  transition: all var(--trans-smooth);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(244, 248, 220, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-dark);
  color: var(--color-white);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--trans-spring);
}

.brand-logo:hover .logo-icon-badge {
  transform: rotate(45deg);
}

.logo-glyph {
  width: 17px;
  height: 17px;
}

.logo-name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-dark);
  transition: all var(--trans-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-dark);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 110;
}

.hamburger-bar {
  width: 100%;
  height: 2.2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-hero-bg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 30px;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobile-link {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-dark);
}

.mobile-cta-btn {
  margin-top: 16px;
  font-size: 1.1rem;
  padding: 14px 42px;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--color-hero-bg);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin-bottom: 30px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--color-body-text);
  line-height: 1.62;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
}

.hero-btn {
  padding: 15px 38px;
  font-size: 1rem;
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  min-height: 580px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Concentric Lime Green Radar Circles */
.radar-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 660px;
  height: 660px;
  z-index: 1;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ring-4 {
  width: 660px;
  height: 660px;
  background-color: var(--color-lime-ring-4);
  opacity: 0.55;
}

.ring-3 {
  width: 540px;
  height: 540px;
  background-color: var(--color-lime-ring-3);
  opacity: 0.72;
}

.ring-2 {
  width: 420px;
  height: 420px;
  background-color: var(--color-lime-ring-2);
  opacity: 0.90;
}

.ring-1 {
  width: 300px;
  height: 300px;
  background-color: var(--color-lime-ring-1);
}

/* Hero Instructor Cutout */
.hero-image-holder {
  position: relative;
  z-index: 3;
  width: 390px;
  max-width: 85vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, rgba(0, 0, 0, 0.9) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, rgba(0, 0, 0, 0.9) 92%, transparent 100%);
}

.hero-person-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.08));
}

/* Floating Badges / Cards */
.floating-badge {
  position: absolute;
  z-index: 10;
  background: var(--color-white);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--color-border-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.floating-badge:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Badge 1: Top-Left "Digital Marketing" */
.badge-top-left {
  top: 15%;
  left: 6%;
  width: 230px;
}

.badge-top-left .badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.badge-top-left .badge-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted-text);
  letter-spacing: -0.01em;
}

/* Badge 2: Bottom-Left "5.0 Rating" */
.badge-bottom-left {
  bottom: 14%;
  left: 12%;
  width: 220px;
  padding: 18px 22px;
}

.badge-bottom-left .rating-header {
  margin-bottom: 2px;
}

.badge-bottom-left .rating-score {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.badge-bottom-left .rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 6px 0 10px 0;
  color: #F59E0B;
}

.star-icon {
  width: 15px;
  height: 15px;
}

.badge-bottom-left .badge-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-body-text);
}

/* Badge 3: Top-Right "100+" */
.badge-top-right {
  top: 14%;
  right: 8%;
  width: 220px;
  padding: 18px 20px;
}

.avatars-cluster {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--color-white);
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-circle:first-child {
  margin-left: 0;
}

.metric-score {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.badge-top-right .badge-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-body-text);
}

/* Floating Animations */
@keyframes floatGentle1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatGentle2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

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

.float-anim-1 { animation: floatGentle1 6s ease-in-out infinite; }
.float-anim-2 { animation: floatGentle2 7s ease-in-out infinite 1s; }
.float-anim-3 { animation: floatGentle3 6.5s ease-in-out infinite 0.5s; }

/* Inverted Arch Divider */
.hero-arch-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 4;
  pointer-events: none;
}

.hero-arch-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   7. SECTION 2: SEAMLESS LEARNING
   -------------------------------------------------------------------------- */
.features-section {
  padding: 80px 0 100px;
  background-color: var(--color-white);
}

.section-heading {
  margin-bottom: 50px;
}

.feature-layout-card {
  background-color: var(--color-surface-soft);
  border-radius: 32px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--color-border-subtle);
}

.feature-image-col {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.feature-photo-wrapper {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-photo-wrapper:hover .feature-photo {
  transform: scale(1.03);
}

.feature-list-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--color-border-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all var(--trans-smooth);
}

.feature-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(212, 246, 61, 0.4);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-lime-primary);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212, 246, 61, 0.4);
}

.f-icon {
  width: 22px;
  height: 22px;
}

.feature-info {
  flex: 1;
}

.feature-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.feature-item-desc {
  font-size: 0.88rem;
  color: var(--color-body-text);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   8. SECTION 3: COURSES CATEGORY GRID
   -------------------------------------------------------------------------- */
.courses-section {
  padding: 60px 0 100px;
  background-color: var(--color-white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  transition: transform var(--trans-smooth);
}

.course-card:hover {
  transform: translateY(-6px);
}

.course-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 14px;
  background-color: var(--color-surface-soft);
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-img {
  transform: scale(1.05);
}

.course-details {
  padding: 4px 6px;
}

.course-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.course-stats {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-muted-text);
  letter-spacing: -0.01em;
}

/* Design Highlight Card with Circular Action Button */
.design-highlight-card .card-action-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.circle-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-lime-primary);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(212, 246, 61, 0.35);
  transition: transform var(--trans-spring), box-shadow var(--trans-smooth);
  cursor: pointer;
}

.circle-action-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(212, 246, 61, 0.45);
}

.arrow-glyph {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   9. SECTION 4: TESTIMONIALS & BIG TRUSTED SHOWCASE
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 60px 0 100px;
  background-color: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 70px;
}

/* Photo Cards */
.testi-card-photo {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  box-shadow: var(--shadow-card);
}

.testi-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testi-card-photo:hover .testi-portrait-img {
  transform: scale(1.04);
}

/* Center Neon Lime Quote Card */
.testi-card-quote {
  background-color: var(--color-lime-primary);
  border-radius: 24px;
  padding: 44px 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lime);
  position: relative;
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.testi-card-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -8px rgba(212, 246, 61, 0.65);
}

.quote-content {
  margin-bottom: 28px;
}

.quote-text {
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.48;
  color: var(--color-dark);
  letter-spacing: -0.025em;
}

.quote-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(17, 24, 39, 0.15);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.author-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.7);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   FLOOR TRUST LINE (SINGLE LINE PLAIN + BLINKING STARS)
   -------------------------------------------------------------------------- */
.trust-floor-line {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 16px 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-floor-text {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.4;
}

.trust-floor-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.trust-floor-stars .tiny-star {
  width: 14px;
  height: 14px;
  color: #F59E0B; /* Golden Amber Star */
  animation: starBlink 2.2s ease-in-out infinite;
  transform-origin: center;
}

/* Staggered blink / twinkle delays for vibrant rhythm */
.trust-floor-stars .star-1 { animation-delay: 0s; }
.trust-floor-stars .star-2 { animation-delay: 0.25s; }
.trust-floor-stars .star-3 { animation-delay: 0.5s; }
.trust-floor-stars .star-4 { animation-delay: 0.75s; }
.trust-floor-stars .star-5 { animation-delay: 1.0s; }

@keyframes starBlink {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.85);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.75));
  }
}

/* --------------------------------------------------------------------------
   10. SECTION 5: CREATIVE ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 70px 0 90px;
  background-color: var(--color-white);
}

.about-card-hero {
  background: var(--color-surface-soft);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--color-border-subtle);
}

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

.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4B5563;
  margin-bottom: 14px;
}

.about-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.about-description {
  font-size: 1.05rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 14px;
}

.about-description-secondary {
  font-size: 0.95rem;
  color: var(--color-body-text);
  line-height: 1.65;
  margin-bottom: 28px;
}

.about-action-row {
  display: flex;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--color-border-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all var(--trans-smooth);
}

.pillar-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
}

.pillar-card.active-pillar {
  border-color: rgba(212, 246, 61, 0.6);
  background: #FCFDF5;
}

.pillar-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  padding: 8px 12px;
  background: var(--color-lime-primary);
  border-radius: 10px;
  flex-shrink: 0;
}

.pillar-content {
  flex: 1;
}

.pillar-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pillar-text {
  font-size: 0.86rem;
  color: var(--color-body-text);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. SECTION 6: CTA (JOIN FOR YOUR SUCCESS NOW)
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  background-color: var(--color-hero-bg);
  padding: 100px 0 110px;
  overflow: hidden;
}

/* Top & Bottom Arch SVG Dividers */
.cta-arch-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 4;
  pointer-events: none;
}

.cta-arch-top svg,
.cta-arch-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-arch-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 4;
  pointer-events: none;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.cta-header {
  max-width: 680px;
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-dark);
  margin-bottom: 18px;
}

.cta-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--color-body-text);
  line-height: 1.6;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}

.cta-btn-wrap {
  display: flex;
  justify-content: center;
}

.cta-btn {
  padding: 14px 38px;
  font-size: 0.98rem;
}

/* CTA Visual Centerpiece */
.cta-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 480px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Concentric Radar Circles in CTA */
.cta-radar-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  width: 560px;
  height: 560px;
  z-index: 1;
  pointer-events: none;
}

.cta-radar-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-ring-3 {
  width: 560px;
  height: 560px;
  background-color: var(--color-lime-ring-3);
  opacity: 0.55;
}

.cta-ring-2 {
  width: 420px;
  height: 420px;
  background-color: var(--color-lime-ring-2);
  opacity: 0.85;
}

.cta-ring-1 {
  width: 290px;
  height: 290px;
  background-color: var(--color-lime-ring-1);
}

/* Black Geometric Star / Flower Emblem */
.cta-dark-emblem {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 230px;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
  animation: subtleSpin 40s linear infinite;
}

@keyframes subtleSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Student Image Holder */
.cta-image-holder {
  position: relative;
  z-index: 3;
  width: 440px;
  max-width: 90vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, rgba(0, 0, 0, 0.9) 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, rgba(0, 0, 0, 0.9) 95%, transparent 100%);
}

.cta-student-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--color-border-subtle);
  gap: 48px;
}

.footer-left {
  max-width: 320px;
}

.footer-tagline {
  margin-top: 20px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.footer-right {
  display: flex;
  gap: clamp(48px, 10vw, 110px);
}

.footer-col-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: #4B5563;
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--color-dark);
}

.sub-footer {
  padding-top: 28px;
}

.sub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-weight: 500;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-btn {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--trans-fast);
}

.footer-legal-btn:hover {
  color: var(--color-dark);
}

.legal-links .divider {
  color: #D1D5DB;
}

/* --------------------------------------------------------------------------
   13. POPUP MODALS (PLANS, PRIVACY POLICY, TERMS OF SERVICE)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: var(--shadow-modal);
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-surface-soft);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast), transform var(--trans-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #E5E7EB;
  transform: rotate(90deg);
}

/* Plans Modal Card */
.plans-modal-card {
  max-width: 860px;
  padding: clamp(32px, 5vw, 48px);
}

.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--color-hero-bg);
  color: #365314;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--color-body-text);
  margin-bottom: 24px;
}

/* Email Input Section */
.email-input-section {
  max-width: 520px;
  margin: 0 auto 32px auto;
  text-align: left;
}

.email-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.required-star {
  color: #EF4444;
}

.input-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mail-glyph {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #9CA3AF;
  pointer-events: none;
}

.email-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-surface-soft);
  color: var(--color-dark);
  transition: all var(--trans-fast);
}

.email-input:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-dark);
  box-shadow: 0 0 0 4px rgba(212, 246, 61, 0.4);
}

.email-input.has-error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.email-error-msg {
  font-size: 0.8rem;
  font-weight: 600;
  color: #EF4444;
  margin-top: 6px;
  min-height: 18px;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 26px;
}

.plan-card {
  border-radius: 22px;
  padding: 32px 28px;
  background: var(--color-surface-soft);
  border: 1.5px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.plan-card.plan-featured {
  background: #FCFDF5;
  border: 2px solid var(--color-lime-primary);
  box-shadow: 0 12px 32px -8px rgba(212, 246, 61, 0.45);
}

.plan-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #E5E7EB;
  color: #4B5563;
  margin-bottom: 12px;
}

.plan-badge.featured-badge {
  background: var(--color-lime-primary);
  color: var(--color-dark);
  box-shadow: 0 2px 8px rgba(212, 246, 61, 0.5);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.84rem;
  color: var(--color-body-text);
  line-height: 1.45;
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
}

.plan-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--color-muted-text);
  font-weight: 500;
  margin-left: 6px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #374151;
  line-height: 1.45;
}

.check-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #10B981;
  margin-top: 1px;
}

.check-icon.check-lime {
  color: #65A30D;
}

.plan-action-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

.plan-action-btn.featured-btn {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.plan-action-btn.featured-btn:hover {
  background-color: #000000;
  box-shadow: 0 8px 24px -4px rgba(17, 24, 39, 0.3);
}

.stripe-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #9CA3AF;
  font-weight: 500;
  text-align: center;
  padding-top: 10px;
}

.lock-icon {
  color: #10B981;
}

/* Legal Modals (Privacy Policy & Terms) */
.legal-modal-card {
  max-width: 680px;
  padding: clamp(28px, 4vw, 44px);
}

.modal-date {
  font-size: 0.82rem;
  color: #9CA3AF;
  font-weight: 600;
  margin-bottom: 18px;
}

.legal-content-scroll {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 12px;
  margin-bottom: 24px;
}

.legal-content-scroll::-webkit-scrollbar {
  width: 6px;
}

.legal-content-scroll::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.legal-content-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.legal-content-scroll h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin: 20px 0 8px 0;
}

.legal-content-scroll h4:first-child {
  margin-top: 0;
}

.legal-content-scroll p {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.65;
  margin-bottom: 14px;
}

.legal-content-scroll ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content-scroll li {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
}

.modal-ack-btn {
  padding: 10px 28px;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE DESIGN MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .feature-layout-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-image-col,
  .feature-photo-wrapper {
    min-height: 340px;
    height: 340px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testi-card-photo {
    min-height: 320px;
    max-height: 380px;
  }

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

@media (max-width: 860px) {
  .nav-menu,
  .header-actions .btn-outline-pill {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-visual-wrapper {
    min-height: 520px;
  }

  .radar-circles {
    width: 480px;
    height: 480px;
  }
  .ring-4 { width: 480px; height: 480px; }
  .ring-3 { width: 390px; height: 390px; }
  .ring-2 { width: 300px; height: 300px; }
  .ring-1 { width: 210px; height: 210px; }

  .hero-image-holder {
    width: 320px;
  }

  .badge-top-left {
    left: 2%;
    top: 10%;
    width: 190px;
    padding: 12px 14px;
  }

  .badge-bottom-left {
    left: 4%;
    bottom: 8%;
    width: 180px;
    padding: 14px 16px;
  }

  .badge-top-right {
    right: 2%;
    top: 12%;
    width: 180px;
    padding: 14px 16px;
  }

  .badge-bottom-left .rating-score,
  .metric-score {
    font-size: 1.7rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-right {
    width: 100%;
    justify-content: flex-start;
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 60px;
  }

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

  .hero-visual-wrapper {
    min-height: 460px;
    margin-top: 20px;
  }

  .radar-circles {
    width: 360px;
    height: 360px;
  }
  .ring-4 { width: 360px; height: 360px; }
  .ring-3 { width: 290px; height: 290px; }
  .ring-2 { width: 220px; height: 220px; }
  .ring-1 { width: 160px; height: 160px; }

  .hero-image-holder {
    width: 260px;
  }

  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 290px;
    margin: 8px auto;
  }

  .hero-visual-wrapper {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .feature-layout-card {
    padding: 20px;
    border-radius: 24px;
  }

  .feature-item-card {
    padding: 18px 20px;
  }

  .testi-card-quote {
    padding: 32px 24px 28px;
  }

  .cta-section {
    padding: 80px 0 90px;
  }

  .cta-visual-wrapper {
    min-height: 380px;
  }

  .cta-radar-circles {
    width: 340px;
    height: 340px;
  }
  .cta-ring-3 { width: 340px; height: 340px; }
  .cta-ring-2 { width: 260px; height: 260px; }
  .cta-ring-1 { width: 180px; height: 180px; }

  .cta-dark-emblem {
    width: 170px;
    height: 170px;
  }

  .cta-image-holder {
    width: 290px;
  }

  .footer-right {
    flex-direction: column;
    gap: 28px;
  }

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

/* Spinner Animation for Stripe Redirect */
.spin-icon {
  animation: spinLoader 0.9s linear infinite;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
