/* ================================================================
   StudyMaxx — home.css
   Redesigned 2026
   ----------------------------------------------------------------
   TABLE OF CONTENTS
   ----------------------------------------------------------------
   1.  Base & Typography
   2.  Shared Utilities
   3.  Animations & Keyframes
   4.  Reveal (scroll-triggered)
   6.  Header & Navigation
       6a. Mobile Nav
   7.  Hero Section
       7a. Hero Background
       7b. Hero Content
       7c. Hero Badge
       7d. Hero Title
       7e. Hero Stats
       7f. Hero Buttons
       7g. Scroll Arrow
       7h. Back to Top
       7i. Hero Responsive
   8.  Marquee Ticker
   9.  Mission Section
   10. Features (Bento Grid)
       10a. Bento Cards
       10b. Feature Icon Boxes
       10c. Bento Responsive
   11. Comparison Table
       11a. Table Header
       11b. Table Body & Cells
       11c. Check / Cross Icons
       11d. Score Row
   12. Numbers / Stats Section
   13. Reviews / Carousel
   14. Join Us (CTA)
   15. Footer
       15a. Footer Columns
       15b. Footer Social
       15c. Footer Bottom
       15d. Footer Responsive
   ================================================================ */


/* ================================================================
   1. BASE & TYPOGRAPHY
   ================================================================ */

body {
  font-family: "DM Sans", "Zalando Sans Expanded", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", "Zen Dots", sans-serif;
}


/* ================================================================
   2. SHARED UTILITIES
   ================================================================ */

/* Section label chip */
.chip {
  display: inline-block;
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(147, 51, 234, 0.25);
  background: rgba(147, 51, 234, 0.1);
  color: var(--primary-purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Section heading */
.sec-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.sec-heading.centered {
  text-align: center;
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section subtext */
.sec-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Centered section header block */
.sec-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.82rem 1.95rem;
  border: none;
  border-radius: 100px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(147, 51, 234, 0.15);
  border-color: var(--primary-purple);
  color: var(--purple-lighter);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-purple);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(147, 51, 234, 0.1);
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
  color: #fff;
  transform: translateY(-3px);
}


/* ================================================================
   3. ANIMATIONS & KEYFRAMES
   ================================================================ */

/* Fade + slide up */
@keyframes fsu {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge pulse dot */
@keyframes bpulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

/* Marquee gradient shift */
@keyframes mgrad {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Marquee scroll */
@keyframes mscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll arrow bounce */
@keyframes sarrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ================================================================
   4. REVEAL (scroll-triggered)
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
          opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
          transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-child {
  opacity: 0;
  transform: translateY(22px);
  transition:
          opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
          transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-child.in {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   6. HEADER & NAVIGATION
   ================================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.7rem 0;
  background: rgba(15, 15, 15, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.9);
  border-color: rgba(147, 51, 234, 0.15);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .header.scrolled {
  background: rgba(248, 245, 255, 0.94);
  border-color: rgba(147, 51, 234, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 36px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-purple), var(--purple-lighter));
  transition: width 0.3s ease;
}

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

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

/* Header action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-btn {
  padding: 0.5rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cta-btn:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.35);
  transform: translateY(-2px);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 17px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ── 6a. Mobile Nav ── */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    right: 16px;
    left: auto;
    width: 195px;
    flex-direction: column;
    gap: 0;
    padding: 0.7rem 0;
    background: var(--card-bg);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    transform: none;
    z-index: 100;
  }

  .nav.mobile-open {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.65rem 1.2rem;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}


/* ================================================================
   7. HERO SECTION
   ================================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
  padding: 120px 24px 80px;
}

/* ── 7a. Hero Background ── */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

[data-theme="light"] .hero-video {
  filter: brightness(1.1) saturate(0.7) opacity(0.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
          135deg,
          rgba(10, 5, 20, 0.78) 0%,
          rgba(15, 10, 30, 0.55) 100%
  );
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
          135deg,
          rgba(245, 240, 255, 0.72),
          rgba(230, 220, 255, 0.52)
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
          linear-gradient(rgba(147, 51, 234, 0.04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(147, 51, 234, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

/* ── 7b. Hero Content ── */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* ── 7c. Hero Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 100px;
  background: rgba(147, 51, 234, 0.12);
  color: var(--purple-lighter);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  animation: fsu 0.6s ease 0.1s both;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-lighter);
  animation: bpulse 2s infinite;
}

/* Greeting (React component) */
.hero-greeting {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  animation: fsu 0.6s ease 0.2s both;
}

/* ── 7d. Hero Title ── */
.hero-title {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  animation: fsu 0.7s ease 0.3s both;
}

.hero-line {
  display: block;
  color: var(--text-primary);
}

.accent-line {
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-bottom: 2.4rem;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  animation: fsu 0.7s ease 0.45s both;
}

/* ── 7e. Hero Stats ── */
.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
  animation: fsu 0.7s ease 0.6s both;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.1rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  animation: fsu 0.7s ease 0.75s both;
}

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

.h-stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.3rem;
  color: var(--primary-purple);
  opacity: 0.8;
}

.h-num {
  display: inline;
  font-family: "Syne", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.h-suf {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-purple);
}

.h-lbl {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.h-divider {
  width: 1px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

/* ── 7f. Hero Buttons — see Shared Utilities ── */

/* ── 7g. Scroll Arrow ── */
.scroll-down {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--text-secondary);
  opacity: 0.45;
  animation: sarrow 2s infinite;
}

/* ── 7h. Back to Top (React component) ── */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.4);
}

.back-top.show {
  opacity: 1;
  transform: scale(1);
}

/* ── 7i. Hero Responsive ── */
@media (max-width: 640px) {
  .hero-stats {
    gap: 1.2rem;
    padding: 1rem 1.4rem;
  }

  .h-num {
    font-size: 1.4rem;
  }

  .h-divider {
    height: 28px;
  }
}


/* ================================================================
   8. MARQUEE TICKER
   ================================================================ */

.marquee-bar {
  overflow: hidden;
  padding: 0.75rem 0;
  background: linear-gradient(90deg, #9333ea, #7c3aed, #c084fc, #9333ea);
  background-size: 300%;
  animation: mgrad 8s linear infinite;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  animation: mscroll 26s linear infinite;
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mdot {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.55rem !important;
}


/* ================================================================
   9. MISSION SECTION
   ================================================================ */

.our-mission {
  padding: 100px 0;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.mission-body {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Mission cards column */
.mission-right {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.m-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(147, 51, 234, 0.1);
  border-radius: 15px;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.m-card:hover {
  border-color: var(--primary-purple);
  background: rgba(147, 51, 234, 0.06);
  transform: translateX(8px);
}

/* SVG icon container */
.m-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.growth-icon {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.efficiency-icon {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
}

.support-icon {
  background: rgba(147, 51, 234, 0.12);
  color: var(--primary-purple);
}

.m-card h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 700;
}

.m-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .mission-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* ================================================================
   10. FEATURES (BENTO GRID)
   ================================================================ */

.features {
  padding: 100px 0;
}

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.9rem;
}

/* Wide cards span 2 columns */
.wide {
  grid-column: span 2;
}

/* 4th card (second wide) aligns right */
.bento-card:nth-child(4).wide {
  grid-column: 2 / 4;
}

/* ── 10a. Bento Cards ── */
.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: var(--card-bg);
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: 0 8px 36px rgba(147, 51, 234, 0.12);
}

.bento-card.accent {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.14), rgba(147, 51, 234, 0.04));
  border-color: rgba(147, 51, 234, 0.22);
}

/* Image half (wide cards) */
.bento-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-img img {
  transform: scale(1.04);
}

.img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--card-bg));
}

/* Text content area */
.bento-body {
  padding: 1.4rem;
}

.bento-body.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem 1.4rem;
  text-align: center;
}

.bento-body h3 {
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.bento-body p {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--primary-purple);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.feat-link:hover {
  gap: 0.45rem;
}

.feat-link.light {
  color: var(--purple-lighter);
}

/* ── 10b. Feature Icon Boxes ── */
.feat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 0.8rem;
}

.brain-icon   { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.cards-icon   { background: rgba(59, 130, 246, 0.15);  color: #3b82f6; }
.timer-icon   { background: rgba(234, 179, 8, 0.13);   color: #eab308; }
.cal-icon     { background: rgba(34, 197, 94, 0.12);   color: #22c55e; }
.users-icon   { background: rgba(236, 72, 153, 0.13);  color: #ec4899; }
.link-icon    { background: rgba(147, 51, 234, 0.15);  color: var(--purple-lighter); }

/* ── 10c. Bento Responsive ── */
@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .wide,
  .bento-card:nth-child(4).wide {
    grid-column: span 2;
  }
}

@media (max-width: 580px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .wide,
  .bento-card:nth-child(4).wide {
    grid-column: span 1;
  }
}


/* ================================================================
   11. COMPARISON TABLE
   ================================================================ */

.compare-section {
  padding: 100px 0;
  background: radial-gradient(
          ellipse at 50% 0%,
          rgba(147, 51, 234, 0.06) 0%,
          transparent 65%
  );
}

.tbl-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: var(--card-bg);
}

.cmp-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

/* ── 11a. Table Header ── */
.cmp-table thead tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cmp-table th {
  padding: 1.15rem 1.3rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.cmp-table th.f-col {
  width: 34%;
  text-align: left;
}

/* StudyMaxx column highlight */
.sm-col {
  background: rgba(147, 51, 234, 0.07);
}

/* Brand cells in header */
.th-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.active-brand {
  padding: 0.4rem 0;
}

.th-logo {
  height: 26px;
  width: auto;
}

.th-name {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.best-pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── 11b. Table Body & Cells ── */
.cmp-table tbody tr td {
  padding: 0.92rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.cmp-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.cmp-table tbody tr.alt td {
  background: rgba(255, 255, 255, 0.015);
}

.cmp-table tbody tr.alt:hover td {
  background: rgba(255, 255, 255, 0.035);
}

.f-col,
.f-name {
  text-align: left !important;
}

.f-name {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ── 11c. Check / Cross Icons ── */
.ck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.ck.yes {
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
}

.ck.no {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.ck.par {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── 11d. Score Row ── */
.cmp-table tfoot tr td {
  padding: 1.1rem 1.3rem;
  border-top: 2px solid rgba(147, 51, 234, 0.18);
}

.score-lbl {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.score-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.score-pill.best {
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
  color: #fff;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35);
}

.cmp-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.65;
}

.cmp-note svg {
  color: #22c55e;
}


/* ================================================================
   12. NUMBERS / STATS SECTION
   ================================================================ */

.numbers {
  padding: 75px 0;
  border-top: 1px solid rgba(147, 51, 234, 0.1);
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
  background: linear-gradient(
          135deg,
          rgba(147, 51, 234, 0.08),
          transparent 60%
  );
}

.nums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.n-block {
  padding: 1.2rem;
}

.n-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12rem;
  margin-bottom: 0.45rem;
}

.n-num {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.n-suf {
  color: var(--primary-purple);
  font-size: 1.4rem;
  font-weight: 800;
}

.n-block p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nums-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ================================================================
   13. REVIEWS / CAROUSEL
   ================================================================ */

.reviews {
  padding: 100px 0;
}

.reviews-carousel-wrapper {
  position: relative;
}

.reviews-grid.testimonial-carousel {
  position: relative;
  min-height: 210px;
}

.review-card {
  display: none;
  max-width: 580px;
  margin: 0 auto;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: var(--card-bg);
  animation: fsu 0.5s ease;
}

.review-card.active-slide {
  display: block;
}

/* SVG star row */
.star-row {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.star-svg svg {
  fill: #f59e0b;
}

.review-text {
  margin-bottom: 1.4rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 2px solid var(--primary-purple);
  border-radius: 50%;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author h4 {
  margin-bottom: 0.18rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.review-role {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Carousel dots */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 1.6rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 22px;
  border-radius: 4px;
  background: var(--primary-purple);
}


/* ================================================================
   14. JOIN US (CTA)
   ================================================================ */

.join-us {
  padding: 100px 0;
}

.join-box {
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 24px;
  background: var(--card-bg);
  text-align: center;
}

.join-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(
          circle,
          rgba(147, 51, 234, 0.22) 0%,
          transparent 70%
  );
  pointer-events: none;
}

.join-heading {
  margin: 1rem 0 1.1rem;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}

.join-sub {
  max-width: 460px;
  margin: 0 auto 2.3rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.join-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.join-note {
  color: var(--text-secondary);
  font-size: 0.78rem;
  opacity: 0.65;
}

@media (max-width: 580px) {
  .join-box {
    padding: 3rem 1.4rem;
  }

  .join-btns {
    flex-direction: column;
    align-items: center;
  }
}


/* ================================================================
   15. FOOTER
   ================================================================ */

.footer {
  padding: 3.8rem 0 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.1);
  background: var(--card-bg);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  margin-bottom: 2.8rem;
}

.footer-brand .footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── 15a. Footer Columns ── */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1.1rem;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Contact rows (icon + text) */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-contact-row svg {
  flex-shrink: 0;
  color: var(--primary-purple);
  opacity: 0.7;
}

/* ── 15b. Footer Social ── */
.footer-social {
  display: flex;
  gap: 0.7rem;
}

.soc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 8px;
  background: rgba(147, 51, 234, 0.1);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.soc-link:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: #fff;
  transform: translateY(-2px);
}

/* ── 15c. Footer Bottom ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.83rem;
}

.lk-badge {
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 100px;
  background: rgba(147, 51, 234, 0.12);
  color: var(--purple-lighter);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── 15d. Footer Responsive ── */
@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

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