/* ===================================================
   EduVerse — Premium EdTech Website
   Design System & Styles
   =================================================== */
/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Mistrully';
  src: url('assets/Mistrully.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors — Black Theme */
  --black:        #050505;
  --charcoal:     #111111;
  --surface:      #1a1a1a;
  --surface-2:    #222222;
  --border:       #2a2a2a;
  --border-light: #333333;
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --white:        #ffffff;

  /* Accents */
  --cyan:         #00f0ff;
  --cyan-dim:     rgba(0, 240, 255, 0.15);
  --violet:       #8b5cf6;
  --violet-dim:   rgba(139, 92, 246, 0.15);
  --pink:         #ec4899;
  --green:        #06d6a0;

  /* Gradients */
  --grad-main:    #00f0ff;
  --grad-glow:    linear-gradient(135deg, rgba(0,240,255,0.3), rgba(139,92,246,0.3));
  --grad-card:    linear-gradient(145deg, rgba(30,30,30,0.7), rgba(20,20,20,0.9));

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  clamp(2rem, 5vw, 4rem); /* Reduced to halve the gaps between sections */
  --container:    1200px;

  /* Transitions */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Borders */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}


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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ---------- Utility ---------- */
.gradient-text {
  color: #00f0ff;
  -webkit-text-fill-color: #00f0ff;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.logo-icon svg {
  width: 36px;
  height: 36px;
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 80px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-highlight {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #050505;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: width 0.3s var(--ease-out);
}

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

.nav-cta {
  background: var(--grad-main) !important;
  color: var(--black) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 80vh; /* Reduced from 100vh so content below comes up higher */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem; /* Reverted/reduced bottom padding to close gap */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-orb--cyan {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: -15%;
  right: -10%;
  opacity: 0.15;
  animation-delay: 0s;
}

.hero-orb--violet {
  width: 500px;
  height: 500px;
  background: var(--violet);
  bottom: -10%;
  left: -5%;
  opacity: 0.12;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-video-container.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-intro-video {
  width: min(90vw, 600px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
  /* subtle glow to make it pop */
  filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.15));
}


.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 10;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.hero-content.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.04);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem; /* Drastically reduced from 1.5rem */
  letter-spacing: -0.02em;
}

.hero-script-title {
  font-family: 'Mistrully', 'Great Vibes', cursive;
  font-size: 1.1em; /* Made slightly larger so it's readable */
  color: var(--cyan);
  display: block;
  margin-bottom: -55px; /* Pulls it down aggressively to sit on TC */
  font-weight: 400;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.hero-main-title {
  display: block;
  font-size: 0.60em; /* Reduced size slightly */
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 0; /* Removed bottom margin completely */
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem; /* Reduced to pull buttons even closer to stats */
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-primary {
  background: var(--grad-main);
  color: var(--black);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.05);
}

.btn-blue {
  color: var(--cyan) !important;
  border-color: rgba(0, 240, 255, 0.3) !important;
  background: rgba(0, 240, 255, 0.05) !important;
}

.btn-blue svg {
  stroke: var(--cyan) !important;
}
/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 0; /* Removed top padding entirely */
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #00f0ff;
  -webkit-text-fill-color: #00f0ff;
}

.hero-stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #00f0ff;
  -webkit-text-fill-color: #00f0ff;
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}



/* ===================================================
   ABOUT (reuses .trusted)
   =================================================== */
.trusted {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text strong {
  color: var(--white);
  font-weight: 600;
}

/* ===================================================
   TEAM
   =================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.05);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.team-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.trusted-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.trusted-logo:hover {
  opacity: 1;
}

/* ===================================================
   SECTIONS — Shared
   =================================================== */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  background: var(--cyan-dim);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================
   SERVICES
   =================================================== */
.services {
  padding: var(--section-pad) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-spring);
}

.service-card-link:hover {
  transform: translateY(-4px);
}

.service-card-link:hover .service-card {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.12);
}


.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--cyan-dim);
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.service-card:hover .service-icon {
  background: rgba(0, 240, 255, 0.25);
  transform: scale(1.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #00f0ff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0 1.5rem;
  padding-top: 1.5rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding: 0 1.5rem;
  flex: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1.5rem;
  padding-bottom: 1.5rem;
}

.service-link:hover {
  gap: 0.6rem;
}

/* ===================================================
   FEATURES
   =================================================== */
.features {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-visual-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.pie-chart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pie-ring {
  position: relative;
  width: 100%;
  max-width: 350px; /* Reduced to make pie chart layout smaller */
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 16px; /* Thickness of pie chart ring */
  background: conic-gradient(
    transparent 0% 1%,
    var(--cyan) 1% 40%,
    transparent 40% 42%,
    var(--violet) 42% 99%,
    transparent 99% 100%
  );
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15), inset 0 0 30px rgba(139, 92, 246, 0.15);
  display: flex;
  margin: 0 auto;
}

.pie-inner-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid var(--surface) !important;
  z-index: 2;
}

.pie-label {
  position: absolute;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.pie-label--cyan {
  top: 15%;
  right: 5%;
  border-color: rgba(0, 240, 255, 0.3);
}
.pie-label--cyan .pie-number {
  color: var(--cyan);
}

.pie-label--violet {
  bottom: 15%;
  left: 5%;
  border-color: rgba(139, 92, 246, 0.3);
  animation-delay: -3s;
}
.pie-label--violet .pie-number {
  color: var(--violet);
}

.pie-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.pie-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-top: 0.2rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
  background: var(--violet-dim);
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.feature-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list svg {
  flex-shrink: 0;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials {
  padding: var(--section-pad) 0;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.testimonial-stars {
  font-size: 1.2rem;
  color: #fbbf24;
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}

.testimonial-quote {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}

.testimonial-name {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

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

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.testimonial-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ===================================================
   TEAM
   =================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 240, 255, 0.06);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--border-light);
  transition: border-color 0.4s, box-shadow 0.4s;
  position: relative;
}

.team-card:hover .team-avatar {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 0 40px rgba(0, 240, 255, 0.1);
}

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

.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.team-role {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================
   PRICING
   =================================================== */
.pricing {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--grad-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--popular {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(1.04);
}

.pricing-card--popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--grad-main);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb--1 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  opacity: 0.08;
  top: -20%;
  left: 20%;
  animation: float 10s ease-in-out infinite;
}

.cta-orb--2 {
  width: 350px;
  height: 350px;
  background: var(--violet);
  opacity: 0.06;
  bottom: -20%;
  right: 15%;
  animation: float 10s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 650px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-form {
  max-width: 500px;
  margin: 0 auto;
}

.cta-input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cta-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.cta-submit {
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -30px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.5); opacity: 0.4; }
}

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

/* ===================================================
   RESPONSIVE — Tablet
   =================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card--popular {
    transform: none;
  }

  .pricing-card--popular:hover {
    transform: translateY(-4px);
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

/* ===================================================
   RESPONSIVE — Mobile
   =================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 1000;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: var(--white);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

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

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

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-input-group {
    flex-direction: column;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ===================================================
   FLOATING MASCOT & CHATBOT
   =================================================== */

/* ---------- Mascot Button ---------- */
.mascot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s ease-out;
}

.mascot-wrapper.minimized {
  transform: translateY(160px) scale(0.4);
  opacity: 0;
  pointer-events: none;
}

.mascot-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}

.mascot-container:hover {
  transform: scale(1.05) translateY(-5px);
}

.mascot-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.mascot-close:hover {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
  transform: scale(1.1);
}

.mascot-speech-bubble {
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-bottom: 20px;
  animation: float-speech 3s ease-in-out infinite;
  white-space: nowrap;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

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

.mascot-img-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

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

.mascot-pulse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  background: #06d6a0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: pulse-ring 2s ease infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(6, 214, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0); }
}

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed;
  bottom: 120px;
  right: 28px;
  z-index: 9991;
  width: 370px;
  max-height: 520px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease-spring);
}

.chat-widget.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a73e8, #00b4d8);
  color: #ffffff;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 2px;
}

.chat-header-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.chat-header-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chat-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Chat Body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  max-height: 340px;
  background: #f8f9fa;
}

/* Chat Messages */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msg-pop 0.3s var(--ease-spring);
}

@keyframes msg-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg.bot {
  background: #ffffff;
  color: #333333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chat-msg.user {
  background: linear-gradient(135deg, #1a73e8, #00b4d8);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  align-self: flex-start;
}

.chat-typing span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  animation: typing-bounce 1.2s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-6px); }
}

/* Visitor Type Options */
.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: msg-pop 0.3s var(--ease-spring);
}

.chat-option-btn {
  padding: 8px 16px;
  border: 2px solid #1a73e8;
  background: #ffffff;
  color: #1a73e8;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-option-btn:hover {
  background: #1a73e8;
  color: #ffffff;
}

/* WhatsApp Link */
.chat-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
  margin-top: 6px;
  animation: msg-pop 0.3s var(--ease-spring);
}

.chat-wa-link:hover {
  background: #1da851;
}

/* Chat Input Area */
.chat-input-area {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #e9ecef;
  background: #ffffff;
  gap: 8px;
}

.chat-input {
  flex: 1;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  color: #333;
}

.chat-input:focus {
  border-color: #1a73e8;
}

.chat-send {
  width: 38px;
  height: 38px;
  border: none;
  background: linear-gradient(135deg, #1a73e8, #00b4d8);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.08);
}

/* Hide input area during option selection */
.chat-input-area.hidden {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .chat-widget {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 110px;
    max-height: 70vh;
  }

  .mascot-container {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .mascot-img-wrapper {
    width: 100px;
  }

  .mascot-speech-bubble {
    font-size: 0.85rem;
    padding: 8px 12px;
    margin-bottom: 15px;
  }
}
