:root {
  --ink: #14171F;
  --ink-soft: #565B6B;
  --paper: #FBFAF7;
  --paper-alt: #F1EFE7;
  --line: #E4E1D6;
  --orange: #EE6C2F;
  --orange-soft: #FDE7DA;
  --yellow: #F0AE2A;
  --yellow-soft: #FCEDCB;
  --green: #1B9E6B;
  --green-soft: #DCF3E7;
  --blue: #2E68E8;
  --blue-soft: #DEE7FD;
  --purple: #7B48D9;
  --purple-soft: #EBE1FA;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 23, 31, 0.04), 0 12px 32px -16px rgba(20, 23, 31, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display {
  font-family: 'Baloo 2', cursive, sans-serif;
}

.mono,
code,
pre,
.breadcrumb,
.badge,
.kicker {
  font-family: 'JetBrains Mono', monospace;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

::selection {
  background: var(--orange);
  color: #fff;
}

/* Animations & Reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ---------- NAVIGATION ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  font-family: 'Baloo 2', sans-serif;
  transition: color .2s ease;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

/* Dropdown Menu with Chevron */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 6px 0;
  transition: color .2s ease;
}

.dropdown-toggle:hover {
  color: var(--orange);
}

.dropdown-toggle .chevron {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
}

.nav-dropdown:hover .dropdown-toggle .chevron,
.nav-dropdown.active .dropdown-toggle .chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 40px -15px rgba(20, 23, 31, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 120;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.dropdown-item:hover {
  background: var(--paper-alt);
  color: var(--orange);
}

.dropdown-item .item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-signup {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-signup:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 6px 16px -4px rgba(238, 108, 47, 0.5);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
  background: #D85B1F;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(238, 108, 47, 0.65);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}

/* ---------- HERO SECTION ---------- */
.hero {
  padding: 88px 0 60px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}

.hero p.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px -10px rgba(238, 108, 47, 0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(238, 108, 47, 0.7);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s ease, transform .2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .2s ease;
}

.btn-ghost:hover {
  color: var(--orange);
}

.hero-trust {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-trust strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
  line-height: 1;
}

/* HERO ORBIT ILLUSTRATION */
.orbit-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}

.ring1 {
  width: 280px;
  height: 280px;
}

.ring2 {
  width: 390px;
  height: 390px;
}

.orbit-center {
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(20, 23, 31, 0.25);
  z-index: 2;
}

.tile {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floatTile 6s ease-in-out infinite;
}

.tile .ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile .t {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.tile .s {
  font-size: 11px;
  color: var(--ink-soft);
}

.t1 {
  top: 12%;
  left: 4%;
}

.t2 {
  top: 8%;
  right: 4%;
  animation-delay: -1.5s;
}

.t3 {
  bottom: 12%;
  left: 6%;
  animation-delay: -3s;
}

.t4 {
  bottom: 8%;
  right: 6%;
  animation-delay: -4.5s;
}

@keyframes floatTile {

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

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

/* ---------- MARQUEE STRIP ---------- */
.strip {
  overflow: hidden;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  white-space: nowrap;
}

.strip-track {
  display: inline-flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
  animation: marquee 30s linear infinite;
}

.strip-track span b {
  color: var(--ink);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- CLIENT LOGOS SECTION ---------- */
.clients-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.clients-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.88;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color .2s ease, transform .2s ease;
}

.client-logo-item:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

.client-logo-item .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ---------- SECTIONS & HEADINGS ---------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--paper-alt);
}

.head {
  max-width: 640px;
  margin-bottom: 48px;
}

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.head h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-top: 14px;
}

/* ---------- PROBLEM / CHAOS GRID ---------- */
.chaos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.chaos-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.chaos-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.chaos-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.chaos-card h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.chaos-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- MODULES GRID & CARDS ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c, var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.mcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.mcard:hover::before {
  transform: scaleX(1);
}

.mcard .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--bg, var(--orange-soft));
  color: var(--c, var(--orange));
}

.mcard h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mcard p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mcard .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c, var(--orange));
  margin-top: 18px;
}

/* ---------- APP SHOWCASE SECTION ---------- */
.app-showcase-section {
  background: linear-gradient(135deg, #14171F 0%, #1E2330 100%);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.app-showcase-content h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.app-showcase-content p {
  color: #B9BCC6;
  font-size: 16.5px;
  margin-bottom: 32px;
}

.store-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 14px;
  transition: transform .2s ease, background .2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
  border-color: var(--orange);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-btn-text {
  text-align: left;
}

.store-btn-text .sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  font-family: 'JetBrains Mono', monospace;
}

.store-btn-text .main {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.app-screens-carousel {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.app-phone-card {
  width: 240px;
  background: #252A38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  animation: floatPhone 5s ease-in-out infinite;
}

.app-phone-card.card-2 {
  margin-top: 40px;
  animation-delay: -2.5s;
}

@keyframes floatPhone {

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

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

.app-screen-inner {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  color: var(--ink);
}

.app-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

/* ---------- ROLES SECTION ---------- */
.roles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.role-pill .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- DASHBOARD SHOWCASE ---------- */
.showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.showcase p {
  color: var(--ink-soft);
  font-size: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.stat-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.stat-box .n {
  font-family: 'Baloo 2', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.stat-box .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.mock-window {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.3);
}

.mock-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mock-kpi {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.mock-kpi .l {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.mock-kpi .v {
  font-size: 16px;
  font-weight: 800;
  font-family: 'Baloo 2';
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
}

.mock-bars i {
  flex: 1;
  border-radius: 4px;
}

/* ---------- 4-STEP ADMISSIONS FLOW ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  border-top: 4px solid var(--c, var(--orange));
}

.flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-alt);
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.flow-step h4 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- QUOTE SECTION ---------- */
.quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.35;
}

.quote footer {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ---------- PAGE HERO (SUBPAGES) ---------- */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.page-hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero p.sublead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.badge-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.badge-yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}

/* ---------- GRID LAYOUTS ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- INTERACTIVE MOCKUPS ---------- */
.interactive-mockup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dots .d1 {
  background: #FF5F56;
}

.mock-dots .d2 {
  background: #FFBD2E;
}

.mock-dots .d3 {
  background: #27C93F;
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item div h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-item div p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- CTA CARDS ---------- */
.cta {
  background: linear-gradient(135deg, #EE6C2F 0%, #F0AE2A 100%);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 14px;
}

.cta p {
  font-size: 16px;
  opacity: .95;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--orange);
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-white:hover {
  transform: translateY(-2px);
}

.btn-outline-w {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-outline-w:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- FOOTER ---------- */
footer.site {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 14px;
  max-width: 260px;
}

.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.foot-col a,
.foot-col p {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color .2s ease;
}

.foot-col a:hover {
  color: var(--orange);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- SIGN UP MODAL POPUP ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 23, 31, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 640px;
  height: 80vh;
  max-height: 650px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform .3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
}

.modal-header h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: var(--paper-alt);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-soft);
  transition: background .2s ease;
}

.modal-close:hover {
  background: var(--orange-soft);
  color: var(--orange);
}

.modal-body {
  flex: 1;
  position: relative;
  background: #fff;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-placeholder-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 32px;
  max-width: 440px;
}

.iframe-placeholder-info .ic-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .orbit-wrap {
    height: 320px;
  }

  .chaos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

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

  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px;
    gap: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu-wrapper.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 4px 0 4px 12px;
    display: none;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav-actions .btn-signup,
  .nav-actions .nav-cta {
    text-align: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

@media (max-width: 640px) {
  nav {
    padding: 12px 20px;
  }

  .wrap {
    padding: 0 20px;
  }

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

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

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .app-screens-carousel {
    flex-direction: column;
  }

  .app-phone-card.card-2 {
    margin-top: 0;
  }

  .cta {
    padding: 40px 24px;
  }

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

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

  .stat-row {
    grid-template-columns: 1fr;
  }
}