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

:root {
  --bg: #FAFAFA;
  --text: #000000;
  --text-gray: #666666;
  --badge-bg: #e8f5e3;
  --green: #5a7c3b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Header */
.header {
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-pill {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  padding: 10px 20px 10px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  min-width: fit-content;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
}

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

.header-nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--text);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  min-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.dropdown-section:hover {
  background: #f8f8f8;
}

.dropdown-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.dropdown-section p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

.header-cta {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-cta:hover {
  background: #4a6b2f;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  width: calc(100% - 32px);
  max-width: 500px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  pointer-events: none;
}

.mobile-menu.open {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.15s;
}

.mobile-nav a:hover {
  background: #f5f5f5;
}

.mobile-nav .mobile-cta {
  background: var(--green);
  color: white;
  text-align: center;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  border: none;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
  border-radius: 12px;
  letter-spacing: -0.01em;
}

.mobile-nav .mobile-cta:hover {
  background: #4a6b2f;
}

/* =====================
   Logo Loader / Spinner
   ===================== */

/* Wrapper — absolutely centred in .hero, fades + scales out after ~1.1s */
.logo-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 10;
  pointer-events: none;
  animation: loaderExit 0.45s cubic-bezier(0.4, 0, 0.6, 1) 1.1s forwards;
}

@keyframes loaderExit {
  0%   { opacity: 1; transform: translate(-50%, -60%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(0.85); }
}

/* Outer ring — black dashes, clockwise */
.ring-outer {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinCW 1.6s linear infinite;
}

/* Inner ring — green dashes, counter-clockwise */
.ring-inner {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinCCW 1.0s linear infinite;
}

/* Centre dot pulses gently */
.ring-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dotPulse 1.0s ease-in-out infinite alternate;
}

@keyframes spinCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spinCCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes dotPulse {
  from { opacity: 0.4; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.2); }
}

/* =====================
   Reusable .logo-spinner
   (use anywhere as a section loader)
   ===================== */
.logo-spinner {
  display: block;
}

/* Demo section loader - fades in when demo section enters viewport */
.demo-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.demo-in-view .demo-loader {
  animation: demoLoaderShow 0.6s ease 0s forwards, demoLoaderExit 0.5s ease 1.8s forwards;
}

@keyframes demoLoaderShow {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes demoLoaderExit {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
}

/* Hero */
.hero {
  padding: 24px 32px 100px;
  text-align: center;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Hero content fades up in after loader exits */
.hero-container {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.95s forwards;
}

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

.hero-badge {
  background: var(--badge-bg);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: inline-block;
}

.hero-headline {
  font-family: 'Zilla Slab', serif;
  font-size: 88px;
  font-weight: 500;
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-headline .script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 96px;
  font-style: italic;
  padding-right: 0.14em;
  color: var(--green);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  font-weight: 400;
  max-width: 600px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* Hero CTA Buttons */
.hero-cta {
  border: none;
  border-radius: 9999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.hero-cta-primary {
  background: var(--green);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 2px 4px rgba(90, 124, 59, 0.15),
    0 6px 20px rgba(90, 124, 59, 0.28);
}

.hero-cta-primary:hover {
  background: #4f7033;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 2px 4px rgba(90, 124, 59, 0.2),
    0 10px 28px rgba(90, 124, 59, 0.38);
  transform: translateY(-2px);
}

.hero-cta-primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 1px 4px rgba(90, 124, 59, 0.2);
}

.hero-cta-secondary {
  background: white;
  color: var(--text);
  border: 1.5px solid #d8d8d8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hero-cta-secondary:hover {
  border-color: #b0b0b0;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.hero-cta-secondary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ==============================
   Demo Section
   ============================== */

.demo {
  background: #f5f6f3;
  padding: 96px 32px;
  position: relative;
}

.demo-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* --- Intro --- */
.demo-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.demo-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.demo-heading {
  font-family: 'Zilla Slab', serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.demo-heading-script {
  font-family: 'Caveat', cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 58px;
  color: var(--green);
  padding-right: 0.1em;
}

.demo-sub {
  font-size: 17px;
  color: var(--text-gray);
  max-width: 520px;
  line-height: 1.6;
}

/* --- Two-panel layout --- */
.demo-panels {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* --- Windows --- */
.demo-window {
  flex: 1;
  min-width: 0;
  background: white;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.demo-window-output {
  border-color: rgba(90, 124, 59, 0.2);
  box-shadow: 0 4px 24px rgba(90,124,59,0.08), 0 1px 4px rgba(0,0,0,0.04);
}

/* --- Title bar --- */
.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f7f7f7;
  border-bottom: 1px solid #e8e8e8;
}

.demo-titlebar-output {
  background: #f2f6ee;
  border-bottom-color: rgba(90,124,59,0.15);
}

.chrome-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.chrome-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cd-red    { background: #FF5F57; }
.cd-yellow { background: #FEBC2E; }
.cd-green  { background: #28C840; }

.demo-titlebar-text {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #e03535;
  background: #ffeaea;
  border-radius: 9999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.live-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e03535;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.demo-quote-id {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: rgba(90,124,59,0.1);
  border-radius: 9999px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* --- Window body --- */
.demo-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* --- Conversation lines (left) --- */
.demo-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dl-who {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}

.dl-who-caller {
  background: #f0f0f0;
  color: #555;
}

.dl-who-ai {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(90,124,59,0.1);
  color: var(--green);
}

.dl-text {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  padding-top: 1px;
}

.dl-ai .dl-text {
  color: #2a4a1a;
}

.demo-cursor-row {
  padding-top: 4px;
}

.demo-cursor {
  display: inline-block;
  font-size: 16px;
  font-weight: 300;
  color: var(--green);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- AI connector --- */
.demo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  gap: 0;
  padding-top: 48px;
  align-self: stretch;
}

.demo-connector-line {
  flex: 1;
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, #c8dab8, transparent);
  min-height: 20px;
}

.demo-connector-spark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  border: 1.5px solid #c8dab8;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(90,124,59,0.18);
  flex-shrink: 0;
}

/* --- Quote output (right) --- */
.dq-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f9fbf7 0%, #fafcf8 100%);
  border: 1px solid rgba(90,124,59,0.2);
  border-radius: 8px;
  margin-bottom: 8px;
}

.dq-header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dq-type-label {
  font-family: 'Zilla Slab', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.dq-destination {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  line-height: 1.3;
}

.dq-header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  text-align: right;
}

.dq-pax-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a7030;
  margin-bottom: 1px;
}

.dq-pax-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.dq-pax-contact {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 3px;
}

.dq-pax-contact span {
  font-size: 10px;
  color: var(--text-gray);
  line-height: 1.4;
}

.dq-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 9px;
  border-top: 1px solid #edf2e9;
}

.dq-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4a7030;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dq-section-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 11px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.45;
}

/* --- Value chips (Journey section right-side values) --- */
.dq-value-chip {
  display: inline-flex !important;
  align-items: center;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1e3d0f !important;
  background: rgba(90,124,59,0.09);
  border: 1px solid rgba(90,124,59,0.2);
  border-radius: 6px;
  padding: 2px 8px;
  text-align: left !important;
  white-space: normal;
  line-height: 1.4;
}

.dq-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}

.dq-row span:first-child {
  color: var(--text-gray);
  flex-shrink: 0;
}

.dq-row span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.dq-muted span {
  color: #aaa !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

.dq-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f5f8f2 0%, #f8faf4 100%);
  border-radius: 10px;
  border: 1.5px solid #c8dab8;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(90,124,59,0.08);
}

.dq-total span:first-child {
  font-family: 'Zilla Slab', serif;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.dq-total-amount {
  font-family: 'Zilla Slab', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}

.dq-status {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #edf2e9;
  margin-top: 3px;
}

.dq-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dq-pill-ok {
  background: rgba(90,124,59,0.1);
  color: var(--green);
}

.dq-pill-saved {
  background: #f0f0f0;
  color: #555;
}

/* --- Scroll-triggered animations --- */
.anim-up {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease var(--d, 0s), transform 0.9s ease var(--d, 0s);
}

.anim-left {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.85s ease var(--d, 0s), transform 0.85s ease var(--d, 0s);
}

.anim-right {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.85s ease var(--d, 0s), transform 0.85s ease var(--d, 0s);
}

.demo-in-view .anim-up,
.demo-in-view .anim-left,
.demo-in-view .anim-right {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- Route context strip --- */
.demo-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  padding: 12px 22px;
  background: var(--green);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(90,124,59,0.3);
}

.demo-route-point {
  font-weight: 600;
  font-size: 13px;
}

.demo-route-from {
  color: rgba(255,255,255,0.85);
}

.demo-route-to {
  color: white;
}

.demo-route-arrow {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.demo-route-divider {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

.demo-route-meta {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
}

.demo-route-price {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

/* --- Output titlebar brand --- */
.demo-titlebar-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.titlebar-spinner {
  flex-shrink: 0;
  display: block;
}

/* --- Eyebrow with spinner --- */
.demo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eyebrow-spinner {
  flex-shrink: 0;
  display: block;
}

/* --- AI data-capture chips --- */
.dl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 2px;
}

.dl-chip {
  font-size: 12px;
  font-weight: 500;
  color: #1e3d0f;
  background: rgba(90,124,59,0.09);
  border: 1px solid rgba(90,124,59,0.22);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* --- Inline contact card (left panel) --- */
.dl-contact-card {
  background: rgba(90,124,59,0.07);
  border: 1px solid rgba(90,124,59,0.2);
  border-radius: 8px;
  padding: 8px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-contact-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e3d0f;
}

.dl-contact-detail {
  font-size: 12px;
  color: #4a6a30;
  line-height: 1.4;
}

/* ==============================
   Features Section - NEW Innovative Layout
   ============================== */

.features-new {
  background: white;
  padding: 100px 32px;
}

.features-new-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* --- Intro --- */
.features-new-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.features-new-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.features-new-heading {
  font-family: 'Zilla Slab', serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.features-new-heading-script {
  font-family: 'Caveat', cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 58px;
  color: var(--green);
  padding-right: 0.1em;
}

.features-new-sub {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

/* --- Category Blocks (Two-column alternating) --- */
.feature-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.feature-cat-right {
  grid-template-columns: 45% 55%;
}

.feature-cat-left {
  grid-template-columns: 55% 45%;
}

.feature-cat-left .feature-cat-visual {
  order: 2;
}

.feature-cat-left .feature-cat-list {
  order: 1;
}

/* --- Visual Side (Category showcase) --- */
.feature-cat-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 40px;
  background: linear-gradient(135deg, #f9fbf7 0%, #fafcf8 100%);
  border: 1.5px solid rgba(90,124,59,0.2);
  border-radius: 16px;
  position: relative;
}

.feature-cat-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'Zilla Slab', serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(90,124,59,0.08);
  line-height: 1;
}

.feature-cat-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid rgba(90,124,59,0.2);
  border-radius: 50%;
  color: var(--green);
}

.feature-cat-title {
  font-family: 'Zilla Slab', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

.feature-cat-desc {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* --- Features List Side --- */
.feature-cat-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #fafafa;
  border-color: rgba(90,124,59,0.2);
  transform: translateX(4px);
}

.feature-cat-right .feature-item:hover {
  transform: translateX(4px);
}

.feature-cat-left .feature-item:hover {
  transform: translateX(-4px);
}

.feature-item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(90,124,59,0.1);
  border-radius: 50%;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item-title {
  font-family: 'Zilla Slab', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

.feature-item-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* --- Footer Stats & CTA --- */
.features-new-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px 48px;
  background: linear-gradient(135deg, #f5f6f3 0%, #f8faf4 100%);
  border-radius: 20px;
  text-align: center;
}

.features-new-stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.feature-stat-number {
  font-family: 'Zilla Slab', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.feature-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.features-new-footer-text {
  font-size: 17px;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

.features-new-cta-button {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 2px 4px rgba(90, 124, 59, 0.15),
    0 6px 20px rgba(90, 124, 59, 0.28);
}

.features-new-cta-button:hover {
  background: #4f7033;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 2px 4px rgba(90, 124, 59, 0.2),
    0 10px 28px rgba(90, 124, 59, 0.38);
  transform: translateY(-2px);
}

.features-new-cta-button .cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.features-new-cta-button:hover .cta-arrow {
  transform: translateX(3px);
}


/* Features Compact - Tab-Based Window */
.features-compact {
  padding: 80px 24px 120px;
  background: linear-gradient(180deg, #FAFAFA 0%, #f5f5f5 100%);
}

.features-compact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.features-compact-intro {
  text-align: center;
  margin-bottom: 48px;
}

.features-compact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.features-compact-heading {
  font-family: 'Zilla Slab', serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.features-compact-heading-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--green);
  font-size: 1.08em;
}

.features-compact-sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Platform Window */
.platform-window {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.platform-titlebar {
  background: linear-gradient(180deg, #f8f8f8 0%, #ececec 100%);
  border-bottom: 1px solid #d0d0d0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-titlebar-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  background: linear-gradient(180deg, #f8f8f8 0%, #fafafa 100%);
  border-bottom: 1px solid #e0e0e0;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 8px 12px 0;
  gap: 4px;
}

.platform-tabs::-webkit-scrollbar {
  height: 3px;
}

.platform-tabs::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.platform-tab .tab-icon {
  width: 16px;
  height: 16px;
  transition: all 0.25s ease;
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  transform: translateY(-2px);
}

/* Individual tab colors */
.platform-tab[data-tab="sales"] {
  color: #059669;
}
.platform-tab[data-tab="sales"].active {
  background: #ecfdf5;
  border-bottom: 3px solid #059669;
  color: #047857;
}
.platform-tab[data-tab="sales"] .tab-icon {
  stroke: #059669;
}

.platform-tab[data-tab="operations"] {
  color: #0284c7;
}
.platform-tab[data-tab="operations"].active {
  background: #f0f9ff;
  border-bottom: 3px solid #0284c7;
  color: #0369a1;
}
.platform-tab[data-tab="operations"] .tab-icon {
  stroke: #0284c7;
}

.platform-tab[data-tab="finance"] {
  color: #7c3aed;
}
.platform-tab[data-tab="finance"].active {
  background: #faf5ff;
  border-bottom: 3px solid #7c3aed;
  color: #6d28d9;
}
.platform-tab[data-tab="finance"] .tab-icon {
  stroke: #7c3aed;
}

.platform-tab[data-tab="vehicles"] {
  color: #ea580c;
}
.platform-tab[data-tab="vehicles"].active {
  background: #fff7ed;
  border-bottom: 3px solid #ea580c;
  color: #c2410c;
}
.platform-tab[data-tab="vehicles"] .tab-icon {
  stroke: #ea580c;
}

.platform-tab[data-tab="drivers"] {
  color: #db2777;
}
.platform-tab[data-tab="drivers"].active {
  background: #fdf2f8;
  border-bottom: 3px solid #db2777;
  color: #be185d;
}
.platform-tab[data-tab="drivers"] .tab-icon {
  stroke: #db2777;
}

.platform-tab[data-tab="compliance"] {
  color: #0891b2;
}
.platform-tab[data-tab="compliance"].active {
  background: #ecfeff;
  border-bottom: 3px solid #0891b2;
  color: #0e7490;
}
.platform-tab[data-tab="compliance"] .tab-icon {
  stroke: #0891b2;
}

.platform-tab[data-tab="automation"] {
  color: #ca8a04;
}
.platform-tab[data-tab="automation"].active {
  background: #fefce8;
  border-bottom: 3px solid #ca8a04;
  color: #a16207;
}
.platform-tab[data-tab="automation"] .tab-icon {
  stroke: #ca8a04;
}

/* Tab Content */
.platform-content {
  padding: 40px;
  min-height: 400px;
  background: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-hero {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.panel-title {
  font-family: 'Zilla Slab', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 12px 0;
}

.panel-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0;
}

/* Panel Grid - New card-based layout */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
  border-color: rgba(90, 124, 59, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(90, 124, 59, 0.12);
}

.feature-svg-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

.feature-card h4 {
  font-family: 'Zilla Slab', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.feature-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0;
}

/* Legacy styles for backward compatibility */
.panel-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.feature-content h4 {
  font-family: 'Zilla Slab', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px 0;
}

.feature-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-gray);
  margin: 0;
}

/* Platform Footer */
.platform-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
}

.footer-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: 'Zilla Slab', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--green);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.platform-cta:hover {
  background: #4a6431;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 124, 59, 0.3);
}

.platform-cta svg {
  transition: transform 0.3s ease;
}

.platform-cta:hover svg {
  transform: translateX(4px);
}



/* Mobile */
@media (max-width: 968px) {
  .header {
    padding: 20px 16px;
  }

  .header-pill {
    width: 100%;
    max-width: none;
    border-radius: 16px;
    padding: 10px 16px;
    gap: 0;
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    width: 100%;
    max-width: none;
  }

  .hero {
    padding: 32px 20px 72px;
  }

  .hero-headline {
    font-size: 48px;
  }

  .hero-headline .script {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    border-radius: 14px;
  }
}

@media (max-width: 1024px) {
  .nav-dropdown-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 90%;
    max-width: 320px;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  .feature-category {
    gap: 40px;
  }

  .feature-cat-visual {
    padding: 36px 32px;
  }

  .feature-cat-title {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .demo {
    padding: 72px 20px;
  }

  .demo-heading {
    font-size: 38px;
  }

  .demo-heading-script {
    font-size: 44px;
  }

  .demo-panels {
    flex-direction: column;
    gap: 0;
  }

  .demo-connector {
    flex-direction: row;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    align-self: auto;
  }

  .demo-connector-line {
    flex: 1;
    height: 1.5px;
    width: auto;
    min-height: 0;
    background: linear-gradient(to right, transparent, #c8dab8, transparent);
  }

  .demo-route {
    gap: 7px;
    font-size: 12px;
    padding: 10px 14px;
  }

  .demo-route-point {
    font-size: 12px;
  }

  .demo-route-price {
    font-size: 12px;
  }

  .dl-chip {
    white-space: normal;
  }

  .features-new {
    padding: 72px 20px;
  }

  .features-new-wrapper {
    gap: 56px;
  }

  .features-new-heading {
    font-size: 36px;
  }

  .features-new-heading-script {
    font-size: 42px;
  }

  .features-new-sub {
    font-size: 16px;
  }

  .feature-category {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 24px 0;
  }

  .feature-cat-left .feature-cat-visual,
  .feature-cat-left .feature-cat-list {
    order: initial;
  }

  .feature-cat-visual {
    padding: 32px 24px;
  }

  .feature-cat-number {
    font-size: 40px;
    top: 16px;
    right: 20px;
  }

  .feature-cat-icon {
    width: 60px;
    height: 60px;
  }

  .feature-cat-title {
    font-size: 26px;
  }

  .feature-cat-desc {
    font-size: 15px;
  }

  .feature-item {
    padding: 14px;
  }

  .feature-item-title {
    font-size: 15px;
  }

  .feature-item-desc {
    font-size: 12px;
  }

  .features-new-footer {
    padding: 40px 24px;
    gap: 24px;
  }

  .features-new-stats {
    gap: 40px;
  }

  .feature-stat-number {
    font-size: 36px;
  }

  .feature-stat-label {
    font-size: 12px;
  }

  .features-new-footer-text {
    font-size: 15px;
  }

  .features-compact {
    padding: 60px 16px 80px;
  }

  .features-compact-heading {
    font-size: 32px;
  }

  .features-compact-sub {
    font-size: 16px;
  }

  .platform-tabs {
    flex-wrap: nowrap;
  }

  .platform-tab {
    padding: 10px 12px;
    font-size: 12px;
  }

  .platform-tab .tab-icon {
    width: 14px;
    height: 14px;
  }

  .platform-content {
    padding: 24px 20px;
    min-height: 350px;
  }

  .panel-hero {
    margin-bottom: 24px;
  }

  .panel-title {
    font-size: 22px;
  }

  .panel-desc {
    font-size: 15px;
  }

  /* New grid layout for mobile */
  .panel-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 16px;
  }

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

  .feature-card h4 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Legacy styles */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    padding: 16px;
  }

  .feature-icon {
    font-size: 24px;
  }

  .feature-content h4 {
    font-size: 15px;
  }

  .feature-content p {
    font-size: 13px;
  }

  .platform-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .footer-stat {
    align-items: center;
  }

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