/* ============================================================
   EVEREST AI — Main Stylesheet
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --color-navy: #083344;
  --color-teal-dark: #164e63;
  --color-teal-hover: #2c6e86;
  --color-teal: #00989f;
  --color-slate: #457f9a;
  --color-light-blue: #bae6fd;
  --color-light-blue2: #d3ebf8;
  --color-cyan-pale: #cffafe;
  --color-green: #059669;
  --color-green-hover: #10b981;
  --color-green-pale: #effdf4;
  --color-green-bg: #f0fdf4;
  --color-green-border: #bbf7d0;
  --color-purple: #605be5;
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-gray-light: #e4e4e7;
  --color-gray-mid: #71717a;
  --color-gray-dark: #52525b;
  --color-text: #18181b;
  --color-heading-dark: #164e63;
  --color-heading: #09090b;
  --color-red: #cb3030;

  --font-primary: "Geist", "Sora", sans-serif;

  --radius-xs: 5px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 25px;

  --shadow-card: 0 0 9px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  --transition: 0.3s ease;
  --transition-fast: 0.2s ease;

  --header-height: 80px;
  --container-max: 1200px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.container-lg {
  padding: 0 80px;
}

/* ============================================================
   BUTTONS — base
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition-fast),
    box-shadow var(--transition);
}

/* Header: "Talk to a human" — dark pill, visible on transparent header */
.btn-header-talk {
  background: var(--color-teal-dark);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 500;
}
.btn-header-talk:hover {
  background: var(--color-teal-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero: "Book a demo" — solid green */
.btn-hero-dark {
  background: var(--color-green);
  color: var(--color-white);
  border: 2px solid var(--color-green);
  padding: 12px;
  border-radius: var(--radius-xs);
  font-weight: 600;
}
.btn-hero-dark:hover {
  background: var(--color-green-hover);
  border-color: var(--color-green-hover);
  transform: translateY(-1px);
}

/* Hero: "Try it now" — light blue */
.btn-hero-light {
  background: var(--color-light-blue);
  color: var(--color-teal-dark);
  border: 2px solid var(--color-light-blue);
  padding: 12px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-light:hover {
  background: var(--color-light-blue2);
  border-color: var(--color-light-blue2);
  transform: translateY(-1px);
}

/* Generic reusable */
.btn-primary {
  background: var(--color-teal-dark);
  color: var(--color-white);
  border: 2px solid var(--color-teal-dark);
  padding: 8px 20px;
  border-radius: var(--radius-xs);
}
.btn-primary:hover {
  background: var(--color-teal-hover);
  border-color: var(--color-teal-hover);
  transform: translateY(-1px);
}

.btn-large {
  padding: 12px 28px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   SECTION UTILITY
   ============================================================ */
.section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section title on LIGHT background */
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-heading-dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* Section title on DARK background */
.section-title-light {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-light-blue);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in-up {
  transform: translateY(30px);
}
.fade-in-down {
  transform: translateY(-30px);
}
.fade-in-left {
  transform: translateX(-30px);
}
.fade-in-right {
  transform: translateX(30px);
}
.fade-in {
  transform: none;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   HEADER — transparent, gains background on scroll
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-navy);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  width: 100%;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo img {
  height: 28px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  padding: 15px 20px;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: var(--color-green);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: calc(100% - 40px);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 24px;
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
}
.mobile-menu.open {
  display: flex;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}
.mobile-nav-link:hover {
  color: var(--color-white);
}

.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 132px 0 90px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 64, 82, 0.78) 0%,
      rgba(16, 60, 78, 0.79) 60%,
      rgba(15, 56, 73, 0.81) 100%
    ),
    url("../images/hero-bg.png");
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  width: 100%;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow {
  font-size: 18px;
  font-weight: 500;
  color: rgba(202, 225, 232, 0.75);
  letter-spacing: 0.2px;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-slate);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  color: #fafafa;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(250, 250, 250, 0.85);
  line-height: 1.6;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Two product cards inside hero */
.hero-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 920px;
  margin-top: 14px;
  text-align: left;
}
.hero-product {
  display: flex;
  flex-direction: column;
  background: rgba(10, 43, 56, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-product-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-green-hover);
  margin-bottom: 14px;
}
.hero-product-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.hero-product-text {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Stats pill inside each product card */
.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--color-green-pale);
  border-radius: 14px;
  padding: 20px 12px;
  margin-top: auto;
}

.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 6px;
}

.hero-stat-divider {
  width: 1px;
  background: var(--color-green-border);
  align-self: center;
  height: 40px;
  flex-shrink: 0;
}

.hero-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-heading-dark);
  line-height: 1;
  letter-spacing: -0.5px;
}
.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-mid);
  line-height: 1.2;
}

/* ============================================================
   PARTNER LOGOS TICKER  — dark teal bg
   ============================================================ */
.logos-section {
  padding: 60px 0;
  background: var(--color-teal-dark);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  padding: 0 24px;
}

.logos-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.logos-ticker {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
  flex-shrink: 0;
}

.logos-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}
.logos-track img:hover {
  filter: brightness(10) grayscale(0) opacity(1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}
.cards-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}
.cards-grid.one-col {
  grid-template-columns: 1fr;
}

/* ============================================================
   PROBLEMS SECTION — #FAFAFA
   ============================================================ */
.problems-section {
  background: #fafafa;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-card);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.card:hover {
  background: var(--color-green-bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Icon with green background box */
.card-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 38px;
  color: var(--color-green-hover);
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.card-text {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray-mid);
  line-height: 26px;
}

.card-text a {
  color: var(--color-green);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.card-text a:hover {
  color: var(--color-green-hover);
}

/* ============================================================
   SPEED / USE-CASES — #FAFAFA
   ============================================================ */
.speed-section {
  background: #fafafa;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 50px;
  background: var(--color-white);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.icon-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--color-green-bg);
}

.icon-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-white);
  flex-shrink: 0;
}
.icon-box-icon--green {
  background: var(--color-green-bg);
  color: var(--color-green);
}
.icon-box-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading-dark);
  line-height: 1.3;
}
.icon-box-text {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray-mid);
  line-height: 1.5;
}

/* ============================================================
   HOW IT WORKS — dark teal #164E63
   ============================================================ */
.how-section {
  background: var(--color-teal-dark);
}
.how-section .section-header {
  margin-bottom: 48px;
}
.how-section .section-title-light {
  color: var(--color-white);
  font-weight: 600;
}
.how-section .section-eyebrow {
  color: var(--color-green-hover);
}

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

.how-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 28px;
  font-size: 36px;
  color: var(--color-green-hover);
}

.how-col-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-light-blue);
  margin-bottom: 14px;
  line-height: 1.3;
}

.how-col-text {
  font-size: 20px;
  font-weight: 400;
  color: #e0f2fe;
  line-height: 1.5;
}

/* ============================================================
   RETENTION
   ============================================================ */
.retention-section {
  background: var(--color-green-bg);
}

.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-gray-dark);
  line-height: 1.5;
  margin-top: 16px;
}

/* ============================================================
   TURNOVER COST CALCULATOR
   ============================================================ */
.turnover-section {
  background: var(--color-navy);
}
.turnover-section .section-title {
  color: var(--color-white);
}
.turnover-section .section-eyebrow {
  color: var(--color-green-hover);
}
.turnover-section .section-subtitle {
  color: #cbd5e1;
}

.turnover-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}
.turnover-stat {
  flex: 1 1 260px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.turnover-stat-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-light-blue);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.turnover-stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  line-height: 1.4;
}

.calc-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.calc-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading-dark);
  text-align: center;
  margin-bottom: 36px;
}
.calc-field {
  margin-bottom: 28px;
}
.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.calc-field-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.calc-field-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green);
}
.calc-range {
  width: 100%;
  accent-color: var(--color-green);
  height: 6px;
  cursor: pointer;
}
.calc-result {
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--color-gray-light);
  text-align: center;
}
.calc-result-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-mid);
}
.calc-result-value {
  font-size: 52px;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 10px;
}
.calc-result-sub {
  font-size: 15px;
  color: var(--color-gray-mid);
  margin-top: 12px;
}
.calc-cta {
  text-align: center;
  margin-top: 32px;
}

/* ============================================================
   WHY EVEREST — #FAFAFA
   ============================================================ */
.why-section {
  background: #fafafa;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-grid .feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.why-card-full {
  grid-column: 1 / -1;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  box-shadow: var(--shadow-card);
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  background: var(--color-green-bg);
  transform: translateY(-2px);
}

.feature-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-green);
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-teal-dark);
  line-height: 1.3;
}
.feature-card-text {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray-mid);
  line-height: 1.5;
}

/* ============================================================
   COMPETITIVE DIFF — dark teal #164E63
   ============================================================ */
.diff-section {
  background: #fafafa;
}

.diff-grid {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
}

.diff-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.diff-item:last-child {
  border-bottom: none;
}

.diff-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-green-hover);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.diff-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.diff-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ============================================================
   VALUE PROPS — #EFFDF4
   ============================================================ */
.value-section {
  background: #effdf4;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 28px;
  color: var(--color-teal-dark);
}
.value-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading-dark);
  line-height: 1.3;
}
.value-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-mid);
  line-height: 1.7;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: #fafafa;
}
.stats-card {
  background: var(--color-green-bg);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  text-align: center;
}
.stats-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-heading-dark);
  margin-bottom: 48px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--color-green);
  background: var(--color-green-pale);
  flex-shrink: 0;
}
.stat-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-value {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-heading-dark);
  line-height: 1;
  white-space: nowrap;
}
.stat-label {
  font-size: 14px;
  color: var(--color-gray-mid);
  font-weight: 400;
  line-height: 1.4;
}

/* ============================================================
   TESTIMONIAL — #CFFAFE
   ============================================================ */
.testimonial-section {
  padding: 80px 0;
  background: #fafafa;
}

.testimonial {
  /* max-width: 720px; */
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.testimonial-quote-icon {
  font-size: 36px;
  color: var(--color-teal-dark);
  opacity: 0.5;
}
.testimonial-text {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-heading-dark);
  line-height: 1.4;
}
.testimonial-author {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-gray-mid);
  font-style: normal;
}

/* ============================================================
   RESULTS / CTA — green #059669
   ============================================================ */
.results-section {
  background: var(--color-green);
  padding: 80px 0;
}

.results-content {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.results-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.results-number {
  font-size: clamp(52px, 8vw, 80px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -2px;
}
.results-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.results-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.results-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.results-section .btn-primary {
  background: var(--color-white);
  color: var(--color-green);
  border-color: var(--color-white);
  padding: 12px 28px;
  border-radius: var(--radius-xs);
  font-size: 14px;
}
.results-section .btn-primary:hover {
  background: var(--color-off-white);
  border-color: var(--color-off-white);
}

.results-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

/* ============================================================
   BOTTOM CTA BANNER — dark teal #164E63
   ============================================================ */
.cta-banner {
  background: var(--color-teal-dark);
  padding: 60px 0;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner-text {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.4;
  max-width: 600px;
}
.cta-banner .btn-primary {
  background: var(--color-white);
  color: var(--color-teal-dark);
  border-color: var(--color-white);
  flex-shrink: 0;
  padding: 12px 28px;
  font-size: 14px;
  border-radius: var(--radius-xs);
}
.cta-banner .btn-primary:hover {
  background: var(--color-off-white);
  border-color: var(--color-off-white);
}

/* ============================================================
   FOOTER — dark teal #164E63
   ============================================================ */
.site-footer {
  background: var(--color-teal-dark);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.footer-contact-link {
  font-size: 14px;
  color: var(--color-green-hover);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-contact-link:hover {
  color: var(--color-white);
}
p.footer-contact-link {
  color: var(--color-green-hover);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-green-hover);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-social-link:hover {
  color: var(--color-white);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 7, 7, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #f5f7f8;
  border-radius: 10px;
  padding: 50px;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}
.modal-overlay.open .modal {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-light);
  color: var(--color-gray-dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition);
}
.modal-close:hover {
  background: var(--color-gray-mid);
  color: var(--color-white);
}

.modal-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--color-heading-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  text-align: center;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--color-gray-mid);
  text-align: center;
  margin-bottom: 28px;
}

/* Form */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-mid);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 152, 159, 0.15);
  background: var(--color-white);
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-red);
}

.demo-form .btn-primary {
  background: var(--color-teal-dark);
  color: var(--color-white);
  border: 2px solid var(--color-teal-dark);
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}
.demo-form .btn-primary:hover {
  background: var(--color-teal-hover);
  border-color: var(--color-teal-hover);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-green-bg);
  border: 1px solid var(--color-green-border);
  border-radius: var(--radius-sm);
  color: var(--color-green);
  font-size: 15px;
  font-weight: 600;
}
.form-success.show {
  display: flex;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  .container,
  .container-lg {
    padding: 0 32px;
  }
  .header-inner {
    padding: 20px 32px;
  }
  .header-nav {
    gap: 4px;
  }
  .nav-link {
    padding: 12px 14px;
  }
  .cards-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-products {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-links-col {
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .container-lg {
    padding: 0 20px;
  }
  .header-inner {
    padding: 16px 20px;
  }
  .section {
    padding: 56px 0;
  }

  /* Header */
  .header-nav,
  .header-ctas {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 0 56px;
  }
  .hero-eyebrow {
    font-size: 16px;
  }
  .hero-title {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-content {
    gap: 20px;
  }

  /* Hero product cards */
  .hero-product {
    padding: 24px 20px;
  }
  .hero-product-title {
    font-size: 26px;
  }
  .hero-product-text {
    font-size: 15px;
  }

  /* Hero stats */
  .hero-stats {
    padding: 16px 8px;
  }
  .hero-stat-item {
    padding: 0 4px;
  }
  .hero-stat-number {
    font-size: 20px;
  }
  .hero-stat-label {
    font-size: 11px;
  }

  /* Cards */
  .cards-grid.three-col,
  .cards-grid.two-col {
    grid-template-columns: 1fr;
  }
  .why-card-full {
    grid-column: auto;
  }

  /* Why Everest */
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-grid .feature-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .feature-card {
    flex-direction: column;
  }

  /* How it works */
  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Stats */
  .stats-card {
    padding: 32px 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Turnover calculator */
  .turnover-stat {
    flex-basis: 100%;
  }
  .turnover-stat-value {
    font-size: 34px;
  }
  .calc-card {
    padding: 28px 20px;
  }
  .calc-result-value {
    font-size: 38px;
  }

  /* Diff */
  .diff-item {
    flex-direction: column;
    gap: 16px;
  }

  /* Value grid */
  .value-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links-col {
    align-items: center;
  }

  /* Modal */
  .modal {
    padding: 32px 24px;
    max-height: 100vh;
    border-radius: var(--radius-md);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
