/* ProfessorHub — custom styles beyond Tailwind */

:root {
  --lime: #c1ff00;
  --lime-dim: rgba(193, 255, 0, 0.12);
  --lime-glow: rgba(193, 255, 0, 0.35);
  --surface: #0d0d0d;
  --surface-2: #141414;
  --border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.font-display {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

/* Lime glow utilities */
.glow-lime {
  box-shadow: 0 0 24px var(--lime-glow), 0 0 60px rgba(193, 255, 0, 0.12);
}

.glow-lime-soft {
  box-shadow: 0 0 40px rgba(193, 255, 0, 0.18);
}

.border-lime-glow {
  border: 1.5px solid var(--lime);
  box-shadow: 0 0 20px var(--lime-glow), inset 0 0 20px rgba(193, 255, 0, 0.04);
}

.text-lime {
  color: var(--lime);
}

.bg-lime {
  background-color: var(--lime);
}

.border-lime {
  border-color: var(--lime);
}

/* Hero ambient glow behind dashboard */
.hero-glow {
  background: radial-gradient(
    ellipse 70% 55% at 50% 60%,
    rgba(193, 255, 0, 0.18) 0%,
    rgba(193, 255, 0, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Glass cards */
.glass {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-lime {
  background: rgba(12, 14, 8, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(193, 255, 0, 0.35);
  box-shadow: 0 0 18px rgba(193, 255, 0, 0.15);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: #000;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px var(--lime-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--lime);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--lime);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: var(--lime-dim);
  transform: translateY(-2px);
}

/* Nav */
.nav-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Floating chips animation */
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-1 {
  animation: float-y 4s ease-in-out infinite;
}

.float-2 {
  animation: float-y 5s ease-in-out infinite 0.6s;
}

.float-3 {
  animation: float-y 4.5s ease-in-out infinite 1.2s;
}

.float-4 {
  animation: float-y 5.5s ease-in-out infinite 0.3s;
}

/* Dashboard mini chart line */
.chart-line {
  stroke: var(--lime);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-fill {
  fill: url(#chartGrad);
}

/* FAQ accordion */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--lime);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

/* Testimonial track */
.t-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-dot.active {
  background: var(--lime);
  width: 1.5rem;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 420px;
}

/* Step connector line */
.step-line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(193, 255, 0, 0.4),
    transparent
  );
}

/* Pricing popular badge */
.popular-badge {
  background: var(--lime);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

/* Subtle grid bg */
.bg-grid {
  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: 48px 48px;
}

/* Hand underline for green words */
.underline-lime {
  position: relative;
  display: inline-block;
}

.underline-lime::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  opacity: 0.85;
  transform: skewX(-8deg);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Avatars */
.avatar-stack img,
.avatar-stack span {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 2px solid #000;
  margin-left: -0.6rem;
}

.avatar-stack > *:first-child {
  margin-left: 0;
}

/* Dashboard mock scrollbar-free */
.dash-scroll {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .float-chip {
    display: none;
  }
}

/* —— Real icons (Lucide) —— */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { font-size: 1rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }
.icon-2xl { font-size: 2.75rem; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(193, 255, 0, 0.06);
  border: 1.5px solid rgba(193, 255, 0, 0.45);
  color: var(--lime);
  margin-bottom: 1rem;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  flex-shrink: 0;
}

.icon-box.icon-box-sm {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0;
  border-radius: 0.5rem;
}

.icon-box.icon-box-sm svg {
  width: 14px;
  height: 14px;
}

/* Create → Market → Sell → Scale flow */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
}

.process-card {
  flex: 1 1 200px;
  max-width: 260px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  border-color: rgba(193, 255, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(193, 255, 0, 0.08);
}

.process-card h3 {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin: 0;
}

.process-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.process-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  opacity: 0.7;
  flex-shrink: 0;
  align-self: center;
}

@media (min-width: 1024px) {
  .process-flow {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .process-card {
    max-width: none;
  }

  .process-arrow {
    display: flex;
  }
}

/* Stats cards — polished like prototype */
.stat-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.35rem 1rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(193, 255, 0, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.stat-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  stroke-width: 1.6;
}

.stat-icon.users { color: #a1a1aa; }
.stat-icon.package { color: #c4a574; }
.stat-icon.building { color: #7dd3fc; }
.stat-icon.trophy { color: #fbbf24; }
.stat-icon.gem { color: #93c5fd; }

/* Features bento grid */
.features-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-bento {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .feature-flagship {
    grid-row: span 2;
  }

  .feature-wallet {
    grid-column: 1 / -1;
  }
}

.features-bento > .feature-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.features-bento > .feature-card:hover {
  border-color: rgba(193, 255, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(193, 255, 0, 0.08);
}

.features-bento > .feature-card h3 {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin: 0;
}

.features-bento > .feature-card > p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.feature-flagship {
  border-color: rgba(193, 255, 0, 0.35) !important;
  box-shadow: 0 0 40px rgba(193, 255, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 1.75rem 1.6rem !important;
}

.feature-flagship h3 {
  font-size: 1.5rem !important;
  margin-top: 0.25rem !important;
}

.feature-flagship > div > p:last-child {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.feature-label {
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.feature-visual {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.feature-visual-box {
  width: 7rem;
  height: 7rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  background: linear-gradient(180deg, rgba(193, 255, 0, 0.22) 0%, rgba(193, 255, 0, 0.04) 100%);
  border: 1.5px solid rgba(193, 255, 0, 0.45);
  box-shadow: 0 0 40px rgba(193, 255, 0, 0.28);
}

.feature-visual-box svg {
  width: 48px;
  height: 48px;
  display: block;
}

.wallet-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.wallet-inner .icon-box {
  flex-shrink: 0;
}

.wallet-inner h3 {
  margin: 0;
}

.wallet-inner p {
  margin: 0.35rem 0 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--lime);
  background: #000;
  color: var(--lime);
  position: relative;
  z-index: 10;
}

.icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

.check-icon {
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-logo-mark {
  background: linear-gradient(145deg, rgba(193, 255, 0, 0.2), rgba(193, 255, 0, 0.05));
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dash-nav-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.dash-nav-item.active {
  background: rgba(193, 255, 0, 0.1);
  color: var(--lime);
  border: 1px solid rgba(193, 255, 0, 0.3);
  font-weight: 500;
}

.dash-nav-item.active svg {
  opacity: 1;
  color: var(--lime);
}

.heart-icon {
  color: var(--lime);
  fill: var(--lime);
  vertical-align: -2px;
}

[data-lucide],
svg.lucide {
  flex-shrink: 0;
}

/* —— Dashboard showcase —— */
.dash-showcase {
  position: relative;
}

.dash-frame {
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border: 1px solid rgba(193, 255, 0, 0.28);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(193, 255, 0, 0.08),
    0 0 48px rgba(193, 255, 0, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

@media (min-width: 1024px) {
  .dash-frame {
    flex-direction: row;
    min-height: 560px;
    border-radius: 1.5rem;
  }
}

.dash-side {
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .dash-side {
    width: 11.5rem;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0.85rem;
  }
}

.dash-side-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.75rem 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.dash-nav {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .dash-nav {
    flex-direction: column;
    overflow: visible;
  }
}

.dash-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.dash-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.dash-nav-link.is-active {
  background: rgba(193, 255, 0, 0.12);
  color: var(--lime);
  font-weight: 600;
  border: 1px solid rgba(193, 255, 0, 0.25);
}

.dash-side-foot {
  display: none;
  margin-top: auto;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(193, 255, 0, 0.06);
  border: 1px solid rgba(193, 255, 0, 0.15);
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .dash-side-foot {
    display: block;
  }
}

.dash-main {
  flex: 1;
  padding: 1rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .dash-main {
    padding: 1.25rem 1.35rem;
  }
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 0, 0, 0.35);
}

.dash-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(193, 255, 0, 0.35);
}

.dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 900px) {
  .dash-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dash-kpi {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 0.85rem 0.9rem;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.dash-kpi:hover {
  border-color: rgba(193, 255, 0, 0.3);
  transform: translateY(-2px);
}

.dash-kpi-wallet {
  border-color: rgba(193, 255, 0, 0.3);
  background: rgba(193, 255, 0, 0.06);
}

.dash-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
}

.dash-spark {
  width: 40px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.dash-kpi-value {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .dash-kpi-value {
    font-size: 1.35rem;
  }
}

.dash-kpi-up {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  color: var(--lime);
  font-weight: 600;
}

.dash-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .dash-charts {
    grid-template-columns: 1.7fr 1fr;
  }
}

.dash-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  text-align: left;
}

.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}

.dash-chart-wrap {
  position: relative;
}

.dash-area-chart {
  width: 100%;
  height: 120px;
  display: block;
}

.dash-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}

.dash-donut-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dash-donut {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0.25rem auto;
}

.dash-donut-svg {
  width: 100%;
  height: 100%;
}

.dash-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.dash-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  margin-top: 0.65rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
}

.dash-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.dash-legend i {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  display: inline-block;
}

.dash-lists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .dash-lists {
    grid-template-columns: 1fr 1fr;
  }
}

.dash-product-list,
.dash-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dash-product-list li,
.dash-order-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: space-between;
}

.dash-thumb {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.dash-prod-info,
.dash-order-list li > span:first-child {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dash-prod-info strong,
.dash-order-list strong {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.dash-prod-info small,
.dash-order-list small {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.1rem;
}

.dash-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.dash-badge.done {
  color: var(--lime);
  background: rgba(193, 255, 0, 0.12);
}

.dash-badge.pending {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

/* ============================================
   FULL MOBILE / TABLET / DESKTOP RESPONSIVE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Nav — compact on small phones */
@media (max-width: 380px) {
  #mainNav .btn-primary {
    padding: 0.55rem 0.7rem;
    font-size: 0.75rem;
  }

  #mainNav a.flex span .font-display {
    font-size: 0.9rem;
  }
}

/* Hero typography */
@media (max-width: 640px) {
  #home h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  #home h1 br {
    display: none;
  }

  #home .btn-primary,
  #home .btn-outline {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}

/* Hero dashboard mock — no overflow */
.hero-mock-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 639px) {
  .hero-mock-wrap .dash-scroll {
    border-radius: 1rem;
  }

  .hero-mock-wrap .min-h-\[280px\] {
    min-height: auto;
  }
}

/* Process cards full width on mobile */
@media (max-width: 639px) {
  .process-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .process-card {
    max-width: none;
    width: 100%;
    flex: none;
  }

  .process-arrow {
    display: flex;
    transform: rotate(90deg);
    padding: 0.15rem 0;
  }
}

/* Features — single column clean stack */
@media (max-width: 767px) {
  .feature-flagship {
    min-height: auto;
  }

  .feature-visual {
    margin-top: 1.5rem;
  }

  .feature-visual-box {
    width: 5.5rem;
    height: 5.5rem;
  }

  .feature-visual-box svg {
    width: 36px;
    height: 36px;
  }

  .wallet-inner {
    flex-direction: row;
  }
}

/* How it works — 2 cols mobile, avoid orphan stretch look */
.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 0.75rem;
}

.how-steps .how-step:last-child {
  grid-column: 1 / -1;
  max-width: 10rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .how-steps .how-step:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}

.how-steps .icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.65rem;
}

@media (min-width: 640px) {
  .how-steps .icon-circle {
    width: 4rem;
    height: 4rem;
  }
}

/* Dashboard showcase — touch scroll nav */
@media (max-width: 1023px) {
  .dash-nav {
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .dash-nav::-webkit-scrollbar {
    display: none;
  }

  .dash-kpi-value {
    font-size: 1.05rem;
  }

  .dash-area-chart {
    height: 100px;
  }

  .dash-pill span,
  .dash-pill {
    font-size: 0.65rem;
  }
}

@media (max-width: 380px) {
  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .dash-main {
    padding: 0.75rem;
  }

  .dash-topbar .dash-pill {
    display: none;
  }
}

/* Pricing — no overflow from scale */
@media (max-width: 767px) {
  .pricing-popular {
    transform: none !important;
    margin-top: 0.5rem;
  }

  .pricing-grid {
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .pricing-popular {
    transform: scale(1.02);
  }
}

/* Testimonials */
@media (max-width: 639px) {
  .t-track .min-w-full {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Final CTA */
@media (max-width: 639px) {
  .final-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .final-cta-proof {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

/* Footer */
@media (max-width: 639px) {
  footer .grid {
    gap: 1.5rem 1rem;
  }

  footer .col-span-2 {
    grid-column: span 2;
  }
}

/* FAQ buttons — touch friendly */
.faq-btn {
  min-height: 3.25rem;
  gap: 0.75rem;
}

.faq-btn .faq-icon {
  flex-shrink: 0;
}

/* Prevent hover lift on touch causing layout jump */
@media (hover: none) {
  .btn-primary:hover,
  .process-card:hover,
  .feature-card:hover,
  .stat-card:hover,
  .dash-kpi:hover,
  .features-bento > .feature-card:hover {
    transform: none;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  #mainNav {
    padding-top: env(safe-area-inset-top);
  }
}

/* Tablet tweaks */
@media (min-width: 641px) and (max-width: 1023px) {
  .process-card {
    max-width: none;
  }

  .dash-showcase {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mobile menu open state polish */
.mobile-menu.open {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.menu-open {
  overflow: hidden;
}
