/* ==========================================================================
   SheetSenseAI — Custom Styles
   Loaded after style.min.css to override theme defaults
   ========================================================================== */

/* --- Base Resets (ported from removed theme CSS) --- */
a, a:hover, a:focus, button, button:focus {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

::selection { background: rgba(166, 175, 189, 0.3); }
::-moz-selection { background: rgba(166, 175, 189, 0.3); }

/* --- Brand Color Variables --- */
:root {
  --brand-primary: #005EBB;
  --brand-primary-dark: #004A94;
  --brand-primary-light: #EBF2FA;
  --brand-primary-wash: #F5F8FC;
  --brand-secondary: #006D3C;
  --brand-accent: #FF7411;
  --brand-accent-dark: #D96210;
  --brand-text-dark: #1F2937;
  --brand-text-medium: #4B5563;
  --brand-white: #FFFFFF;
  --brand-bright-green: #64BD24;
  --brand-teal: #0088C0;

  /* Override Bootstrap variables */
  --bs-primary: #005EBB;
  --bs-primary-rgb: 0, 94, 187;
  --bs-primary-text-emphasis: #004A94;
  --bs-primary-bg-subtle: rgba(0, 94, 187, 0.15);
  --bs-primary-border-subtle: rgba(0, 94, 187, 0.2);
  --bs-body-font-family: 'DM Sans', sans-serif;
}

/* --- Typography --- */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--brand-text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--brand-text-dark);
  font-weight: 700;
}

p {
  color: var(--brand-text-medium);
  line-height: 1.7;
}

/* --- Override Theme Primary Color --- */
.text-primary {
  color: var(--brand-primary) !important;
}

.text-muted {
  color: var(--brand-text-medium) !important;
}

.section-title-border {
  background: var(--brand-primary);
}

/* --- Navbar --- */
.site-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 94, 187, 0.08);
  padding: 0;
  z-index: 1030;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  width: 200px;
  height: auto;
  display: block;
}

/* Desktop inline menu */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-menu li a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-text-medium) !important;
  text-decoration: none !important;
  padding: 8px 18px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.2px;
}

.nav-menu li a:hover {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light);
}

.nav-menu li a.active {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1050;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay — hidden on desktop */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-menu {
  list-style: none;
  padding: 40px 24px;
  margin: 0;
  text-align: center;
}

.nav-mobile-menu li {
  margin-bottom: 12px;
}

.nav-mobile-menu li a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brand-text-medium) !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-mobile-menu li a:hover,
.nav-mobile-menu li a.active {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light);
}

/* --- Buttons --- */
.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary-dark);
  --bs-btn-hover-border-color: var(--brand-primary-dark);
  --bs-btn-active-bg: var(--brand-primary-dark);
  --bs-btn-active-border-color: var(--brand-primary-dark);
  --bs-btn-focus-shadow-rgb: 0, 94, 187;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 94, 187, 0.3);
}

.btn-accent {
  background: var(--brand-accent);
  color: var(--brand-white);
  border: 2px solid var(--brand-accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none !important;
  letter-spacing: 0.2px;
}

.btn-accent:hover {
  background: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 116, 17, 0.35);
}

.btn-outline-light {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--brand-white);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--brand-white);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
  padding: 160px 0 100px;
  background: var(--brand-primary-wash);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,94,187,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subheadline {
  font-size: 1.2rem;
  color: var(--brand-text-medium);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dashboard screenshot frame */
.screenshot-frame {
  background: var(--brand-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.screenshot-frame .browser-bar {
  background: #f1f3f5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.screenshot-frame .browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.screenshot-frame .browser-dot.red { background: #ff5f56; }
.screenshot-frame .browser-dot.yellow { background: #ffbd2e; }
.screenshot-frame .browser-dot.green { background: #27c93f; }

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Smaller screenshot card (for about page steps) */
.screenshot-card {
  background: var(--brand-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Problem Section --- */
.problem-section {
  padding: 80px 0;
  background: var(--brand-white);
}

.section-intro {
  font-size: 1.75rem;
  color: var(--brand-text-dark);
  font-weight: 600;
  max-width: 750px;
  margin: 0 auto 50px;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.pain-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: var(--brand-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.pain-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.pain-card .icon-wrap.warn {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.pain-card .icon-wrap.time {
  background: rgba(255, 116, 17, 0.1);
  color: var(--brand-accent);
}

.pain-card .icon-wrap.search {
  background: rgba(0, 94, 187, 0.1);
  color: var(--brand-primary);
}

.pain-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Solution Section --- */
.solution-section {
  padding: 80px 0;
  background: var(--brand-primary-light);
}

.pillar-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: var(--brand-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pillar-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--brand-primary);
}

.pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Use Cases Strip --- */
.usecase-section {
  padding: 80px 0;
  background: var(--brand-primary-wash);
  position: relative;
}

.usecase-section h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.usecase-section .section-sub {
  text-align: center;
  color: var(--brand-text-medium);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.usecase-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.usecase-pill {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-primary);
  background: var(--brand-white);
  border: 1px solid rgba(0, 94, 187, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.usecase-pill:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 94, 187, 0.2);
}

.usecase-pill.accent {
  color: var(--brand-accent);
  background: var(--brand-white);
  border-color: rgba(255, 116, 17, 0.2);
}

.usecase-pill.accent:hover {
  background: var(--brand-accent);
  color: var(--brand-white);
  box-shadow: 0 6px 16px rgba(255, 116, 17, 0.25);
}

/* --- Stats Strip --- */
.stats-section {
  padding: 90px 0 80px;
  /* Matches logo flow: green (left) → blue (right), with depth */
  background:
    linear-gradient(135deg,
      #004d2a 0%,        /* deep green — logo's green darkened */
      #003d20 20%,       /* rich forest */
      #003050 50%,       /* transition zone */
      #004A94 80%,       /* brand primary dark navy */
      #003a78 100%       /* deeper navy edge */
    );
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture overlay */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Warm glow — orange accent from logo, bottom-right like the arrow's direction */
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 116, 17, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Cool glow — green accent, top-left to anchor the green start */
.stats-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 189, 36, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.stats-inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 24px 20px;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--brand-white);
  line-height: 1;
  margin-bottom: 12px;
}

/* Orange accent underline under each stat */
.stat-number::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brand-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.stats-tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Animated count-up: start invisible, visible class triggers CSS transition */
.stat-number.counting {
  transition: none;
}

/* --- CTA Band --- */
.cta-section {
  padding: 90px 0;
  background: var(--brand-white);
  position: relative;
}

/* Soft top shadow to separate from dark stats section above */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.02), transparent);
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.cta-text {
  flex: 1;
  max-width: 520px;
}

.cta-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: left;
}

.cta-text p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  text-align: left;
}

.cta-icon {
  flex-shrink: 0;
  width: 240px;
}

.cta-icon img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.cta-icon img:hover {
  transform: scale(1.05) rotate(-2deg);
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .cta-text h2,
  .cta-text p {
    text-align: center;
  }
  .cta-icon {
    width: 160px;
    order: -1;
  }
}

/* --- Page Hero (About / Contact) --- */
.page-hero {
  padding: 150px 0 70px;
  background: var(--brand-primary-wash);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}

/* --- About Page: Story Section --- */
.story-section {
  padding: 80px 0;
  background: var(--brand-white);
}

.story-section .story-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.story-section .story-text p {
  margin-bottom: 20px;
  color: var(--brand-text-medium);
}

/* --- About Page: How It Works --- */
.how-it-works {
  padding: 80px 0;
  background: var(--brand-primary-wash);
}

.step-block {
  margin-bottom: 60px;
}

.step-block:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-block p, .step-block li {
  font-size: 1rem;
  color: var(--brand-text-medium);
  line-height: 1.7;
}

.step-block ul {
  list-style: none;
  padding: 0;
}

.step-block ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.step-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-secondary);
}

/* --- Benefits Grid --- */
.benefits-section {
  padding: 80px 0;
  background: var(--brand-primary-light);
}

.benefit-card {
  padding: 32px 24px;
  background: var(--brand-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.benefit-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.benefit-card .icon-wrap.efficiency { background: rgba(0, 94, 187, 0.1); color: var(--brand-primary); }
.benefit-card .icon-wrap.accuracy { background: rgba(100, 189, 36, 0.1); color: var(--brand-bright-green); }
.benefit-card .icon-wrap.decisions { background: rgba(255, 116, 17, 0.1); color: var(--brand-accent); }
.benefit-card .icon-wrap.scalability { background: rgba(0, 109, 60, 0.1); color: var(--brand-secondary); }
.benefit-card .icon-wrap.userfriendly { background: rgba(0, 136, 192, 0.1); color: var(--brand-teal); }

.benefit-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* --- Use Cases Detailed (About page) --- */
.usecases-detail {
  padding: 80px 0;
  background: var(--brand-white);
}

.usecase-item {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  cursor: default;
}

.usecase-item:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(0, 94, 187, 0.08);
}

.usecase-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-primary);
}

.usecase-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Contact Form --- */
.contact-section {
  padding: 80px 0;
  background: var(--brand-white);
}

.contact-form-wrap {
  background: var(--brand-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  height: 52px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--brand-text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none !important;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 94, 187, 0.1) !important;
}

.contact-form-wrap textarea.form-control {
  height: auto;
  min-height: 120px;
}

.contact-form-wrap label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-text-dark);
  margin-bottom: 6px;
}

.form-note {
  text-align: center;
  color: var(--brand-text-medium);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* --- Contact Info Cards --- */
.contact-info-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: var(--brand-primary-wash);
  height: 100%;
}

.contact-info-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.contact-info-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--brand-primary) !important;
  transition: color 0.2s ease;
}

.contact-info-card a:hover {
  color: var(--brand-primary-dark) !important;
}

/* --- What Happens Next --- */
.next-steps {
  padding: 80px 0;
  background: var(--brand-primary-wash);
}

.next-step-card {
  text-align: center;
  padding: 36px 24px;
}

.next-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.next-step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.next-step-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-primary-dark);
  color: var(--brand-white);
  padding: 70px 0 0;
}

.site-footer .row {
  align-items: flex-start;
}

.site-footer h5 {
  color: var(--brand-white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-brand {
  padding-right: 40px;
}

.footer-logo {
  height: auto;
  width: 220px;
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.footer-links li a:hover {
  color: var(--brand-white) !important;
  padding-left: 4px;
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-item i {
  color: var(--brand-accent);
  font-size: 20px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--brand-white) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  margin-top: 50px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animations */
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.15s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.25s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: 0.3s; }

/* --- Section Heading Utility --- */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-headline { font-size: 2.4rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .stat-number { font-size: 2.8rem; }
  .hero-section { padding: 140px 0 70px; }

  /* Switch to hamburger nav on tablet and below */
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-overlay { display: block; }
}

@media (max-width: 768px) {
  .nav-inner { height: 60px; }
  .nav-logo img { width: 160px; }
  .hero-section { padding: 120px 0 60px; }
  .hero-headline { font-size: 2rem; }
  .hero-subheadline { font-size: 1.05rem; }
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 1.8rem; }
  .section-heading h2 { font-size: 1.7rem; }
  .section-intro { font-size: 1.35rem; }
  .cta-text h2 { font-size: 1.7rem; }
  .stat-number { font-size: 2.2rem; }
  .problem-section,
  .solution-section,
  .benefits-section,
  .how-it-works,
  .usecases-detail,
  .contact-section,
  .next-steps,
  .story-section { padding: 60px 0; }
  .usecase-section { padding: 60px 0; }
  .stats-section { padding: 60px 0 50px; }
  .cta-section { padding: 60px 0; }
  .contact-form-wrap { padding: 24px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .step-block .row { flex-direction: column-reverse !important; }
  .step-block .row.flex-row-reverse { flex-direction: column-reverse !important; }
}

@media (max-width: 576px) {
  .hero-headline { font-size: 1.75rem; }
  .stat-item { padding: 16px 10px; }
  .stat-number { font-size: 2rem; }
}

/* --- Form Validation States --- */
.form-control:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: var(--brand-secondary);
}

/* --- Focus visible for accessibility --- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid rgba(0, 94, 187, 0.4);
  outline-offset: 2px;
}

/* --- Smooth scrolling --- */
html {
  scroll-behavior: smooth;
}
