/* =============================================
   ERPCA — Marshmallow Light Mode Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ──────────────────────────── */
:root {
  /* Brand */
  --clr-primary: #1B6B3A;
  --clr-primary-lt: #2e8f52;
  --clr-primary-pale: #d1fae5;
  --clr-accent: #3B82F6;
  --clr-accent-pale: #dbeafe;
  --clr-gold: #F59E0B;

  /* Light backgrounds */
  --clr-bg: #F4F7FF;
  /* soft lavender-white */
  --clr-bg-2: #EEF2FD;
  --clr-card: #FFFFFF;
  --clr-card-hover: #FAFCFF;

  /* Marshmallow glass (on light) */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.07);
  --glass-blur: 24px;
  --shadow-card: 0 4px 32px rgba(60, 80, 140, 0.10), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 16px 56px rgba(60, 80, 140, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 48px rgba(27, 107, 58, 0.12);

  /* Text */
  --clr-text: #111827;
  --clr-text-muted: rgba(17, 24, 39, 0.58);
  --clr-text-faint: rgba(17, 24, 39, 0.32);

  /* Spacing */
  --section-pad: 100px;
  --container-width: 1200px;
  --container-px: 24px;

  /* Radius — marshmallow signature */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --dur: 0.4s;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}

/* ── Premium Dot Texture ───────────────────── */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
  background-image: radial-gradient(#d1d5db 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Container ──────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: var(--section-pad) 0;
}

/* ── Gradient text ──────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #1B6B3A 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section header ─────────────────────────── */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--clr-text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ── Section tag pill ───────────────────────── */
.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(27, 107, 58, 0.08);
  border: 1px solid rgba(27, 107, 58, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 20px;
}

/* ==========================================
   MARSHMALLOW CARD — Light version
   ========================================== */
.marshmallow-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

/* subtle top-left highlight */
.marshmallow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.marshmallow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(27, 107, 58, 0.18);
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #1B6B3A 0%, #2e8f52 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(27, 107, 58, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(27, 107, 58, 0.50);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--clr-text);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
}

.btn-white {
  background: #fff;
  color: var(--clr-primary);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ── Placeholder images ─────────────────────── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 244, 255, 0.6) 100%);
  border: 1.5px dashed rgba(27, 107, 58, 0.25);
  color: var(--clr-text-faint);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.placeholder-icon {
  color: var(--clr-text-faint);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 0;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(244, 247, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), 0 4px 20px rgba(60, 80, 140, 0.06);
}

/* Hidden on desktop, only activates in mobile media query */
.nav-backdrop {
  display: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  display: block;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-list a:hover {
  color: var(--clr-text);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  background: linear-gradient(135deg, #1B6B3A, #2e8f52) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(27, 107, 58, 0.35);
}

.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(27, 107, 58, 0.5) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  /* Soft mint-to-lavender gradient background */
  background:
    radial-gradient(ellipse 80% 60% at 10% 30%, rgba(209, 250, 229, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(219, 234, 254, 0.5) 0%, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(27, 107, 58, 0.09);
  border: 1px solid rgba(27, 107, 58, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s var(--ease) both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc89;
  box-shadow: 0 0 8px rgba(46, 204, 137, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 6px rgba(46, 204, 137, 0.6);
  }

  50% {
    box-shadow: 0 0 14px rgba(46, 204, 137, 0.9);
  }
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--clr-text);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.9s var(--ease) 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.9s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.9s var(--ease) 0.3s both;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  animation: fadeSlideUp 0.9s var(--ease) 0.4s both;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
}

.stat-pill:first-child {
  padding-left: 0;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1B6B3A 0%, #2e8f52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
  margin-right: 24px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fadeSlideLeft 1s var(--ease) 0.2s both;
}

/* ── Hero Model Scene ─────────────────────── */
.hero-model-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* CSS blob matching the reference — organic kidney/pebble shape */
.hero-blob-bg {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #2e8f52 0%, #1B6B3A 55%, #0f3d22 100%);
  border-radius: 68% 32% 55% 45% / 44% 58% 42% 56%;
  z-index: 0;
  animation: blobMorph 8s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(27, 107, 58, 0.30);
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 68% 32% 55% 45% / 44% 58% 42% 56%;
  }

  33% {
    border-radius: 50% 50% 65% 35% / 55% 45% 55% 45%;
  }

  66% {
    border-radius: 72% 28% 48% 52% / 40% 60% 40% 60%;
  }
}

/* Two small accent dots — like in reference */
.hero-accent-dot {
  position: absolute;
  background: #0e2e56;
  border-radius: 50%;
  z-index: 1;
}

.dot-1 {
  width: 18px;
  height: 18px;
  top: 32%;
  right: 4%;
}

.dot-2 {
  width: 13px;
  height: 13px;
  bottom: 28%;
  left: 6%;
}

.hero-model-img {
  position: relative;
  z-index: 2;
  width: 140%;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: 0 auto;
  border-radius: 0 0 32px 32px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.12));
}

/* ── Hero Feature Tags ─────────────────────── */
.hero-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(60, 80, 140, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-text);
  white-space: nowrap;
  z-index: 4;
}

.tag-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/*
  4-tag layout: 2 left, 2 right — symmetrically balanced
  Left tags align to the left edge, right tags to the right edge
  Stacked vertically at 1/3 and 2/3 of the scene height
*/
.hero-tag-1 {
  /* LEFT TOP — Reports */
  top: 20%;
  left: -6%;
  animation: tagFloatIn 0.9s var(--ease) 0.4s both, tagBob 3.2s ease-in-out 1.3s infinite;
}

.hero-tag-2 {
  /* LEFT BOTTOM — MOM */
  top: 52%;
  left: -2%;
  animation: tagFloatIn 0.9s var(--ease) 0.6s both, tagBob 4.0s ease-in-out 1.6s infinite;
}

.hero-tag-3 {
  /* RIGHT TOP — GST Filing */
  top: 22%;
  right: -8%;
  animation: tagFloatIn 0.9s var(--ease) 0.5s both, tagBob 3.6s ease-in-out 1.4s infinite;
}

.hero-tag-4 {
  /* RIGHT BOTTOM — Timesheets */
  top: 54%;
  right: -4%;
  animation: tagFloatIn 0.9s var(--ease) 0.75s both, tagBob 4.2s ease-in-out 1.7s infinite;
}

@keyframes tagFloatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tagBob {

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

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

.hero-placeholder {
  height: 420px;
}

/* Floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 32px rgba(60, 80, 140, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-text);
}

.chip-1 {
  top: 40px;
  left: -30px;
  animation: chipFloat 3s ease-in-out infinite;
}

.chip-2 {
  bottom: 80px;
  right: -30px;
  animation: chipFloat 3.5s ease-in-out 1s infinite;
}

.chip-3 {
  bottom: -16px;
  left: 30px;
  animation: chipFloat 4s ease-in-out 0.5s infinite;
}

@keyframes chipFloat {

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

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

/* Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
  background: transparent;
  position: relative;
}

/* Subtle alternating bg */
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

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

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

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

/* ==========================================
   BENEFITS
   ========================================== */
.benefits {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(209, 250, 229, 0.18) 50%, transparent 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-left .section-tag-pill {
  margin-bottom: 16px;
}

.benefits-left .section-title {
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.benefits-left .section-desc {
  text-align: left;
  max-width: 440px;
  margin-bottom: 36px;
}

.benefit-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.benefit-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.benefit-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--check-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.benefit-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Benefits visual */
.benefits-visual {
  position: relative;
}

.benefits-placeholder {
  height: 480px;
}

.benefits-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 12px 40px rgba(60, 80, 140, 0.14);
  text-align: center;
}

.b-badge-1 {
  top: 32px;
  left: -30px;
  animation: chipFloat 3.2s ease-in-out infinite;
}

.b-badge-2 {
  bottom: 48px;
  right: -20px;
  animation: chipFloat 3.8s ease-in-out 1.2s infinite;
}

.badge-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1B6B3A, #2563EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.badge-txt {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================
   DASHBOARD
   ========================================== */
.dashboard-section {
  position: relative;
}

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

.dash-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--d-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease);
}

.dash-card:hover .dash-icon {
  transform: scale(1.1) rotate(-4deg);
}

.dash-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

.dash-card p {
  font-size: 0.87rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ==========================================
   CTA BAND
   ========================================== */
.cta-band {
  position: relative;
  /* overflow: hidden; */
  padding: 2rem 12rem;
}

.cta-band-inner {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f3d22 0%, #1B6B3A 50%, #0e2e56 100%);
  padding: 80px 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(27, 107, 58, 0.25);
}

.cta-band-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.25);
  top: -150px;
  right: -100px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(27, 107, 58, 0.45);
  bottom: -100px;
  left: -80px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

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

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  background: linear-gradient(180deg, transparent 0%, rgba(219, 234, 254, 0.15) 50%, transparent 100%);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stars {
  display: flex;
  gap: 3px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--av-color);
  color: var(--av-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--clr-text);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--clr-text-faint);
}

/* ==========================================
   DEMO FORM
   ========================================== */
.demo-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(209, 250, 229, 0.1) 50%, transparent 100%);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: flex-start;
}

.demo-left .section-tag-pill {
  margin-bottom: 16px;
}

.demo-left .section-title {
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.demo-left .section-desc {
  text-align: left;
  max-width: 420px;
  margin-bottom: 32px;
}

.demo-expect h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}

.demo-expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-expect-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* Form */
.demo-form-card {
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: var(--clr-text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  width: 100%;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-faint);
}

.form-group select option {
  background: #fff;
  color: var(--clr-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(27, 107, 58, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 107, 58, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--clr-text-faint);
  margin-top: 14px;
}

/* Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: popIn 0.5s var(--ease) both;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--clr-text);
}

.form-success p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.85);
  border-top: none;
  /* Top soft fade */
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-top {
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 20px 0 24px;
  max-width: 300px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(27, 107, 58, 0.25);
  border-color: rgba(27, 107, 58, 0.5);
  color: #2ecc89;
  transform: translateY(-2px);
}

.footer-links h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links li svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2ecc89;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #2ecc89;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

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

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll-driven animations via IntersectionObserver */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate="fade-left"] {
  transform: translateX(48px);
}

[data-animate="fade-right"] {
  transform: translateX(-48px);
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================
   RESPONSIVE — TABLET
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .hero-grid,
  .benefits-grid,
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-placeholder {
    height: 300px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

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

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

  .benefits-left .section-title,
  .benefits-left .section-desc,
  .demo-left .section-title,
  .demo-left .section-desc {
    text-align: center;
  }

  .benefits-left {
    text-align: center;
  }

  .benefit-item {
    text-align: left;
  }

  .demo-left {
    text-align: center;
  }
}

/* ==========================================
   RESPONSIVE — MOBILE
   ========================================== */
@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
    --container-px: 20px;
  }

  .header {
    padding: 14px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(244, 247, 255, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px 32px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s;
    pointer-events: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(60, 80, 140, 0.1);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list a {
    width: 100%;
    display: block;
    padding: 12px 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .chip-1,
  .chip-2,
  .chip-3 {
    display: none;
  }

  .features-grid,
  .dashboard-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

  .demo-form-card {
    padding: 28px 20px;
  }

  .cta-band-inner {
    padding: 56px 24px;
  }
}

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ── Text selection ──────────────────────────── */
::selection {
  background: rgba(27, 107, 58, 0.2);
  color: #111;
}

/* ==========================================
   BENTO GRID — Dashboard Section
   ========================================== */

/* Outer grid: 6 equal columns */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
}

/* ── Large image card (cols 1-4, row 1) ─── */
.bento-img-card {
  grid-column: 1 / 5;
  grid-row: 1;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Browser chrome bar */
.bento-browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

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

.bento-browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.bento-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ── Mock dashboard UI inside image card ── */
.bento-img-body {
  flex: 1;
  display: flex;
  background: #f8faff;
  min-height: 300px;
}

.mock-sidebar {
  width: 64px;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.mock-logo-bar {
  width: 38px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1B6B3A, #2563EB);
  margin: 0 auto 8px;
}

.mock-nav-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-nav-item {
  height: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.08);
}

.mock-nav-item.active {
  background: rgba(27, 107, 58, 0.25);
}

.mock-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-topbar-title {
  width: 140px;
  height: 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.12);
}

.mock-topbar-sub {
  width: 90px;
  height: 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.07);
}

.mock-topbar-btn {
  width: 80px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #1B6B3A, #2e8f52);
  opacity: 0.7;
}

/* Mini stat cards row */
.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-stat-card {
  background: var(--ms-color, #f0f4ff);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.mock-stat-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  opacity: 0.8;
}

.mock-stat-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mock-stat-lines span {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
}

.mock-stat-lines span:first-child {
  width: 60%;
}

.mock-stat-lines span:last-child {
  width: 40%;
}

/* Content row: chart + task list */
.mock-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.mock-chart-area {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-chart-label {
  width: 80px;
  height: 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
}

.mock-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: 8px;
  min-height: 80px;
}

.mock-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  min-height: 8px;
  transition: height 0.5s var(--ease);
}

.mock-task-list {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-task-label {
  width: 70px;
  height: 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
}

.mock-task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.02);
}

.mock-task-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-task-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-task-text span {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.09);
}

.mock-task-text span:first-child {
  width: 75%;
}

.mock-task-text span:last-child {
  width: 50%;
}

.mock-task-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Caption below image card */
.bento-img-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.015);
}

/* ── Stat highlight card (cols 5-6, row 1) ─ */
.bento-stat-card {
  grid-column: 5 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(209, 250, 229, 0.35) 100%);
}

.bento-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bento-stat-numbers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-big-num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #1B6B3A, #2563EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-mini-stars {
  font-size: 1.1rem;
  color: #F59E0B;
  letter-spacing: 2px;
}

.bento-stat-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
}

.bento-stat-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.bento-mini-stats {
  display: flex;
  gap: 20px;
}

.bento-mini-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bento-mini-stats strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.04em;
}

.bento-mini-stats span {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* ── Feature cards (cols 1-2, 3-4, 5-6, row 2) ─ */
.bento-feat-card {
  grid-column: span 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.bento-feat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

.bento-feat-card p {
  font-size: 0.86rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Wide feature cards (cols 1-3, 4-6, row 3) ─ */
.bento-wide-card {
  grid-column: span 3;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 20px;
}

.bento-wide-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.bento-wide-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.bento-wide-inner p {
  font-size: 0.86rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.bento-wide-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  background: #d1fae5;
  color: #059669;
}

/* ── Old dashboard-grid classes (kept for compatibility) ─ */
.dash-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--d-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease);
}

.bento-feat-card:hover .dash-icon,
.bento-wide-card:hover .dash-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* ── Bento responsive ─────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-img-card {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  .bento-stat-card {
    grid-column: 4 / 5;
    grid-row: 1;
  }

  .bento-feat-card {
    grid-column: span 2;
    grid-row: auto;
  }

  .bento-wide-card {
    grid-column: span 2;
    grid-row: auto;
  }
}

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

  .bento-img-card,
  .bento-stat-card,
  .bento-feat-card,
  .bento-wide-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-img-body {
    min-height: 220px;
  }

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

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

  .bento-wide-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-big-num {
    font-size: 2.5rem;
  }
}

/* ── Humanized Design Additions ───────────────── */
.hero-highlight {
  color: var(--clr-primary);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FAQ Section ──────────────────────────── */
.faq-section {
  background: var(--clr-bg);
  position: relative;
}

.faq-accordion {
  max-width: 860px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(60, 80, 140, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq-item:hover {
  box-shadow: 0 8px 32px rgba(60, 80, 140, 0.08);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(27, 107, 58, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 28px 32px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.3s;
}

.faq-item.active .faq-question {
  color: var(--clr-primary);
}

.faq-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}

.faq-icon {
  color: var(--clr-primary);
  transition: transform 0.4s var(--ease);
}

.faq-item.active .faq-icon-wrap {
  background: var(--clr-primary);
}

.faq-item.active .faq-icon {
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-answer-inner {
  padding: 0 32px 32px;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Hidden Features Expansion ──────────────── */
.hidden-features-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}

.hidden-features-wrapper.expanded {
  grid-template-rows: 1fr;
}

.hidden-features-inner {
  overflow: hidden;
  /* Add padding to give the card shadows room to breathe inside the clipping container */
  padding: 16px 24px 40px;
  /* Perfectly offset the padding with negative margin so the layout doesn't shift at all */
  margin: -16px -24px -40px;
}

/* ── View More Button ───────────────────────── */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1B6B3A 0%, #2e8f52 100%);
  border: none;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(27, 107, 58, 0.35);
  transition: all 0.4s var(--ease);
}

.btn-view-more:hover {
  box-shadow: 0 8px 32px rgba(27, 107, 58, 0.50);
  transform: translateY(-2px);
}

.btn-view-more .btn-icon {
  transition: transform 0.6s var(--ease);
}

.btn-view-more.expanded {
  background: var(--clr-primary-pale);
  border-color: transparent;
  color: var(--clr-primary);
  box-shadow: none;
}

.btn-view-more.expanded:hover {
  background: #bbf7d0;
  transform: translateY(0);
}

.btn-view-more.expanded .btn-icon {
  transform: rotate(180deg);
}


/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* ── Tablet: 1024px and below ─────────────── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  /* Hero */
  .hero {
    padding: 130px 0 70px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-model-scene {
    min-height: 440px;
  }

  .hero-blob-bg {
    width: 80%;
  }

  .hero-model-img {
    width: 130%;
  }

  /* Tags pull in slightly on tablet */
  .hero-tag-1 { left: -2%; }
  .hero-tag-2 { left: 0%; }
  .hero-tag-3 { right: -2%; }
  .hero-tag-4 { right: 0%; }

  /* CTA Band */
  .cta-band {
    padding: 2rem 4rem;
  }

  /* Dashboard grid: 2 cols */
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Benefits */
  .benefits-grid {
    gap: 48px;
  }

  /* Demo */
  .demo-grid {
    gap: 48px;
  }
}


/* ── Mobile: 768px and below ──────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  html {
    font-size: 15.5px;
  }

  /* ── Header / Nav ── */
  .menu-toggle {
    display: flex;
    z-index: 300;
    position: relative;
  }

  /* Backdrop overlay behind the drawer */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Slide-in drawer from the right */
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    flex-direction: column;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    padding: 88px 24px 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 200;
    overflow-y: auto;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list a {
    font-size: 1rem;
    padding: 12px 20px;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li:last-child {
    margin-top: 16px;
  }

  .nav-list .nav-cta {
    display: block;
    text-align: center;
    padding: 14px 20px;
  }

  /* ── Hero ── */
  .hero {
    padding: 110px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    order: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-model-scene {
    max-width: 420px;
    min-height: 360px;
    margin: 0 auto;
  }

  .hero-blob-bg {
    width: 70%;
    top: 4%;
  }

  .hero-model-img {
    width: 120%;
  }

  /* Keep tags but scale down */
  .hero-tag {
    font-size: 0.75rem;
    padding: 8px 14px 8px 8px;
  }

  .tag-icon {
    width: 26px;
    height: 26px;
  }

  .hero-tag-1 { top: 14%; left: 0%; }
  .hero-tag-2 { top: 50%; left: 2%; }
  .hero-tag-3 { top: 16%; right: 0%; }
  .hero-tag-4 { top: 52%; right: 2%; }

  /* ── Section Header ── */
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.2rem);
  }

  /* ── Features Grid ── */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* ── Benefits ── */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .benefits-left .section-title,
  .benefits-left .section-desc {
    text-align: center;
  }

  .benefits-left .section-tag-pill {
    display: block;
    text-align: center;
  }

  .benefits-left a.btn {
    display: block;
    text-align: center;
    max-width: 260px;
    margin: 0 auto;
  }

  .benefits-visual {
    order: -1;
  }

  .b-badge-1 {
    left: 0;
  }

  .b-badge-2 {
    right: 0;
  }

  /* ── Dashboard Grid ── */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── CTA Band ── */
  .cta-band {
    padding: 2rem 1.5rem;
  }

  .cta-band-inner {
    padding: 56px 28px;
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ── Demo Form ── */
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-left .section-title,
  .demo-left .section-desc {
    text-align: center;
    max-width: 100%;
  }

  .demo-left .section-tag-pill {
    display: block;
    text-align: center;
  }

  /* ── FAQ ── */
  .faq-question {
    padding: 22px 20px;
    font-size: 1rem;
  }

  .faq-answer-inner {
    padding: 0 20px 24px;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* ── Hero Tag Accent Dots ── */
  .dot-1,
  .dot-2 {
    display: none;
  }
}


/* ── Small Mobile: 480px and below ───────── */
@media (max-width: 480px) {
  html {
    font-size: 14.5px;
  }

  /* Hero */
  .hero {
    padding: 96px 0 50px;
  }

  .hero-model-scene {
    max-width: 320px;
    min-height: 290px;
  }

  .hero-blob-bg {
    width: 78%;
  }

  .hero-model-img {
    width: 110%;
  }

  /* Hide the tags on tiny screens — blob + model is enough */
  .hero-tag {
    display: none;
  }

  /* Features: 1 col */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Demo form adjustments */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA Band */
  .cta-band {
    padding: 1.5rem 1rem;
  }

  .cta-band-inner {
    padding: 48px 20px;
  }

  /* Buttons full-width in hero */
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Benefits badges hidden on tiny screens */
  .benefits-badge {
    display: none;
  }

  /* Footer single col */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }
}