/* ============================================================
   EQAI Homepage — Design System & Styles
   Premium Dark SaaS Aesthetic
   ============================================================ */

/* ---- Design Tokens ---------------------------------------- */
:root {
  /* EQAI Brand Colors — from logo guide */
  --color-charcoal:    #111921;
  --color-lapis:       #145398;
  --color-jade:        #017877;
  --color-amethyst:    #9e7892;
  --color-citrine:     #f5b98b;
  --color-gold:        #ceab8a;

  /* Page backgrounds */
  --color-bg:          #0d1219;
  --color-bg-2:        #111921;
  --color-bg-card:     #141e28;
  --color-bg-card-2:   #18232f;
  --color-border:      rgba(255,255,255,0.07);
  --color-border-glow: rgba(1,120,119,0.28);

  /* Accent palette mapped to brand */
  --color-teal:        #017877;
  --color-teal-dark:   #015f5e;
  --color-purple:      #9e7892;
  --color-purple-dark: #7d5e74;
  --color-blue:        #145398;
  --color-gold:        #ceab8a;

  --color-text:        #f0f4f8;
  --color-text-muted:  #94a3b8;
  --color-text-dim:    #64748b;

  /* Gradients */
  --gradient-brand:    linear-gradient(135deg, #017877 0%, #145398 40%, #9e7892 80%, #ceab8a 100%);
  --gradient-card:     linear-gradient(145deg, #141e28 0%, #0d1219 100%);
  --gradient-hero:     radial-gradient(ellipse 80% 60% at 60% 40%, rgba(1,120,119,0.14) 0%, rgba(20,83,152,0.10) 40%, transparent 70%);

  /* Typography */
  --font-sans:         'Inter', 'DM Sans', system-ui, sans-serif;
  --font-display:      'DM Sans', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-section:     4rem;
  --space-section-sm:  2.5rem;

  /* Radius */
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-xl:         28px;

  /* Shadows */
  --shadow-card:       0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow-teal:  0 0 60px rgba(45,212,191,0.15);
  --shadow-glow-purple:0 0 60px rgba(129,140,248,0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- Layout ----------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

/* ---- Typography ------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-teal);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.75;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}
.section-header.centered .section-body {
  text-align: center;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(45,212,191,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(45,212,191,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ---- Glow Effects ----------------------------------------- */
.section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.section-glow-teal {
  width: 500px;
  height: 300px;
  background: rgba(45,212,191,0.08);
  top: -100px;
  right: -100px;
}
.section-glow-purple {
  width: 500px;
  height: 300px;
  background: rgba(129,140,248,0.08);
  top: -100px;
  left: -100px;
}
.section-glow > * { position: relative; z-index: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-img {
  width: 120px;
}
.logo-img-sm {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 2rem 1.5rem;
  background: rgba(11,15,26,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: stretch;
  position: relative;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(20,184,166,0.85) 0%, rgba(6,182,212,0.4) 35%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 50% 60%, rgba(139,92,246,0.45) 0%, rgba(168,85,247,0.25) 40%, transparent 70%),
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(29,78,216,0.9) 0%, rgba(37,99,235,0.7) 40%, transparent 75%),
    linear-gradient(135deg, #1a3a8f 0%, #1e3a8a 25%, #4c1d95 55%, #0f766e 100%);
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px;
  height: 400px;
  background: rgba(45,212,191,0.12);
  top: 10%;
  right: -5%;
}
.hero-glow-2 {
  width: 500px;
  height: 400px;
  background: rgba(129,140,248,0.1);
  bottom: 10%;
  right: 10%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 120px 80px 80px;
  min-height: 100vh;
  box-sizing: border-box;
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: clamp(380px, 50vh, 560px);
  align-self: center;
}

.mockup-frame {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 40px rgba(45,212,191,0.08);
}

.mockup-main {
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #1a2035;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chrome-dots {
  display: flex;
  gap: 5px;
}
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #febc2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }
.chrome-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}

.mockup-screen { overflow: hidden; }
.mockup-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.mockup-float {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 20px rgba(45,212,191,0.06);
  z-index: 3;
  width: 200px;
}
.mockup-float-1 {
  bottom: 60px;
  left: -30px;
  animation: float1 6s ease-in-out infinite;
}
.mockup-float-2 {
  bottom: 0;
  right: -20px;
  animation: float2 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.float-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--color-border);
}
.float-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}
.float-dot-purple { background: var(--color-purple); }
.float-img {
  width: 100%;
  object-fit: cover;
  max-height: 120px;
}

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who-its-for { background: var(--color-bg-2); }

.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.industry-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,212,191,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-glow-teal);
  border-color: rgba(45,212,191,0.2);
}
.industry-card:hover::before { opacity: 1; }

.industry-card-featured {
  border-color: rgba(45,212,191,0.25);
  background: linear-gradient(145deg, #141c2e 0%, #0f1629 60%, rgba(45,212,191,0.04) 100%);
}
.industry-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(45,212,191,0.08);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.industry-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.industry-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.industry-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.industry-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.industry-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.industry-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}

.industry-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-teal);
  letter-spacing: 0.04em;
}
.featured-tag {
  background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(129,140,248,0.15));
  border-color: rgba(129,140,248,0.25);
  color: var(--color-purple);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section { background: var(--color-bg); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.problem-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}
.problem-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.problem-icon-red   { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2); }
.problem-icon-orange{ background: rgba(251,146,60,0.1);  border: 1px solid rgba(251,146,60,0.2); }
.problem-icon-purple{ background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.2); }
.problem-icon-teal  { background: rgba(45,212,191,0.1);  border: 1px solid rgba(45,212,191,0.2); }

.problem-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { background: var(--color-bg-2); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

.feature-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.3);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%232dd4bf' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.feature-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(45,212,191,0.06);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: var(--radius-md);
}
.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: 180px;
  line-height: 1.4;
}

/* Screen Mockup */
.screen-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  background: #0d1220;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #141c2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-dots {
  display: flex;
  gap: 5px;
}
.screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:nth-child(3) { background: #28c840; }
.screen-title {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  font-weight: 500;
}
.screen-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.screen-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: rgba(45,212,191,0.1);
  filter: blur(30px);
  pointer-events: none;
}
.screen-glow-teal { background: rgba(45,212,191,0.15); }

/* ============================================================
   CLIENT EXPERIENCE SECTION
   ============================================================ */
.experience-section { background: var(--color-bg); }

.experience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.experience-content .section-label { margin-bottom: 0.75rem; }
.experience-content .section-title { margin-bottom: 1.5rem; }

.experience-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.experience-quote {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--color-teal);
  background: rgba(45,212,191,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text);
}

.journey-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.5rem;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.journey-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,212,191,0.2), rgba(129,140,248,0.2));
  border: 1px solid rgba(45,212,191,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  flex-shrink: 0;
}

.journey-step-content {
  padding-bottom: 1.5rem;
}
.journey-step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.journey-step-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.journey-connector {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(45,212,191,0.3), rgba(129,140,248,0.3));
  margin-left: 17px;
}

/* ============================================================
   OUTCOMES SECTION
   ============================================================ */
.outcomes-section { background: var(--color-bg-2); }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.outcome-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.outcome-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45,212,191,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(45,212,191,0.06);
}
.outcome-card-large {
  grid-column: span 1;
}

.outcome-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.outcome-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.outcome-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--color-bg); }

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.steps-line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-purple), var(--color-blue));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
}

.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(129,140,248,0.15));
  border: 1px solid rgba(45,212,191,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  background-clip: text;
  color: var(--color-teal);
  box-shadow: 0 0 20px rgba(45,212,191,0.1);
}

.step-body {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}
.step-body:hover {
  border-color: rgba(45,212,191,0.2);
  transform: translateY(-2px);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.step-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-teal);
  letter-spacing: 0.04em;
}

/* ============================================================
   HUMAN CONNECTION SECTION
   ============================================================ */
.human-section { background: var(--color-bg-2); }

.human-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.human-content .section-label { margin-bottom: 0.75rem; }
.human-content .section-title { margin-bottom: 1.5rem; }

.human-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.human-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.pillar-dot-purple { background: var(--color-purple); }
.pillar-dot-blue   { background: var(--color-blue); }
.pillar strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.pillar span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.human-mockup-wrap {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.human-mockup {
  width: 100%;
}

.human-stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(13,18,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 12px rgba(45,212,191,0.08);
  animation: float1 5s ease-in-out infinite;
  top: -16px;
  right: -16px;
  z-index: 4;
}
.human-stat-card-2 {
  top: auto;
  bottom: -16px;
  right: -16px;
  animation: float2 6s ease-in-out infinite;
}
.hstat-value {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: var(--space-section) 0;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(45,212,191,0.08) 0%, rgba(129,140,248,0.06) 40%, transparent 70%);
  z-index: 0;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.cta-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(45,212,191,0.1);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(129,140,248,0.08);
  bottom: -80px;
  right: 10%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(45,212,191,0.2);
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cta-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cta-input:focus {
  border-color: rgba(45,212,191,0.4);
  background: rgba(255,255,255,0.07);
}
.cta-input::placeholder { color: var(--color-text-dim); }
.cta-select { appearance: none; cursor: pointer; }
.cta-select option { background: #1a2035; color: var(--color-text); }

.cta-btn { width: 100%; justify-content: center; }

.cta-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand .logo-link { margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-teal); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: var(--color-text-dim);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--color-teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual { height: 380px; }
  .hero-content { max-width: 100%; }
  .mockup-float-1, .mockup-float-2 { display: none; }

  .industry-cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row-reverse { direction: ltr; }
  .experience-inner { grid-template-columns: 1fr; gap: 3rem; }
  .human-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root {
    --space-section: 2.5rem;
  }

  .nav-links, .header-ctas { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero { padding: 5rem 0 2rem; height: auto; min-height: 100vh; }
  .hero-visual { height: 260px; }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .stat-divider { width: 40px; height: 1px; }

  .problem-grid { grid-template-columns: 1fr; }
  .steps-container { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   ADDITIONAL POLISH
   ============================================================ */

/* Grid line background texture for hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}
.hero-inner { z-index: 2; }

/* Feature row separator */
.feature-row + .feature-row {
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

/* Outcome card — first and last span full row on small grids */
@media (min-width: 1025px) {
  .outcomes-grid .outcome-card:nth-child(1) { grid-column: span 1; }
  .outcomes-grid .outcome-card:nth-child(7) { grid-column: span 1; }
}

/* Ensure industry card featured has a subtle top border accent */
.industry-card-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-purple));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Step card hover glow */
.step-body:hover {
  box-shadow: 0 8px 32px rgba(45,212,191,0.08);
}

/* CTA section border top accent */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-teal), var(--color-purple), transparent);
}

/* Screen mockup hover effect */
.screen-mockup {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screen-mockup:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(45,212,191,0.1);
}

/* Logo in footer - ensure gradient text */
.site-footer .logo-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth gradient border on hero stats */
.hero-stats {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

/* Section transition backgrounds */
.who-its-for::before,
.features-section::before,
.human-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent 100%);
}

/* Improve problem section layout on wide screens */
@media (min-width: 1025px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile improvements */
@media (max-width: 768px) {
  .hero-headline { font-size: 2.25rem; }
  .section-title  { font-size: 1.75rem; }
  .feature-row    { gap: 2rem; }
  .experience-inner { gap: 2rem; }
  .human-inner    { gap: 2rem; }
  .human-mockup-wrap { padding: 1rem 1rem 1rem 0; }
  .human-stat-card { display: none; }
  .cta-headline   { font-size: 1.75rem; }
}

/* ============================================================
   ADDITIONAL SECTIONS — Workflow, Clients, Nav Investor
   ============================================================ */

/* ---- Investor nav link ---- */
.nav-investor {
  color: var(--color-teal) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-investor:hover {
  background: rgba(45,212,191,0.1);
  border-color: var(--color-teal);
}

/* ---- Workflow Section ---- */
.workflow-section {
  position: relative;
  background: var(--color-bg-2);
}
.workflow-visual {
  margin: 48px auto;
  max-width: 900px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
}
.workflow-img {
  width: 100%;
  display: block;
}
.workflow-steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
}
.wf-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.wf-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wf-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.wf-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.wf-arrow {
  font-size: 1.2rem;
  color: var(--color-text-dim);
  flex-shrink: 0;
  padding-top: 24px;
  line-height: 1;
}

/* ---- Clients Section ---- */
.clients-section {
  position: relative;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.client-showcase-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.client-showcase-card:hover {
  border-color: var(--color-border-glow);
  transform: translateY(-4px);
}
.client-mockup-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #0a0e1a;
}
.client-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.client-showcase-card:hover .client-mockup-img {
  transform: scale(1.03);
}
.client-info {
  padding: 24px;
}
.client-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.client-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.client-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.client-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.client-stat-label {
  font-size: 0.68rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.client-stat-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* ---- Responsive additions ---- */
@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps-row { flex-wrap: wrap; gap: 16px; }
  .wf-arrow { display: none; }
  .wf-step { min-width: 140px; }
}
@media (max-width: 768px) {
  .clients-grid { grid-template-columns: 1fr; }
  .workflow-steps-row { flex-direction: column; align-items: center; }
}

/* ============================================================
   BREATHING WAVE CANVAS
   ============================================================ */

.breathing-wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1; /* opacity controlled per-layer in JS */
}

/* Ensure sections that receive the wave have position:relative */
.hero,
.who-its-for,
.problem-section,
.how-it-works,
.workflow-section,
.human-section,
.cta-section {
  position: relative;
}

/* All direct children of wave-hosting sections need z-index above canvas */
.hero > *:not(.breathing-wave-canvas),
.who-its-for > *:not(.breathing-wave-canvas),
.problem-section > *:not(.breathing-wave-canvas),
.how-it-works > *:not(.breathing-wave-canvas),
.workflow-section > *:not(.breathing-wave-canvas),
.human-section > *:not(.breathing-wave-canvas),
.cta-section > *:not(.breathing-wave-canvas) {
  position: relative;
  z-index: 1;
}

/* ============================================================
   WORKFLOW — HIGH-TECH ANIMATED VISUAL
   ============================================================ */

.wf-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(45,212,191,0.07) 0%, rgba(129,140,248,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wf-canvas-wrap {
  position: relative;
  margin: 24px auto 0;
  max-width: 1000px;
  min-height: 260px;
  background: linear-gradient(145deg, rgba(17,24,39,0.95) 0%, rgba(11,15,26,0.98) 100%);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 32px 32px 24px;
}

.wf-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.wf-nodes-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  padding: 24px 0 16px;
}

.wf-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.wf-node-active {
  transform: translateY(-4px);
}

.wf-node-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, rgba(17,24,39,0.9) 0%, rgba(11,15,26,1) 100%);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(45,212,191,0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wf-node-active .wf-node-icon {
  border-color: rgba(45,212,191,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 30px rgba(45,212,191,0.2);
}

.wf-node-final .wf-node-icon {
  border-color: rgba(212,168,83,0.3);
}

.wf-node-final.wf-node-active .wf-node-icon {
  border-color: rgba(212,168,83,0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 30px rgba(212,168,83,0.2);
}

.wf-node-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.wf-node-active .wf-node-label {
  color: var(--color-text);
}

/* Pulse ring */
.wf-node-pulse {
  position: absolute;
  top: -4px; left: -4px;
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 1.5px solid rgba(45,212,191,0);
  transition: all 0.3s;
}

.wf-node-active .wf-node-pulse {
  border-color: rgba(45,212,191,0.4);
  animation: wfPulse 1.5s ease-out infinite;
}

.wf-node-pulse-purple { border-color: rgba(129,140,248,0); }
.wf-node-active .wf-node-pulse-purple { border-color: rgba(129,140,248,0.4); }

.wf-node-pulse-blue { border-color: rgba(56,189,248,0); }
.wf-node-active .wf-node-pulse-blue { border-color: rgba(56,189,248,0.4); }

.wf-node-pulse-gold { border-color: rgba(212,168,83,0); }
.wf-node-active .wf-node-pulse-gold { border-color: rgba(212,168,83,0.4); }

@keyframes wfPulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Connector SVG */
.wf-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 28px; /* align with icons */
}

/* Stats bar */
.wf-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.wf-stat-pill {
  flex: 1;
  min-width: 120px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(45,212,191,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wf-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.wf-stat-txt {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
}

/* Data stream */
.wf-data-stream {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* ============================================================
   HIGH-TECH VISUAL ENHANCEMENTS — Neural/Circuit Decorations
   ============================================================ */

/* Floating data chip decorations in hero */
.hero-data-chip {
  position: absolute;
  background: rgba(17,24,39,0.9);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-teal);
  letter-spacing: 0.06em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: floatChip 6s ease-in-out infinite;
  z-index: 3;
}

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

/* Section tech accent lines */
.tech-accent-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* Glowing number cards in outcomes */
.outcome-card {
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(45,212,191,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Investor page tech visual: replace the mockup screenshot with a canvas-based dashboard */
.inv-proof-visual {
  position: relative;
}

.inv-tech-dashboard {
  background: linear-gradient(145deg, #0d1220 0%, #0b0f1a 100%);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(45,212,191,0.06);
}

.inv-tech-dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inv-tech-dashboard-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.inv-tech-dashboard-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inv-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.inv-kpi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px;
}

.inv-kpi-label {
  font-size: 0.65rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.inv-kpi-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-teal);
  line-height: 1;
}

.inv-kpi-sub {
  font-size: 0.65rem;
  color: var(--color-text-dim);
  margin-top: 4px;
}

.inv-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #4ade80;
  margin-top: 4px;
}

/* Mini bar chart */
.inv-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-top: 8px;
}

.inv-mini-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(45,212,191,0.6), rgba(45,212,191,0.2));
  border-radius: 3px 3px 0 0;
  animation: barGrow 1s ease-out both;
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

/* Responsive for workflow nodes */
@media (max-width: 768px) {
  .wf-nodes-overlay {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .wf-connector { display: none; }
  .wf-node { width: 80px; }
  .wf-node-icon { width: 52px; height: 52px; border-radius: 12px; }
  .wf-stats-bar { flex-direction: column; }
}

/* ============================================================
   LOGIN BUTTON
   ============================================================ */

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-login:hover {
  background: rgba(45,212,191,0.08);
  border-color: rgba(45,212,191,0.3);
  color: var(--color-teal);
}
.btn-login svg { flex-shrink: 0; }

/* ============================================================
   3D CARD DEPTH TREATMENT
   Universal — applies to all card-style elements
   ============================================================ */

/* Base 3D perspective context on card containers */
.industry-cards,
.problem-grid,
.features-list,
.outcomes-grid,
.steps-grid,
.clients-grid,
.inv-why-grid,
.inv-snapshot-grid,
.inv-proof-build,
.inv-wins-grid,
.inv-offer-steps,
.inv-team-grid,
.inv-access-cards,
.inv-kpi-grid {
  perspective: 1200px;
}

/* 3D card base — applied to all card elements */
.industry-card,
.problem-card,
.feature-row,
.outcome-card,
.step-card,
.client-card,
.inv-why-card,
.inv-snapshot-item,
.inv-build-item,
.inv-win-item,
.inv-offer-step,
.inv-team-card,
.inv-access-card,
.inv-kpi-card,
.wf-stat-pill,
.hero-stats {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s;
  will-change: transform;
}

/* Depth shadow layers using ::before pseudo-element */
.industry-card,
.problem-card,
.outcome-card,
.step-card,
.client-card,
.inv-why-card,
.inv-team-card,
.inv-access-card {
  position: relative;
}

.industry-card::after,
.problem-card::after,
.outcome-card::after,
.step-card::after,
.client-card::after,
.inv-why-card::after,
.inv-team-card::after,
.inv-access-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04) 0%,
    transparent 50%,
    rgba(0,0,0,0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Hover: subtle tilt + lift + stronger glow */
.industry-card:hover,
.problem-card:hover,
.outcome-card:hover,
.step-card:hover,
.client-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg) scale(1.01);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(45,212,191,0.2),
    0 0 40px rgba(45,212,191,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.industry-card:hover::after,
.problem-card:hover::after,
.outcome-card:hover::after,
.step-card:hover::after,
.client-card:hover::after {
  opacity: 1;
}

/* Investor cards */
.inv-why-card:hover,
.inv-team-card:hover,
.inv-access-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg) scale(1.01);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(45,212,191,0.22),
    0 0 40px rgba(45,212,191,0.09),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.inv-why-card:hover::after,
.inv-team-card:hover::after,
.inv-access-card:hover::after {
  opacity: 1;
}

/* Inset top-edge highlight for 3D depth illusion */
.industry-card,
.problem-card,
.outcome-card,
.step-card,
.client-card,
.inv-why-card,
.inv-team-card,
.inv-access-card {
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* Feature rows — side tilt on hover */
.feature-row:hover {
  transform: translateY(-4px) rotateX(1deg);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(45,212,191,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Stats bar 3D */
.hero-stats {
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* Workflow stat pills */
.wf-stat-pill:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(45,212,191,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 20px rgba(45,212,191,0.06);
}

/* Investor snapshot item */
.inv-snapshot-item:hover {
  transform: translateY(-4px) rotateX(1.5deg);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(45,212,191,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Build tracker items */
.inv-build-item:hover {
  transform: translateX(4px);
  border-color: rgba(45,212,191,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), 4px 0 20px rgba(45,212,191,0.05);
}

/* Offer steps */
.inv-offer-step:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(45,212,191,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ============================================================
   GLOWING FUNNEL FLOW — Client Experience Section
   ============================================================ */
.funnel-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 8px 0;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 2;
}

/* Alternate alignment: odd steps left, even steps right */
.funnel-step[data-step="0"],
.funnel-step[data-step="2"],
.funnel-step[data-step="4"] {
  align-self: flex-start;
  padding-left: 16px;
}
.funnel-step[data-step="1"],
.funnel-step[data-step="3"] {
  align-self: flex-end;
  padding-right: 16px;
  flex-direction: row-reverse;
}

.funnel-step-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funnel-step-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(145deg, rgba(17,24,39,0.95) 0%, rgba(11,15,26,0.98) 100%);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 14px;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 20px rgba(45,212,191,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
  flex: 1;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.funnel-step-node:hover {
  border-color: rgba(45,212,191,0.5);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 30px rgba(45,212,191,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.funnel-step-node-final {
  border-color: rgba(212,168,83,0.35);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 20px rgba(212,168,83,0.1),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.funnel-step-icon {
  width: 36px;
  height: 36px;
  background: rgba(45,212,191,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funnel-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-transform: uppercase;
  flex: 1;
}

.funnel-final-badge {
  width: 24px;
  height: 24px;
  background: rgba(212,168,83,0.15);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a853;
  flex-shrink: 0;
}

/* Curved connector between steps */
.funnel-curve {
  width: 80%;
  height: 36px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.funnel-curve::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 50px 50px;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  background: transparent;
}

.funnel-curve-right {
  align-self: flex-start;
  margin-left: 60px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(45,212,191,0.6), rgba(129,140,248,0.4)) 1;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0 0 40px 0;
  width: 60%;
  height: 28px;
  border-right: 2px solid rgba(129,140,248,0.4);
  box-shadow: 0 4px 12px rgba(45,212,191,0.08);
}

.funnel-curve-left {
  align-self: flex-end;
  margin-right: 60px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, rgba(129,140,248,0.4), rgba(45,212,191,0.6)) 1;
  border-left: 2px solid rgba(129,140,248,0.4);
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 40px;
  width: 60%;
  height: 28px;
  box-shadow: 0 4px 12px rgba(129,140,248,0.08);
}

/* Glow pulse animation on active funnel step */
@keyframes funnelPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 20px rgba(45,212,191,0.08), inset 0 1px 0 rgba(255,255,255,0.04); }
  50% { box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 40px rgba(45,212,191,0.25), inset 0 1px 0 rgba(255,255,255,0.06); }
}

.funnel-step[data-step="0"] .funnel-step-node { animation: funnelPulse 3s ease-in-out infinite; }
.funnel-step[data-step="1"] .funnel-step-node { animation: funnelPulse 3s ease-in-out 0.6s infinite; }
.funnel-step[data-step="2"] .funnel-step-node { animation: funnelPulse 3s ease-in-out 1.2s infinite; }
.funnel-step[data-step="3"] .funnel-step-node { animation: funnelPulse 3s ease-in-out 1.8s infinite; }
.funnel-step[data-step="4"] .funnel-step-node { animation: funnelPulse 3s ease-in-out 2.4s infinite; }


/* ============================================================
   NEXT AGE WEALTH CLIENT CARD VISUAL
   ============================================================ */
.client-mockup-wealth {
  background: linear-gradient(135deg, #0d1220 0%, #111827 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 24px 20px 16px;
  position: relative;
  min-height: 180px;
}

.client-wealth-visual {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  width: 100%;
  max-width: 200px;
}

.wealth-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(45,212,191,0.5) 0%, rgba(45,212,191,0.15) 100%);
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(45,212,191,0.2);
  transition: height 0.3s ease;
}

.wealth-bar-active {
  background: linear-gradient(180deg, #2dd4bf 0%, rgba(45,212,191,0.4) 100%);
  box-shadow: 0 0 12px rgba(45,212,191,0.4);
  border-color: rgba(45,212,191,0.6);
}

.wealth-overlay-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.25);
  color: #2dd4bf;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}

.client-stat-link {
  color: var(--color-teal) !important;
  text-decoration: none;
  transition: opacity 0.2s;
}
.client-stat-link:hover { opacity: 0.75; }

/* ============================================================
   INVESTOR FOOTER SOCIAL LINKS
   ============================================================ */
.inv-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.inv-social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--inv-text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.inv-social-link:hover {
  background: rgba(45,212,191,0.1);
  border-color: rgba(45,212,191,0.3);
  color: var(--inv-teal);
}

/* ── HERO SACRED GEOMETRY CANVAS ─────────────────────────────────────────── */
.hero-sacred-geo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.hero-sacred-geo canvas {
  display: block;
  filter: drop-shadow(0 0 28px rgba(45,212,191,0.2)) drop-shadow(0 0 56px rgba(129,140,248,0.12));
}
@media (max-width: 768px) {
  .hero-sacred-geo { justify-content: center; }
  .hero-sacred-geo canvas { width: 160px !important; height: 160px !important; }
}

/* ── Q CHAT MOCKUP ─────────────────────────────────────────────── */
.q-chat-mockup {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  max-width: 380px;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
}
.q-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}
.q-chat-logo { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.q-chat-logo img, .q-logo-sm { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.q-chat-name { font-weight: 700; font-size: 0.95rem; color: #111; }
.q-chat-label { font-size: 0.78rem; color: #888; margin-left: auto; }
.q-chat-close { font-size: 1.2rem; color: #aaa; cursor: pointer; margin-left: 8px; }
.q-chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f9f9f9;
  min-height: 280px;
}
.q-msg { display: flex; align-items: flex-start; gap: 10px; }
.q-msg-user { flex-direction: row-reverse; }
.q-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.q-avatar img { width: 100%; height: 100%; object-fit: cover; }
.q-bubble {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  max-width: 82%;
}
.q-msg-user .q-bubble {
  background: #111;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  text-align: right;
}
.q-msg-ai .q-bubble { border-radius: 14px 14px 14px 4px; }
.q-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #e8e8e8;
  background: #fff;
}
.q-input-placeholder { flex: 1; font-size: 0.85rem; color: #bbb; }
.q-send-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.q-chat-footer {
  text-align: center;
  font-size: 0.72rem;
  color: #aaa;
  padding: 8px 16px 12px;
  background: #fff;
}
.q-brand { color: var(--color-jade); font-weight: 600; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel-wrap {
  position: relative;
  width: 100%;
  /* max-width: 520px; */
}

.hero-carousel-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  background: #0f172a;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chrome-dots {
  display: flex;
  gap: 5px;
}
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.chrome-dots span:nth-child(1) { background: #ef4444; }
.chrome-dots span:nth-child(2) { background: #f59e0b; }
.chrome-dots span:nth-child(3) { background: #22c55e; }

.chrome-url {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 3px 10px;
  flex: 1;
  text-align: center;
}

.hero-carousel-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.parent-slider-div{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  width: 100%;
  gap: 16px;
  height: 100%;
  padding: 0 32px;
}
.child1-slider-div{
 
   height: 100%;
}
.child2-slider-div{
 display: flex;
    align-items: center;
    height: 100%;
}

@media (max-width: 768px) {
 .parent-slider-div{
  padding-left: 20px;
  padding-right: 20px;
    margin-top:90px;
    grid-template-columns: 1fr;

  }
  .onboarding-style{
    max-width: fit-content !important;
    padding: 4px;
  }
}
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot-active {
  background: #2dd4bf;
  transform: scale(1.3);
}

/* ============================================================
   DEPLOYMENT RAIL (continuous scroll)
   ============================================================ */
.deploy-rail-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 8px 0 24px;
}
.deploy-rail-outer::before,
.deploy-rail-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.deploy-rail-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg, #0a0f1e), transparent);
}
.deploy-rail-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg, #0a0f1e), transparent);
}

.deploy-rail {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: railScroll 100s linear infinite;
}
.deploy-rail:hover {
  animation-play-state: paused;
}

/* @keyframes railScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
} */
 @keyframes railScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }   /* 3 sets ke liye */
}

.deploy-card {
  flex: 0 0 340px;
  min-width: 340px;
}

/* ============================================================
   CTA SPLIT — Two-column Book a Demo | Join Mailing List
   ============================================================ */
.cta-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.cta-col {
  padding: 0 40px;
}
.cta-col:first-child {
  padding-left: 0;
}
.cta-col:last-child {
  padding-right: 0;
}

.cta-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 0 8px;
}

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

@media (max-width: 768px) {
  .cta-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .cta-col {
    padding: 0;
  }
}

/* ============================================================
   Q POPUP (5 second delay)
   ============================================================ */
.q-popup {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.q-popup.q-popup-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.q-popup.q-popup-hidden {
  display: none;
}

.q-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.q-popup-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.q-popup-logo img { width: 100%; height: 100%; object-fit: cover; }
.q-popup-title { display: flex; flex-direction: column; flex: 1; }
.q-popup-name { font-weight: 700; font-size: 0.9rem; color: #111; line-height: 1.2; }
.q-popup-sub { font-size: 0.72rem; color: #888; }
.q-popup-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.q-popup-close:hover { color: #555; }

.q-popup-body {
  padding: 16px;
  background: #f9f9f9;
  min-height: 100px;
}

.q-popup-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  background: #fff;
}
.q-popup-field {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  outline: none;
  background: #fff;
  color: #111;
}
.q-popup-field:focus { border-color: #2dd4bf; }

/* Q bubble toggle button */
.q-bubble-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #2dd4bf, #818cf8); */
  border: none;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45,212,191,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Pulse animation */
@keyframes pulseZoom {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(45,212,191,0.4);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(45,212,191,0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(45,212,191,0.4);
  }
}

.q-bubble-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(45,212,191,0.5);
  animation: pulseZoom 0.6s ease-in-out;
}
.q-bubble-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.q-bubble-logo-fallback {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.q-bubble-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}

/* ============================================================
   Q CHAT TYPING ANIMATION
   ============================================================ */
.q-typing {
  display: flex;
  align-items: center;
  gap: 10px;
}
.q-typing-dots {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.q-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.q-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.q-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); background: #ccc; }
  30% { transform: translateY(-5px); background: #2dd4bf; }
}

/* Q animated chat — messages hidden by default, shown by JS */
.q-anim-msg,
.q-anim-typing {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.q-anim-visible {
  opacity: 1;
}

/* ============================================================
   FOOTER RECAPTCHA NOTICE
   ============================================================ */
.footer-recaptcha {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 12px;
  padding-bottom: 8px;
}
.footer-recaptcha a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}
.footer-recaptcha a:hover {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   SECTION SPACING — tighten gaps between all containers
   ============================================================ */
.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Remove double-padding on feature rows */
.feature-row + .feature-row {
  padding-top: 0;
  margin-top: 2rem;
}
