:root {
  --pri: #6F30C6;
  --pri-light: #8B4FD8;
  --pri-deep: #4A1A9A;
  --pri-glow: rgba(111, 48, 198, 0.3);
  --pri-ultra: rgba(111, 48, 198, 0.08);
  --acc: #B06FFF;
  --acc2: #3A8EFF;
  --white: #ffffff;
  --off: #F8F5FF;
  --surface: #F2EDFF;
  --text: #0D0618;
  --muted: #6B6478;
  --light-border: rgba(111, 48, 198, 0.15);
  --grad: linear-gradient(135deg, var(--pri), var(--acc));
}

.theme-icon {
  width: 24px;
  height: 24px;
  stroke: var(--pri);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.theme-icon.grad {
  stroke: url(#icon-grad);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.nav-brand {
  font-family: 'Poppins', sans-serif;
}

/* ── CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-border);
  transition: all 0.3s;
}

nav.scrolled {
  padding: 12px 60px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 30px rgba(111, 48, 198, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pri);
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--pri);
}

.nav-cta {
  background: var(--pri);
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--pri-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--pri-glow);
  color: white !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 100px;
  overflow: hidden;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--light-border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pri);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}

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

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: clamp(3.2rem, 6.5vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 950px;
  animation: fadeSlideDown 0.9s 0.1s ease both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--pri) 0%, var(--acc) 50%, var(--acc2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin: 28px auto 0;
  font-weight: 400;
  animation: fadeSlideDown 1s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  animation: fadeSlideDown 1s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pri);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px var(--pri-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  border-radius: inherit;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--pri-glow);
  background: var(--pri-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--pri);
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--light-border);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  border-color: var(--pri);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--pri-glow);
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  position: relative;
  margin-top: 80px;
  animation: fadeSlideUp 1.1s 0.4s ease both;
}

.phone-wrapper {
  position: relative;
  display: inline-flex;
  gap: 24px;
  align-items: flex-end;
}

.phone {
  width: 220px;
  height: 440px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1A0A35 0%, #2D1260 100%);
  border: 2px solid rgba(111, 48, 198, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(111, 48, 198, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}

.phone.secondary {
  width: 180px;
  height: 360px;
  animation-delay: -2s;
  animation-duration: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0D0618;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 50px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
}

.phone-card-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}

.phone-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  margin: 6px 0;
}

.wave-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--pri);
  animation: wavebar 1.4s ease-in-out infinite;
}

@keyframes wavebar {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.6;
  }

  50% {
    transform: scaleY(2.5);
    opacity: 1;
  }
}

.phone-tag {
  display: inline-block;
  background: var(--pri-glow);
  border: 1px solid rgba(111, 48, 198, 0.3);
  color: var(--acc);
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
}

.phone-highlight-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
  margin: 4px 0;
}

.phone-highlight-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pri), var(--acc));
  border-radius: 3px;
  animation: fillbar 3s ease-in-out infinite alternate;
}

@keyframes fillbar {
  from {
    width: 30%;
  }

  to {
    width: 80%;
  }
}

.phone-progress-text {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Poppins', sans-serif;
}

.phone-reel-thumb {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, rgba(111, 48, 198, 0.4), rgba(58, 142, 255, 0.3));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.reel-play-btn {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reel-play-btn::after {
  content: '';
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent var(--pri);
  margin-left: 2px;
}

.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 60px;
  background: var(--pri);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.4;
}

/* FLOATING BADGES */
.float-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(111, 48, 198, 0.2), 0 0 0 1px var(--light-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.float-badge .badge-icon {
  font-size: 1rem;
}

.fb1 {
  top: 40px;
  left: -140px;
  animation-delay: -1s;
}

.fb2 {
  top: 60px;
  right: -130px;
  animation-delay: -2s;
}

.fb3 {
  bottom: 80px;
  left: -120px;
  animation-delay: -0.5s;
}

.fb4 {
  bottom: 60px;
  right: -140px;
  animation-delay: -3s;
}

/* ── STATS BAR ── */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--pri);
  padding: 40px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ── SECTION BASE ── */
section {
  position: relative;
  z-index: 1;
}

.section-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-chip {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--light-border);
  color: var(--pri);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

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

/* ── HOW IT WORKS ── */
.how-section {
  padding: 120px 0;
  background: var(--off);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 0;
  position: relative;
}

/* Connecting line removed */

.step-item {
  text-align: center;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.step-item.visible {
  opacity: 1;
  transform: none;
}

.step-icon-wrap {
  width: 112px;
  height: 112px;
  background: white;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  border: 1px solid var(--light-border);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 25px -5px rgba(111, 48, 198, 0.1),
    0 20px 48px rgba(111, 48, 198, 0.05);
  font-size: 2.2rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.step-icon-wrap:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 24px 60px rgba(111, 48, 198, 0.15);
}

.step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background: var(--pri);
  color: white;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FEATURES ── */
.features-section {
  padding: 120px 0;
}

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

.feature-card {
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.feature-card.visible {
  opacity: 1;
  transform: none;
}

/* Feature card top bar removed */

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(111, 48, 198, 0.15);
  border-color: rgba(111, 48, 198, 0.3);
}

/* Hover bar animation removed */

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid var(--light-border);
}

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Featured large card */
.feature-card.large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--pri) 0%, var(--pri-deep) 100%);
  color: white;
  border-color: transparent;
}

.feature-card.large .feature-title {
  color: white;
}

.feature-card.large .feature-desc {
  color: rgba(255, 255, 255, 0.75);
}

.feature-card.large .feature-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

.large-card-visual {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.transcript-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  animation: shimmer 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 0.9;
  }
}

.t-line.highlight {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), var(--acc));
}

/* ── TECH STACK ── */
.tech-section {
  padding: 80px 0;
  background: var(--off);
}

.tech-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 100px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-pill:hover {
  border-color: var(--pri);
  color: var(--pri);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px var(--pri-glow);
}

.tech-pill:hover .tech-logo {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.15);
}

/* ── COMPARISON ── */
.compare-section {
  padding: 120px 0;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--light-border);
  box-shadow: 0 20px 60px rgba(111, 48, 198, 0.08);
}

/* Ensure corners remain rounded without overflow:hidden */
.compare-table thead tr:first-child th:first-child {
  border-top-left-radius: 24px;
}

.compare-table thead tr:first-child th:last-child {
  border-top-right-radius: 24px;
}

.compare-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 24px;
}

.compare-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 24px;
}

.compare-table th {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 24px 28px;
  text-align: center;
}

.compare-table td {
  padding: 18px 28px;
  text-align: center;
  border-top: 1px solid var(--light-border);
  font-size: 0.9rem;
  color: var(--muted);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.compare-table thead {
  background: var(--surface);
}

.compare-table thead th:nth-child(2) {
  background: var(--pri);
  color: white;
  position: relative;
}

.compare-table thead th:nth-child(2)::after {
  content: '✦ Best';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acc);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(176, 111, 255, 0.3);
}

.compare-table tbody tr:nth-child(2) td:nth-child(2) {
  background: rgba(111, 48, 198, 0.04);
}

.check {
  color: var(--pri);
  font-size: 1.2rem;
}

.cross {
  color: var(--muted);
  opacity: 0.5;
  font-size: 1.1rem;
}

.partial {
  color: var(--acc);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── DOWNLOAD ── */
.download-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--pri) 0%, #3A1880 100%);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176, 111, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.download-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 142, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.download-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.download-inner .section-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.download-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 16px 0 20px;
}

.download-sub {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.apk-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--pri);
  padding: 18px 40px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.apk-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.apk-btn-icon {
  font-size: 1.3rem;
}

.apk-btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.apk-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Poppins', sans-serif;
}

/* ── TEAM ── */
.team-section {
  padding: 120px 0;
  background: var(--off);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.team-card {
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(24px);
}

.team-card.visible {
  opacity: 1;
  transform: none;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(111, 48, 198, 0.15);
  border-color: rgba(111, 48, 198, 0.3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--pri), var(--acc));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  border: 3px solid white;
  box-shadow: 0 4px 20px var(--pri-glow);
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-id {
  font-size: 0.82rem;
  color: var(--pri);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* SUPERVISOR CARD */
.supervisor-wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.supervisor-card {
  background: linear-gradient(135deg, var(--pri), var(--pri-deep));
  border-radius: 24px;
  padding: 32px 48px;
  text-align: center;
  color: white;
  min-width: 240px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s 0.3s;
}

.supervisor-card.visible {
  opacity: 1;
  transform: none;
}

.supervisor-card .team-avatar {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.supervisor-card .team-name {
  color: white;
}

.supervisor-card .team-id {
  color: rgba(255, 255, 255, 0.7);
}

.supervisor-card .team-role {
  color: rgba(255, 255, 255, 0.6);
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-copy {
  font-size: 0.85rem;
  text-align: center;
}

.footer-nuces {
  font-size: 0.82rem;
  text-align: right;
}

/* ── ANIMATIONS ── */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── PURPLE ORB BG ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(111, 48, 198, 0.12), transparent 70%);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 142, 255, 0.1), transparent 70%);
  top: 200px;
  right: -100px;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176, 111, 255, 0.08), transparent 70%);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first, progressive enhancement
   Breakpoints: 480 / 640 / 768 / 900 / 1024 / 1160
   ══════════════════════════════════════════════════════════ */

/* ── HAMBURGER MENU TOGGLE ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.2s;
  z-index: 200;
}

.menu-toggle:hover {
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}

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

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

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

/* ── MOBILE NAV DRAWER ── */
@media (max-width: 900px) {
  nav {
    padding: 14px 20px;
  }

  nav.scrolled {
    padding: 10px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 100px 32px 48px;
    box-shadow: -20px 0 60px rgba(111, 48, 198, 0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    border-left: 1px solid var(--light-border);
    list-style: none;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--light-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 24px;
  }

  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 1.05rem;
    color: var(--text);
  }

  .nav-links a:hover {
    color: var(--pri);
  }

  .nav-cta {
    display: block !important;
    text-align: center;
    padding: 14px 24px !important;
    border-radius: 14px !important;
  }

  /* Overlay behind drawer */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 6, 24, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
}

/* ── HERO ── */
@media (max-width: 900px) {
  .hero {
    padding: 110px 20px 70px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 7px 16px;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 36px;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.92rem;
  }
}

/* ── PHONE MOCKUP (hero) ── */
@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .phone {
    width: 160px;
    height: 320px;
    border-radius: 26px;
  }

  /* Hide badges on very small screens to avoid overlap */
  .fb1,
  .fb2 {
    display: none;
  }

  .fb3 {
    bottom: 36px;
    left: -10px;
    font-size: 0.58rem;
    padding: 6px 10px;
  }

  .fb4 {
    bottom: 26px;
    right: -10px;
    font-size: 0.58rem;
    padding: 6px 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ── STATS BAR ── */
@media (max-width: 900px) {
  .stats-bar {
    padding: 32px 24px;
    gap: 32px 48px;
    justify-content: center;
  }

  .stat-num {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
    padding: 28px 16px;
  }

  .stat-item {
    padding: 0 12px;
  }

  .stat-num {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }
}

/* ── SECTION SPACING ── */
@media (max-width: 900px) {
  .section-wrap {
    padding: 0 20px;
  }

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

  .section-desc {
    font-size: 0.95rem;
  }

  .how-section,
  .features-section,
  .compare-section,
  .team-section,
  .demo-section {
    padding: 80px 0;
  }

  .tech-section {
    padding: 60px 0;
  }

  .download-section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .section-wrap {
    padding: 0 16px;
  }

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

  .how-section,
  .features-section,
  .compare-section,
  .team-section,
  .demo-section {
    padding: 64px 0;
  }
}

/* ── HOW IT WORKS ── */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 24px;
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
    margin: 0 auto;
  }

  .step-item {
    padding: 0 16px;
  }

  .step-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 24px;
  }
}

/* ── FEATURES GRID ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .feature-card.large {
    grid-column: span 2;
  }

  .feature-card {
    padding: 28px;
  }
}

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

  .feature-card.large {
    grid-column: span 1;
  }

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

/* ── LIVE DEMO ── */
@media (max-width: 992px) {
  .demo-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    max-width: 560px;
    margin: 0 auto;
  }

  .demo-features li {
    justify-content: center;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 230px;
    height: 470px;
    border-radius: 36px;
  }
}

/* ── TECH STACK ── */
@media (max-width: 640px) {
  .tech-strip {
    gap: 10px;
  }

  .tech-pill {
    padding: 10px 20px;
    font-size: 0.78rem;
  }

  .tech-logo {
    height: 24px;
  }
}

/* ── COMPARISON TABLE ── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
  padding-top: 15px;
  /* Room for 'Best' badge */
  scrollbar-width: thin;
  scrollbar-color: var(--pri-glow) transparent;
}

.table-responsive::-webkit-scrollbar {
  height: 4px;
}

.table-responsive::-webkit-scrollbar-track {
  background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--pri-glow);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .compare-table {
    min-width: 540px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .compare-table {
    min-width: 480px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 12px;
    font-size: 0.75rem;
  }

  /* Scroll hint label */
  .table-responsive::before {
    content: '← Scroll to see more →';
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
}

/* ── DOWNLOAD SECTION ── */
@media (max-width: 640px) {
  .download-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .apk-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 16px 28px;
  }

  .download-sub {
    font-size: 0.95rem;
  }

  .version-badge {
    font-size: 0.75rem;
    padding: 7px 16px;
  }
}

@media (max-width: 400px) {
  .apk-btn {
    max-width: 100%;
  }
}

/* ── TEAM GRID ── */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .team-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .team-card {
    padding: 24px;
    border-radius: 18px;
  }

  .team-avatar {
    width: 68px;
    height: 68px;
    font-size: 1.3rem;
  }
}

/* ── SUPERVISOR CARD ── */
@media (max-width: 640px) {
  .supervisor-card {
    padding: 28px 32px;
  }
}

/* ── FOOTER ── */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 0 20px;
  }

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

  footer {
    padding: 48px 0 32px;
  }
}

/* ── ORB SCALING ── */
@media (max-width: 768px) {
  .orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
  }

  .orb-2 {
    width: 200px;
    height: 200px;
  }

  .orb-3 {
    width: 250px;
    height: 250px;
  }
}

/* ── TOUCH — remove hover effects on mobile ── */
@media (hover: none) {

  .feature-card:hover,
  .team-card:hover,
  .step-icon-wrap:hover,
  .tech-pill:hover {
    transform: none;
    box-shadow: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .nav-cta:hover {
    transform: none;
  }
}

/* ── LIVE DEMO ── */
.demo-section {
  padding: 120px 0;
  background: white;
  overflow: hidden;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.demo-features {
  list-style: none;
  margin-top: 32px;
  padding: 0;
}

.demo-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.demo-features .dot {
  width: 10px;
  height: 10px;
  background: var(--pri);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--pri-glow);
}

.demo-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.emulator-wrapper {
  position: relative;
  z-index: 1;
}

.phone-frame {
  width: 300px;
  height: 610px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 6px;
  box-shadow:
    0 50px 100px -20px rgba(111, 48, 198, 0.15),
    0 30px 60px -30px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px #444,
    inset 0 0 0 4px #111;
  border: 1px solid #333;
  position: relative;
}

/* Dummy Hole-punch Camera */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #000;
  border-radius: 50%;
  z-index: 100;
  border: 1px solid #111;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}



/* Pixel-style Buttons (All on Right Side) */
.phone-frame::after {
  content: '';
  position: absolute;
  top: 90px;
  right: -3px;
  width: 3px;
  height: 40px;
  /* Power Button */
  background: #444;
  border-radius: 0 4px 4px 0;
  box-shadow:
    0 65px 0 0 #444,
    /* Volume Up rocker start */
    0 100px 0 0 #444;
  /* Volume Down rocker start */
}

.phone-case {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  border: 1px solid #000;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #050505;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.demo-video-inner {
  position: absolute;
  top: -22px;
  /* Crops the native status bar from the video */
  left: -4%;
  /* Scales horizontally for a tighter fit */
  width: 108%;
  height: calc(100% + 35px);
  object-fit: cover;
  z-index: 5;
}

.emulator-splash {
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #050505;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background (Subtle for Light Theme) */
.emulator-splash::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(111, 48, 198, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(176, 111, 255, 0.05) 0%, transparent 40%);
  animation: splashMesh 25s linear infinite;
  z-index: 0;
}

@keyframes splashMesh {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.splash-logo {
  width: 110px;
  height: 85px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(111, 48, 198, 0.2));
  animation: splashPulse 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes splashPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(111, 48, 198, 0.3));
  }
}

.splash-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  /* Dark text for light background */
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.play-demo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pri);
  color: white !important;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 30px var(--pri-glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Shimmer Animation */
.play-demo-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(35deg);
  animation: btnShimmer 4s infinite;
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.play-demo-btn:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 15px 40px var(--pri-glow);
  background: var(--pri-deep);
}

.splash-note {
  margin-top: 24px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  /* Better visibility on light background */
  font-family: 'DM Sans', sans-serif;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.emulator-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(111, 48, 198, 0.08) 0%, transparent 70%);
  z-index: -1;
}

/* Responsive */
@media (max-width: 992px) {
  .demo-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 64px;
    max-width: 600px;
    margin: 0 auto;
  }

  .demo-features li {
    justify-content: center;
  }

  .phone-frame {
    width: 280px;
    height: 580px;
  }
}