/* ============================================
   DeployIQ — Global Stylesheet (Rebrand v2)
   Instrument Serif + Outfit | Cream #F6F4EF
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

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

:root {
  /* Backgrounds */
  --bg:            #F6F4EF;
  --bg-secondary:  #EEEBE4;
  --bg-tertiary:   #E8E4DB;

  /* Text */
  --text:          #181818;
  --text-muted:    #666;
  --text-subtle:   #999;

  /* Brand colours */
  --green:         #2D6A4F;
  --green-dark:    #1B4332;
  --green-darker:  #143728;
  --blue:          #1a3550;
  --amber:         #7C3A10;

  /* Tints */
  --green-tint:    rgba(45,106,79,0.07);
  --blue-tint:     rgba(26,53,80,0.06);
  --amber-tint:    rgba(124,58,16,0.06);

  /* Cards */
  --card:          #FFFFFF;
  --card-border:   rgba(0,0,0,0.06);
  --card-shadow:   0 2px 16px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.1);

  /* Radii */
  --radius:        12px;
  --radius-lg:     20px;
  --radius-pill:   100px;

  /* Typography */
  --font-serif:    'Instrument Serif', Georgia, serif;
  --font-body:     'Outfit', system-ui, sans-serif;

  /* Layout */
  --max-w:         1200px;
  --transition:    0.25s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  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; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

/* Italic green emphasis in headings */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--green);
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.text-green   { color: var(--green); }
.text-blue    { color: var(--blue); }
.text-amber   { color: var(--amber); }
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }

.subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   SECTION STRUCTURE
   ============================================ */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header .subtitle { margin: 0 auto; }

/* Pill label */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--green-tint);
  border: 1px solid rgba(45,106,79,0.15);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 20px;
}
.section-label.blue  { color: var(--blue);  background: var(--blue-tint);  border-color: rgba(26,53,80,0.12); }
.section-label.amber { color: var(--amber); background: var(--amber-tint); border-color: rgba(124,58,16,0.12); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45,106,79,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--green-dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--green-darker);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.btn-sm  { padding: 9px 20px; font-size: 0.83rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn svg { font-size: 1.1em; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(246,244,239,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(246,244,239,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}
.nav-logo img, .nav-logo svg { height: 30px; width: auto; }

/* Nav centre links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links > a,
.nav-dropdown > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-dropdown > a:hover,
.nav-links > a.active { color: var(--text); background: rgba(0,0,0,0.04); }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  transition: transform var(--transition);
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--green);
}
.dropdown-menu a small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 1px;
}
.dropdown-menu .dropdown-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.9rem;
  margin-top: 1px;
}
.dropdown-menu .dropdown-icon.blue { background: var(--blue-tint); color: var(--blue); }
.dropdown-menu .dropdown-icon.amber { background: var(--amber-tint); color: var(--amber); }

/* Wide dropdown (Solutions) */
.dropdown-menu.wide {
  min-width: 480px;
  left: 50%;
}
.dropdown-wide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.dropdown-footer {
  display: flex;
  gap: 8px;
  padding: 10px 8px 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 4px;
}
.dropdown-footer .btn { flex: 1; justify-content: center; font-size: 0.8rem; padding: 8px 12px; }

/* Resources dropdown */
.dropdown-menu.resources { min-width: 260px; }

/* Nested submenu (Free Templates fly-out) */
.dropdown-submenu { position: relative; }
.dropdown-menu .dropdown-submenu > a {
  align-items: center;
  justify-content: space-between;
}
.dropdown-submenu > a .submenu-arrow {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.35;
  flex-shrink: 0;
  margin-left: 8px;
  transition: opacity var(--transition), transform var(--transition);
}
.dropdown-submenu:hover > a .submenu-arrow {
  opacity: 0.8;
  transform: translateX(2px);
}
.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  pointer-events: none;
  z-index: 200;
}
.dropdown-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-right .btn:not(.nav-cta-mobile) {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; display: flex; }
  .nav-links > a,
  .nav-dropdown > a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 12px;
    min-width: auto;
    pointer-events: auto;
  }
  .dropdown-menu.wide { min-width: auto; }
  .dropdown-wide-grid { grid-template-columns: 1fr; }
  .dropdown-footer { flex-direction: column; }
  .nav-dropdown > a::after { display: none; }
  .nav-right { gap: 6px; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 12px;
    pointer-events: auto;
  }
  .dropdown-submenu > a .submenu-arrow { display: none; }
}

/* ============================================
   HERO — HOME SPLIT
   ============================================ */
.hero-home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 62% 38%;
  padding-top: 70px;
}

/* Left panel */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px clamp(40px, 8vw, 140px);
}
.hero-left h1 { margin-bottom: 24px; margin-top: 0; }
.hero-left .subtitle { margin-bottom: 40px; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--card-border);
}
.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-number em { color: var(--green); font-style: italic; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Right panel — visual */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
}

/* Animated gradient */
.hero-visual {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--green-darker) 0%,
    var(--green-dark) 40%,
    #1e5c3c 70%,
    var(--blue) 100%
  );
  animation: gradientDrift 12s ease-in-out infinite alternate;
}

@keyframes gradientDrift {
  0%   { filter: hue-rotate(0deg) brightness(1);   background-position: 0% 50%;   }
  50%  { filter: hue-rotate(8deg) brightness(1.04); background-position: 100% 50%; }
  100% { filter: hue-rotate(0deg) brightness(1);   background-position: 0% 50%;   }
}

/* Grid lines overlay */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Floating glass panels */
.hero-glass {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  color: #fff;
}
.hero-glass-1 {
  top: 20%;
  left: 10%;
  right: 10%;
  animation: floatA 6s ease-in-out infinite;
}
.hero-glass-2 {
  bottom: 30%;
  left: 8%;
  right: 8%;
  animation: floatB 7s ease-in-out infinite;
}
.hero-glass-3 {
  top: 52%;
  left: 12%;
  width: 160px;
  animation: floatA 8s ease-in-out infinite 1s;
}
.hero-glass-4 {
  top: 30%;
  right: 10%;
  width: 150px;
  animation: floatB 9s ease-in-out infinite 0.5s;
}
.hero-glass .glass-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 4px;
}
.hero-glass .glass-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}
.hero-glass .glass-sub {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 2px;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0);  }
  50%       { transform: translateY(8px); }
}

@media (max-width: 900px) {
  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 100px 0 60px;
    order: 1;
  }
  .hero-right {
    height: 340px;
    order: 2;
  }
}

/* ============================================
   GENERIC HERO (inner pages)
   ============================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
}
.hero-content { max-width: 780px; }
.hero-content.center { margin: 0 auto; text-align: center; }
.hero-content.center .subtitle { margin: 20px auto 36px; }
.hero h1 { margin-bottom: 20px; }
.hero .subtitle { margin-bottom: 36px; }

/* Hero Grid (split pages) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 110px 0 60px; }
}

/* ============================================
   LOGOS / TRUST BAR
   ============================================ */
.logos-bar {
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg);
}
.logos-bar .logos-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  text-align: center;
  margin-bottom: 28px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.logo-pill {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.logo-pill:hover { border-color: rgba(45,106,79,0.2); color: var(--green); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--text);
  line-height: 1;
}
.stat-number em { color: var(--green); font-style: italic; }
.stat-number span { color: var(--green); }
.stat-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 8px;
}
@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(45,106,79,0.1);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.card-icon.blue  { background: var(--blue-tint);  color: var(--blue); }
.card-icon.amber { background: var(--amber-tint); color: var(--amber); }
.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.93rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
  font-family: var(--font-body);
}
.card-link:hover { gap: 10px; }

/* Card Grid */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

/* Product hero card (Yield) */
.product-hero-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.product-hero-card-head {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.product-hero-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.product-stat {
  padding: 24px 28px;
  border-right: 1px solid var(--card-border);
}
.product-stat:last-child { border-right: none; }
.product-stat-n {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 4px;
}
.product-stat-n em { color: var(--green); font-style: italic; }
.product-stat-l { font-size: 0.8rem; color: var(--text-muted); }

/* Product mini cards (Prop Intel / Onyx) */
.product-mini {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-mini:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.product-mini .coming-soon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--amber-tint);
  color: var(--amber);
  border: 1px solid rgba(124,58,16,0.15);
  margin-top: 8px;
  align-self: flex-start;
}

/* ============================================
   STEPS SELECTOR (How We Work)
   ============================================ */
.steps-section { background: var(--bg-secondary); }
.steps-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.steps-sidebar {
  border-right: 1px solid var(--card-border);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-secondary);
}
.step-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
}
.step-tab:hover { background: rgba(0,0,0,0.04); }
.step-tab.active { background: var(--green-dark); color: #fff; }
.step-tab-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
  min-width: 28px;
}
.step-tab.active .step-tab-num { color: rgba(255,255,255,0.5); }
.step-tab-text { }
.step-tab-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.step-tab.active .step-tab-title { color: #fff; }
.step-tab-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.step-tab.active .step-tab-time { color: rgba(255,255,255,0.55); }

.steps-content { padding: 48px 52px; }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-panel-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--green);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}
.step-panel h3 { margin-bottom: 12px; font-size: 1.6rem; }
.step-panel .step-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-tint);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.step-panel p { font-size: 1rem; max-width: 520px; }

@media (max-width: 700px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-sidebar { border-right: none; border-bottom: 1px solid var(--card-border); flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .step-tab { flex-direction: column; gap: 4px; padding: 12px 16px; min-width: 110px; text-align: center; }
  .step-tab-time { display: none; }
  .steps-content { padding: 32px 24px; }
}

/* ============================================
   PROCESS STEPS (horizontal, non-interactive)
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-tint);
  border: 2px solid rgba(45,106,79,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green);
}
.process-step h4 { margin-bottom: 6px; }
.process-step p  { font-size: 0.875rem; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 1px;
  background: linear-gradient(90deg, rgba(45,106,79,0.3), rgba(45,106,79,0.05));
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================
   BENEFIT / FEATURE LIST
   ============================================ */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-top: 2px;
}
.feature-item h4 { margin-bottom: 3px; }
.feature-item p  { font-size: 0.875rem; }
.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.benefit-icon.blue  { background: var(--blue-tint);  color: var(--blue); }
.benefit-icon.amber { background: var(--amber-tint); color: var(--amber); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
}
.testimonial-card .quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green);
  font-family: var(--font-body);
}
.testimonial-author .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-author .role { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.accordion { max-width: 760px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--card-border); }
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.accordion-header:hover { color: var(--green); }
.accordion-icon {
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform var(--transition);
  color: var(--text-muted);
  min-width: 22px;
  text-align: center;
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); color: var(--green); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body-inner {
  padding: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color var(--transition);
  outline: none;
  font-family: var(--font-body);
}
.form-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,0.08); }
.form-input::placeholder { color: var(--text-subtle); }
textarea.form-input { min-height: 130px; resize: vertical; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Email Gate */
.email-gate {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}
.email-gate h3 { margin-bottom: 8px; }
.email-gate p  { margin-bottom: 24px; }
.email-gate-form { display: flex; gap: 10px; }
.email-gate-form .form-input { flex: 1; }
@media (max-width: 480px) {
  .email-gate-form { flex-direction: column; }
  .email-gate { padding: 32px 20px; }
}

/* Multi-step Form */
.form-step { display: none; }
.form-step.active { display: block; }
.form-progress { display: flex; gap: 8px; margin-bottom: 36px; }
.form-progress-dot {
  flex: 1;
  height: 3px;
  background: var(--bg-secondary);
  border-radius: 2px;
  transition: background var(--transition);
}
.form-progress-dot.active { background: var(--green); }

/* Form Card wrapper */
.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--card-shadow);
}
@media (max-width: 600px) {
  .form-card { padding: 28px 20px; }
}

/* ============================================
   DEMO CARDS
   ============================================ */
.demo-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.demo-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.demo-card .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--bg-secondary);
}
.demo-card .video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.demo-card-body { padding: 22px; }
.demo-card-body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.demo-card-body p  { font-size: 0.85rem; }

/* ============================================
   CTA SECTION (dark green)
   ============================================ */
.cta-section {
  background: var(--green-dark);
  text-align: center;
  padding: 80px 0;
  border-radius: var(--radius-lg);
  margin: 0 24px;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section h2 em { color: rgba(255,255,255,0.65); }
.cta-section p { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.cta-section-wrap { padding: 80px 0; }

/* Flat CTA within page flow */
.cta-card {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
}
.cta-card h2 { color: #fff; margin-bottom: 14px; }
.cta-card h2 em { color: rgba(255,255,255,0.6); }
.cta-card p { color: rgba(255,255,255,0.65); margin-bottom: 28px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 0 0 36px;
}
/* ── Footer newsletter bar ─────────────────── */
.footer-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 48px;
}
.footer-newsletter-label {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-newsletter-form input[type="email"] {
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  outline: none;
  min-width: 220px;
  transition: border-color var(--transition);
}
.footer-newsletter-form input[type="email"]:focus {
  border-color: var(--green);
}
.footer-newsletter-form input[type="email"]::placeholder { color: var(--text-subtle); }
@media (max-width: 640px) {
  .footer-newsletter-row { flex-direction: column; align-items: flex-start; }
  .footer-newsletter-form { width: 100%; }
  .footer-newsletter-form input[type="email"] { flex: 1; min-width: 0; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img, .footer-brand svg { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.65;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-subtle);
}
.footer-bottom a { color: var(--text-muted); margin-left: 20px; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--green); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom a { margin-left: 10px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS & REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left h1       { animation: fadeUp 0.7s ease forwards; }
.hero-left .subtitle{ animation: fadeUp 0.7s ease 0.12s forwards; opacity: 0; }
.hero-left .hero-actions { animation: fadeUp 0.7s ease 0.24s forwards; opacity: 0; }
.hero-left .hero-meta    { animation: fadeUp 0.7s ease 0.36s forwards; opacity: 0; }
.hero-content h1    { animation: fadeUp 0.7s ease forwards; }
.hero-content .subtitle  { animation: fadeUp 0.7s ease 0.12s forwards; opacity: 0; }
.hero-content .hero-actions { animation: fadeUp 0.7s ease 0.24s forwards; opacity: 0; }

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(45,106,79,0.15);
  margin-bottom: 16px;
}
.badge.blue  { background: var(--blue-tint);  color: var(--blue);  border-color: rgba(26,53,80,0.12); }
.badge.amber { background: var(--amber-tint); color: var(--amber); border-color: rgba(124,58,16,0.12); }

/* ============================================
   INTEGRATIONS
   ============================================ */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.logo-grid .logo-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}
.logo-grid .logo-item:hover {
  border-color: rgba(45,106,79,0.2);
  color: var(--green);
  transform: translateY(-2px);
}

/* ============================================
   RESOURCES
   ============================================ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}
.download-item:hover { border-color: rgba(45,106,79,0.2); transform: translateY(-1px); }
.download-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.download-item h4 { font-size: 0.9rem; margin-bottom: 1px; }
.download-item p  { font-size: 0.78rem; }
@media (max-width: 600px) { .download-grid { grid-template-columns: 1fr; } }

.skill-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}
.skill-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.skill-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--green);
  opacity: 0.3;
  margin-bottom: 6px;
  line-height: 1;
}
.skill-card h3 { font-size: 1.1rem; margin-bottom: 6px; }

/* ============================================
   REFERRALS
   ============================================ */
.referral-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.referral-tier {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.referral-tier:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.tier-amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--green);
  margin-bottom: 4px;
}
@media (max-width: 768px) { .referral-tiers { grid-template-columns: 1fr; } }

/* ============================================
   BLOG
   ============================================ */
.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-card-thumb {
  overflow: hidden;
  background: var(--bg-secondary);
}
.blog-card-thumb img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}
.blog-card-body { padding: 22px; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.blog-card-body .meta { font-size: 0.78rem; color: var(--text-subtle); margin-bottom: 6px; }

/* ============================================
   LEGAL
   ============================================ */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.35rem; margin: 36px 0 10px; color: var(--text); }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 7px; font-family: var(--font-body); font-weight: 600; color: var(--text); }
.legal-content p  { margin-bottom: 14px; color: var(--text-muted); }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content ul li { color: var(--text-muted); padding: 3px 0; list-style: disc; font-size: 0.95rem; }
.legal-content a  { color: var(--green); }

/* ============================================
   GATED CONTENT
   ============================================ */
.gated-content { display: none; }
.gated-content.unlocked { display: block; }

/* ============================================
   UTILITY
   ============================================ */
.bg-secondary   { background: var(--bg-secondary); }
.bg-card        { background: var(--card); }
.bg-dark-green  { background: var(--green-dark); color: #fff; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 12px; }

/* Comparison table (AI chatbot resource page) */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th {
  background: var(--bg-secondary);
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
  vertical-align: middle;
}
.compare-table tr:hover td { background: var(--bg); }
.check-yes { color: var(--green); font-weight: 700; }
.check-no  { color: #ccc; }
