:root {
  --bg: #f7faf8;
  --bg-alt: #eef5f1;
  --panel: #ffffff;
  --primary: #16845b;
  --primary-dark: #116c49;
  --primary-light: #1ba06e;
  --primary-glow: rgba(22, 132, 91, 0.15);
  --primary-soft: rgba(22, 132, 91, 0.08);
  --accent: #7c5cfc;
  --accent-soft: rgba(124, 92, 252, 0.08);
  --text: #0f1f18;
  --text-secondary: #3a5148;
  --muted: #6b7f74;
  --line: #e2ebe6;
  --line-soft: #eef3f0;
  --success: #1bb574;
  --warning: #f2a93b;
  --danger: #e05a4f;
  --shadow-sm: 0 2px 8px rgba(15, 31, 24, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 31, 24, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 31, 24, 0.12);
  --shadow-xl: 0 32px 80px rgba(15, 31, 24, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── TOPBAR ────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar.scrolled {
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 235, 230, 0.6);
  box-shadow: 0 1px 20px rgba(15, 31, 24, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #27a670);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(22, 132, 91, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 12px 32px rgba(22, 132, 91, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 8px 20px rgba(22, 132, 91, 0.22);
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 132, 91, 0.3) !important;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  place-items: center;
  color: var(--text);
}

/* ── HERO ──────────────────────────── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(22, 132, 91, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 92, 252, 0.04) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease both;
}

.hero-eyebrow .dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}

h1.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 20px 0 18px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

h1.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), #2bc785);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow:
    0 8px 24px rgba(22, 132, 91, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(22, 132, 91, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg);
  border-color: #c8d8ce;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(22, 132, 91, 0.2);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  border-color: rgba(22, 132, 91, 0.35);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ── PHONE MOCKUP ─────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s 0.3s ease both;
}

.phone-wrapper {
  position: relative;
}

.phone-float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(15, 31, 24, 0.12);
  border: 1px solid rgba(226, 235, 230, 0.8);
  z-index: 3;
  animation: floatCard 3s ease-in-out infinite;
}

.phone-float-card.card-revenue {
  top: 30px;
  left: -60px;
  animation-delay: 0s;
}

.phone-float-card.card-active {
  bottom: 80px;
  right: -50px;
  animation-delay: 1.5s;
}

.float-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 8px;
}

.phone {
  width: 300px;
  background: #0f1f18;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0f1f18;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

/* Phone App Content */
.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #333;
  position: relative;
  z-index: 4;
}

.app-header {
  padding: 8px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.app-location svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.app-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2bc785);
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.app-search {
  margin: 0 14px 12px;
  height: 40px;
  background: #f4f7f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  color: #a0aba5;
  font-size: 11px;
  font-weight: 500;
}

.app-search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.app-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 18px;
}

.app-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.app-section-link {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
}

.app-brands {
  display: flex;
  gap: 12px;
  padding: 8px 18px 14px;
  overflow: hidden;
}

.app-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.app-brand-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4f7f5;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.app-brand-circle.active-brand {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.app-brand-name {
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
}

.app-categories {
  display: flex;
  gap: 8px;
  padding: 4px 18px 10px;
  overflow: hidden;
}

.app-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f4f7f5;
  border: 1.5px solid transparent;
  flex-shrink: 0;
  min-width: 54px;
}

.app-cat-item.active-cat {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.app-cat-icon {
  font-size: 16px;
}

.app-cat-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
}

.app-cat-item.active-cat .app-cat-label {
  color: rgba(255, 255, 255, 0.8);
}

.app-vehicle-card {
  margin: 6px 14px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.app-vehicle-img {
  width: 70px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f0eb, #d4e5da);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.app-vehicle-img svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.app-vehicle-info {
  flex: 1;
  min-width: 0;
}

.app-vehicle-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
}

.app-vehicle-brand {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}

.app-vehicle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.app-vehicle-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  background: #e5f7ee;
  color: var(--primary);
}

.app-vehicle-badge .bdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.app-vehicle-price {
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
}

.app-vehicle-price span {
  color: var(--muted);
  font-weight: 500;
}

.app-vehicle-detail-btn {
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-secondary);
  background: white;
}

.app-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: white;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  border-radius: 0 0 34px 34px;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 600;
  color: #a0aba5;
}

.app-nav-item.active-nav {
  color: var(--primary);
}

.app-nav-item svg {
  width: 18px;
  height: 18px;
}

.app-fab {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2bc785);
  display: grid;
  place-items: center;
  margin-top: -20px;
  box-shadow: 0 6px 20px rgba(22, 132, 91, 0.35);
}

.app-fab svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ── SECTION COMMON ───────────────── */
.section {
  padding: 80px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-soft);
  border: 1px solid rgba(22, 132, 91, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.04em;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── FEATURES ─────────────────────── */
.features-section {
  background: linear-gradient(180deg, var(--bg) 0%, white 50%, var(--bg) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #2bc785);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(22, 132, 91, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.fi-green {
  background: linear-gradient(135deg, #e5f7ee, #d0ecdf);
}
.fi-blue {
  background: linear-gradient(135deg, #e5f0ff, #cce0ff);
}
.fi-purple {
  background: linear-gradient(135deg, #f0ecff, #ddd4ff);
}
.fi-orange {
  background: linear-gradient(135deg, #fff2e6, #ffe4c8);
}
.fi-teal {
  background: linear-gradient(135deg, #e0f7f5, #c0ece8);
}
.fi-rose {
  background: linear-gradient(135deg, #ffe8ed, #ffd0da);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ── DASHBOARD PREVIEW ────────────── */
.preview-section {
  background: linear-gradient(180deg, var(--bg) 0%, #eaf2ed 100%);
}

.preview-wrapper {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #f8faf9;
  border-radius: 28px 28px 0 0;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) {
  background: #ff6058;
}
.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
  background: #28ca41;
}

.browser-url {
  flex: 1;
  height: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.preview-content {
  padding: 20px;
  background: #f5f7f6;
  border-radius: 0 0 28px 28px;
  min-height: 380px;
}

.dash-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

.dash-sidebar {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 16px 12px;
}

.dash-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.dash-sidebar-logo .s-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #2bc785);
  display: grid;
  place-items: center;
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.dash-sidebar-logo .s-text {
  font-size: 12px;
  font-weight: 800;
}

.dash-sidebar-logo .s-sub {
  font-size: 7px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
}

.dash-nav-item.dash-active {
  background: #e9f5ef;
  color: var(--primary-dark);
  font-weight: 800;
}

.dash-nav-item svg {
  width: 14px;
  height: 14px;
}

.dash-nav-label {
  font-size: 8px;
  font-weight: 800;
  color: #b5bfba;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px 4px;
}

.dash-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.dash-kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.dash-kpi-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
}

.dash-kpi-value {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 6px;
}

.dash-kpi-sub {
  font-size: 8px;
  color: #a3afa8;
  margin-top: 3px;
}

.dash-chart {
  grid-column: 1 / -1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.dash-chart-title {
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.chart-bar:nth-child(odd) {
  background: linear-gradient(180deg, var(--primary), #2bc785);
}
.chart-bar:nth-child(even) {
  background: #e5f7ee;
}

/* ── STEPS ────────────────────────── */
.steps-section {
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    #2bc785 50%,
    var(--primary) 100%
  );
  z-index: 0;
  opacity: 0.2;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(22, 132, 91, 0.2);
  transition: transform 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.1) rotate(-5deg);
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── APP PREVIEW (Screenshots) ──── */
.app-preview-section {
  background: linear-gradient(180deg, #0f1f18 0%, #142e23 100%);
  color: white;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.app-preview-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(22, 132, 91, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.app-preview-section .section-heading h2 {
  color: white;
}

.app-preview-section .section-heading p {
  color: rgba(255, 255, 255, 0.6);
}

.app-preview-section .section-label {
  background: rgba(22, 132, 91, 0.15);
  border-color: rgba(22, 132, 91, 0.2);
  color: #4dd89a;
}

.phones-showcase {
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.showcase-phone {
  width: 260px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.4s ease;
}

.showcase-phone:hover {
  transform: translateY(-8px);
}

.showcase-phone:nth-child(1) {
  transform: rotate(-5deg) translateY(20px);
}

.showcase-phone:nth-child(2) {
  transform: rotate(3deg) translateY(-10px);
}

.showcase-phone:nth-child(1):hover {
  transform: rotate(-5deg) translateY(12px);
}

.showcase-phone:nth-child(2):hover {
  transform: rotate(3deg) translateY(-18px);
}

.showcase-screen {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}

/* Second phone: Admin/Dashboard view */
.admin-phone-screen {
  background: #f5f7f6;
  padding: 32px 10px 10px;
}

.admin-phone-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.admin-phone-header .aph-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 8px;
  font-weight: 900;
}

.admin-phone-header .aph-text {
  font-size: 10px;
  font-weight: 800;
  color: var(--text);
}

.admin-mini-card {
  background: white;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #eaede9;
}

.admin-mini-label {
  font-size: 7px;
  font-weight: 700;
  color: var(--muted);
}

.admin-mini-value {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
  margin-top: 3px;
}

.admin-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.admin-mini-chart {
  background: white;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #eaede9;
  margin-top: 2px;
}

.admin-mini-chart-title {
  font-size: 8px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
}

/* ── CTA ──────────────────────────── */
.cta-section {
  padding: 40px 0 80px;
}

.cta-card {
  background: linear-gradient(135deg, #0f1f18 0%, #1a3a2c 50%, #0f1f18 100%);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(22, 132, 91, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f0f7f3;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ── FOOTER ───────────────────────── */
footer {
  background: #0f1f18;
  color: white;
  padding: 60px 0 40px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  color: white;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2bc785);
  font-size: 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(22, 132, 91, 0.4);
  display: grid;
  place-items: center;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── ANIMATIONS ───────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps-grid::before {
    display: none;
  }

  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .phones-showcase {
    flex-wrap: wrap;
  }

  .showcase-phone:nth-child(1),
  .showcase-phone:nth-child(2) {
    transform: none;
  }

  .showcase-phone:nth-child(1):hover,
  .showcase-phone:nth-child(2):hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .phones-showcase {
    gap: 20px;
  }

  .showcase-phone {
    width: 220px;
  }

  .cta-card {
    padding: 40px 28px;
    text-align: center;
    justify-content: center;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
  }

  .phone {
    width: 260px;
  }

  .phone-float-card.card-revenue {
    left: -20px;
    top: 10px;
  }

  .phone-float-card.card-active {
    right: -10px;
    bottom: 60px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .phone {
    width: 240px;
  }

  .showcase-phone {
    width: 180px;
  }
}

/* ── MOBILE NAV MENU ─────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(15, 31, 24, 0.5);
  backdrop-filter: blur(8px);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: white;
  padding: 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.mobile-nav-content a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: background 0.2s;
}

.mobile-nav-content a:hover {
  background: var(--bg);
}

.mobile-nav-content .nav-cta {
  text-align: center;
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
