/* ====================================================================
   BIONUL EDTECH PLATFORM - PUBLIC LANDING PAGE STYLES
   css/landing.css
   Matched pixel-by-pixel to the high-converting mobile/desktop reference design
   ==================================================================== */

/* --------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------- */
.landing-hero-section {
  position: relative;
  width: 100%;
  padding: 32px 16px 40px 16px;
  background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 100%);
  overflow: hidden;
}

.landing-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.landing-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.landing-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--text-heading, #0F172A);
  margin-bottom: 16px;
}

.landing-hero-static {
  color: var(--text-heading, #0F172A);
}

.landing-hero-dynamic {
  display: inline-flex;
  align-items: baseline;
}

.typed-text-highlight {
  color: var(--primary, #5B3DF5);
  background: linear-gradient(135deg, #5B3DF5 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--primary, #5B3DF5);
  font-weight: 300;
  margin-left: 2px;
  animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.landing-hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted, #64748B);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 24px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.landing-hero-btn-primary {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md, 12px);
  background: var(--primary-gradient, linear-gradient(135deg, #5B3DF5 0%, #4326D8 100%));
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(91, 61, 245, 0.35);
  border: none;
}

.landing-hero-btn-secondary {
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md, 12px);
  background-color: #FFFFFF;
  color: var(--primary, #5B3DF5);
  border: 1.5px solid rgba(91, 61, 245, 0.3);
  box-shadow: var(--shadow-sm);
}

.landing-hero-btn-secondary:hover {
  background-color: var(--pastel-purple, #F3F0FF);
  border-color: var(--primary, #5B3DF5);
}

.landing-hero-trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted, #64748B);
  margin-bottom: 24px;
}

.trust-shield-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #64748B);
}

.trust-shield-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Feature Pills Row */
.landing-feature-pills-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-feature-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading, #0F172A);
}

.pill-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #5B3DF5);
}

.pill-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ====================================================================
   PHYSICSWALLAH-STYLE HERO VISUAL (Teacher + Student + Speech Bubbles)
   ==================================================================== */
.landing-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 10px 0 20px 0;
  overflow: visible;
}

.pw-hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 320px;
  margin: 0 auto;
}

.pw-orbit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Common Circle Frame Styles */
.pw-circle-frame {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(91, 61, 245, 0.14);
  border: 3px solid #FFFFFF;
}

.pw-circle-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #EDE9FE 0%, #EEF2FF 100%);
  z-index: 1;
}

/* Teacher Frame (Bottom Left) */
.pw-teacher-frame {
  left: 30px;
  bottom: 35px;
  width: 170px;
  height: 170px;
}

.pw-teacher-cutout {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Student Frame (Top Right) */
.pw-student-frame {
  right: 35px;
  top: 30px;
  width: 160px;
  height: 160px;
}

.pw-student-cutout {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Speech Bubbles */
.pw-speech-bubble {
  position: absolute;
  z-index: 4;
  border-radius: 12px;
  padding: 9px 13px;
  font-family: inherit;
  filter: drop-shadow(0 6px 18px rgba(15, 23, 42, 0.12));
}

.pw-speech-bubble p {
  margin: 0;
  line-height: 1.35;
}

/* Student Bubble (Question) */
.pw-student-bubble {
  top: 70px;
  right: 180px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(226, 232, 240, 0.9);
  white-space: nowrap;
  animation: floatBubble 4s ease-in-out infinite;
}

.pw-arrow-right {
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #FFFFFF;
}

/* Teacher Bubble (Answer) */
.pw-teacher-bubble {
  bottom: 95px;
  left: 165px;
  background: #0E1038;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  max-width: 200px;
  box-shadow: 0 8px 24px rgba(14, 16, 56, 0.35);
  animation: floatBubble 4s ease-in-out infinite reverse;
}

.pw-arrow-left {
  position: absolute;
  left: -7px;
  top: 40%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #0E1038;
}

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

/* Responsive Scaling for Mobile Screens (<480px) */
@media (max-width: 480px) {
  .pw-hero-visual {
    max-width: 350px;
    height: 260px;
  }
  
  .pw-teacher-frame {
    left: 8px;
    bottom: 20px;
    width: 140px;
    height: 140px;
  }
  
  .pw-student-frame {
    right: 12px;
    top: 15px;
    width: 130px;
    height: 130px;
  }
  
  .pw-student-bubble {
    top: 48px;
    right: 135px;
    font-size: 0.70rem;
    padding: 6px 9px;
  }
  
  .pw-teacher-bubble {
    bottom: 70px;
    left: 125px;
    font-size: 0.65rem;
    max-width: 160px;
    padding: 7px 10px;
  }
}

/* --------------------------------------------------------------------
   2. SECTION SHARED HEADINGS & LAYOUT
   -------------------------------------------------------------------- */
.landing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
}

.landing-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.landing-section-center-head {
  text-align: center;
  margin-bottom: 28px;
}

.landing-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.landing-section-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
  margin-top: 2px;
}

.landing-section-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary, #5B3DF5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all var(--transition-fast, 0.2s);
}

.landing-section-link:hover {
  color: var(--primary-dark, #4326D8);
  transform: translateX(2px);
}

.link-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

/* --------------------------------------------------------------------
   3. EXPLORE COURSES SECTION & CARDS
   -------------------------------------------------------------------- */
.landing-courses-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.landing-course-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #EAEBF2);
  border-radius: var(--radius-lg, 16px);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast, 0.2s);
  position: relative;
}

.landing-course-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 61, 245, 0.35);
}

/* Course Card — Real Thumbnail Image */
.landing-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #F1F5F9;
}

.landing-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.landing-course-item-card:hover .landing-card-thumb-wrap img {
  transform: scale(1.04);
}

/* Badge (FREE / PREMIUM) on thumbnail */
.landing-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 3;
  text-transform: uppercase;
}

.landing-badge-free {
  background-color: #ECFDF5;
  color: #059669;
}

.landing-badge-premium {
  background: linear-gradient(135deg, #5B3DF5 0%, #4326D8 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Card Body */
.landing-card-body {
  padding: 0 2px;
  flex: 1;
}

.landing-card-badge-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.landing-card-subject-tag,
.landing-card-class-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary, #5B3DF5);
}

.landing-card-dot {
  font-size: 0.65rem;
  color: var(--text-muted, #94A3B8);
}

.landing-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Teacher row */
.landing-card-teacher-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.landing-teacher-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--pastel-purple, #EDE9FE);
  color: var(--primary, #5B3DF5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.landing-teacher-name {
  font-size: 0.75rem;
  color: var(--text-muted, #64748B);
  font-weight: 600;
}

/* Card Footer (price + action) */
.landing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px 0 2px;
  margin-top: auto;
  border-top: 1px solid var(--border-color, #F1F5F9);
}

.landing-card-price-block {
  display: flex;
  align-items: center;
}

.landing-card-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
}

.landing-card-price-free {
  font-size: 0.82rem;
  font-weight: 800;
  color: #059669;
  background-color: #ECFDF5;
  padding: 2px 10px;
  border-radius: 4px;
}

.landing-card-price-strike {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #94A3B8);
  text-decoration: line-through;
  margin-left: 4px;
}

.landing-card-discount-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  margin-left: 4px;
}

.landing-card-view-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary, #5B3DF5);
  transition: color 0.2s;
}

.landing-course-item-card:hover .landing-card-view-btn {
  color: var(--primary-dark, #4326D8);
  text-decoration: underline;
}

/* --------------------------------------------------------------------
   4. WHY LEARN WITH BIONUL?
   -------------------------------------------------------------------- */
.landing-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.landing-why-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #EAEBF2);
  border-radius: var(--radius-xl, 18px);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-fast, 0.2s);
}

.landing-why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 61, 245, 0.25);
}

.why-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--pastel-purple, #F3F0FF);
  color: var(--primary, #5B3DF5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-icon-bubble svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.why-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
  margin-bottom: 6px;
}

.why-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted, #64748B);
  line-height: 1.45;
}

/* --------------------------------------------------------------------
   5. YOUR LEARNING JOURNEY
   -------------------------------------------------------------------- */
.landing-journey-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #EAEBF2);
  border-radius: var(--radius-xl, 20px);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.journey-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.journey-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--pastel-purple, #F3F0FF);
  color: var(--primary, #5B3DF5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid #EDE9FE;
  transition: all var(--transition-fast, 0.2s);
}

.journey-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.journey-node:hover .journey-circle {
  background-color: var(--primary, #5B3DF5);
  color: #FFFFFF;
  transform: scale(1.08);
}

.journey-node-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
  margin-bottom: 4px;
}

.journey-node-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #64748B);
  line-height: 1.4;
  max-width: 180px;
}

.journey-divider {
  flex: 0 0 40px;
  height: 2px;
  border-top: 2px dashed #CBD5E1;
  margin-top: 23px;
}

/* --------------------------------------------------------------------
   5. START LEARNING FOR FREE (CENTERED BUTTON CALLOUT)
   -------------------------------------------------------------------- */
.landing-free-center-wrap {
  padding: 16px 16px 36px 16px;
}

.landing-free-center-box {
  background: linear-gradient(135deg, #FAF8FF 0%, #F3EFFF 100%);
  border: 1.5px solid #E4DCFD;
  border-radius: var(--radius-xl, 24px);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(91, 61, 245, 0.06);
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.free-sparkle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  color: var(--primary, #5B3DF5);
  padding: 6px 16px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid #DDD6FE;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(91, 61, 245, 0.08);
}

.free-sparkle-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--primary, #5B3DF5);
}

.free-center-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-heading, #0F172A);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.free-center-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted, #64748B);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.free-center-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.free-center-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full, 9999px);
  background: var(--primary-gradient, linear-gradient(135deg, #5B3DF5 0%, #4326D8 100%));
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(91, 61, 245, 0.38);
  border: none;
  transition: all var(--transition-fast, 0.2s);
}

.free-center-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(91, 61, 245, 0.48);
}
  font-size: 0.68rem;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 8px;
}

.free-pill-tag.purple { background-color: #EDE9FE; color: #5B3DF5; }
.free-pill-tag.green { background-color: #DCFCE7; color: #16A34A; }
.free-pill-tag.orange { background-color: #FFEDD5; color: #EA580C; }
.free-pill-tag.blue { background-color: #E0F2FE; color: #0284C7; }

.free-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.free-content-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-heading, #0F172A);
  line-height: 1.25;
  text-transform: uppercase;
}

.free-art-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.free-content-sub {
  font-size: 0.75rem;
  color: var(--text-muted, #64748B);
  margin-bottom: 12px;
}

.free-open-action-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-color, #EAEBF2);
  background-color: #F8FAFC;
  color: var(--primary, #5B3DF5);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
}

.free-open-action-btn:hover {
  background-color: var(--primary, #5B3DF5);
  color: #FFFFFF;
  border-color: var(--primary, #5B3DF5);
}

.free-open-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------
   8. CALL TO ACTION (CTA) BANNER
   -------------------------------------------------------------------- */
.landing-cta-wrap {
  padding-bottom: 50px;
}

.landing-cta-banner {
  background: var(--hero-card-gradient, linear-gradient(135deg, #5B3DF5 0%, #472BDC 60%, #3B1FD0 100%));
  border-radius: var(--radius-xl, 22px);
  padding: 32px 36px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(91, 61, 245, 0.3);
  display: flex;
  align-items: center;
  gap: 32px;
}

.cta-art-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-content-wrapper {
  flex: 1;
}

.cta-heading {
  color: #FFFFFF;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-subheading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn-white {
  background-color: #FFFFFF;
  color: var(--primary, #5B3DF5);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-md, 10px);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-btn-white:hover {
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

.cta-btn-purple {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md, 10px);
}

.cta-btn-purple:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* --------------------------------------------------------------------
   9. DARK FOOTER
   -------------------------------------------------------------------- */
.landing-dark-footer {
  background-color: #0B0F19;
  color: #E2E8F0;
  padding: 48px 24px 28px 24px;
  margin: 0 -16px -36px -16px; /* Edge to edge */
}

.footer-columns-grid {
  max-width: 1200px;
  margin: 0 auto 36px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  background-color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-sm, 8px);
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.55;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1E293B;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast, 0.2s);
}

.social-circle-btn:hover {
  background-color: var(--primary, #5B3DF5);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-circle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast, 0.2s);
}

.footer-links-list a:hover {
  color: #FFFFFF;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  fill: var(--primary, #5B3DF5);
  flex-shrink: 0;
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748B;
}

.scroll-to-top-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1E293B;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s);
}

.scroll-to-top-btn:hover {
  background-color: var(--primary, #5B3DF5);
  color: #FFFFFF;
}

.scroll-to-top-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Developer Credit Image Perfectly Centered & Seamlessly Blended */
.footer-developer-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  text-align: center;
  background-color: transparent;
}

.footer-developer-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity var(--transition-fast, 0.2s), transform var(--transition-fast, 0.2s);
}

.footer-developer-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* --------------------------------------------------------------------
   10. MOBILE RESPONSIVENESS (< 768px)
   -------------------------------------------------------------------- */
@media (max-width: 767px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .landing-hero-content {
    align-items: center;
    text-align: center;
  }

  .landing-hero-title {
    font-size: 2rem;
  }

  .landing-hero-subtitle {
    font-size: 0.86rem;
  }

  .landing-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 16px auto;
  }

  .landing-hero-actions .btn {
    width: 100%;
  }

  .landing-feature-pills-row {
    justify-content: center;
  }

  .landing-courses-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .landing-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .landing-journey-flow {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }

  .journey-divider {
    display: none;
  }

  .journey-node {
    width: 100%;
  }

  .landing-subjects-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .landing-free-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .landing-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }

  .cta-heading {
    font-size: 1.35rem;
  }

  .cta-actions-row {
    justify-content: center;
    width: 100%;
  }

  .cta-actions-row .btn {
    width: 100%;
    max-width: 260px;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Very narrow screens (< 480px) */
@media (max-width: 479px) {
  .landing-courses-carousel {
    grid-template-columns: 1fr;
  }

  .landing-why-grid {
    grid-template-columns: 1fr;
  }

  .landing-free-grid {
    grid-template-columns: 1fr;
  }

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