:root {
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.18);
  --coral: #ff5a1f;
  --coral-hover: #e04812;
  --coral-light: #fff7ed;
  --coral-border: #fed7aa;
  --coral-glow: rgba(255, 90, 31, 0.25);
  --accent: #0284c7;
  --accent-light: #f0f9ff;
  --success: #059669;
  --success-light: #ecfdf5;
  --danger: #dc2626;
  --warning: #d97706;
  --dark: #0b0f19;
  --dark-surface: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --light-card: #ffffff;
  --soft-card: #f4f5f9;
  --soft-border: #eef0f6;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --white: #ffffff;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.14), 0 10px 15px -3px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 20px 40px -10px var(--primary-glow);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--dark);
  background-color: #fbfcfe;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: #fbfcfe;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-blue {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}

.glow-emerald {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
}

.glow-warm {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3) 0%, rgba(254, 215, 170, 0.18) 45%, transparent 70%);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.site-header-container {
  max-width: 1360px !important;
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-cta-btn {
  padding: 0.65rem 1.45rem !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
}

/* Capsule Toggle Switcher (like Treza Personal/Business) */
.capsule-toggle {
  display: inline-flex;
  align-items: center;
  background: #0b0f19;
  padding: 4px;
  border-radius: 999px;
  gap: 2px;
}

.capsule-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.capsule-btn.active {
  background: #ffffff;
  color: #0b0f19;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-coral-pill {
  background: var(--coral);
  color: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-coral-pill:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.45);
  color: var(--white);
}

.btn-watch-demo {
  background: transparent;
  color: var(--dark);
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-watch-demo:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 90, 31, 0.4);
}

.play-circle svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.35);
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate);
  border-color: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--light);
  border-color: #cbd5e1;
  color: var(--dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 6px;
}

/* ===================================================
   Treza-Style Hero Section
   =================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.pill-tag-treza {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f7;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.pill-dot-purple {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
}

.hero-title-treza {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #0b0f19;
  margin-bottom: 1.4rem;
  font-family: var(--font-main);
}

.hero-desc-treza {
  font-size: 1.12rem;
  color: #4b5563;
  line-height: 1.65;
  max-width: 530px;
  margin-bottom: 2.25rem;
}

.hero-actions-treza {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-stats-treza {
  display: flex;
  gap: 3.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.stat-treza-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0b0f19;
  letter-spacing: -0.02em;
}

.stat-treza-lbl {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 600;
  margin-top: 2px;
}

/* Big Hero Phone Showcase */
.hero-stage-treza {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-treza {
  width: 100%;
  max-width: 350px;
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  border: 3px solid #1f2937;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  transition: transform 0.4s ease;
}

.hero-phone-treza:hover {
  transform: translateY(-6px);
}

.phone-treza-island {
  width: 80px;
  height: 18px;
  background: #000000;
  border-radius: 20px;
  margin: 2px auto 10px auto;
  position: relative;
  z-index: 5;
}

.phone-treza-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
}

.phone-treza-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-push {
  position: absolute;
  bottom: 25px;
  left: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  width: 290px;
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.glass-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.glass-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-light);
  padding: 2px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.glass-badge-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.glass-badge-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
  margin-bottom: 12px;
}

.glass-badge-actions {
  display: flex;
  gap: 8px;
}

.glass-action-btn {
  flex: 1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-approve-solid {
  background: var(--success);
  color: var(--white);
}

.btn-deny-soft {
  background: #f1f5f9;
  color: var(--slate);
}

/* ===================================================
   Recognized By / Social Proof Strip
   =================================================== */
.social-proof-section {
  padding: 3rem 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

.social-proof-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.social-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1e293b;
  opacity: 0.85;
  transition: var(--transition);
}

.social-logo-item:hover {
  opacity: 1;
  color: var(--coral);
}

/* ===================================================
   Bento Grid Section ("How It Works" in Treza Style)
   =================================================== */
.bento-section {
  padding: 6rem 0;
  background: #ffffff;
}

.section-tag-coral {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.bento-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.bento-header-left h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b0f19;
  line-height: 1.15;
  max-width: 520px;
}

.bento-header-right p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.65;
  max-width: 440px;
}

.bento-container-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 2rem;
  align-items: stretch;
}

.bento-card-tall {
  background: #f4f5f9;
  border: 1px solid #eef0f6;
  border-radius: 32px;
  padding: 2.75rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.bento-card-tall:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.bento-card-tall h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b0f19;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.bento-card-tall p {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.bento-tall-phone {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.bento-tall-phone .phone-frame-bento {
  width: 100%;
  max-width: 290px;
  background: #000000;
  border-radius: 36px 36px 0 0;
  padding: 8px 8px 0;
  border: 2px solid #1f2937;
  border-bottom: none;
}

.bento-tall-phone .phone-frame-bento img {
  width: 100%;
  height: auto;
  border-radius: 28px 28px 0 0;
  display: block;
}

.bento-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bento-mini-card {
  background: #f4f5f9;
  border: 1px solid #eef0f6;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.bento-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.icon-coral {
  background: #ffedd5;
  color: #ea580c;
}

.icon-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.icon-emerald {
  background: #dcfce7;
  color: #16a34a;
}

.icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.bento-mini-card h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0b0f19;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.bento-mini-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ===================================================
   Stacked Split Feature Cards (Page 2 of Reference)
   =================================================== */
.feature-showcase-section {
  padding: 6.5rem 0;
  background: #ffffff;
}

.stacked-cards-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.stacked-showcase-card {
  background: #f4f5f9;
  border: 1px solid #eef0f6;
  border-radius: 32px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.stacked-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -15px rgba(15, 23, 42, 0.08);
}

.stacked-showcase-card.inverted {
  grid-template-columns: 1fr 1.15fr;
}

.stacked-card-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b0f19;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.stacked-card-desc {
  font-size: 1.02rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.stacked-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stacked-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
}

.stacked-bullet-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}

.stacked-card-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.stacked-phone-frame {
  width: 100%;
  max-width: 280px;
  background: #000000;
  border-radius: 40px;
  padding: 8px;
  border: 2px solid #1f2937;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.stacked-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
}

.stacked-layered-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 380px;
}

.layered-card-front {
  position: absolute;
  top: 40px;
  left: 0;
  width: 220px;
  background: #000000;
  border-radius: 36px;
  padding: 8px;
  border: 2px solid #1f2937;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  z-index: 2;
  transform: rotate(-4deg);
  transition: var(--transition);
}

.layered-card-front:hover {
  transform: rotate(0) scale(1.03);
}

.layered-card-front img {
  border-radius: 28px;
  width: 100%;
  display: block;
}

.layered-card-back {
  position: absolute;
  top: 10px;
  right: 0;
  width: 220px;
  background: #000000;
  border-radius: 36px;
  padding: 8px;
  border: 2px solid #1f2937;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transform: rotate(6deg);
  opacity: 0.9;
  transition: var(--transition);
}

.layered-card-back:hover {
  transform: rotate(0) scale(1.03);
  z-index: 3;
}

.layered-card-back img {
  border-radius: 28px;
  width: 100%;
  display: block;
}

/* Section Shared Layout */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 1.15rem;
  line-height: 1.2;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.feature-title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--dark);
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
}

.feature-card-screenshot {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
}

.feature-card-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-screenshot img {
  transform: scale(1.02);
}

/* ===================================================
   Workflow Section & Pipeline (How GateFlow Works)
   =================================================== */
.section-workflow {
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.workflow-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 24px;
  border-radius: 999px;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  flex-wrap: wrap;
}

.pipeline-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.pipeline-step-pill.active {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.pipeline-step-pill.pill-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pipeline-step-pill .pill-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.pipeline-step-pill.pill-success .pill-num {
  background: var(--success);
}

.pipeline-step-pill .pill-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.pipeline-arrow {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 700;
  user-select: none;
}

/* 3-Step Connected Flow Cards Grid */
.steps-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  position: relative;
}

.step-card-pro {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.step-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.14);
  border-color: #93c5fd;
}

.step-card-pro:hover::before {
  opacity: 1;
}

.step-card-header {
  margin-bottom: 1.5rem;
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
  letter-spacing: -0.02em;
}

.step-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 10px;
  border-radius: 999px;
}

.step-category-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.step-title-pro {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.step-desc-pro {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.step-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step-tag-chip {
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Phone Mockup Frame inside Pro Step Card */
.step-phone-showcase {
  margin-top: auto;
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 1rem;
}

.phone-chassis-sleek {
  width: 100%;
  max-width: 270px;
  background: #090d16;
  border-radius: 36px;
  padding: 8px 8px 12px;
  border: 2px solid #1e293b;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-card-pro:hover .phone-chassis-sleek {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 48px -10px rgba(15, 23, 42, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-dynamic-island {
  width: 68px;
  height: 16px;
  background: #000000;
  border-radius: 20px;
  margin: 2px auto 8px auto;
  position: relative;
  z-index: 5;
}

.phone-screen-inner {
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.phone-screen-inner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.phone-status-overlay {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.status-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ===================================================
   Executive Outcome Command Hub (Step Result Banner)
   =================================================== */
.step-outcome-hub {
  margin-top: 4.5rem;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e1b4b 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 32px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
  position: relative;
  overflow: hidden;
}

.outcome-ambient-radial {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  pointer-events: none;
}

.outcome-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.outcome-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGlow 1.8s infinite;
}

.outcome-heading {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.outcome-description {
  color: #94a3b8;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.outcome-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.1rem;
  text-align: center;
}

.metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

.outcome-checklist-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outcome-check-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-icon-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.outcome-check-row strong {
  color: #f1f5f9;
  display: block;
  font-size: 0.94rem;
}

.outcome-check-row span {
  color: #94a3b8;
  font-size: 0.86rem;
}

/* Outcome Visual (Phone + Floating Host Push Alert) */
.step-outcome-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.outcome-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-outcome-chassis {
  max-width: 280px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.2);
}

.floating-outcome-card {
  position: absolute;
  bottom: 25px;
  left: -20px;
  right: -20px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  z-index: 10;
  animation: floatSubtle 4s ease-in-out infinite;
}

.floating-alert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.alert-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-app-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.alert-time-txt {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.alert-body-txt {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.alert-body-txt strong {
  color: #ffffff;
}

.alert-body-txt em {
  color: #38bdf8;
  font-style: normal;
  font-weight: 600;
}

.alert-actions-row {
  display: flex;
  gap: 8px;
}

.alert-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.alert-btn-approve {
  background: #10b981;
  color: #ffffff;
}

.alert-btn-approve:hover {
  background: #059669;
}

.alert-btn-deny {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.alert-btn-deny:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

/* Roles Comparison Section */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.role-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem 2.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.role-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.role-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.role-tag-reception {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.role-tag-employee {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.role-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.role-card p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.role-list {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.role-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.96rem;
  color: var(--slate);
  font-weight: 500;
}

.role-list svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.role-screenshots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: auto;
}

.role-screen-card {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.role-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}

.role-screen-card img {
  width: 100%;
  height: auto;
  display: block;
}

.role-screen-caption {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  background: #f8fafc;
  color: var(--slate);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-question svg {
  transition: transform 0.3s ease;
  width: 22px;
  height: 22px;
  stroke: var(--slate);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 1.75rem 1.5rem;
  max-height: 250px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 2.25rem;
  padding: 1.4rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-details h5 {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  margin-bottom: 2px;
}

.contact-details a {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.contact-details a:hover {
  text-decoration: underline;
}

.form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.98rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.alert-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.94rem;
  font-weight: 600;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Privacy Policy Layout */
.privacy-wrapper {
  padding: 5rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.privacy-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.75rem;
}

.privacy-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.privacy-meta {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.privacy-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.privacy-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-content p, .privacy-content ul {
  font-size: 1.02rem;
  color: #475569;
  margin-bottom: 1.35rem;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 1.75rem;
  list-style: disc;
}

.privacy-content li {
  margin-bottom: 0.6rem;
}

.privacy-highlight-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 14px 14px 0;
  margin: 2rem 0;
  font-size: 1.02rem;
  color: #1e3a8a;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: inline-block;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 380px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.94rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  
  .hero-pill {
    margin: 0 auto 1.5rem;
  }
  
  .hero-desc {
    margin: 0 auto 2.25rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .floating-secondary-phone {
    display: none;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .step-result-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
  }
  
  .result-checklist {
    align-items: center;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .brand-logo-img {
    height: 38px;
    max-width: 170px;
  }

  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .floating-glass-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 270px;
  }
  
  .role-screenshots-row {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================================
   Interactive App Showcase Simulator & Filmstrip
   ======================================================== */

.app-simulator-wrapper {
  background: linear-gradient(180deg, #090d16 0%, #0f172a 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  border: 1px solid #1e293b;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.4);
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.sim-ambient-radial {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  top: 10%;
  left: 30%;
  z-index: 0;
}

/* Simulator Mode Selector */
.simulator-mode-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.mode-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.mode-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.mode-pill-btn.active {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: var(--white);
  border-color: #3b82f6;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
}

/* Simulator Main Grid */
.simulator-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

/* Steps List (Left Side) */
.simulator-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sim-step-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sim-step-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.sim-step-item.active {
  background: rgba(37, 99, 235, 0.14);
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.25);
}

.sim-step-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #3b82f6;
}

.sim-step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.sim-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  transition: var(--transition);
}

.sim-step-item.active .sim-step-badge {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.sim-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.sim-step-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  padding-left: 42px;
}

/* Interactive Simulator Phone Stage */
.sim-phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sim-device-chassis {
  width: 100%;
  max-width: 320px;
  background: #020617;
  border-radius: 46px;
  padding: 10px;
  border: 2px solid #334155;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 35px 70px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.sim-screen-container {
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  line-height: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-screen-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Simulator Footer Controls */
.sim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px 14px;
}

.sim-btn-ctrl {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-btn-ctrl:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #38bdf8;
}

.sim-auto-indicator {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Horizontal Interactive Filmstrip Carousel */
.filmstrip-section {
  padding: 5rem 0 3rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.filmstrip-track {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.filmstrip-track::-webkit-scrollbar {
  height: 6px;
}

.filmstrip-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

.filmstrip-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  cursor: pointer;
  text-align: left;
}

.filmstrip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #3b82f6;
}

.filmstrip-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}

.filmstrip-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.filmstrip-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}

.filmstrip-badge {
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .pill-tag-treza {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc-treza {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-treza {
    justify-content: center;
  }

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

  .bento-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .bento-container-grid {
    grid-template-columns: 1fr;
  }

  .stacked-showcase-card,
  .stacked-showcase-card.inverted {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    gap: 3rem;
  }

  .simulator-body-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sim-phone-stage {
    order: -1;
  }

  .sim-step-desc {
    padding-left: 0;
    margin-top: 4px;
  }

  .steps-flow-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 2.25rem;
  }

  .step-outcome-hub {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    gap: 3rem;
  }

  .step-outcome-content {
    text-align: center;
  }

  .outcome-pill-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .outcome-checklist-modern {
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
  }

  .floating-outcome-card {
    left: 0;
    right: 0;
  }
}

@media (max-width: 640px) {
  .hero-title-treza {
    font-size: 2.4rem;
  }

  .hero-stats-treza {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .bento-subgrid {
    grid-template-columns: 1fr;
  }

  .bento-header-left h2 {
    font-size: 2rem;
  }

  .capsule-toggle {
    display: none;
  }

  .hero-floating-push {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .layered-card-front,
  .layered-card-back {
    position: static;
    transform: none;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .stacked-layered-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .workflow-pipeline {
    border-radius: 20px;
    padding: 10px 14px;
    gap: 8px;
    justify-content: flex-start;
  }

  .pipeline-arrow {
    display: none;
  }

  .outcome-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .step-card-pro {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .floating-outcome-card {
    position: relative;
    bottom: auto;
    margin-top: 1.25rem;
  }
}
