/* ==========================================================================
   PROFILO MARKETING - 2-TIER EXPERIENTIAL ARCHITECTURE (ADSORB ARCHITECTURE)
   Tier 1: Interactive Experiential Descent (Hero -> Particle Tunnel -> Stacking Cards)
   Tier 2: Conversion & Proof Engine (Numbers, Brand Wall, Simulator, CRM, Team, FAQ)
   Typography: Inter with DATT Studio OpenType (cv01, cv11, ss01, ss02, calt)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* DATT Studio Typography Matrix */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --track-tighter: -0.035em;
  --track-tight: -0.015em;
  --track-wide: 0.08em;
  --track-widest: 0.14em;
  
  --lh-xtight: 1.04;
  --lh-tight: 1.18;
  --lh-body: 1.5;
  
  --studio-grey: #b4b4b4;
  --studio-dark-grey: #5f5f5f;
  
  /* Color System */
  --bg-dark: #0a0c10;
  --bg-card-dark: #11141c;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.4);
  
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --accent: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-coral: #cf5d55;
  
  /* Tier 2 Light Canvas */
  --bg-light: #f5f5f7;
  --bg-light-card: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --text-dark: #0a0a0a;
  --text-dark-muted: #52525b;
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container-max: 1220px;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  font-feature-settings: "cv01" on, "cv11" on, "ss01" on, "ss02" on, "calt" on;
}

/* Lenis Smooth Scrolling */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Typography */
h1, h2 {
  font-weight: 600;
  line-height: var(--lh-xtight);
  letter-spacing: var(--track-tighter);
  text-wrap: balance;
  color: var(--text-light);
}

h3, h4, h5 {
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  color: var(--text-light);
}

p {
  color: var(--text-muted);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

/* ==========================================================================
   ADSORB SIGNATURE BUTTON ("THE CATALYST PILL")
   ========================================================================== */

.btn-adsorb {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  cursor: pointer;
  border: 1px solid var(--border-dark);
  background: var(--bg-card-dark);
  color: var(--text-light);
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-adsorb .btn-icon-tray {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  color: var(--text-light);
}

.btn-adsorb .btn-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-adsorb .btn-icon-arrow {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-16px, 16px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  stroke-width: 2.5;
}

.btn-adsorb:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
}

.btn-adsorb:hover .btn-icon-tray {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}

.btn-adsorb:hover .btn-icon-dot {
  transform: scale(0);
  opacity: 0;
}

.btn-adsorb:hover .btn-icon-arrow {
  transform: translate(0, 0);
  opacity: 1;
}

.btn-adsorb-primary {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px var(--primary-glow);
}
.btn-adsorb-primary:hover {
  background: #1d4ed8;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-adsorb-dark {
  background: var(--text-dark);
  color: #ffffff;
  border-color: transparent;
}
.btn-adsorb-dark:hover { background: #000; }
.btn-adsorb-dark .btn-icon-tray { background: rgba(255, 255, 255, 0.15); }
.btn-adsorb-dark:hover .btn-icon-tray { background: #ffffff; color: #000000; }

.btn-adsorb-white {
  background: #ffffff;
  color: #000000;
  border-color: transparent;
}
.btn-adsorb-white:hover {
  background: #f1f3f7;
}
.btn-adsorb-white .btn-icon-tray {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}
.btn-adsorb-white:hover .btn-icon-tray {
  background: #000000;
  color: #ffffff;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  height: 76px;
  display: flex;
  align-items: center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--studio-grey);
}
.desktop-nav a:hover { color: #ffffff; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-light);
}

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 16, 0.98);
  backdrop-filter: blur(24px);
  display: none;
  flex-direction: column;
  padding: 36px 24px;
  gap: 18px;
  z-index: 999;
  border-top: 1px solid var(--border-dark);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
}

/* ==========================================================================
   TIER 1: INTERACTIVE DESCENT (HERO + SCROLL-DRIVEN VORTEX TUNNEL)
   ========================================================================== */

.immersive-descent-wrapper {
  position: relative;
  width: 100%;
  height: 360vh; /* Scroll track for the 5-phase tunnel journey */
}

.sticky-tunnel-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
}

/* Hero Content Layer (visible at scroll = 0, fades as you scroll down) */
.hero-stage-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 0;
  z-index: 10;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-stage-content h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  max-width: 22ch;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: var(--track-tighter);
}

.gradient-title-word {
  background: linear-gradient(135deg, #f472b6, #c084fc, #60a5fa, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scroll-indicator-pill {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: var(--studio-grey);
}

.scroll-indicator-dots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scroll-indicator-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--studio-grey);
  animation: pulseDot 1.4s infinite ease-in-out;
}
.scroll-indicator-dots span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulseDot {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Canvas Particle Tunnel */
#tunnel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 5;
}

/* Central Reveal Statement (Inside the 3D Tunnel) */
.tunnel-statement {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  text-align: center;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  max-width: 1040px;
  padding: 0 24px;
  will-change: transform, opacity;
}

.tunnel-statement-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  color: #38bdf8;
  margin-bottom: 22px;
}

.tunnel-statement-title {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: var(--track-tighter);
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 0;
}

.statement-accent {
  background: linear-gradient(135deg, #fbcfe8 0%, #c084fc 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tunnel-statement-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: var(--track-tight);
}

/* ==========================================================================
   TIER 1 (PART 2): STACKING CARDS (SCREENSHOT 5 RECREATION)
   ========================================================================== */

.stacking-cards-section {
  position: relative;
  padding: 20px 0 120px;
  z-index: 20;
  background: var(--bg-dark);
}

.stack-cards-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.stack-card {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  transition: transform 0.3s ease;
}

/* Corner Dotted Graphic (Screenshot 5) */
.card-corner-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  pointer-events: none;
  opacity: 0.4;
}

.card-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-widest);
  border: 1px solid currentColor;
  width: fit-content;
  margin-bottom: 18px;
}

.stack-card-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: var(--track-tighter);
  line-height: var(--lh-xtight);
  margin-bottom: 0;
}

/* Narrow Photo Strip Container (Bleeds to background, no lateral borders, half height) */
.card-photo-strip-container {
  width: 100%;
  height: 88px;
  overflow: hidden;
  position: relative;
  margin: 16px 0 16px;
  background: transparent;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
}

.card-photo-strip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-card:hover .card-photo-strip {
  transform: scale(1.03);
}

.stack-card-desc {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  max-width: 74ch;
  margin-bottom: 0;
}

/* Feature Points Grid inside Stacking Cards */
.card-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin: 20px 0 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.card-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.card-point-item .point-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-point-item h4 {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 3px;
  letter-spacing: var(--track-tight);
}

.card-point-item p {
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.stack-card-footer {
  margin-top: auto;
  padding-top: 8px;
}

/* Card 1: Coral / Warm Terracotta (Screenshot 5) */
.stack-card.card-coral {
  background: #cf5d55;
  color: #ffffff;
}
.stack-card.card-coral .card-pill-tag {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.stack-card.card-coral .card-photo-strip {
  mix-blend-mode: lighten;
}
.stack-card.card-coral .stack-card-desc {
  color: rgba(255, 255, 255, 0.92);
}
.stack-card.card-coral .card-points-grid {
  border-top-color: rgba(255, 255, 255, 0.22);
}
.stack-card.card-coral .card-point-item .point-icon {
  stroke: #ffffff;
}
.stack-card.card-coral .card-point-item h4 {
  color: #ffffff;
}
.stack-card.card-coral .card-point-item p {
  color: rgba(255, 255, 255, 0.85);
}

/* Card 2: Crisp Architectural White */
.stack-card.card-white {
  background: #ffffff;
  color: #0a0a0a;
}
.stack-card.card-white .stack-card-title {
  color: #0a0a0a;
}
.stack-card.card-white .card-pill-tag {
  color: #0a0a0a;
  border-color: rgba(0, 0, 0, 0.25);
}
.stack-card.card-white .card-photo-strip {
  filter: invert(1) hue-rotate(180deg) contrast(1.15);
  mix-blend-mode: multiply;
}
.stack-card.card-white .stack-card-desc {
  color: #334155;
}
.stack-card.card-white .card-points-grid {
  border-top-color: rgba(15, 23, 42, 0.12);
}
.stack-card.card-white .card-point-item .point-icon {
  stroke: #0f172a;
}
.stack-card.card-white .card-point-item h4 {
  color: #0f172a;
}
.stack-card.card-white .card-point-item p {
  color: #475569;
}

/* Card 3: Deep Obsidian Slate with Glow */
.stack-card.card-obsidian {
  background: #11141d;
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.stack-card.card-obsidian .card-pill-tag {
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.4);
}
.stack-card.card-obsidian .card-photo-strip {
  mix-blend-mode: screen;
}
.stack-card.card-obsidian .stack-card-desc {
  color: #94a3b8;
}
.stack-card.card-obsidian .card-points-grid {
  border-top-color: rgba(56, 189, 248, 0.18);
}
.stack-card.card-obsidian .card-point-item .point-icon {
  stroke: #38bdf8;
}
.stack-card.card-obsidian .card-point-item h4 {
  color: #ffffff;
}
.stack-card.card-obsidian .card-point-item p {
  color: #94a3b8;
}

/* Sticky Left Cards Timeline Rail (Screenshots 2-5) */
.cards-timeline-rail {
  position: fixed;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cards-timeline-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.rail-track {
  position: relative;
  width: 200px;
  height: 280px;
}

.rail-line-bg {
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.rail-line-progress {
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 0%;
  background-color: #cf5d55;
  border-radius: 2px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 10px #cf5d55;
}

.rail-node-wrap {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.rail-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0b0e14;
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.rail-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
  transition: all 0.3s ease;
}

.rail-node-wrap.is-active .rail-node {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

.rail-node-wrap.is-active .rail-node-dot {
  background: #ffffff;
}

.rail-node-label {
  margin-left: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: var(--track-wide);
  color: #64748b;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.3s ease;
}

.rail-node-wrap.is-active .rail-node-label {
  color: #ffffff;
  font-weight: 600;
  transform: translateX(2px);
}

@media (max-width: 1260px) {
  .cards-timeline-rail {
    left: 20px;
  }
}

@media (max-width: 1040px) {
  .cards-timeline-rail {
    display: none;
  }
}

@media (max-width: 768px) {
  .stack-card {
    padding: 32px 24px;
    min-height: auto;
  }
  .card-photo-strip-container {
    height: 70px;
    margin: 14px 0 14px;
  }
  .card-points-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 16px 0 20px;
    padding-top: 16px;
  }
}

/* ==========================================================================
   TIER 2: THE CONVERSION & PROOF ENGINE (TRADITIONAL WEBSITE)
   ========================================================================== */

/* Proof Figures Block (Adsorb Layout) */
.figures-block-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-dark);
  background: var(--bg-dark);
}

.figures-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.figures-left-col h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 20px;
}

.figures-left-col p {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.figures-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
}

.figure-stat-item h3 {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: var(--track-tighter);
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.figure-stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  font-weight: 600;
}

/* Brand Grid (Brands We Built With) */
.brand-grid-section {
  padding: 60px 0 90px;
  border-top: 1px solid var(--border-dark);
}

.brand-grid-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.brand-grid-title h3 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: var(--track-tight);
}

.brands-pill-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: var(--track-wide);
  color: var(--studio-grey);
  transition: all 0.25s ease;
}

.brand-box:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
  background: #141822;
}

/* Bento Card Style */
.bento-glow-card {
  position: relative;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.bento-glow-card:hover {
  transform: translateY(-3px);
  background: #141824;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

/* Calculator & CRM Styles */
.calc-card { padding: 36px; }
.calc-body { display: flex; flex-direction: column; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 0.84rem; font-weight: 600; display: flex; justify-content: space-between; }
.calc-select, .calc-input {
  width: 100%; padding: 12px 14px; background: #151a24;
  border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  color: var(--text-light); font-family: inherit; font-size: 0.92rem;
}
.calc-select:focus, .calc-input:focus { outline: none; border-color: var(--accent); }
.calc-range { -webkit-appearance: none; width: 100%; height: 6px; background: #151a24; border-radius: 3px; }
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
}
.calc-results-box {
  background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius); padding: 22px;
}
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: center; }
.result-metric strong { display: block; font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.result-metric span { font-size: 0.74rem; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.calc-revenue-row {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.calc-revenue-row strong { font-size: 1.3rem; color: var(--accent-amber); font-variant-numeric: tabular-nums; }

/* CRM Chrome */
.crm-showcase {
  background: #090c12; border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); overflow: hidden;
}
.crm-window-chrome {
  background: #11151f; border-bottom: 1px solid var(--border-dark);
  padding: 13px 22px; display: flex; align-items: center; justify-content: space-between;
}
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.window-url-bar { font-size: 0.76rem; color: var(--text-muted); background: rgba(0,0,0,0.4); padding: 4px 18px; border-radius: var(--radius-full); }
.crm-nav-tabs { display: flex; gap: 6px; padding: 12px 22px 0; background: #0d111a; border-bottom: 1px solid var(--border-dark); overflow-x: auto; }
.crm-tab-btn {
  background: transparent; border: 1px solid transparent; border-bottom: none;
  color: var(--text-muted); padding: 10px 18px; font-family: inherit; font-size: 0.85rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-wide);
  border-radius: 8px 8px 0 0; cursor: pointer; white-space: nowrap;
}
.crm-tab-btn.active { background: #101520; color: var(--text-light); border-color: var(--border-dark); }
.crm-screen-container { padding: 24px; background: #101520; display: flex; align-items: center; justify-content: center; }
.crm-screen-img { max-width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); }

/* Editorial Light Canvas (Risultati & FAQ) */
.section-light {
  background-color: var(--bg-light); color: var(--text-dark);
  position: relative; z-index: 30;
}
.section-light h2, .section-light h3, .section-light h4 { color: var(--text-dark); }
.section-light p { color: var(--text-dark-muted); }

.light-case-card {
  background: #ffffff; border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px; box-shadow: 0 4px 20px -2px rgba(0,0,0,0.04);
}
.case-stats-light {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: #f8fafc; border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm); padding: 18px; margin-bottom: 22px;
}
.case-stat-item strong { display: block; font-size: 1.6rem; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.case-stat-item span { font-size: 0.74rem; color: #64748b; font-weight: 600; text-transform: uppercase; }

/* FAQ */
.faq-grid-light { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item-light { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.faq-question-light {
  width: 100%; padding: 22px 26px; background: none; border: none;
  color: var(--text-dark); font-family: inherit; font-size: 1.05rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-item-light.is-open .faq-icon-light { transform: rotate(180deg); color: var(--primary); }
.faq-answer-light { display: none; padding: 0 26px 22px; font-size: 0.95rem; color: var(--text-dark-muted); border-top: 1px solid rgba(0,0,0,0.04); }
.faq-item-light.is-open .faq-answer-light { display: block; }

/* Founders & Closing CTA */
.founder-card { padding: 32px; }
.founder-role { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: var(--track-wide); margin-bottom: 8px; display: block; }
.founder-name { font-size: 1.5rem; margin-bottom: 12px; font-weight: 600; }
.brand-tag { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 4px 9px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }

.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.25), transparent 70%), var(--bg-card-dark);
  border: 1px solid var(--border-glow); border-radius: var(--radius-lg);
  padding: 72px 48px; text-align: center; max-width: 940px; margin: 0 auto;
}
.cta-banner h2 { font-size: clamp(2.2rem, 3.8vw, 3.1rem); margin-bottom: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-dark); background: #06070a; padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-size: 0.85rem; margin-bottom: 16px; color: var(--text-light); text-transform: uppercase; letter-spacing: var(--track-wide); }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--text-light); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; color: var(--studio-dark-grey); font-size: 0.82rem; flex-wrap: wrap; gap: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .figures-layout-grid { grid-template-columns: 1fr; gap: 48px; }
  .brands-pill-matrix { grid-template-columns: repeat(2, 1fr); }
  .stack-card { padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav, .desktop-actions { display: none; }
  .menu-toggle { display: block; }
  .figures-numbers-grid { grid-template-columns: 1fr; }
  .stack-card { padding: 32px 24px; min-height: 480px; }
  .card-corner-dots { width: 180px; height: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 22px; }
}

/* ==========================================================================
   SERVICES TIMELINE DEEP-DIVE (ADSORB SECOND VIEW RECREATION)
   ========================================================================== */

/* Hero for Second View */
.services-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.services-hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--track-tighter);
  margin-bottom: 24px;
}

.gradient-divisions-text {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* Halftone Aura Accent in Hero */
.hero-halftone-aura {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(#a78bfa 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 75%);
}

/* Timeline Layout Section */
.timeline-section {
  position: relative;
  padding: 80px 0 140px;
  background: var(--bg-dark);
}

.timeline-layout {
  display: flex;
  gap: 60px;
  position: relative;
}

/* Left Sticky Rail (Desktop) */
.timeline-rail-col {
  width: 250px;
  flex-shrink: 0;
}

.timeline-sticky-nav {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
  position: relative;
}

.timeline-rail-line {
  position: absolute;
  left: 31px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.timeline-rail-progress-bar {
  position: absolute;
  left: 31px;
  top: 14px;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #f43f5e, #eab308, #38bdf8);
  border-radius: 999px;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

.timeline-nav-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  z-index: 5;
}

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

.timeline-nav-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.timeline-nav-node-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.25s ease;
}

.timeline-nav-link.active {
  color: #ffffff;
}

.timeline-nav-link[data-division="lead"].active .timeline-nav-node {
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.5);
}
.timeline-nav-link[data-division="lead"].active .timeline-nav-node-inner {
  background: #f43f5e;
}

.timeline-nav-link[data-division="qualifica"].active .timeline-nav-node {
  border-color: #eab308;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}
.timeline-nav-link[data-division="qualifica"].active .timeline-nav-node-inner {
  background: #eab308;
}

.timeline-nav-link[data-division="crm"].active .timeline-nav-node {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}
.timeline-nav-link[data-division="crm"].active .timeline-nav-node-inner {
  background: #38bdf8;
}

/* Right Content Stream */
.timeline-stream-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.division-block {
  scroll-margin-top: 120px;
  position: relative;
}

.division-header-wrap {
  margin-bottom: 28px;
}

.division-wireframe-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: block;
}

.division-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}

.gradient-title-lead {
  background: linear-gradient(135deg, #ffffff 40%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-title-qualifica {
  background: linear-gradient(135deg, #ffffff 40%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-title-crm {
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.division-lead-p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 68ch;
  line-height: 1.6;
}

/* Division 3D Visual Banner */
.division-banner-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090b10;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
}

.division-banner-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-banner-container:hover img {
  transform: scale(1.02);
}

/* 6-Item Feature Breakdown Grid */
.division-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 36px;
  margin-bottom: 44px;
}

.division-feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-micro-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: var(--track-tight);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.58;
  padding-left: 34px;
}

/* Division Bottom Action Bar */
.division-action-bar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.division-action-text {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 52ch;
  line-height: 1.5;
}

/* Responsive Overrides for Timeline */
@media (max-width: 991px) {
  .timeline-layout {
    flex-direction: column;
    gap: 40px;
  }
  .timeline-rail-col {
    width: 100%;
  }
  .timeline-sticky-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border-dark);
    gap: 16px;
  }
  .timeline-rail-line, .timeline-rail-progress-bar {
    display: none;
  }
  .timeline-nav-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
  }
  .timeline-stream-col {
    gap: 90px;
  }
  .division-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

