/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-light: #f6f9fe;
  --bg-white: #ffffff;
  --primary: #1A4CFF;
  --primary-dark: #0e34b5;
  --accent: #7F68FF;
  --dark: #0C1729;
  --gray: #5b6f88;
  --border-light: #e2eaf5;
  --shadow-sm: 0 20px 35px -15px rgba(0,20,50,0.1);
  --shadow-hover: 0 30px 50px -20px rgba(26,76,255,0.25);
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.5);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-light);
  color: var(--dark);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#matrixCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
  pointer-events: none;
  opacity: 0.4;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.3rem;
  color: var(--gray);
  max-width: 720px;
  margin-bottom: 3.5rem;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -8px var(--primary);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 35px -10px var(--primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(26,76,255,0.08);
  box-shadow: 0 1px 10px rgba(12,23,41,0.04);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255,255,255,0.985);
  border-bottom-color: rgba(26,76,255,0.12);
  box-shadow: 0 10px 28px rgba(12,23,41,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1.1rem;
  position: relative;
  outline: none;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

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

.nav a:focus,
.nav a:focus-visible,
.nav a:active {
  outline: none !important;
  box-shadow: none !important;
  color: var(--primary);
  -webkit-tap-highlight-color: transparent;
}

.nav a:focus::after,
.nav a:focus-visible::after,
.nav a:active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-switch button {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 0.3rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--dark);
}

.lang-switch button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

.lang-switch button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 3.2rem 0 4.1rem;
  background: radial-gradient(circle at 80% 30%, rgba(26,76,255,0.08) 0%, transparent 40%),
              linear-gradient(145deg, #ffffff 0%, #f2f7ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.06;
}

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

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(26,76,255,0.12);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 10px 20px -20px rgba(12,23,41,0.18);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-title-frame {
  position: relative;
  width: 100%;
  margin-bottom: 1.1rem;
}

/* ===== HERO TEXT ANIMATION ===== */
.hero h1 {
  font-size: 3.45rem;
  line-height: 1.06;
  background: linear-gradient(to right, #0C1729, #1A4CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
  position: relative;
  max-width: 12ch;
}

.hero-title-accent {
  display: block;
  font-size: 1.35em;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-title-copy {
  display: block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.5s ease;
}

.hero h1.animating::after {
  width: 100%;
}

.hero p {
  font-size: 1.12rem;
  color: var(--gray);
  margin-bottom: 1.45rem;
  max-width: 640px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.95rem 2rem;
  box-shadow: 0 12px 24px -16px rgba(26,76,255,0.4);
}

.hero-actions .btn::before {
  display: none;
}

.hero-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -18px rgba(26,76,255,0.34);
}

.hero-actions .btn-outline {
  background: rgba(255,255,255,0.78);
  border-color: rgba(26,76,255,0.85);
}

.hero-actions .btn-outline:hover {
  background: #f4f7ff;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero-secondary-actions {
  margin-top: 0.7rem;
}

.hero-text-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,76,255,0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-text-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
  max-width: 660px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(26,76,255,0.08);
  color: var(--dark);
  font-size: 0.9rem;
  box-shadow: none;
}

.hero-trust-item i {
  color: var(--primary);
}

/* ===== HERO TECH BADGES ===== */
.hero-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  margin-bottom: 1.4rem;
  max-width: 680px;
}

.hero-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(26,76,255,0.14);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-tech-badge:hover {
  background: rgba(26,76,255,0.07);
  border-color: rgba(26,76,255,0.28);
  transform: translateY(-1px);
}

.hero-tech-badge i {
  font-size: 0.78rem;
  color: var(--primary);
}

.hero-demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.3rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(242,247,255,0.88));
  border: 1px solid rgba(26,76,255,0.12);
  box-shadow: 0 22px 38px -28px rgba(26,76,255,0.45);
  max-width: 760px;
}

.hero-demo-copy {
  min-width: 0;
}

.hero-demo-badge {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-demo-copy strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--dark);
}

.hero-demo-copy p {
  margin: 0.45rem 0 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--gray);
}

.hero-demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 1rem;
  background: var(--dark);
  color: white;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 20px 30px -18px rgba(12,23,41,0.55);
}

.hero-demo-link:hover {
  background: #08101d;
  transform: translateY(-2px);
}

.hero-funnel-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
  max-width: 720px;
}

.hero-funnel-point {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(26,76,255,0.08);
  backdrop-filter: blur(10px);
  color: var(--dark);
  box-shadow: 0 14px 24px -18px rgba(12,23,41,0.3);
}

.hero-funnel-point i {
  color: var(--primary);
  margin-top: 0.1rem;
  font-size: 1rem;
}

.hero-funnel-point span {
  line-height: 1.45;
  font-size: 0.98rem;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1.65rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  text-align: center;
  min-width: 132px;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.76);
  border-radius: 18px;
  border: 1px solid rgba(26,76,255,0.08);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 1rem;
  margin: 0;
  color: var(--gray);
}

.demo-access-section {
  padding-top: 1.6rem;
}

.demo-access-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 2rem;
  padding: 2.2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(127,104,255,0.22), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(26,76,255,0.12);
  box-shadow: 0 30px 55px -34px rgba(26,76,255,0.35);
}

.demo-access-kicker {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(26,76,255,0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-access-main h2 {
  margin-bottom: 0.9rem;
}

.demo-access-main p {
  color: var(--gray);
  font-size: 1.04rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.demo-access-points {
  display: grid;
  gap: 0.8rem;
}

.demo-access-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.75);
  border-radius: 1rem;
  border: 1px solid rgba(26,76,255,0.08);
}

.demo-access-point i {
  color: var(--primary);
  margin-top: 0.1rem;
}

.demo-access-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-access-proof {
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, #0f1d35, #182a49);
  color: white;
  box-shadow: 0 26px 40px -28px rgba(12,23,41,0.75);
}

.demo-proof-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1rem;
}

.demo-proof-metric {
  display: grid;
  gap: 0.18rem;
}

.demo-proof-metric + .demo-proof-metric {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.demo-proof-metric strong {
  font-size: 1.4rem;
}

.demo-proof-metric span {
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

.demo-access-actions {
  display: grid;
  gap: 0.85rem;
}

.demo-access-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.decision-strip-section {
  padding: 1rem 0 0;
}

.decision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.9rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(12,23,41,0.96), rgba(26,76,255,0.92));
  color: white;
  box-shadow: 0 28px 45px -28px rgba(12,23,41,0.65);
}

.decision-strip-copy {
  max-width: 760px;
}

.decision-strip-kicker {
  display: inline-flex;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

.decision-strip h3 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.decision-strip p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.decision-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.decision-strip-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.decision-strip-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.decision-strip-actions .btn-outline:hover {
  border-color: white;
  background: white;
  color: var(--dark);
}

.hero-image {
  height: 420px;
  background: rgba(255,255,255,0.72);
  border-radius: 40px;
  box-shadow: 0 22px 38px -22px rgba(26,76,255,0.22);
  border: 1px solid rgba(26,76,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: 
    linear-gradient(30deg, rgba(26,76,255,0.18) 0%, transparent 32%),
    radial-gradient(circle at 70% 20%, rgba(127,104,255,0.22) 0%, transparent 48%);
  position: relative;
  overflow: hidden;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
  opacity: 0.08;
  animation: rotate 15s linear infinite;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 72%);
  opacity: 0.9;
  animation: pulseHeroGlow 4.5s ease-in-out infinite;
}

.hero-visual-glow {
  position: absolute;
  inset: 26% 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,76,255,0.18) 0%, rgba(127,104,255,0.08) 42%, transparent 74%);
  filter: blur(16px);
  opacity: 0.8;
  animation: pulseHeroGlow 4.8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(26,76,255,0.14);
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #7F68FF 100%);
  box-shadow: 0 0 18px rgba(127,104,255,0.55);
  transform: translateX(-50%);
}

.hero-orbit-one {
  width: 260px;
  height: 260px;
  animation: orbitSpin 16s linear infinite;
}

.hero-orbit-two {
  width: 330px;
  height: 330px;
  border-color: rgba(26,76,255,0.1);
  animation: orbitSpinReverse 24s linear infinite;
}

.hero-orbit-three {
  width: 390px;
  height: 390px;
  border-style: dashed;
  border-color: rgba(127,104,255,0.16);
  animation: orbitSpin 30s linear infinite;
}

.cube-container {
  perspective: 1000px;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(30deg) rotateY(30deg);
  animation: spinCube 8s infinite linear;
  will-change: transform;
  contain: layout style;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(26, 76, 255, 0.18);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 0 30px rgba(26, 76, 255, 0.35);
  border-radius: 15px;
}

.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes spinCube {
  0% { transform: rotateX(30deg) rotateY(0deg); }
  100% { transform: rotateX(30deg) rotateY(360deg); }
}

.hero-image i {
  font-size: 8rem;
  color: white;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 1;
  position: relative;
  display: none; /* Hide by default, show as fallback */
}

@supports not (transform-style: preserve-3d) {
  .hero-image i {
    display: block;
  }
  .cube-container {
    display: none;
  }
}

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

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpinReverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulseHeroGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 0.95; transform: scale(1.04); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 4rem;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #8b9ab5;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.funnel-bridge-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(26,76,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(242,247,255,0.88) 100%);
}

.funnel-bridge-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.funnel-bridge-head .subhead {
  margin-bottom: 0;
}

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

.funnel-bridge-card {
  position: relative;
  padding: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.funnel-bridge-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.funnel-bridge-card.is-pain {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(12,23,41,0.08);
}

.funnel-bridge-card.is-pain::before {
  background: radial-gradient(circle at top right, rgba(239,68,68,0.1), transparent 34%);
}

.funnel-bridge-card.is-gain {
  color: white;
  background: linear-gradient(145deg, #10203d 0%, #1a4cff 100%);
}

.funnel-bridge-card.is-gain::before {
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%);
}

.funnel-card-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.funnel-bridge-card.is-pain .funnel-card-kicker {
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
}

.funnel-bridge-card.is-gain .funnel-card-kicker {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
}

.funnel-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.funnel-card-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.funnel-card-list li::before {
  content: '';
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.funnel-bridge-card.is-pain .funnel-card-list li {
  color: var(--dark);
}

.funnel-bridge-card.is-pain .funnel-card-list li::before {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.funnel-bridge-card.is-gain .funnel-card-list li {
  color: rgba(255,255,255,0.95);
}

.funnel-bridge-card.is-gain .funnel-card-list li::before {
  background: linear-gradient(135deg, #93c5fd, #ffffff);
}

.funnel-bridge-note {
  margin-top: 1.3rem;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

.funnel-bridge-cta {
  align-self: flex-start;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

.section-white {
  background: white;
}

.fit-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(26,76,255,0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.fit-head {
  max-width: 820px;
  margin-bottom: 2.6rem;
}

.fit-head .subhead {
  margin-bottom: 0;
}

.fit-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(26,76,255,0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(26,76,255,0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.fit-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.7rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(26,76,255,0.1);
  box-shadow: 0 24px 42px -30px rgba(12,23,41,0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,76,255,0.22);
  box-shadow: 0 28px 48px -30px rgba(26,76,255,0.28);
}

.fit-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 18px 28px -18px rgba(26,76,255,0.6);
  font-size: 1.3rem;
}

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

.fit-card p {
  color: var(--gray);
  margin: 0;
  line-height: 1.65;
}

/* ===== SERVICE CARDS ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(1deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  background: rgba(255,255,255,0.9);
}

.service-icon {
  font-size: 3rem;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-tags span {
  background: rgba(26,76,255,0.08);
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(26,76,255,0.2);
  transition: all 0.3s ease;
}

.feature-tags span:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* ===== SERVICE DETAILS ===== */
.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s ease, padding 0.3s ease;
  background: rgba(26,76,255,0.05);
  border-radius: 24px;
  margin-top: 0.5rem;
  padding: 0 1rem;
}

.service-details.show {
  max-height: 400px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.service-details ul {
  list-style: none;
}

.service-details li {
  margin-bottom: 0.7rem;
  display: flex;
  gap: 0.8rem;
  color: var(--dark);
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.service-details li:hover {
  transform: translateX(5px);
}

.service-details i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.case-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  gap: 0.5rem;
}

.case-link i {
  transition: transform 0.2s ease;
  box-shadow: 0 0 24px rgba(26, 76, 255, 0.22);
}

.case-link:hover {
}

/* ===== COMMERCE AUTOMATION ===== */
.commerce-automation-section {
  position: relative;
  overflow: hidden;
}

.commerce-automation-section::before {
  content: '';
  position: absolute;
  inset: auto auto -120px -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(127,104,255,0.12), transparent 70%);
  pointer-events: none;
}

.commerce-head {
  max-width: 900px;
  margin-bottom: 2.8rem;
}

.commerce-head .subhead {
  margin-bottom: 0;
}

.commerce-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(127,104,255,0.12);
  border: 1px solid rgba(127,104,255,0.16);
  color: #4f46e5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.commerce-card {
  position: relative;
  height: 100%;
  padding: 1.6rem;
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,248,255,0.96));
  border: 1px solid rgba(127,104,255,0.12);
  box-shadow: 0 22px 42px -30px rgba(19,30,58,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.commerce-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,76,255,0.2);
  box-shadow: 0 28px 52px -30px rgba(26,76,255,0.24);
}

.commerce-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #111c34, #1a4cff);
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 18px 28px -18px rgba(17,28,52,0.6);
  margin-bottom: 1rem;
}

.commerce-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.commerce-card p {
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.commerce-cta {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(17,28,52,0.95), rgba(26,76,255,0.9));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 28px 46px -36px rgba(17,28,52,0.7);
}

.commerce-cta p {
  max-width: 780px;
  margin: 0;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
}

.commerce-cta .btn {
  flex-shrink: 0;
}

/* ===== AI SYSTEMS ===== */
.ai-systems-section {
  position: relative;
  overflow: hidden;
}

.ai-systems-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(26,76,255,0.08), transparent 68%);
  pointer-events: none;
}

.ai-systems-head {
  max-width: 840px;
  margin-bottom: 2.8rem;
}

.ai-systems-head .subhead {
  margin-bottom: 0;
}

.ai-systems-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(26,76,255,0.08);
  border: 1px solid rgba(26,76,255,0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ai-problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ai-problem-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.98));
  border: 1px solid rgba(26,76,255,0.08);
  box-shadow: 0 24px 44px -30px rgba(12,23,41,0.26);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ai-problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,76,255,0.2);
  box-shadow: 0 28px 54px -30px rgba(26,76,255,0.28);
}

.ai-problem-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: white;
  font-size: 1.7rem;
  box-shadow: 0 8px 28px -6px rgba(26,76,255,0.5);
  margin-bottom: 1rem;
}

.ai-problem-icon i {
  color: white;
  font-size: inherit;
  line-height: 1;
}

.ai-problem-label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ai-problem-card h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.ai-problem-copy {
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ai-solution-box {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  background: rgba(26,76,255,0.05);
  border: 1px solid rgba(26,76,255,0.08);
  margin-bottom: 1rem;
}

.ai-solution-box strong {
  color: var(--dark);
  font-size: 0.95rem;
}

.ai-solution-box span {
  color: var(--dark);
  line-height: 1.6;
}

.ai-problem-result {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(26,76,255,0.08);
  color: var(--dark);
  font-weight: 600;
  line-height: 1.55;
}

.ai-systems-cta {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(26,76,255,0.08), rgba(127,104,255,0.08));
  border: 1px solid rgba(26,76,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ai-systems-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--dark);
  line-height: 1.65;
  font-size: 1rem;
}

/* ===== TECH STACK ===== */
.stack-wall {
  background: var(--dark);
  border-radius: 3rem;
  padding: 4rem 2rem;
  color: white;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.stack-wall::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stack-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 60px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.stack-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.stack-item:hover::before {
  left: 100%;
}

.stack-item i {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.stack-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(26,76,255,0.4);
}

.stack-item:hover i {
  transform: rotate(360deg);
}

/* ===== PROCESS TRACK ===== */
.process-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 4rem 0;
  position: relative;
}

.process-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.8rem;
  top: 30px;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.process-step:hover:not(:last-child)::after {
  opacity: 1;
  transform: translateX(5px);
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 15px 25px -10px var(--primary);
  border: 3px solid white;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.step-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 20px 35px -10px var(--primary);
}

.process-step:hover .step-number::before {
  width: 100%;
  height: 100%;
}

.process-step:hover .step-number {
  color: white;
}

.process-step h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.process-step:hover h4 {
  color: var(--primary);
}

.process-step p {
  color: var(--gray);
  transition: color 0.3s ease;
}

.process-step:hover p {
  color: var(--dark);
}

/* ===== INTEGRATIONS ===== */
.integrations-show {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.integrations-show span {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.6rem 1.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}

.integrations-show span::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26,76,255,0.1), transparent);
  transition: left 0.5s ease;
}

.integrations-show span:hover::before {
  left: 100%;
}

.integrations-show span i {
  color: var(--primary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.integrations-show span:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(26,76,255,0.3);
}

.integrations-show span:hover i {
  color: white;
  transform: rotate(360deg);
}

/* ===== CASES ===== */
.cases-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.cases-section-head .subhead {
  margin-bottom: 0;
  max-width: 760px;
}

.cases-head-cta {
  flex-shrink: 0;
}

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

.case-proof-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem 0;
}

.case-proof-label,
.case-proof-result {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.case-proof-label {
  background: rgba(26,76,255,0.08);
  color: var(--primary);
}

.case-proof-result {
  background: rgba(12,23,41,0.07);
  color: var(--dark);
  text-align: right;
}

.cases-grid.cases-collapsed .case-card[data-extra-case="true"] {
  display: none;
}

.cases-toggle-wrap {
  margin-top: 2.5rem;
  text-align: center;
}

.cases-toggle {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.85rem 2.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(26,76,255,0.25);
  color: var(--primary);
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}

.cases-toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,76,255,0.15), rgba(127,104,255,0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cases-toggle span {
  position: relative;
  z-index: 1;
}

.cases-toggle:hover,
.cases-toggle:focus-visible {
  color: white;
  border-color: transparent;
  box-shadow: 0 15px 30px -10px rgba(26,76,255,0.5);
}

.cases-toggle:hover::after,
.cases-toggle:focus-visible::after {
  opacity: 1;
}

/* ===== TELEGRAM BANNER ===== */
.telegram-banner {
  background: linear-gradient(145deg, #1A4CFF, #7F68FF);
  border-radius: 3rem;
  padding: 3rem 2.5rem;
  color: white;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.telegram-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.tg-banner-info {
  width: 100%;
  max-width: 780px;
}

.tg-banner-info i {
  font-size: 3.2rem;
  margin: 0 auto 1rem;
  animation: pulse 2s ease-in-out infinite;
}

.tg-banner-info h3 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.tg-banner-intro,
.tg-banner-sub {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 0.8rem;
}

.tg-banner-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tg-banner-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.1);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.tg-banner-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  opacity: 0.7;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tg-banner-list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tg-banner-list li:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.35);
}

.tg-banner-list li:hover::before {
  transform: scale(1.4);
  opacity: 1;
}

.tg-banner-list li:hover::after {
  opacity: 1;
}

.tg-banner-highlight {
  background: rgba(255,255,255,0.12);
  border-radius: 1.8rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  width: 100%;
  max-width: 780px;
}

.tg-highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.8rem;
}

.tg-banner-highlight p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.telegram-banner .btn {
  background: white;
  color: var(--primary);
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.telegram-banner .btn:hover {
  box-shadow: 0 15px 35px -10px rgba(255,255,255,0.4);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: var(--primary);
  color: white;
  border-radius: 3rem;
  padding: 3rem 4rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite;
}

.testimonial i {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.testimonial h5 {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== LIVE COUNTER ===== */
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.stat-item h3 span {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item h3.counting span {
  animation: countUp 0.5s ease-out;
}

@keyframes countUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  padding: 0.8rem 0;
  overflow: hidden;
  position: relative;
}

.social-proof-content {
  display: flex;
  align-items: center;
  animation: scrollProof 20s linear infinite;
  white-space: nowrap;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-proof-item i {
  color: #FFD700;
  font-size: 1.1rem;
}

@keyframes scrollProof {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== PROJECT CALCULATOR ===== */
.calculator-section {
  background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
  padding: 5rem 0;
  margin: 3rem 0;
}

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(26,76,255,0.1);
}

.calculator-header {
  text-align: center;
  margin-bottom: 3rem;
}

.calculator-header h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.calculator-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.calculator-form {
  display: grid;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group select,
.form-group input {
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,76,255,0.1);
}

.calculator-result {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  transform: scale(0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-result.show {
  transform: scale(1);
  opacity: 1;
}

.result-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.result-time {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.calculator-cta {
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.calculator-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== PROJECT SHOWCASE ===== */
.project-showcase {
  padding: 5rem 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(26,76,255,0.1), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(127,104,255,0.16), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  position: relative;
  overflow: hidden;
}

.project-showcase::before {
  content: '';
  position: absolute;
  inset: auto auto 8% -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(127,104,255,0.22) 0%, transparent 72%);
  pointer-events: none;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(26,76,255,0.1);
  box-shadow: 0 12px 30px rgba(17,43,99,0.08);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.showcase-shell {
  position: relative;
  padding: 1.5rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 30px 60px -30px rgba(12,23,41,0.22);
  backdrop-filter: blur(14px);
}

.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.project-media {
  --showcase-primary: var(--primary);
  --showcase-accent: var(--accent);
  min-height: 430px;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--showcase-primary) 78%, white 22%), color-mix(in srgb, var(--showcase-accent) 82%, white 18%));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 24px 45px -24px rgba(12,23,41,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-media::before,
.project-media::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.project-media::before {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.24), transparent 70%);
}

.project-media::after {
  width: 340px;
  height: 340px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(8,14,26,0.26), transparent 68%);
}

.project-media.has-video {
  cursor: pointer;
}

.project-media.has-video:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 32px 55px -28px rgba(26,76,255,0.5);
}

.project-media-topline,
.project-media-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.project-chip-live {
  background: rgba(7,18,43,0.26);
}

.project-preview-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  flex: 1;
  padding-top: 2rem;
}

.project-preview-title {
  max-width: 420px;
  font-size: 2.1rem;
  line-height: 1.12;
  font-weight: 700;
  color: white;
  text-shadow: 0 10px 30px rgba(10,18,32,0.25);
}

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-preview-stat {
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(7,18,43,0.2);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  color: white;
}

.project-preview-stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.project-preview-stat span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.82;
}

.project-preview-caption {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  max-width: 280px;
}

.yt-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(9,17,34,0.25);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.yt-play-btn:hover {
  transform: scale(1.08);
  background: white;
}

.showcase-play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.project-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  z-index: 4;
}

.project-panel {
  padding: 1rem 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
}

.showcase-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(26,76,255,0.08);
  border: 1px solid rgba(26,76,255,0.12);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.project-status-badge.is-live {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.18);
  color: #047857;
}

.showcase-nav-group {
  display: flex;
  gap: 0.75rem;
}

.showcase-nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(26,76,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-nav-btn:hover,
.showcase-nav-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(26,76,255,0.35);
  color: var(--primary);
  box-shadow: 0 14px 25px rgba(26,76,255,0.16);
}

.project-panel h3 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.showcase-description {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.showcase-highlights {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.showcase-highlight {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(26,76,255,0.08);
}

.showcase-highlight i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.showcase-highlight span {
  color: var(--dark);
}

.showcase-stack,
.showcase-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.showcase-stack {
  margin-bottom: 1rem;
}

.showcase-metrics {
  margin-bottom: 1.5rem;
}

.metric-tag {
  background: rgba(26,76,255,0.1);
  color: var(--primary);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.showcase-metrics .metric-tag {
  background: rgba(12,23,41,0.08);
  color: var(--dark);
}

.showcase-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.showcase-pagination {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.showcase-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(26,76,255,0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.showcase-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.showcase-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.showcase-thumb {
  text-align: left;
  border: 1px solid rgba(26,76,255,0.08);
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.78);
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.showcase-thumb:hover,
.showcase-thumb:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(26,76,255,0.22);
  box-shadow: 0 18px 30px rgba(12,23,41,0.08);
}

.showcase-thumb.is-active {
  background: linear-gradient(180deg, rgba(26,76,255,0.08), rgba(255,255,255,0.95));
  border-color: rgba(26,76,255,0.26);
  box-shadow: 0 18px 30px rgba(26,76,255,0.12);
}

.showcase-thumb-step {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-thumb h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.showcase-thumb p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.9rem;
}

.showcase-thumb-metric {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(12,23,41,0.06);
}

/* ===== CASES SECTION ===== */
.cases-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(26,76,255,0.08), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(127,104,255,0.12), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.cases-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(26,76,255,0.1);
  box-shadow: 0 12px 30px rgba(17,43,99,0.08);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.cases-filter-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(26,76,255,0.15);
  background: rgba(255,255,255,0.85);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cases-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26,76,255,0.06);
}

.cases-filter-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(26,76,255,0.25);
}

.cases-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(26,76,255,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.4rem;
}

.cases-filter-btn.is-active .filter-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

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

.case-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(26,76,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 1.35rem 1.35rem 0 0;
  background: linear-gradient(90deg, var(--card-accent, var(--primary)), var(--card-accent2, var(--accent)));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(12,23,41,0.12);
  border-color: rgba(26,76,255,0.18);
}

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

.case-card.is-hidden {
  display: none;
}

.case-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  width: fit-content;
}

.case-card-tag.tag-ai {
  background: rgba(139,92,246,0.12);
  color: #7c3aed;
}

.case-card-tag.tag-erp {
  background: rgba(14,165,233,0.12);
  color: #0284c7;
}

.case-card-tag.tag-chrome {
  background: rgba(234,179,8,0.12);
  color: #a16207;
}

.case-card-tag.tag-bot {
  background: rgba(34,197,94,0.12);
  color: #15803d;
}

.case-card-tag.tag-web {
  background: rgba(244,63,94,0.12);
  color: #be123c;
}

.case-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.case-card-name {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 500;
}

.case-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.case-card-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.case-card-block {
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}

.case-card-block p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--dark);
  margin: 0;
}

.case-block-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.case-block-problem {
  background: rgba(239,68,68,0.06);
  border-left: 3px solid rgba(239,68,68,0.5);
}

.case-block-problem .case-block-label {
  color: #dc2626;
}

.case-block-solution {
  background: rgba(26,76,255,0.05);
  border-left: 3px solid rgba(26,76,255,0.45);
}

.case-block-solution .case-block-label {
  color: var(--primary);
}

.case-block-result {
  background: rgba(34,197,94,0.07);
  border-left: 3px solid rgba(34,197,94,0.55);
}

.case-block-result .case-block-label {
  color: #15803d;
}

.case-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.case-card-cta:hover {
  gap: 0.7rem;
}

.case-card-cta i {
  font-size: 0.8rem;
}

.cases-show-more-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cases-toggle-btn {
  min-width: 200px;
}

.cases-bottom-cta {
  text-align: center;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(26,76,255,0.08);
}

.cases-bottom-cta p {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Category section divider inside grid */
.cases-category-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0 0.25rem;
}

.cases-category-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.cases-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,76,255,0.1);
}

/* ===== ROI SECTION ===== */
.roi-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(26,76,255,0.07) 0%, transparent 36%),
    radial-gradient(circle at 5% 80%, rgba(127,104,255,0.06) 0%, transparent 30%),
    linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%);
  padding-bottom: 5rem;
}

.roi-head {
  max-width: 780px;
  margin-bottom: 2.8rem;
}

.roi-head .subhead {
  margin-bottom: 0;
}

.roi-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.15);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roi-title-highlight {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.roi-card {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.roi-card-losses {
  background: linear-gradient(160deg, #ffffff 0%, #fff8f8 100%);
  border: 1px solid rgba(239,68,68,0.1);
}

.roi-card-gains {
  background: linear-gradient(145deg, #0f1d35 0%, #142248 100%);
  border: 1px solid rgba(26,76,255,0.25);
  color: white;
  position: relative;
  overflow: hidden;
}

.roi-card-gains::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(26,76,255,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.roi-card-header {
  padding: 1.4rem 1.8rem 0.8rem;
}

.roi-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
}

.roi-card-label-loss {
  background: rgba(239,68,68,0.09);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.18);
}

.roi-card-label-gain {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.12);
}

.roi-lines {
  list-style: none;
  padding: 0 1.8rem 1.2rem;
  margin: 0;
  display: grid;
  gap: 0;
}

.roi-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(12,23,41,0.06);
}

.roi-card-gains .roi-line {
  border-bottom-color: rgba(255,255,255,0.08);
}

.roi-line:last-child {
  border-bottom: none;
}

.roi-line-label {
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--dark);
}

.roi-card-gains .roi-line-label {
  color: rgba(255,255,255,0.82);
}

.roi-line-value {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.roi-loss {
  color: #dc2626;
}

.roi-gain {
  color: #34d399;
}

.roi-payback {
  color: #60a5fa;
  font-size: 0.9rem;
}

.roi-total-loss {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  background: rgba(239,68,68,0.07);
  border-top: 1px solid rgba(239,68,68,0.12);
}

.roi-total-loss span {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

.roi-total-loss strong {
  font-size: 1.35rem;
  color: #dc2626;
  font-weight: 800;
}

.roi-total-gain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  background: rgba(26,76,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.roi-total-gain span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.roi-total-gain strong {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
}

.roi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.8rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(12,23,41,0.96) 0%, rgba(26,76,255,0.9) 100%);
  color: white;
  box-shadow: 0 28px 45px -28px rgba(12,23,41,0.55);
  flex-wrap: wrap;
}

.roi-footer-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 720px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
}

.roi-footer-text i {
  color: #facc15;
  font-size: 1rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
}

.roi-footer-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .case-card {
    padding: 1.75rem;
  }
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cases-filter {
    gap: 0.4rem;
  }
  .cases-filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
  }
  .case-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ===== MULTI-STEP CTA ===== */
.multi-step-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.cta-bubble {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(26,76,255,0.3);
  transition: all 0.3s ease;
  position: relative;
}

.cta-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(26,76,255,0.4);
}

.cta-bubble.pulse {
  animation: pulseCTA 2s ease-in-out infinite;
}

@keyframes pulseCTA {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(26,76,255,0.3);
  }
  50% {
    box-shadow: 0 10px 50px rgba(26,76,255,0.6);
  }
}

.cta-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  width: 350px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cta-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.cta-step {
  display: none;
}

.cta-step.active {
  display: block;
}

.cta-step h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.cta-step p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.cta-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.cta-btn-secondary {
  background: var(--border-light);
  color: var(--dark);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.footer {
  background: var(--dark);
  color: #afc1db;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.05;
  animation: pulse 8s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand-block {
  max-width: 360px;
}

.footer-global-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links {
  margin-top: 1.5rem;
  display: inline-flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-social-title {
  margin-top: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.footer-socials {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.handle-chip {
  --chip-hover-bg: rgba(47,124,255,0.18);
  --chip-hover-border: rgba(47,124,255,0.5);
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.handle-chip:hover {
  transform: translateY(-2px);
  background: var(--chip-hover-bg);
  border-color: var(--chip-hover-border);
  box-shadow: 0 16px 34px rgba(0,0,0,0.4);
}

.contact-handle {
  margin-bottom: 0.4rem;
}

.social-handle {
  --chip-hover-bg: rgba(255,255,255,0.15);
  --chip-hover-border: rgba(255,255,255,0.45);
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}

.social-handle.telegram {
  --chip-hover-bg: rgba(55,174,226,0.28);
  --chip-hover-border: rgba(55,174,226,0.65);
}

.social-handle.instagram {
  --chip-hover-bg: rgba(247,92,122,0.28);
  --chip-hover-border: rgba(247,92,122,0.6);
}

.footer-link {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 0.15rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-link:hover {
  color: white;
  border-color: white;
}

.footer a {
  color: #afc1db;
  text-decoration: none;
  display: block;
  margin-bottom: 0.7rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer a:hover {
  color: white;
  transform: translateX(5px);
}

.footer a:hover::before {
  width: 100%;
}

.footer .contact {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 2rem;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer .contact:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}

.contact-handle {
  margin-bottom: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-handle:hover {
  transform: translateY(-2px);
  background: rgba(47,124,255,0.18);
  border-color: rgba(47,124,255,0.55);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.handle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #37aee2, #1e96c8);
  color: white;
  font-size: 1rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.handle-icon.phone {
  background: linear-gradient(135deg, #34d399, #059669);
}

.handle-text {
  font-size: 1.05rem;
  font-weight: 600;
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid #253b54;
  position: relative;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0, 1), transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
}

/* ===== MOBILE CUBE ADAPTATIONS ===== */
@media (max-width: 1000px) {
  .cube-container {
    width: 250px;
    height: 250px;
  }
  
  .cube {
    width: 150px;
    height: 150px;
  }
  
  .cube-face {
    width: 150px;
    height: 150px;
    font-size: 2.5rem;
  }
  
  .cube-face.front { transform: translateZ(75px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
  .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
  .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }

  .hero-orbit-one {
    width: 220px;
    height: 220px;
  }

  .hero-orbit-two {
    width: 285px;
    height: 285px;
  }

  .hero-orbit-three {
    width: 335px;
    height: 335px;
  }
}

@media (max-width: 700px) {
  .cube-container {
    width: 200px;
    height: 200px;
  }
  
  .cube {
    width: 120px;
    height: 120px;
  }
  
  .cube-face {
    width: 120px;
    height: 120px;
    font-size: 2rem;
    border-radius: 10px;
  }
  
  .cube-face.front { transform: translateZ(60px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(60px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(60px); }
  .cube-face.right { transform: rotateY(90deg) translateZ(60px); }
  .cube-face.top { transform: rotateX(90deg) translateZ(60px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

  .hero-orbit-one {
    width: 180px;
    height: 180px;
  }

  .hero-orbit-two {
    width: 235px;
    height: 235px;
  }

  .hero-orbit-three {
    width: 275px;
    height: 275px;
  }
}

@media (max-width: 480px) {
  .cube-container {
    width: 180px;
    height: 180px;
  }
  
  .cube {
    width: 100px;
    height: 100px;
  }
  
  .cube-face {
    width: 100px;
    height: 100px;
    font-size: 1.5rem;
    border-radius: 8px;
  }
  
  .cube-face.front { transform: translateZ(50px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(50px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(50px); }
  .cube-face.right { transform: rotateY(90deg) translateZ(50px); }
  .cube-face.top { transform: rotateX(90deg) translateZ(50px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

  .hero-orbit-three {
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 2rem;
  }
  
  .hero-image {
    height: 300px;
    margin-top: 2rem;
  }
  
  .hero-image i {
    font-size: 6rem;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .stat-item {
    min-width: 120px;
  }
  
  .cases-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
  }

  .cases-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .funnel-bridge-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .cases-conversion-panel {
    grid-template-columns: 1fr;
  }
  
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    text-align: left;
  }
  
  .header-inner { 
    flex-wrap: wrap; 
    height: auto; 
    padding: 1rem 0; 
  }
  
  .nav { 
    flex-wrap: wrap; 
    gap: 1rem; 
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  .commerce-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-problem-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-systems-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .integrations-show {
    gap: 1rem;
  }
  
  .integrations-show span {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .showcase-stage {
    grid-template-columns: 1fr;
  }

  .project-media {
    min-height: 360px;
  }

  .project-panel {
    padding: 0.5rem 0 0;
  }

  .showcase-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
  
  h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .subhead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero {
    padding: 3rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    max-width: none;
  }

  .hero-title-frame {
    margin-bottom: 1rem;
  }

  .hero-actions,
  .hero-trust-strip,
  .hero-tech-badges,
  .decision-strip-actions {
    justify-content: center;
  }

  .hero-demo-card,
  .demo-access-banner {
    grid-template-columns: 1fr;
  }

  .decision-strip {
    flex-direction: column;
    text-align: center;
  }

  .hero-demo-card {
    text-align: center;
  }

  .demo-access-side {
    order: -1;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Center buttons on mobile */
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Move cube before stats on mobile */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-image {
    order: -1; /* Move cube to top */
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-funnel-points {
    max-width: none;
  }

  .funnel-bridge-card {
    padding: 1.6rem;
    border-radius: 1.5rem;
  }
  
  .stat-item {
    width: 100%;
    max-width: 200px;
    padding: 1.2rem;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .hero-image {
    height: 250px;
    margin-top: 0;
  }
  
  .hero-image i {
    font-size: 5rem;
  }
  
  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .commerce-card {
    padding: 1.35rem;
    border-radius: 1.45rem;
  }

  .commerce-cta {
    padding: 1.3rem;
    border-radius: 1.4rem;
  }

  .ai-problem-solution-grid {
    grid-template-columns: 1fr;
  }

  .ai-problem-card {
    padding: 1.4rem;
    border-radius: 1.5rem;
  }

  .ai-problem-card h3 {
    font-size: 1.3rem;
  }

  .ai-systems-cta {
    padding: 1.3rem;
    border-radius: 1.4rem;
  }
  
  .service-card {
    padding: 1.8rem;
    border-radius: 24px;
  }
  
  .service-card h3 {
    font-size: 1.6rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .feature-tags {
    gap: 0.4rem;
  }
  
  .feature-tags span {
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
  }
  
  .process-track { 
    flex-direction: column; 
    align-items: center;
    gap: 2rem;
  }
  
  .process-step {
    width: 100%;
    max-width: 300px;
  }
  
  .process-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2rem;
    transform: translateX(-50%);
    font-size: 1.5rem;
  }
  
  .step-number {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .process-step h4 {
    font-size: 1.3rem;
  }
  
  .process-step p {
    font-size: 0.9rem;
  }
  
  .stack-wall {
    padding: 3rem 1.5rem;
    border-radius: 2rem;
  }
  
  .stack-grid {
    gap: 1rem;
  }
  
  .stack-item {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .stack-item i {
    font-size: 1rem;
  }
  
  .integrations-show {
    gap: 0.8rem;
    justify-content: center;
  }
  
  .integrations-show span {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 30px;
  }
  
  .integrations-show span i {
    font-size: 1.1rem;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cases-proof-grid {
    grid-template-columns: 1fr;
  }

  .funnel-bridge-section {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .showcase-shell {
    padding: 1rem;
    border-radius: 1.5rem;
  }

  .project-media {
    min-height: 320px;
    padding: 1.1rem;
    border-radius: 1.4rem;
  }

  .project-preview-title {
    font-size: 1.65rem;
  }

  .project-preview-grid {
    grid-template-columns: 1fr;
  }

  .showcase-panel-top {
    flex-direction: column;
    align-items: stretch;
  }

  .showcase-nav-group {
    justify-content: flex-start;
  }

  .project-panel h3 {
    font-size: 1.6rem;
  }

  .showcase-description {
    font-size: 0.95rem;
  }

  .showcase-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-rail {
    grid-template-columns: 1fr;
  }
  
  .case-card {
    border-radius: 1.5rem;
  }

  .funnel-card-list li {
    font-size: 0.95rem;
  }

  .case-proof-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-proof-result {
    text-align: left;
  }
  
  .case-img {
    height: 180px;
    font-size: 2.5rem;
  }
  
  .case-content {
    padding: 1.5rem;
  }
  
  .case-content h4 {
    font-size: 1.4rem;
  }
  
  .case-content p {
    font-size: 0.9rem;
  }

  .case-proof-list li {
    font-size: 0.9rem;
  }

  .case-inline-cta {
    padding: 0.85rem 0.9rem;
  }

  .cases-conversion-panel {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .cases-conversion-copy h3 {
    font-size: 1.55rem;
  }
  
  .case-social {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .case-social a {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .testimonial {
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    border-radius: 2rem;
  }
  
  .testimonial i {
    font-size: 3rem;
  }
  
  .testimonial p {
    font-size: 1.3rem;
    line-height: 1.5;
  }
  
  .testimonial h5 {
    font-size: 1.1rem;
  }
  
  .telegram-banner {
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    border-radius: 2rem;
  }
  
  .telegram-banner i {
    font-size: 3rem;
  }
  
  .telegram-banner h3 {
    font-size: 1.6rem;
  }
  
  .telegram-banner p {
    font-size: 1rem;
    margin: 0.8rem auto;
  }
  
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand-block {
    max-width: none;
  }

  .footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .footer a {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .contact {
    padding: 1.2rem;
  }
  
  .contact .telegram {
    font-size: 1.5rem;
  }
  
  .copyright {
    font-size: 0.85rem;
    padding-top: 2rem;
    margin-top: 2rem;
  }
  
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-inner {
    padding: 0.8rem 0;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
  }

  /* Hide desktop nav, show burger */
  .nav {
    display: none !important;
  }

  .burger-btn {
    display: flex;
  }

  /* Mobile nav drawer */
  .nav.is-mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 13, 30, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: navSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav.is-mobile-open a {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: center;
  }

  .nav.is-mobile-open a:hover,
  .nav.is-mobile-open a:focus {
    background: rgba(26, 76, 255, 0.18);
    color: #7F68FF;
  }

  /* Close button inside open nav */
  .nav-close-btn {
    position: fixed;
    top: 1.1rem;
    right: 1.25rem;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

  .nav.is-mobile-open ~ .nav-close-btn,
  .nav-close-btn.is-visible {
    display: flex;
  }

  .lang-switch {
    position: relative;
    margin-left: auto;
    top: 0;
    right: 0;
  }
  
  .lang-switch button {
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .subhead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-title-frame {
    margin-bottom: 0.85rem;
  }

  .hero-kicker {
    font-size: 0.76rem;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  /* Center buttons on small mobile */
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero-trust-item,
  .hero-demo-link,
  .decision-strip-actions .btn,
  .demo-access-actions .btn {
    width: 100%;
  }

  .hero-demo-card,
  .demo-access-banner,
  .decision-strip,
  .tg-bonus-row {
    padding: 1.25rem;
  }

  .decision-strip h3,
  .demo-access-main h2,
  .tg-aida-header h2 {
    font-size: 1.45rem;
  }
  
  /* Keep cube at top on small mobile */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 0.5rem;
  }
  
  .hero-image {
    height: 200px;
  }

  .hero-funnel-point {
    padding: 0.85rem 0.9rem;
  }

  .funnel-bridge-card {
    padding: 1.2rem;
  }

  .hero-funnel-point span {
    font-size: 0.9rem;
  }
  
  .hero-image i {
    font-size: 4rem;
  }
  
  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .commerce-card p,
  .commerce-cta p {
    font-size: 0.92rem;
  }

  .ai-problem-card {
    padding: 1.2rem;
  }

  .ai-problem-copy,
  .ai-solution-box span,
  .ai-problem-result,
  .ai-systems-cta p {
    font-size: 0.92rem;
  }
  
  .service-card h3 {
    font-size: 1.4rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  .service-icon {
    font-size: 2.2rem;
  }
  
  .feature-tags span {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .process-step h4 {
    font-size: 1.2rem;
  }
  
  .process-step p {
    font-size: 0.85rem;
  }
  
  .stack-wall {
    padding: 2rem 1rem;
  }
  
  .stack-item {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .integrations-show span {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .case-img {
    height: 150px;
    font-size: 2rem;
  }
  
  .case-content {
    padding: 1.2rem;
  }
  
  .case-content h4 {
    font-size: 1.2rem;
  }
  
  .case-content p {
    font-size: 0.85rem;
  }

  .case-proof-list li {
    font-size: 0.88rem;
  }

  .case-inline-cta {
    font-size: 0.9rem;
  }

  .cases-conversion-copy h3 {
    font-size: 1.35rem;
  }

  .cases-conversion-copy p,
  .cases-conversion-list li {
    font-size: 0.92rem;
  }

  .funnel-card-list li,
  .funnel-bridge-note {
    font-size: 0.9rem;
  }

  .project-media {
    min-height: 300px;
    padding: 1rem;
  }

  .project-media-topline,
  .project-media-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-preview-title {
    font-size: 1.4rem;
  }

  .project-preview-caption {
    max-width: none;
  }

  .showcase-nav-btn {
    width: 44px;
    height: 44px;
  }

  .project-status-badge,
  .metric-tag,
  .showcase-thumb-metric {
    font-size: 0.78rem;
  }
  
  .testimonial {
    padding: 2rem 1.5rem;
  }
  
  .testimonial p {
    font-size: 1.1rem;
  }
  
  .telegram-banner {
    padding: 2rem 1.5rem;
  }
  
  .telegram-banner h3 {
    font-size: 1.4rem;
  }
  
  .telegram-banner p {
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }

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

  .contact {
    padding: 1rem;
  }
  
  .contact .telegram {
    font-size: 1.3rem;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .lang-switch button {
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .service-card {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(26,76,255,0.1);
  }
  
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lang-switch button {
    min-height: 40px;
    min-width: 40px;
  }
  
  .stack-item {
    min-height: 44px;
  }
  
  .integrations-show span {
    min-height: 40px;
  }
  
  .case-social a {
    min-height: 40px;
  }
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.nav a:focus,
.lang-switch button:focus,
.service-card:focus,
.case-social a:focus,
.mobile-menu-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== LEAD FORM SECTION (AIDA) ===== */
.lead-form-section {
  padding: 5rem 0;
}

/* --- Section header --- */
.lead-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.lead-section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.2rem;
}

.lead-section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.lead-section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

.lead-section-fastproof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.lead-fastproof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(26,76,255,0.06);
  border: 1px solid rgba(26,76,255,0.12);
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.lead-fastproof-item i {
  color: var(--primary);
}

/* --- Two-col layout --- */
.lead-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* --- Left col: pain + benefits + proof --- */
.lead-pain-block {
  margin-bottom: 1.5rem;
}

.lead-pain-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.lead-pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lead-pain-list li i {
  color: #ef4444;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.lead-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.4rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lead-divider::before,
.lead-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary));
}

.lead-divider::after {
  background: linear-gradient(to left, transparent, var(--primary));
}

.lead-form-info > p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.lead-benefits-title {
  margin-bottom: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.lead-form-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lead-form-benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--dark);
  font-size: 1rem;
}

.lead-form-benefits li i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lead-form-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(26,76,255,0.12);
  border: 1px solid rgba(26,76,255,0.08);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead-field input[type="text"],
.lead-field input[type="tel"] {
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--border-light);
  border-radius: 0.8rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  background: #fafbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.lead-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,76,255,0.1);
  background: white;
}

.lead-field input.error {
  border-color: #e53e3e;
}

.lead-field-hint {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.45;
}

.lead-messenger-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}

.messenger-options {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.messenger-option {
  cursor: pointer;
}

.messenger-option input[type="radio"] {
  display: none;
}

.messenger-option span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--border-light);
  border-radius: 2rem;
  font-size: 0.95rem;
  color: var(--gray);
  transition: all 0.2s ease;
  background: #fafbff;
  white-space: nowrap;
}

.messenger-option input:checked + span {
  border-color: var(--primary);
  background: rgba(26,76,255,0.07);
  color: var(--primary);
  font-weight: 600;
}

.messenger-option:hover span {
  border-color: var(--primary);
  color: var(--primary);
}

.lead-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  border-radius: 0.8rem;
}

.lead-success {
  text-align: center;
  padding: 1rem 0;
}

.lead-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.lead-success h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.7rem;
}

.lead-success p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.lead-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.lead-tg-motivation {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1rem !important;
}

.lead-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 2rem;
  transition: all 0.2s ease;
}

.lead-channel-link:hover {
  background: var(--primary);
  color: white;
}

/* Alt Telegram Banner */
.tg-bottom-section {
  padding: 4rem 0;
}

/* --- Lead form card header --- */
.lead-form-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(26,76,255,0.12);
  border: 1px solid rgba(26,76,255,0.08);
}

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

.lead-form-card-header h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--dark);
  margin: 1rem 0 0.75rem;
}

.lead-form-card-header p {
  color: var(--gray);
  line-height: 1.6;
}

.lead-form-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.lead-form-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #f3f7ff;
  border: 1px solid rgba(26,76,255,0.12);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.lead-form-urgency {
  background: linear-gradient(135deg, rgba(26,76,255,0.07), rgba(127,104,255,0.07));
  border: 1px solid rgba(26,76,255,0.15);
  border-radius: 0.8rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

/* --- Privacy note --- */
.lead-privacy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.5rem !important;
}

/* --- Success hint --- */
.lead-success-hint {
  font-size: 0.88rem;
  color: var(--gray);
  margin-top: 0.8rem !important;
}

.lead-platform-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0f1d35 0%, #1A4CFF 100%);
  color: white;
  box-shadow: 0 24px 50px -28px rgba(15,29,53,0.65);
}

.lead-platform-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.lead-platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-platform-copy h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  color: white;
}

.lead-platform-copy p {
  color: rgba(255,255,255,0.84);
  line-height: 1.6;
  max-width: 760px;
}

.lead-platform-cta .btn {
  flex-shrink: 0;
  background: white;
  color: var(--dark);
  box-shadow: 0 18px 36px -20px rgba(0,0,0,0.4);
}

.lead-platform-cta .btn:hover {
  background: #f3f7ff;
}

/* --- Social proof block --- */
.lead-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1rem 1.2rem;
  background: rgba(26,76,255,0.04);
  border-radius: 1rem;
  border: 1px solid rgba(26,76,255,0.08);
}

.lead-proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  margin-left: -8px;
  flex-shrink: 0;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-more {
  background: var(--dark) !important;
  font-size: 0.65rem;
}

.lead-social-proof p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.4;
  margin: 0;
}

/* ===== TG AIDA BANNER ===== */
.tg-aida-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.tg-aida-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tg-aida-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0088cc, #00b4d8);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.2rem;
}

.tg-aida-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.tg-aida-header p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Three value cards --- */
.tg-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tg-value-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.tg-value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.9rem;
}

.tg-value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.tg-value-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

/* --- Bonus row --- */
.tg-bonus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(26,76,255,0.06), rgba(127,104,255,0.06));
  border: 1px solid rgba(26,76,255,0.12);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
}

.tg-bonus-content {
  flex: 1;
}

.tg-bonus-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.tg-bonus-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tg-aida-btn {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .lead-section-header h2 { font-size: 1.8rem; }
  .lead-form-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lead-section-fastproof {
    justify-content: flex-start;
  }
  .lead-fastproof-item {
    width: 100%;
    border-radius: 1rem;
  }
  .lead-form-card,
  .lead-platform-cta {
    padding: 1.5rem;
  }
  .lead-platform-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .lead-platform-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .lead-form-meta {
    gap: 0.5rem;
  }
  .messenger-options { gap: 0.6rem; }
  .tg-value-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .tg-bonus-row {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .tg-aida-btn { width: 100%; justify-content: center; }
  .tg-aida-header h2 { font-size: 1.6rem; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .footer,
  .telegram-banner,
  .lang-switch {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .service-card,
  .case-card {
    break-inside: avoid;
  }
}

/* ===== VIDEO MODAL ===== */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 9, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.video-modal-overlay[hidden] {
  display: none !important;
}

.video-modal-overlay.is-visible {
  opacity: 1;
}

.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 1.5rem;
  background: #080f1e;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.07);
  transform: scale(0.93) translateY(24px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-overlay.is-visible .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.08) rotate(90deg);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1425;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, #0b1a3a, #101d40);
}

.video-modal-placeholder .modal-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(26,76,255,0.18);
  border: 1.5px solid rgba(26,76,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.9);
}

.video-modal-placeholder p {
  max-width: 340px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
}

.project-media {
  cursor: pointer;
}

.project-media .showcase-play-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Burger button — hidden on desktop, shown on mobile */
.nav-close-btn {
  display: none;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  flex-shrink: 0;
  order: 1;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.header.is-scrolled .burger-btn span {
  background: var(--dark);
}

.burger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  .video-modal-overlay {
    padding: 0;
    align-items: stretch;
  }

  .video-modal-box {
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .video-modal-overlay.is-visible .video-modal-box {
    transform: translateY(0);
  }

  .video-modal-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
  }

  .video-modal-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}
