/* ════════════════════════════════════════════════════
   INFLOSYST — B2B SaaS DESIGN SYSTEM
   ════════════════════════════════════════════════════ */

/* ── RESET & ROOT ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: rgba(37, 99, 235, 0.08);
  --blue-soft: rgba(37, 99, 235, 0.15);
  --orange: #F97316;
  --orange-light: rgba(249, 115, 22, 0.08);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05);
  --shadow-lg: 0 30px 60px -15px rgba(0,0,0,0.08);
  --shadow-blue: 0 0 40px rgba(37, 99, 235, 0.2);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@keyframes liquidGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ── TYPOGRAPHY ────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--blue-soft);
}

.section-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-h2 em {
  font-style: italic;
  color: var(--blue);
}

.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-head .section-sub {
  margin: 0 auto;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.005em;
}
.btn-primary-lg::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s var(--ease-out);
}
.btn-primary-lg:hover {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37,99,235,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary-lg:hover::before { left: 140%; }

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.12);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-ghost-lg:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37,99,235,0.15), inset 0 1px 0 rgba(255,255,255,1);
}

/* ── NAVBAR ────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
  top: 10px;
}

.nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 8px 0 24px;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: auto;
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.85; }

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #1E293B 0%, #3B82F6 60%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  background: var(--text-primary);
  color: #fff;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-contact:hover {
  background: var(--blue);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 100px;
  cursor: pointer;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-radius: 0 0 24px 24px;
}
.mobile-drawer.open { display: flex; }
.drawer-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.drawer-link:hover { background: var(--surface); color: var(--text-primary); }
.drawer-cta {
  margin-top: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
  background: var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1; /* Opaque Grainient background */
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}
.hero-glow-1 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -10vw;
  right: -10vw;
  animation: floatGlow1 20s ease-in-out infinite;
}
.hero-glow-2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  bottom: -5vw;
  left: -10vw;
  opacity: 0.8;
  animation: floatGlow2 25s ease-in-out infinite reverse;
}

@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3vw, 5vw) scale(1.05); }
}
@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -4vw) scale(1.1); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0F172A;
  -webkit-text-fill-color: #0F172A;
  margin-bottom: 24px;
}

/* First line — stays dark and authoritative */
.hero-h1-line1 {
  display: block;
  color: #0F172A;
  -webkit-text-fill-color: #0F172A;
}

/* Second line — gradient shimmer */
.hero-h1-line2 {
  display: block;
  background: linear-gradient(100deg, #1E40AF 0%, #3B82F6 40%, #6366F1 75%, #8B5CF6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

.hero-highlight {
  display: inline-block;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, #2563EB, #6366F1);
  background-clip: text;
  -webkit-background-clip: text;
  position: relative;
  white-space: nowrap;
}
/* Underline brush stroke accent */
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  border-radius: 4px;
  opacity: 0.7;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}



/* ── HERO GRAPHIC ──────────────────────────────────── */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.data-flow-svg {
  width: 100%;
  max-width: 440px;
  animation: graphicFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(0,102,255,0.12));
}
@keyframes graphicFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}

.rot-slow { animation: rotateSlow 30s linear infinite; transform-origin: 240px 240px; }
.rot-rev { animation: rotateSlow 20s linear infinite reverse; transform-origin: 240px 240px; }
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.node-pulse { animation: nodePulse 3s ease-in-out infinite; }
@keyframes nodePulse {
  0%, 100% { r: 16; opacity: 1; }
  50% { r: 18; opacity: 0.7; }
}



/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, #EEF2FF 0%, #F0F9FF 50%, #FFF7ED 100%);
  border-top: 1px solid rgba(37,99,235,0.08);
  border-bottom: 1px solid rgba(37,99,235,0.08);
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), transparent 30%, transparent 70%, rgba(255,255,255,0.5));
  pointer-events: none;
  z-index: 2;
}
.trust-inner {
  display: flex;
  align-items: stretch;
  height: 68px;
  position: relative;
}
.trust-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #6366F1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 28px;
  border-right: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  white-space: nowrap;
  background: linear-gradient(90deg, #EEF2FF 80%, transparent);
  position: relative;
  z-index: 10; /* sits above the scrolling logos */
}

/* Scrolling track — clipped independently so logos never slide over the label */
.trust-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: scrollLogos 22s linear infinite;
  padding: 0 16px;
  will-change: transform;
}
.trust-logos:hover { animation-play-state: paused; }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-logo { flex-shrink: 0; opacity: 0.75; transition: opacity 0.2s; }
.trust-logo:hover { opacity: 1; }
.trust-logo svg rect { fill: rgba(255,255,255,0.75); }
.trust-logo svg text { fill: #4338CA; }
.trust-logo:hover svg rect { fill: rgba(255,255,255,0.97); }
.trust-logo:hover svg text { fill: #3730A3; }

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
}
[data-animate="fade-up"] { transform: translateY(32px); }
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate="fade-left"] { transform: translateX(32px); }
[data-animate].visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ── SOLUTIONS ─────────────────────────────────────── */
.solutions-section {
  padding: 140px 0;
  background: linear-gradient(160deg, #F8FAFF 0%, #F0F4FF 40%, #FFF8F5 100%);
}

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

.sol-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}
.sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37,99,235, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.sol-card:hover {
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1), inset 0 0 30px rgba(255,255,255,1);
}
.sol-card:hover::before { opacity: 1; }

.sol-card--featured {
  border: 1.5px solid rgba(37,99,235,0.3);
  background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(255,255,255,0.9) 100%);
}
.sol-card--featured::after {
  content: 'Most Popular';
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563EB;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.sol-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  position: relative;
  z-index: 1;
}
.sol-card:hover .sol-icon {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.sol-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.sol-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
  position: relative;
  z-index: 1;
}

.sol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.sol-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.sol-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.5;
}

.sol-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.sol-cta:hover { gap: 8px; }

.sol-card--dark {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border-color: rgba(0,0,0,0.1);
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(37,99,235,0.2);
}
.sol-card--dark::before { display: none; }
.sol-card--dark:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(255,255,255,0.4); box-shadow: 0 20px 60px rgba(37,99,235,0.4); }
.sol-card--dark-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
}
.sol-card--dark-p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ── WHY INFLOSYST ─────────────────────────────────── */
.why-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #FAFBFF 0%, #F5F8FF 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -20vh; right: -20vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: transparent;
}
.why-item:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transform: translateX(8px);
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(37,99,235,0.05);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  transition: all 0.3s;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
}
.why-item:hover .why-icon {
  background: rgba(37,99,235,0.1);
  color: #1D4ED8;
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 0 20px rgba(37,99,235,0.15);
}

.why-item h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── SUCCESS STORIES ───────────────────────────────── */
.stories-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFF0F8 50%, #F0F8FF 100%);
}

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

.story-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.5s var(--ease-out);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}
.story-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1), inset 0 0 30px rgba(255,255,255,1);
  transform: translateY(-8px) scale(1.02);
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-industry-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563EB;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 4px 10px;
  border-radius: 100px;
}
.story-stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: 2px;
}

.story-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
  quotes: '\201C' '\201D';
  position: relative;
  padding-top: 12px;
}
.story-quote::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: -4px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-avatar {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.story-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.story-role {
  font-size: 12px;
  color: var(--text-muted);
}




/* ── PROCESS / HOW IT WORKS ────────────────────────── */
.process-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #F8FDFF 0%, #EFF8FF 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,0.3), rgba(249,115,22,0.3));
  z-index: 0;
}

.step-item {
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(37,99,235,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #2563EB;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(37,99,235,0.1), inset 0 0 15px rgba(255,255,255,0.8);
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
}
.step-item:hover .step-num {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: white;
  border-color: rgba(37,99,235,0.6);
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(37,99,235,0.3), inset 0 0 20px rgba(255,255,255,0.2);
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-body h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
}
.step-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.step-time {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── CONTACT SECTION ───────────────────────────────── */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #F0F4FF 0%, #F8F0FF 50%, #FFF5F0 100%);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-promises {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── FORM CARD ─────────────────────────────────────── */
.form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(0, 0, 0, 0.08); /* --border */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1), inset 0 0 30px rgba(255,255,255,1);
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37,99,235,0.05), transparent 60%);
  pointer-events: none;
}

.form-progress {
  height: 4px;
  background: rgba(0,0,0,0.05);
  width: 100%;
  position: relative;
  z-index: 2;
}
.form-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 0 2px 2px 0;
  transition: width 0.5s var(--ease-out);
  width: 33.33%;
}

.form-step-indicator {
  padding: 14px 36px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-step {
  display: none;
  padding: 28px 36px 36px;
  animation: stepIn 0.4s var(--ease-out) both;
}
.form-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.form-step-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── GOAL OPTIONS ──────────────────────────────────── */
.goal-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.goal-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.goal-option input { display: none; }
.goal-option:hover { border-color: rgba(37,99,235,0.3); background: rgba(255,255,255,0.8); }
.goal-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(37,99,235,0.05);
  box-shadow: 0 0 20px rgba(37,99,235,0.1);
}

.goal-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  transition: all 0.2s ease;
  position: relative;
}
.goal-option:has(input:checked) .goal-check {
  background: var(--blue);
  border-color: var(--blue);
}
.goal-option:has(input:checked) .goal-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}

.goal-content {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
}
.goal-content svg { flex-shrink: 0; }
.goal-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.goal-desc {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ── SIZE OPTIONS ──────────────────────────────────── */
.size-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.size-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.size-option input { display: none; }
.size-option:hover { border-color: rgba(37,99,235,0.3); background: rgba(255,255,255,0.8); }
.size-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(37,99,235,0.05);
  box-shadow: 0 0 20px rgba(37,99,235,0.1);
}

.size-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  margin-bottom: 8px;
  transition: all 0.2s;
  position: relative;
}
.size-option:has(input:checked) .size-check {
  background: var(--blue);
  border-color: var(--blue);
}
.size-option:has(input:checked) .size-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}
.size-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.size-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── FORM FIELDS ───────────────────────────────────── */
.form-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.optional { font-weight: 400; color: var(--text-muted); }
.form-field input {
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  outline: none;
}
.form-field input:hover { border-color: rgba(0,0,0,0.15); }
.form-field input:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15), inset 0 0 10px rgba(0,0,0,0.02);
}
.form-field input::placeholder { color: var(--text-muted); }

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── FORM BUTTONS ──────────────────────────────────── */
.form-btn-row { display: flex; gap: 12px; align-items: center; }

.btn-form-next {
  flex: 1;
  padding: 15px 28px;
  background: var(--blue);
  color: white;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  display: block;
  width: 100%;
}
.btn-form-next:hover:not(:disabled) {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.btn-form-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-form-back {
  padding: 15px 20px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-form-back:hover { border-color: rgba(0,0,0,0.2); color: var(--text-primary); background: rgba(0,0,0,0.02); }

.btn-submit {
  flex: 1;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--blue), #1D4ED8);
  color: white;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  letter-spacing: -0.01em;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.4), inset 0 0 15px rgba(255,255,255,0.4);
}

/* ── SUCCESS STATE ─────────────────────────────────── */
.success-state {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-icon { animation: popIn 0.5s var(--ease-spring) both; }
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-state h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.success-state p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 340px;
}
.success-next {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: left;
  width: 100%;
}
.success-next strong {
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
}
.success-next ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.success-next li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--surface);
  padding: 80px 0 0;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 280px;
  margin-top: 16px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  color: var(--text-primary);
}
.social-link:hover { background: white; border-color: rgba(0,0,0,0.15); box-shadow: var(--shadow-sm); }
.logo-footer .logo-text { color: var(--text-primary); }

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-group h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-links-group a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer-links-group a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: inherit; transition: color 0.15s; }
.footer-legal a:hover { color: var(--blue); }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

/* ── 3D EFFECTS — all devices incl. mobile ─────────── */
.sol-card, .story-card, .form-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.sol-icon { transform: translateZ(40px); }
.sol-card h3 { transform: translateZ(30px); }
.sol-card p { transform: translateZ(16px); }
.sol-list { transform: translateZ(22px); }
.sol-cta { transform: translateZ(30px); }

.story-meta { transform: translateZ(22px); }
.story-quote { transform: translateZ(36px); }
.story-author { transform: translateZ(28px); }

.form-step-indicator { transform: translateZ(30px); }
.form-progress { transform: translateZ(14px); }
.form-step { transform: translateZ(22px); }

/* On touch-only devices — apply a soft entry tilt instead of JS tracking */
@media (hover: none) {
  .sol-card, .story-card {
    transform: perspective(1000px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.1);
  }
  /* Disable static hover transform so 3D entry tilt persists */
  .sol-card:hover, .story-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-1deg) translateY(-4px);
  }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { margin: 0 auto 40px; }

  .hero-right { display: none; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 60px; }
  .stories-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-inner { padding: 0 24px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .solutions-grid { grid-template-columns: 1fr; }

  .size-options { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trust-label { font-size: 10px; padding: 0 16px; display: none; }
  .hero { padding: 100px 0 60px; }
  .hstat { padding: 0 12px; }
}

@media (max-width: 480px) {

  .form-card { border-radius: var(--radius-lg); }
  .form-step { padding: 24px 20px 28px; }

}
