/* ============================================
   EfektywnyWeb v2 — Enhanced Design System
   Dark Premium | Scroll-Reactive | Animated Icons
   Inspired by: Blooio + Stitch screens
   ============================================ */

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

/* ===== DESIGN TOKENS ===== */
:root {
  --primary-400: #60A5FA;
  --primary-500: #3B82F6;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --accent-400: #38BDF8;
  --accent-500: #0EA5E9;
  --purple-500: #833CF6;
  --purple-400: #A855F7;
  --success-400: #4ADE80;
  --success-500: #22C55E;
  --error-500: #EF4444;

  --bg-primary: #09090B;
  --bg-secondary: #0F0F12;
  --bg-tertiary: #151518;
  --bg-card: rgba(22, 22, 26, 0.65);
  --bg-card-solid: #161618;
  --bg-nav: rgba(9, 9, 11, 0.8);

  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;

  --border-light: rgba(63, 63, 70, 0.35);
  --border-accent: rgba(59, 130, 246, 0.25);
  --border-purple: rgba(131, 60, 246, 0.25);

  --font-heading: 'Geist', 'Space Grotesk', sans-serif;
  --font-body: 'Geist', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --section-py: clamp(4rem, 8vw, 7rem);
  --section-px: clamp(1.25rem, 5vw, 3rem);
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

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

.section--alt {
  background: var(--bg-secondary);
}

/* Highlighted — subtle blue gradient tint */
.section--highlight {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.01) 50%, var(--bg-primary) 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

/* Elevated — lighter card-like surface */
.section--elevated {
  background: linear-gradient(180deg, #131318 0%, #0E0E14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Warm — subtle purple glow */
.section--warm {
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}

/* Contrast — pure black background for high impact */
.section--contrast {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Large Impact Typography */
.large-type {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 2rem 0;
}

.text-reveal-scroll {
  opacity: 0.15;
  transition: opacity 0.6s ease;
}

.text-reveal-scroll.active {
  opacity: 1;
}

/* ===== SHUTTER TEXT ANIMATION ===== */
.shutter-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Shader BG behind text */
.shutter-shader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}

.shutter-shader-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.shutter-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0;
}

.shutter-char {
  position: relative;
  display: inline-block;
  padding: 0 0.1vw;
  overflow: hidden;
}

/* Main character — starts blurred/invisible */
.shutter-char .char-main {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 9rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Active state — unblur */
.shutter-text.active .shutter-char .char-main {
  opacity: 1;
  filter: blur(0px);
}

/* Each char gets staggered delay via inline style --d */
.shutter-text.active .shutter-char .char-main {
  transition-delay: var(--d, 0s);
}

/* Slice layers — absolute clones with clip-path */
.shutter-char .slice {
  position: absolute;
  inset: 0;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 9rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

/* Top slice 0-35% */
.slice--top {
  color: var(--primary-400);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translateX(-110%);
}

/* Middle slice 35-65% */
.slice--mid {
  color: rgba(255, 255, 255, 0.8);
  clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%);
  transform: translateX(110%);
}

/* Bottom slice 65-100% */
.slice--bot {
  color: var(--primary-400);
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translateX(-110%);
}

/* Animate slices when active */
.shutter-text.active .slice--top {
  animation: sliceSweepLR 0.7s ease-in-out forwards;
}

.shutter-text.active .slice--mid {
  animation: sliceSweepRL 0.7s ease-in-out forwards;
}

.shutter-text.active .slice--bot {
  animation: sliceSweepLR 0.7s ease-in-out forwards;
}

/* Stagger via --d */
.shutter-text.active .slice--top {
  animation-delay: var(--d, 0s);
}

.shutter-text.active .slice--mid {
  animation-delay: calc(var(--d, 0s) + 0.1s);
}

.shutter-text.active .slice--bot {
  animation-delay: calc(var(--d, 0s) + 0.2s);
}

@keyframes sliceSweepLR {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes sliceSweepRL {
  0% {
    transform: translateX(110%);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: translateX(-110%);
    opacity: 0;
  }
}

/* Subtitle fade-in */
.shutter-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 3rem auto 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s;
}

.shutter-subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative glow divider between sections */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 600px;
}

/* ===== BENTO BOX GRID V2 — Premium 4-Column Layout ===== */
.bento-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bento-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bento-v2:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.bento-v2--full {
  grid-column: 1 / -1;
}

/* Grid placement — explicit positioning */
.bento-v2--phone {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.06), rgba(131, 60, 246, 0.04));
  border-color: rgba(59, 130, 246, 0.12);
  overflow: hidden;
}

.bento-v2--phone:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.bento-v2--chart-wide {
  grid-column: 2 / 4;
  grid-row: 1;
}

.bento-v2--stats-stacked {
  grid-column: 4;
  grid-row: 1;
  justify-content: center;
  gap: 0;
}

.bento-v2--voice {
  grid-column: 2;
  grid-row: 2;
}

.bento-v2--stat45 {
  grid-column: 3;
  grid-row: 2;
}

.bento-v2--compare {
  grid-column: 4;
  grid-row: 2;
}

/* Accent / Blue contrast card */
.bento-v2--accent {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  border-color: var(--primary-500);
  color: white;
}

.bento-v2--accent:hover {
  border-color: var(--primary-400);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.25);
}

.bento-v2--accent-subtle {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(131, 60, 246, 0.06));
  border-color: var(--border-accent);
}

.bento-v2__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-v2__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.bento-v2:not(.bento-v2--accent) .bento-v2__label {
  color: var(--text-muted);
}

.bento-v2__bottom {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.bento-stat-inline {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
}

.bento-v2__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.bento-stat {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-400), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
}

.bento-v2 p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

.bento-v2--accent p {
  color: rgba(255, 255, 255, 0.8);
}

/* Stacked stat card */
.bento-mini-stat {
  padding: 0.75rem 0;
}

.bento-mini-stat .bento-stat {
  font-size: clamp(2rem, 4vw, 3rem);
}

.bento-mini-stat p {
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.bento-mini-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}

/* Chart legend */
.chart-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 3px;
}

.legend-dot--hours {
  background: var(--primary-400);
}

.legend-dot--leads {
  background: #34d399;
}

/* Override legend inside blue accent card */
.bento-v2--accent .legend-dot--hours {
  background: #0a1a3a;
}

.bento-v2--accent .legend-dot--leads {
  background: rgba(255, 255, 255, 0.15);
}

.bento-v2--accent .chart-legend {
  color: rgba(255, 255, 255, 0.7);
}

/* Dual-bar chart */
.bento-v2__chart {
  display: flex;
  gap: 5px;
  height: 140px;
  padding: 0.5rem 0;
}

.bento-v2__chart--dual {
  gap: 4px;
}

.bar-group {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  position: relative;
  height: 100%;
}

.bar-group::after {
  content: attr(data-label);
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  height: 0;
  transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
  min-width: 5px;
}

.bar-group .mini-bar {
  transition-delay: var(--delay, 0s);
}

.bento-v2__chart.active .mini-bar,
.bento-v2__chart.active .bar-group .mini-bar,
.bento-v2.visible .bento-v2__chart .mini-bar,
.bento-v2.visible .bento-v2__chart .bar-group .mini-bar {
  height: var(--h);
}

.mini-bar--hours {
  background: var(--primary-400);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.mini-bar--leads {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.2);
}

/* Override bar colors inside blue accent card so they're visible */
.bento-v2--accent .mini-bar--hours {
  background: #0a1a3a;
  box-shadow: none;
}

.bento-v2--accent .mini-bar--leads {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.bento-v2__bottom {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.bento-v2__bottom-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

/* Dock-style tool logos */
.bento-v2--tools {
  padding: 1.5rem 2rem;
}

.bento-v2--tools p {
  margin-top: 0.25rem;
}

.tool-dock {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.75rem;
  padding: 1.25rem 0 0.75rem;
}

.dock-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.dock-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: filter 0.3s, transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(1) brightness(0.7);
}

.dock-icon:hover img {
  filter: grayscale(0) brightness(1);
}

.dock-icon span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
  margin-top: 0.15rem;
}

.dock-icon:hover span {
  color: var(--text-primary);
}

/* Voice waveform animation */
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  padding: 0.5rem 0;
}

.voice-wave span {
  display: block;
  width: 3px;
  background: var(--primary-400);
  border-radius: 2px;
  animation: voiceWave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) {
  height: 12px;
  animation-delay: 0s;
}

.voice-wave span:nth-child(2) {
  height: 20px;
  animation-delay: 0.1s;
}

.voice-wave span:nth-child(3) {
  height: 28px;
  animation-delay: 0.15s;
}

.voice-wave span:nth-child(4) {
  height: 35px;
  animation-delay: 0.2s;
}

.voice-wave span:nth-child(5) {
  height: 25px;
  animation-delay: 0.25s;
}

.voice-wave span:nth-child(6) {
  height: 15px;
  animation-delay: 0.3s;
}

.voice-wave span:nth-child(7) {
  height: 30px;
  animation-delay: 0.35s;
}

.voice-wave span:nth-child(8) {
  height: 22px;
  animation-delay: 0.4s;
}

.voice-wave span:nth-child(9) {
  height: 38px;
  animation-delay: 0.45s;
}

.voice-wave span:nth-child(10) {
  height: 18px;
  animation-delay: 0.5s;
}

.voice-wave span:nth-child(11) {
  height: 28px;
  animation-delay: 0.55s;
}

.voice-wave span:nth-child(12) {
  height: 20px;
  animation-delay: 0.6s;
}

.voice-wave span:nth-child(13) {
  height: 32px;
  animation-delay: 0.65s;
}

.voice-wave span:nth-child(14) {
  height: 14px;
  animation-delay: 0.7s;
}

.voice-wave span:nth-child(15) {
  height: 26px;
  animation-delay: 0.75s;
}

@keyframes voiceWave {

  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  width: 100%;
  max-width: 260px;
  background: #111118;
  border-radius: 36px;
  border: 2.5px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-v2--phone:hover .phone-mockup {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-dynamic-island {
  width: 72px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.03);
}

.phone-screen {
  background: #0a0a14;
  border-radius: 30px;
  overflow: hidden;
  margin-top: -9px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.25rem 0.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
}

.phone-time {
  font-variant-numeric: tabular-nums;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-battery {
  width: 18px;
  height: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: relative;
}

.phone-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 1px 1px 0;
}

.phone-battery-fill {
  width: 75%;
  height: 100%;
  background: #34d399;
  border-radius: 1px;
}

/* Chat UI */
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-back {
  font-size: 1.2rem;
  color: var(--primary-400);
  font-weight: 300;
  line-height: 1;
}

.chat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-600), var(--purple-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.chat-online-dot {
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  border: 2px solid #0a0a14;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chat-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  font-size: 0.5rem;
  color: #34d399;
  font-weight: 500;
}

.chat-messages {
  padding: 0.6rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 260px;
}

.chat-time-stamp {
  text-align: center;
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0;
  font-weight: 500;
}

.chat-bubble {
  padding: 0.45rem 0.6rem;
  border-radius: 14px;
  font-size: 0.58rem;
  line-height: 1.45;
  max-width: 88%;
  opacity: 0;
  transform: translateY(8px);
  animation: chatBubbleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: var(--chat-delay, 0s);
}

.chat-bubble--user {
  background: var(--primary-500);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.chat-bubble--bot {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

@keyframes chatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.35rem 0.75rem;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.25);
}

.chat-send-btn {
  width: 24px;
  height: 24px;
  background: var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ===== ENHANCED COMPARE BOX (Przed vs Po) ===== */
.bento-v2--compare {
  background: linear-gradient(160deg, rgba(131, 60, 246, 0.06), rgba(59, 130, 246, 0.04));
  border-color: rgba(131, 60, 246, 0.12);
}

.bento-v2--compare:hover {
  border-color: rgba(131, 60, 246, 0.25);
  box-shadow: 0 12px 40px rgba(131, 60, 246, 0.1);
}

.compare-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ce-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ce-metric {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.ce-values {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ce-before {
  font-family: var(--font-heading);
  color: #f87171;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.ce-arrow {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.ce-after {
  font-family: var(--font-heading);
  color: #34d399;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.ce-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.ce-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-500), #34d399);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-v2--compare.visible .ce-bar-fill {
  width: var(--fill-w);
}

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

/* ===== SCROLL-REACTIVE BACKGROUND ===== */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--primary-500);
  top: -10%;
  left: 30%;
}

.bg-orb--2 {
  width: 500px;
  height: 500px;
  background: var(--purple-500);
  top: 40%;
  right: -5%;
}

.bg-orb--3 {
  width: 400px;
  height: 400px;
  background: var(--accent-500);
  bottom: 10%;
  left: -5%;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 650px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-400), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-400);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .subtitle {
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  background: rgba(59, 130, 246, 0.06);
  font-size: 0.8rem;
  color: var(--primary-400);
  font-weight: 500;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  height: 3.25rem;
  background: var(--bg-nav);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  z-index: 1000;
  width: min(62%, 880px);
  min-width: 320px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav.scrolled {
  width: min(88%, 1100px);
  background: rgba(9, 9, 11, 0.95);
  border-color: rgba(63, 63, 70, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--primary-500);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 500;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
  color: white !important;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.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-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--purple-500));
  color: white;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.2), 0 0 0 0 rgba(59, 130, 246, 0);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4), 0 0 80px rgba(131, 60, 246, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn-primary:active::after {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary-500);
  background: rgba(59, 130, 246, 0.06);
}

.btn-icon {
  font-size: 1.1em;
  transition: transform 0.3s;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-unicorn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-400);
  animation: pulse-dot 2s ease infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.6);
  }
}

/* Hero particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary-400);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(59, 130, 246, 0.08));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-500);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(59, 130, 246, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.card:hover::before {
  opacity: 1;
}

/* Infographic Styles */
.infographic-container {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dynamic-chart {
  width: 100%;
  max-width: 800px;
  height: 300px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2rem;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary-600), var(--purple-500));
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.chart-bar::after {
  content: attr(data-value);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-400);
  opacity: 0;
  transition: opacity 0.3s;
}

.dynamic-chart.active .chart-bar {
  height: var(--h);
}

.dynamic-chart.active .chart-bar::after {
  opacity: 1;
}

/* ===== ANIMATED ICONS ===== */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-accent);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(131, 60, 246, 0.15));
  opacity: 0;
  transition: opacity 0.4s;
}

.card-icon::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(10px);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
  border-color: var(--primary-500);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
}

.card:hover .card-icon::before {
  opacity: 1;
}

.card:hover .card-icon::after {
  opacity: 1;
}

.card-icon .icon-emoji {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .card-icon .icon-emoji {
  transform: scale(1.15);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Glass Card Variant */
.card-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-glass-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.card-glass:hover .card-glass-glow {
  opacity: 1;
}

.card-glass h3 {
  background: linear-gradient(135deg, var(--text-primary) 30%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.card-glass .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(131, 60, 246, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-400);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-glass:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(131, 60, 246, 0.25));
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.card-glass:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-glass .effect-note {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--primary-400);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.note-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.card-glass:hover .note-arrow {
  transform: translateX(4px);
}

/* Section Background Decor */
.uslugi-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.uslugi-bg-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  filter: blur(80px);
}

.uslugi-bg-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(131, 60, 246, 0.06), transparent 70%);
  filter: blur(80px);
}


/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* ===== DIAGNOZA BENTO GRID ===== */
.diagnoza-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.diagnoza-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.diagnoza-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-500), var(--purple-500), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.diagnoza-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.diagnoza-card:hover::before {
  opacity: 1;
}

/* Tall card — spans 2 rows in col 1 */
.diagnoza-card--tall {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.06), rgba(131, 60, 246, 0.03));
  border-color: rgba(59, 130, 246, 0.12);
}

.diagnoza-card--tall:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.1);
}

/* Stat card — col 2, row 2 */
.diagnoza-card--stat {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.diagnoza-stat-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 14px 14px;
}

.diagnoza-stat-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.diagnoza-big-stat {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-400), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}

.diagnoza-stat-center p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Wide card — cols 3-4, row 2 */
.diagnoza-card--wide {
  grid-column: 3 / 5;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(131, 60, 246, 0.05));
  border-color: rgba(59, 130, 246, 0.12);
}

.diagnoza-card--wide:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.diagnoza-wide-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.diagnoza-wide-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.diagnoza-wide-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.diagnoza-wide-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Icons */
.diagnoza-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.diagnoza-icon--lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.12);
}

/* Card number */
.diagnoza-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(131, 60, 246, 0.12));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.diagnoza-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.diagnoza-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* In-card stat block (tall card) */
.diagnoza-stat-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.12);
  border-radius: 10px;
  margin: 0.15rem 0;
}

.diagnoza-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #f87171;
  line-height: 1;
  letter-spacing: -0.03em;
}

.diagnoza-stat-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.diagnoza-detail {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

/* Progress bars */
.diagnoza-progress {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.diagnoza-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.diagnoza-progress-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #f87171;
}

.diagnoza-progress-val--good {
  color: #34d399;
}

.diagnoza-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.diagnoza-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f87171, #fb923c);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.diagnoza-progress-fill--good {
  background: linear-gradient(90deg, var(--primary-500), #34d399);
}

.diagnoza-card.visible .diagnoza-progress-fill {
  width: var(--prog);
}

/* Mini stat (standard cards) */
.diagnoza-mini-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.diagnoza-mini-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-400), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.diagnoza-mini-stat span:not(.diagnoza-mini-val) {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== VERSUS COMPARISON ===== */
.versus {
  max-width: 1000px;
  margin: 4rem auto 0;
  position: relative;
}

.versus-headers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.versus-header {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.versus-header--old {
  color: var(--text-muted);
  justify-content: flex-end;
}

.versus-header--new {
  color: var(--primary-400);
}

.versus-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.versus-header--old .versus-header-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.versus-header--new .versus-header-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.versus-badge {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 2rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.versus-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 1.5rem;
  position: relative;
}

.versus-card {
  flex: 1;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.versus-card--old {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  text-align: right;
  flex-direction: row-reverse;
  filter: grayscale(1) opacity(0.6);
}

.versus-card--old:hover {
  filter: grayscale(0.5) opacity(0.8);
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.1);
}

.versus-card--new {
  background: rgba(59, 130, 246, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--text-primary);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.3);
}

.versus-card--new:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px -12px rgba(59, 130, 246, 0.25);
}

.versus-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.versus-card--new .versus-card-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(131, 60, 246, 0.1));
}

.versus-card-text {
  flex: 1;
}

.versus-card-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.versus-card-text p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.versus-divider {
  width: 2px;
  margin: 0 2rem;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.versus-divider-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent,
      var(--primary-500),
      var(--accent-500),
      transparent);
  animation: scroll-glow 3s linear infinite;
}

@keyframes scroll-glow {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 1024px) {
  .versus-badge {
    margin: 0 1rem;
  }

  .versus-divider {
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  .versus-headers {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .versus-header {
    justify-content: center !important;
    text-align: center;
    flex-direction: row !important;
  }

  .versus-badge {
    display: none;
  }

  .versus-row {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .versus-card {
    text-align: left !important;
    flex-direction: row !important;
  }

  .versus-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }

  .versus-divider-glow {
    background: linear-gradient(to right,
        transparent,
        var(--primary-500),
        transparent);
    animation: scroll-glow-h 3s linear infinite;
  }
}

@keyframes scroll-glow-h {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ===== CASE STUDIES ===== */
/* ===== CASE STUDIES ===== */
.case-grid {
  gap: 2rem;
}

.case-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.2);
}

.case-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  position: relative;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.85;
}

.case-card:hover .case-visual img {
  transform: scale(1.08);
  opacity: 1;
}

.case-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.case-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-400);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.case-section {
  margin-bottom: 1rem;
}

.case-section strong {
  color: var(--primary-400);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.case-result-horizontal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.case-stat {
  flex-shrink: 0;
  min-width: 100px;
}

.case-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--success-400);
  line-height: 1;
  display: block;
}

.case-stat p {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 0.25rem;
  letter-spacing: 0.1em;
}

.case-stat-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== AUDIT FORM ===== */
.audit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.audit-bullets {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audit-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.bullet-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary-400);
  margin-top: 2px;
  border: 1px solid var(--border-accent);
}

.audit-form {
  background: linear-gradient(145deg, #1a3a8a 0%, #1440a0 35%, #0f3490 65%, #0a2460 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(20, 64, 160, 0.4),
    0 0 80px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.audit-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd, #60a5fa, #3b82f6);
}

.audit-form::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.audit-form h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #ffffff;
}

.form-hint {
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 0.9);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group label .required {
  color: #93c5fd;
  font-weight: 600;
}

.form-group label .optional {
  color: rgba(148, 163, 184, 0.7);
  font-weight: 400;
  font-size: 0.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 25, 60, 0.6);
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: all 0.25s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #60a5fa;
  background: rgba(10, 25, 60, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.form-group textarea::-webkit-scrollbar {
  width: 6px;
}

.form-group textarea::-webkit-scrollbar-track {
  background: transparent;
}

.form-group textarea::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 3px;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

.audit-form .btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0ecff 100%);
  color: #0f2b6e;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.audit-form .btn-submit:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #d0e0ff 100%);
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.6);
  margin-top: 0.75rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.faq-item.active {
  border-color: var(--border-accent);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-400);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ===== RIPPLE CTA ===== */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ripple-container {
  position: relative;
  display: inline-block;
  padding: 4rem 6rem;
}

.ripple-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  height: 180px;
  border: 1px solid;
  border-image: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(131, 60, 246, 0.1)) 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 4s ease-out infinite;
  pointer-events: none;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: var(--o, 0.3);
  }

  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding: 5.5rem 0 10rem;
  /* Lowered content (was 8rem top padding) to balance space */
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 5.5rem;
  /* Lowered margin (was 8rem) */
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

/* Large brand watermark like blooio */
.footer-brand-large {
  position: absolute;
  bottom: 7rem;
  /* Lifted up to make space for copyright below it */
  left: 0;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 13.5vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  z-index: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.footer-brand-large span {
  color: rgba(255, 255, 255, 0.12);
  /* Brighter for contrast */
  margin-left: 0.01em;
}

.footer-bottom {
  position: absolute;
  bottom: 2.5rem;
  /* Placed at the very bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--section-px);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-v2--phone {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-v2--chart-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-v2--stats-stacked {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-v2--voice,
  .bento-v2--stat45,
  .bento-v2--compare {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-v2--full {
    grid-column: 1 / -1;
  }

  .phone-mockup {
    max-width: 240px;
  }

  .audit-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .diagnoza-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnoza-card--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .diagnoza-card--stat,
  .diagnoza-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    width: calc(100% - 1.5rem);
    min-width: 0;
    top: 0.5rem;
  }

  .nav.scrolled {
    width: calc(100% - 1.5rem);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .bento-v2--phone,
  .bento-v2--chart-wide,
  .bento-v2--stats-stacked,
  .bento-v2--voice,
  .bento-v2--stat45,
  .bento-v2--compare,
  .bento-v2--full {
    grid-column: 1;
    grid-row: auto;
  }

  .phone-mockup {
    max-width: 220px;
  }

  .chat-messages {
    min-height: 220px;
  }

  .tool-dock {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .dock-icon img {
    width: 40px;
    height: 40px;
  }

  .diagnoza-grid {
    grid-template-columns: 1fr;
  }

  .diagnoza-card--tall,
  .diagnoza-card--stat,
  .diagnoza-card--wide {
    grid-column: 1;
  }

  .diagnoza-wide-content {
    flex-direction: column;
    text-align: center;
  }


  .bento-v2__chart {
    height: 80px;
  }

  .bento-v2__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .comparison-row,
  .comparison-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .ripple-container {
    padding: 2rem 1.5rem;
  }

  .bg-orb {
    opacity: 0.06;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition-duration: 0.2s;
    transform: none;
  }

  .ripple-ring,
  .particle {
    animation: none;
  }

  .bg-orb {
    transition: none;
  }

  .card,
  .card-icon,
  .btn {
    transition-duration: 0.15s;
  }
}