/* ==========================================================================
   CLEARQUOTE MONOCHROME B&W DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Colors */
  --bg-page: #FFFFFF;           /* Main page bg */
  --bg-light: #F9FAFB;          /* Alternate section bg */
  --bg-dark: #111111;           /* Dark sections (hero, solution, cta) */
  --border-light: #E5E7EB;      /* Card borders, separators */
  --text-primary: #111111;      /* Headings, bold text */
  --text-secondary: #6B7280;    /* Body text, descriptions */
  --text-muted: #9CA3AF;        /* Placeholders, disabled states */
  --text-on-dark: #FFFFFF;      /* Text on dark sections */
  --text-muted-dark: #9CA3AF;   /* Muted text on dark sections */
  --accent: #111111;            /* All CTAs, highlights */
  --hover-dark: #333333;        /* Hover state for buttons/links */

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   GLOBAL STYLE RESET & UTILITIES
   ========================================================================== */

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

/* Visible outline ring for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.section-cta input:focus-visible,
.section-cta textarea:focus-visible,
.section-cta button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid #FFFFFF;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Sticky header offset */
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Disable body scroll when mobile menu is active */
.body-no-scroll {
  overflow: hidden;
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Scrolled state added via JS */
.navbar-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Left: Branding */
.logo-group {
  display: flex;
  align-items: center;
  gap: 16px; /* Clear space equal to height of 'C' */
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Center: Navigation links */
.desktop-nav {
  display: flex;
  gap: 32px;
  height: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  height: 100%;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
  cursor: pointer;
  padding: 0 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* Right: Desktop Actions */
.desktop-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.link-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.link-login:hover {
  color: var(--text-primary);
}

.btn-get-started {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-page); /* White text */
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-get-started:hover {
  background-color: var(--hover-dark);
}

.btn-get-started:active {
  transform: scale(0.98);
}

/* Mobile Hamburger Toggle */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   MOBILE MENU DRAWER & BACKDROP
   ========================================================================== */

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-page);
  border-left: 1px solid var(--border-light);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.logo-img-mobile {
  height: 32px;
  width: auto;
}

.close-btn {
  font-size: 32px;
  line-height: 1;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--hover-dark);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
  padding-left: 4px;
}

.mobile-nav-link.active {
  font-weight: 600;
}

.mobile-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
}

.link-login-mobile {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.link-login-mobile:hover {
  color: var(--text-primary);
}

.btn-get-started-mobile {
  width: 100%;
  padding: 12px 0;
  font-size: 15px;
}

/* ==========================================================================
   TEMPORARY SECTIONS STYLING FOR SCROLL & TESTING
   ========================================================================== */

.content-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.section-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.heading-large {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.heading-medium {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.body-large {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.body-medium {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Alternating dark and light sections strictly monochrome */
.section-hero {
  background-color: var(--bg-page);
  color: var(--text-secondary);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 24px;
}

.hero-container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  min-height: 130px; /* Prevent layout shift during typewriter animation */
  display: block;
}

.hero-subheadline {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-top: 20px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn-hero-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-page);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 99px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-hero-primary:hover {
  background-color: var(--hover-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(17,17,17,0.3);
}

.btn-hero-secondary {
  display: inline-block;
  background-color: var(--bg-page);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 99px;
  border: 1.5px solid var(--accent);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-hero-secondary:hover {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(17,17,17,0.15);
}

.hero-preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
}

.preview-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-2px);
  border-color: var(--text-primary);
}

.preview-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.preview-card-body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.preview-card-list {
  list-style-type: disc;
  padding-left: 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
}

.preview-card-list li {
  margin-bottom: 6px;
}

.preview-card-checklist {
  list-style: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-card-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkmark-icon {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   LOAD & FADE ANIMATIONS (TYPEWRITER & STAGGER)
   ========================================================================== */

/* Typewriter Cursor */
.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--text-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1.06s step-end infinite;
  transition: opacity 0.2s ease;
}
.cursor.hidden {
  opacity: 0;
  animation: none;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Fade Elements */
.hero-fade {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.hero-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specific overrides for buttons and cards */
#hero-buttons.hero-fade {
  transform: translateY(10px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}
#hero-buttons.hero-fade.visible {
  transform: translateY(0);
}

.preview-card.hero-fade {
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.preview-card.hero-fade.visible {
  transform: translateY(0);
}

/* Scroll-triggered Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* For cards specifically (slide up + fade + scale) */
.problem-card.animate-on-scroll,
.feature-card.animate-on-scroll {
  opacity: 0;
  transform: translateY(80px) scale(0.9) rotateX(5deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.problem-card.animate-on-scroll.visible,
.feature-card.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
}

/* Staggered transition delays */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 400ms; }
.stagger-4 { transition-delay: 600ms; }
.stagger-5 { transition-delay: 800ms; }
.stagger-6 { transition-delay: 1000ms; }

.section-problem {
  background-color: var(--bg-page);
  padding: 100px 24px;
}

.problem-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.problem-header {
  max-width: 700px;
  text-align: left;
}

.problem-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

.problem-headline {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.problem-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
}

.problem-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.problem-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
}

.problem-card-icon-wrapper {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.problem-card-icon {
  width: 100%;
  height: 100%;
  stroke: var(--text-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card-stat {
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.problem-card-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.problem-footer {
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

.problem-bottom-statement {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
}

.section-solution {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 100px 24px;
}

.solution-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.solution-header {
  max-width: 700px;
  text-align: left;
}

.solution-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted-dark);
  display: block;
  margin-bottom: 12px;
}

.solution-headline {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.2;
}

.solution-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted-dark);
  margin-top: 12px;
}

.solution-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  width: 100%;
}

/* Connecting Line Background (Dashed) */
.flow-line-dashed {
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  width: calc(200% / 3);
  height: 0;
  border-top: 1px dashed #333333;
  z-index: 1;
  transform: translateY(-50%);
}

/* Connecting Line Progress (Solid/Fills) */
.flow-line-progress {
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  width: 0;
  height: 2px;
  background-color: #FFFFFF;
  z-index: 2;
  transform: translateY(-50%);
  transition: width 400ms ease-in-out;
}

/* Step node layout */
.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.flow-step.active {
  opacity: 1;
  transform: translateX(0);
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  border: 2px solid #333333;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 700;
  transition: border-color 400ms ease, color 400ms ease, box-shadow 400ms ease;
}

.step-content {
  margin-top: 24px;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 400ms ease;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 8px auto 0 auto;
  line-height: 1.5;
  transition: color 400ms ease;
}

/* Step Active states */
.flow-step.active .step-circle {
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.flow-step.active .step-title {
  color: #FFFFFF;
}

.flow-step.active .step-desc {
  color: var(--text-muted-dark);
}

/* Result Card */
.solution-result-card {
  margin-top: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 600ms ease;
}

.solution-result-card.active {
  opacity: 1;
  transform: scale(1.0);
}

.result-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-number {
  font-family: var(--font-accent);
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.result-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted-dark);
}

.section-features {
  background-color: var(--bg-light); /* #F9FAFB */
  color: var(--text-secondary);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.features-header {
  max-width: 700px;
  text-align: left;
}

.features-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

.features-headline {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.features-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.feature-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
}

/* Accent top border animation on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 48px;
  background-color: var(--accent); /* #111111 */
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent); /* #111111 */
  z-index: 9999;
}

/* ==========================================================================
   CURSOR GLOW OVERLAY
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(200px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(17, 17, 17, 0.03) 0%, transparent 100%);
  transition: background 100ms ease;
  display: none; /* Show only on desktop via JS */
}
@media (min-width: 769px) {
  .cursor-glow {
    display: block;
  }
}

/* ==========================================================================
   HERO DOT GRID & FLOATING SHAPES
   ========================================================================== */
.hero-dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #E5E7EB 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  transform: translateY(0);
  will-change: transform;
}

.floating-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%); /* lighting gradient */
  border: 1.5px solid #9CA3AF; /* darker, more visible gray border */
  border-radius: 8px;
  box-sizing: border-box;
  opacity: 0.85; /* high visibility */
  transition: opacity 0.3s ease;
  transform-style: preserve-3d; /* enable 3D rendering */
  will-change: transform, box-shadow; /* hardware acceleration */
}

/* Ensure content sits in front of background floating elements to allow interaction */
.hero-container,
.problem-container,
.solution-container,
.features-container,
.pricing-container,
.faq-container,
.cta-container,
.footer-container {
  position: relative;
  z-index: 1;
}

/* Document Inner Elements */
.doc-fold {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 14px;
  height: 14px;
  background-color: var(--bg-page);
  border-bottom: 1.5px solid #9CA3AF;
  border-left: 1.5px solid #9CA3AF;
  border-bottom-left-radius: 3px;
}

.doc-line {
  height: 3px;
  background-color: #9CA3AF; /* darker line for visibility */
  border-radius: 2px;
  margin-bottom: 8px;
  width: 100%;
}
.doc-line:first-of-type {
  margin-top: 14px;
}

.doc-checkmark {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #6B7280; /* high visibility text */
  line-height: 1;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  border-top: 1.5px solid #9CA3AF;
  border-left: 1.5px solid #9CA3AF;
}
.sheet-cell {
  border-right: 1.5px solid #9CA3AF;
  border-bottom: 1.5px solid #9CA3AF;
}

.pdf-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: #6B7280; /* high visibility text */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Shape 1: Floating Document/Page */
.shape-1 {
  width: 80px;
  height: 100px;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 12px 12px;
  animation: float1 7s ease-in-out infinite;
}

/* Shape 2: Small Receipt/Quote */
.shape-2 {
  width: 60px;
  height: 80px;
  display: flex;
  flex-direction: column;
  padding: 16px 10px 10px 10px;
  animation: float2 9s ease-in-out infinite;
}

/* Shape 3: Spreadsheet/Table snippet */
.shape-3 {
  width: 90px;
  height: 70px;
  padding: 12px;
  animation: float3 6s ease-in-out infinite;
}

/* Shape 4: PDF icon */
.shape-4 {
  width: 50px;
  height: 60px;
  animation: float4 8s ease-in-out infinite;
}

/* Shape 5: Envelope (representing email RFQ) */
.shape-5 {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
  border: 1.5px solid #9CA3AF;
  border-radius: 4px;
  animation: float1 10s ease-in-out infinite;
}
.shape-5::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 28px 0 28px;
  border-color: #9CA3AF transparent transparent transparent;
}
.shape-5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 26px 0 26px;
  border-color: #FFFFFF transparent transparent transparent;
  z-index: 1;
}

/* Dark theme background overrides for shapes inside CTA & Footer */
.section-cta .floating-shape,
.footer .floating-shape {
  background: linear-gradient(135deg, #333333 0%, #111111 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.section-cta .doc-fold,
.footer .doc-fold {
  background-color: #111111;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  border-left: 1.5px solid rgba(255, 255, 255, 0.4);
}

.section-cta .doc-line,
.footer .doc-line {
  background-color: rgba(255, 255, 255, 0.25);
}

.section-cta .doc-checkmark,
.footer .doc-checkmark,
.section-cta .pdf-text,
.footer .pdf-text {
  color: rgba(255, 255, 255, 0.7);
}

.section-cta .sheet-grid,
.footer .sheet-grid {
  border-top: 1.5px solid rgba(255, 255, 255, 0.25);
  border-left: 1.5px solid rgba(255, 255, 255, 0.25);
}

.section-cta .sheet-cell,
.footer .sheet-cell {
  border-right: 1.5px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
}

/* Dark envelope overrides */
.section-cta .shape-5,
.footer .shape-5 {
  background: linear-gradient(135deg, #333333 0%, #111111 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.section-cta .shape-5::after,
.footer .shape-5::after {
  border-color: rgba(255, 255, 255, 0.4) transparent transparent transparent !important;
}

.section-cta .shape-5::before,
.footer .shape-5::before {
  border-color: #111111 transparent transparent transparent !important;
}

@keyframes float1 {
  0%, 100% {
    transform: perspective(800px) rotateX(16deg) rotateY(-18deg) rotateZ(4deg) translateY(0px) scale(var(--shape-scale, 1));
    box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.06);
  }
  50% {
    transform: perspective(800px) rotateX(12deg) rotateY(-22deg) rotateZ(3deg) translateY(calc(var(--float-dist-1, -25px))) scale(var(--shape-scale, 1));
    box-shadow: -14px 22px 35px rgba(0, 0, 0, 0.12);
  }
}
@keyframes float2 {
  0%, 100% {
    transform: perspective(800px) rotateX(20deg) rotateY(12deg) rotateZ(-6deg) translateY(0px) scale(var(--shape-scale, 1));
    box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.06);
  }
  50% {
    transform: perspective(800px) rotateX(16deg) rotateY(16deg) rotateZ(-4deg) translateY(calc(var(--float-dist-2, -20px))) scale(var(--shape-scale, 1));
    box-shadow: -14px 22px 35px rgba(0, 0, 0, 0.12);
  }
}
@keyframes float3 {
  0%, 100% {
    transform: perspective(800px) rotateX(-12deg) rotateY(-16deg) rotateZ(3deg) translateX(0px) translateY(0px) scale(var(--shape-scale, 1));
    box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.06);
  }
  50% {
    transform: perspective(800px) rotateX(-16deg) rotateY(-12deg) rotateZ(4deg) translateX(8px) translateY(calc(var(--float-dist-3, -18px))) scale(var(--shape-scale, 1));
    box-shadow: -14px 22px 35px rgba(0, 0, 0, 0.12);
  }
}
@keyframes float4 {
  0%, 100% {
    transform: perspective(800px) rotateX(10deg) rotateY(22deg) rotateZ(-8deg) translateY(0px) scale(var(--shape-scale, 1));
    box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.06);
  }
  50% {
    transform: perspective(800px) rotateX(6deg) rotateY(26deg) rotateZ(-6deg) translateY(calc(var(--float-dist-4, -22px))) scale(var(--shape-scale, 1));
    box-shadow: -14px 22px 35px rgba(0, 0, 0, 0.12);
  }
}

/* ==========================================================================
   SECTION REVEALS
   ========================================================================== */
.reveal-section {
  opacity: 0.7;
  transform: translateY(30px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTION ENHANCEMENTS: HOVER & ACTIVE
   ========================================================================== */

/* Cards General Hover */
.problem-card,
.feature-card,
.preview-card,
.pricing-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.problem-card:hover,
.feature-card:hover,
.preview-card:hover,
.pricing-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-2deg) scale(1.03) !important;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.12),
    0 10px 20px rgba(0,0,0,0.08) !important;
  border-color: #111111 !important;
}

.problem-grid,
.features-grid,
.hero-preview-cards,
.pricing-grid {
  perspective: 1000px;
}

/* Problem card specific icons and stat scaling */
.problem-card:hover .problem-card-icon,
.problem-card:hover .problem-card-stat {
  transform: scale(1.1);
}

.problem-card-icon,
.problem-card-stat {
  transition: transform 0.3s ease;
}

/* Feature card top border grow animation */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%; /* Grows from 0% partial to 100% on hover */
  background-color: var(--accent); /* #111111 */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover::before {
  width: 100%;
}

/* Nav links underlines hover micro-interactions */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #111111;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* "Get started" header button hover scale and shadow */
.btn-get-started:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(17,17,17,0.2) !important;
}

/* Active Press Effects on All Buttons */
.btn-hero-primary:active {
  transform: translateY(0) scale(0.95) !important;
  box-shadow: none !important;
  transition: 100ms !important;
}
.btn-hero-secondary:active,
.btn-get-started:active,
.btn-pricing-outline:active,
.btn-pricing-solid:active,
.btn-cta-submit:active {
  transform: scale(0.95) !important;
  transition: transform 100ms ease !important;
}

/* ==========================================================================
   PRICING SECTION STYLING
   ========================================================================== */
.section-pricing {
  background-color: var(--bg-light); /* #F9FAFB */
  color: var(--text-secondary);
  padding: 100px 24px;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.pricing-header {
  max-width: 700px;
  text-align: left;
}

.pricing-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
}

.pricing-headline {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.pricing-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  align-items: center;
  margin-top: 24px;
}

.pricing-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #111111;
}

.pricing-card.featured {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
  padding: 48px 32px;
  margin-top: -8px; /* Slightly lift featured card */
}

.pricing-card.featured:hover {
  transform: translateY(-16px) rotateX(4deg) rotateY(-2deg) scale(1.03) !important;
}

/* Pulse animation on Pro card border on entry */
@keyframes borderPulse {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.4);
  }
}

.pricing-card.featured.visible {
  animation: borderPulse 2s ease-out 3; /* Pulse 3 times on entry */
}

.plan-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}

.price-val {
  font-family: var(--font-accent);
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card.featured .price-val {
  color: #FFFFFF;
}

.price-period {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card.featured .price-period {
  color: var(--text-muted-dark);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.checkmark {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-card.featured .checkmark {
  stroke: #FFFFFF;
}

.btn-pricing-outline {
  display: block;
  width: 100%;
  text-align: center;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.btn-pricing-outline:hover {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-pricing-solid {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background-color: #FFFFFF;
  transition: background-color 0.2s ease;
  margin-top: auto;
}

.btn-pricing-solid:hover {
  background-color: var(--bg-light);
}

.pricing-footnote {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 24px;
}

/* ==========================================================================
   FAQ SECTION STYLING
   ========================================================================== */
.section-faq {
  background-color: var(--bg-page); /* #FFFFFF background */
  color: var(--text-secondary);
  padding: 80px 24px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq-header {
  text-align: center;
}

.faq-headline {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-subtext {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.faq-subtext a {
  text-decoration: underline;
  font-weight: 500;
}

.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  transition: transform 200ms ease;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* Rotates plus to X */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  width: 100%;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CTA SECTION STYLING (Two columns layout)
   ========================================================================== */
.section-cta {
  background-color: var(--bg-dark); /* #111111 background */
  color: var(--text-on-dark);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.cta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-headline {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.cta-subtext {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted-dark);
  margin-top: 16px;
  max-width: 440px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.form-group {
  width: 100%;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #FFFFFF;
  transition: border-color 0.2s ease;
  outline: none;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--text-secondary);
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: #FFFFFF;
}

.btn-cta-submit {
  width: 100%;
  background-color: #FFFFFF;
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-submit:hover {
  background-color: var(--bg-light);
}

/* ==========================================================================
   FOOTER STYLING (4 Columns)
   ========================================================================== */
.footer {
  background-color: var(--bg-dark); /* #111111 */
  color: var(--text-on-dark);
  padding: 64px 24px 32px 24px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-col {
  max-width: 280px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-brand-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-email {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
  margin-bottom: 16px;
}

.footer-email:hover {
  color: #FFFFFF;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #FFFFFF;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-divider {
  border: none;
  border-top: 1px solid #333333;
  margin: 32px auto;
  max-width: 1200px;
  width: 100%;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-iit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN & ACCESSIBILITY
   ========================================================================== */

@media (max-width: 768px) {
  /* Hide desktop components */
  .desktop-nav,
  .desktop-actions {
    display: none;
  }
  
  /* Show hamburger toggle */
  .hamburger-btn {
    display: flex;
  }
  
  /* Responsive typography tweaks */
  .heading-large {
    font-size: 2.25rem;
  }
  
  .heading-medium {
    font-size: 1.875rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero Mobile Styling */
  .section-hero {
    padding: 60px 16px;
    min-height: auto;
  }

  .hero-headline {
    font-size: 36px;
    min-height: 100px; /* Prevent layout shift on mobile */
  }

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

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .hero-preview-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  /* Problem Mobile Styling */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-card {
    padding: 24px;
  }

  .problem-headline {
    font-size: 28px;
  }

  .problem-bottom-statement {
    font-size: 16px;
  }

  /* Solution Mobile Styling */
  .solution-container {
    gap: 48px;
  }

  .solution-headline {
    font-size: 28px;
  }

  .solution-flow {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 24px;
  }

  .flow-line-dashed {
    left: 48px;
    top: 24px;
    bottom: 24px;
    width: 0;
    height: auto;
    border-left: 1px dashed #333333;
    border-top: none;
    transform: translateX(-50%);
  }

  .flow-line-progress {
    left: 48px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    height: 0;
    background-color: #FFFFFF;
    transform: translateX(-50%);
    transition: height 400ms ease-in-out;
  }

  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .step-content {
    margin-top: 0;
  }

  .step-desc {
    margin-left: 0;
    max-width: none;
  }

  .solution-result-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  /* Features Mobile Styling */
  .features-container {
    gap: 40px;
  }

  .features-headline {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  /* Pricing Mobile Styling */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-card.featured {
    transform: none;
  }

  /* Keep floating shapes but reduce size by 50% and opacity on mobile */
  .floating-shape {
    --shape-scale: 0.5;
    --float-dist-1: -12px;
    --float-dist-2: -10px;
    --float-dist-3: -9px;
    --float-dist-4: -11px;
    opacity: 0.25 !important;
  }

  .problem-card.animate-on-scroll,
  .feature-card.animate-on-scroll {
    transform: translateY(80px) scale(0.9) rotateX(0deg) !important;
  }
  .problem-card.animate-on-scroll.visible,
  .feature-card.animate-on-scroll.visible {
    transform: translateY(0) scale(1) rotateX(0deg) !important;
  }

  /* FAQ Mobile Styling */
  .faq-headline {
    font-size: 28px;
  }

  /* CTA Mobile Styling */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-headline {
    font-size: 28px;
  }

  /* Footer Mobile Styling */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-column {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .hero-fade, .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cursor {
    display: none !important;
  }
}
