/* ===== ENIQ - Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;900&display=swap');

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

:root {
  --bg: #000;
  --purple: rgb(129, 74, 200);
  --pink: rgb(223, 122, 254);
  --card-bg: rgba(13, 13, 13, 0.8);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-small: rgba(255, 255, 255, 0.9);
  --border: rgb(34, 34, 34);
  --light-shade: rgba(255, 255, 255, 0.05);
  --gray-900: rgb(13, 13, 23);
  --max-width: 1200px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: 'Figtree', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.page-transitioning {
  opacity: 0;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ===== Typography ===== */
h1 {
  font-weight: 600;
  font-size: 70px;
  line-height: 1.1;
  letter-spacing: -2.2px;
  text-align: center;
}

h2 {
  font-weight: 500;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  font-weight: 500;
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h4 {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h5 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

h6 {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.body-xxl {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.body-xl {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.body-l {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.body-m {
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.card-content {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.card-title {
  font-weight: 500;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-secondary {
  color: var(--text-secondary);
}

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

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

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

/* Subtle purple glow at bottom of alternating sections */
.section-glow {
  position: relative;
}

.section-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 74, 200, 0.3), rgba(223, 122, 254, 0.2), rgba(129, 74, 200, 0.3), transparent);
}

.section-glow::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(129, 74, 200, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-primary:hover {
  background: rgb(110, 60, 180);
}

.btn-secondary {
  background: var(--card-bg);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(30, 30, 30, 0.8);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 110px;
  width: auto;
  margin: -37px 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.navbar-nav a {
  padding: 9px 13px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #fff;
  font-weight: 600;
}

.navbar-cta .btn {
  padding: 9px 18px;
  font-size: 14px;
}

/* Navbar dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 110;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  color: #fff;
  background: rgba(129, 74, 200, 0.08);
}

/* Mobile menu */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Hero ===== */
.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 40px 100px;
  gap: 35px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  max-width: 900px;
}

.hero .body-xxl {
  max-width: 700px;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Animated hero background */
.hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(.hero-bg-canvas) {
  position: relative;
  z-index: 1;
}

/* ===== Scroll Animations ===== */
/* --- Base fade-up (default) --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* --- Slide from left --- */
.animate-on-scroll.anim-slide-left {
  transform: translateX(-60px);
}
.animate-on-scroll.anim-slide-left.is-visible {
  transform: translateX(0);
}

/* --- Slide from right --- */
.animate-on-scroll.anim-slide-right {
  transform: translateX(60px);
}
.animate-on-scroll.anim-slide-right.is-visible {
  transform: translateX(0);
}

/* --- Scale up --- */
.animate-on-scroll.anim-scale {
  transform: scale(0.9);
}
.animate-on-scroll.anim-scale.is-visible {
  transform: scale(1);
}

/* --- Blur in --- */
.animate-on-scroll.anim-blur {
  filter: blur(12px);
  transform: translateY(20px);
}
.animate-on-scroll.anim-blur.is-visible {
  filter: blur(0);
  transform: translateY(0);
}

/* --- Fade up + rotate subtle --- */
.animate-on-scroll.anim-rise {
  transform: translateY(50px) rotate(1.5deg);
}
.animate-on-scroll.anim-rise.is-visible {
  transform: translateY(0) rotate(0deg);
}

/* Staggered children animation */
.stagger-children .animate-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.is-visible .animate-child {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.is-visible .animate-child:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible .animate-child:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.is-visible .animate-child:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.is-visible .animate-child:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.is-visible .animate-child:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.is-visible .animate-child:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.is-visible .animate-child:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.is-visible .animate-child:nth-child(8) { transition-delay: 0.7s; }
.stagger-children.is-visible .animate-child:nth-child(9) { transition-delay: 0.8s; }

/* Hero entrance animation */
.hero .badge,
.hero h1,
.hero .body-xxl,
.hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero .badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero .body-xxl { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.55s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
}

.section-header h2 {
  max-width: 700px;
  text-align: center;
}

.section-header .body-xxl {
  max-width: 600px;
  color: var(--text-secondary);
  text-align: center;
}

/* ===== Cards ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== Services Section ===== */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  height: 400px;
}

.service-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.service-card-content .badge {
  align-self: flex-start;
}

.service-card-content .card-content {
  color: var(--text-secondary);
}

.service-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.service-card-visual {
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  height: 100%;
}

.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Task Ticker Widget ===== */
.task-ticker-widget {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: rgba(24, 24, 24, 1);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.task-ticker-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.task-ticker-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.task-ticker-mask {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.task-ticker-mask::before,
.task-ticker-mask::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}

.task-ticker-mask::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(24,24,24,1), transparent);
}

.task-ticker-mask::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(18,18,18,1), transparent);
}

.task-ticker-track {
  display: flex;
  flex-direction: column;
  animation: tickerScroll 12s linear infinite;
}

.task-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.task-ticker-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.task-ticker-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.task-ticker-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-ticker-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-ticker-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.task-ticker-check.done {
  background: rgba(129,74,200,0.2);
  color: rgb(129,74,200);
}

.task-ticker-check.pending {
  background: rgba(251,191,36,0.15);
  color: rgb(251,191,36);
}

@keyframes tickerScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ===== Chat Widget Demo ===== */
.chat-widget-demo {
  width: 100%;
  max-width: 340px;
  background: rgba(22, 22, 26, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(129,74,200,0.06);
  overflow: hidden;
  position: relative;
  max-height: 100%;
}

/* Top fade overlay on orb area */
.chat-widget-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: radial-gradient(ellipse at center top, rgba(129,74,200,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.chat-orb-wrap {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.chat-orb-canvas {
  width: 90px;
  height: 90px;
}

.chat-widget-body {
  position: relative;
  z-index: 1;
  padding: 0 22px 14px;
}

.chat-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.chat-widget-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.chat-input-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 76px;
}

.chat-input-field {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 40px;
  position: relative;
}

.chat-typing-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.chat-cursor {
  font-size: 12px;
  color: rgb(129, 74, 200);
  animation: cursorBlink 0.8s step-end infinite;
  margin-left: 1px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-send-btn {
  background: rgb(129, 74, 200);
  border: none;
  border-radius: 7px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 6px;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.chat-send-btn svg {
  width: 13px;
  height: 13px;
}

.chat-send-btn.active {
  opacity: 1;
}

.chat-upload-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
}

.chat-upload-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 7px;
  padding: 5px 9px;
  cursor: default;
  transition: all 0.3s;
}

.chat-upload-btn.uploading {
  border-color: rgba(129,74,200,0.3);
  color: rgba(129,74,200,0.7);
}

.chat-image-preview {
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.chat-image-thumb {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(129,74,200,0.3), rgba(223,122,254,0.2));
  border: 1px solid rgba(129,74,200,0.3);
  position: relative;
  overflow: hidden;
}

.chat-image-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

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

.chat-quick-actions {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.chat-quick-chip {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 4px 9px;
}

/* ===== Email Widget Demo ===== */
.email-widget-demo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: rgba(22, 22, 26, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.email-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
}

.email-status-text {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.email-status-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(129,74,200,0.3);
  border-top-color: rgb(129,74,200);
  border-radius: 50%;
  animation: emailSpin 1s linear infinite;
}

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

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

.email-tag {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 10px;
}

.email-tag.active {
  background: rgba(129,74,200,0.12);
  border-color: rgba(129,74,200,0.25);
  color: rgba(200,170,255,0.8);
}

.email-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 12px;
  animation: emailFadeIn 0.6s ease-out both;
}

.email-contact-item:nth-child(1) { animation-delay: 0.3s; }
.email-contact-item:nth-child(3) { animation-delay: 1.2s; }

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

.email-contact-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(129,74,200,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(129,74,200);
  flex-shrink: 0;
}

.email-contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.email-contact-info strong {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.email-contact-info span {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

.email-contact-status {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

.email-contact-row {
  display: flex;
  justify-content: space-between;
  padding: 0 12px 4px;
}

.email-contact-email,
.email-contact-company {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}

.email-progress-bar {
  margin-top: 4px;
}

.email-progress-track {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: visible;
}

.email-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, rgb(129,74,200), rgb(180,120,240));
  border-radius: 2px;
  animation: progressGrow 3s ease-out infinite;
}

@keyframes progressGrow {
  0% { width: 0%; }
  40% { width: 35%; }
  70% { width: 66%; }
  100% { width: 100%; }
}

.email-progress-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(129,74,200);
  border: 2px solid rgba(22,22,26,1);
}

.email-progress-dot.dot-1 { left: 0; }
.email-progress-dot.dot-2 { left: 50%; }
.email-progress-dot.dot-3 { left: 100%; background: rgba(255,255,255,0.15); }

.email-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.email-progress-labels span {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}

/* ===== Project Widget Demo ===== */
.project-widget-demo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: rgba(28, 28, 32, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}

.project-widget-greeting {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-widget-greeting strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.project-widget-greeting span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.project-widget-section {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.project-widget-section:last-child {
  border-bottom: none;
}

.project-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 12px;
}

.project-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(129,74,200,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(129,74,200);
  flex-shrink: 0;
}

.project-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.project-item-text strong {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.project-item-text span {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

.project-item-progress {
  flex-shrink: 0;
}

.project-progress-ring {
  display: block;
}

.project-ring-fill {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-calendar-days {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.cal-day {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  border-radius: 6px;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.cal-day.active {
  background: rgb(129,74,200);
  color: #fff;
  box-shadow: 0 0 12px rgba(129,74,200,0.3);
}

.cal-day.dim {
  color: rgba(255,255,255,0.15);
}

.project-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-schedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.schedule-info strong {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.schedule-info span {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}

.schedule-more {
  background: none;
  border: none;
  color: rgba(255,255,255,0.2);
  font-size: 16px;
  cursor: default;
  padding: 0 4px;
  line-height: 1;
}

/* ===== Process / Steps ===== */
/* ===== Timeline Steps ===== */
/* ===== Timeline — centered line, alternating cards ===== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(129, 74, 200, 0.25);
  transform: translateX(-50%);
}

.timeline-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgb(129, 74, 200), rgb(223, 122, 254));
  border-radius: 2px;
  transition: height 0.1s linear;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-bottom: 56px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Odd steps: card on the left */
.timeline-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-step:nth-child(2) { transition-delay: 0.08s; }
.timeline-step:nth-child(3) { transition-delay: 0.16s; }
.timeline-step:nth-child(4) { transition-delay: 0.24s; }
.timeline-step:nth-child(5) { transition-delay: 0.32s; }

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Node centered on the line */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-node-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d0d0d;
  border: 1.5px solid rgba(129, 74, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(129, 74, 200);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step.is-visible .timeline-node-ring {
  background: rgb(22, 14, 32);
  border-color: rgba(129, 74, 200, 0.5);
  box-shadow: 0 0 20px rgba(129, 74, 200, 0.25), 0 0 50px rgba(129, 74, 200, 0.08);
  transform: scale(1.08);
}

/* Card — takes up one side */
.timeline-content {
  width: calc(50% - 44px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
  position: relative;
}


.timeline-step.is-visible .timeline-content {
  border-color: rgba(129, 74, 200, 0.12);
  box-shadow: 0 4px 40px rgba(129, 74, 200, 0.04);
}

.timeline-step-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(129, 74, 200, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color 0.6s ease;
}

.timeline-step.is-visible .timeline-step-label {
  color: rgba(129, 74, 200, 0.9);
}

.timeline-content h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ===== Process Grid (Jak to funguje) ===== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.process-card:hover {
  border-color: rgba(129, 74, 200, 0.15);
}

.process-step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 12px;
  margin-bottom: 6px;
}

.process-card-text h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.process-card-text p {
  font-size: 14px;
  line-height: 1.6;
}

.process-card-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

/* === Compact process visuals === */
.pv-mini {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
}

/* --- Krok 1: Radar analysis --- */
.pv1-panel {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(10,10,15,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
}

.pv1-radar {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(8,8,14,0.95);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(129,74,200,0.15);
}

/* Concentric rings */
.pv1-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(129,74,200,0.08);
}
.pv1-ring-1 { inset: 15%; }
.pv1-ring-2 { inset: 30%; }
.pv1-ring-3 { inset: 45%; }

/* Crosshair */
.pv1-radar-cross {
  position: absolute;
  inset: 0;
}
.pv1-radar-cross::before,
.pv1-radar-cross::after {
  content: '';
  position: absolute;
  background: rgba(129,74,200,0.06);
}
.pv1-radar-cross::before {
  left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-0.5px);
}
.pv1-radar-cross::after {
  top: 50%; left: 0; right: 0; height: 1px;
  transform: translateY(-0.5px);
}

/* Rotating sweep beam */
.pv1-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 50%;
  transform-origin: 0 0;
  animation: pv1Sweep 3s linear infinite;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(129,74,200,0.35) 30deg,
    rgba(129,74,200,0.08) 60deg,
    transparent 90deg
  );
  border-radius: 0 100% 0 0;
}

@keyframes pv1Sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Data points that pulse */
.pv1-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 6px rgba(223,122,254,0.6), 0 0 12px rgba(223,122,254,0.2);
  animation: pv1DotPulse 3s ease-in-out infinite;
}

.pv1-dot-1 { top: 22%; left: 60%; animation-delay: 0s; }
.pv1-dot-2 { top: 38%; left: 28%; animation-delay: 0.6s; }
.pv1-dot-3 { top: 65%; left: 72%; animation-delay: 1.2s; }
.pv1-dot-4 { top: 72%; left: 35%; animation-delay: 1.8s; }
.pv1-dot-5 { top: 45%; left: 55%; animation-delay: 2.4s; background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.6), 0 0 12px rgba(74,222,128,0.2); }

@keyframes pv1DotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  15%, 60% { opacity: 1; transform: scale(1.3); }
}

/* Center pulse */
.pv1-center-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(129,74,200,0.5);
}
.pv1-center-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(129,74,200,0.3);
  animation: pv1CenterRing 2s ease-out infinite;
}

@keyframes pv1CenterRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Stats column */
.pv1-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pv1-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pv1-stat-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pv1-ic-time { background: rgba(129,74,200,0.15); color: var(--purple); }
.pv1-ic-work { background: rgba(74,222,128,0.12); color: #4ade80; }
.pv1-ic-perf { background: rgba(96,165,250,0.12); color: #60a5fa; }

.pv1-stat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pv1-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}

.pv1-stat-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.3;
}
.pv1-stat-num small { font-size: 11px; opacity: 0.7; }
.pv1-num-up { color: #60a5fa; }

.pv1-stat-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.03);
}

.pv1-stat-fill {
  height: 100%;
  animation: pv1BarLoop 4s ease-in-out infinite;
}
.pv1-sf-1 { background: var(--purple); animation-delay: 0s; }
.pv1-sf-2 { background: #4ade80; animation-delay: 0.4s; }
.pv1-sf-3 { background: #60a5fa; animation-delay: 0.8s; }

@keyframes pv1BarLoop {
  0% { width: 15%; }
  50% { width: 85%; }
  100% { width: 15%; }
}

/* Scan log */
.pv1-log {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 6px;
}

.pv1-log-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  animation: pv1FadeIn 0.5s ease-out forwards;
}
.pv1-log-1 { animation-delay: 0.3s; }
.pv1-log-2 { animation-delay: 1s; }
.pv1-log-3 { animation-delay: 1.7s; }
.pv1-log-4 { animation-delay: 2.4s; }

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

.pv1-log-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 16px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.pv1-tag-ok {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
}

.pv1-tag-warn {
  background: rgba(250,204,21,0.12);
  color: #facc15;
}

.pv1-tag-scan {
  background: rgba(129,74,200,0.12);
  color: var(--purple);
  animation: pv1Blink 1s ease-in-out infinite;
}

@keyframes pv1Blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Krok 2: Scrolling code editor --- */
.pv2-editor {
  background: rgba(10,10,15,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 130px;
}

.pv2-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pv2-nav {
  display: flex;
  gap: 4px;
  color: rgba(255,255,255,0.2);
}

.pv2-tab-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  max-width: 100px;
}

.pv2-win {
  display: flex;
  gap: 6px;
  color: rgba(255,255,255,0.15);
}

.pv2-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.pv2-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.12);
}

.pv2-code-area {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.pv2-code-area::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(transparent, rgba(10,10,15,0.95));
  pointer-events: none;
  z-index: 1;
}

.pv2-scroll-wrap {
  height: 100%;
  overflow: hidden;
}

.pv2-code-scroll {
  padding: 10px 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.65;
  animation: codeScroll 12s linear infinite;
}

@keyframes codeScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.pv-cl {
  white-space: nowrap;
  color: rgba(255,255,255,0.4);
  min-height: 17px;
}

.pv-cl.i1 { padding-left: 16px; }
.pv-cl.i2 { padding-left: 32px; }
.pv-cl.i3 { padding-left: 48px; }

.c-kw { color: var(--purple); }
.c-fn { color: rgb(100,180,255); }
.c-p { color: rgba(255,255,255,0.55); }
.c-s { color: rgb(152,195,121); }

/* --- Krok 2: Terminal output --- */
.pv2-terminal {
  margin-top: 6px;
  background: rgba(8,8,12,0.9);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
}

.pv2-term-row {
  color: rgba(255,255,255,0.4);
  opacity: 0;
  animation: pv2TermIn 0.4s ease-out forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv2-t-1 { animation-delay: 0.5s; }
.pv2-t-2 { animation-delay: 1.2s; }
.pv2-t-3 { animation-delay: 1.9s; }
.pv2-t-4 { animation-delay: 2.6s; }
.pv2-t-5 { animation-delay: 3.3s; }

@keyframes pv2TermIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.pv2-term-prefix {
  color: var(--purple);
  margin-right: 4px;
}

.pv2-term-ok {
  color: #4ade80;
  margin-right: 4px;
}

.pv2-term-cursor::after {
  content: '█';
  color: var(--purple);
  animation: pv2Blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes pv2Blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Krok 3: App integration list --- */
.pv3-apps {
  background: rgba(10,10,15,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

.pv3-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s ease;
}

.pv3-row:last-child { border-bottom: none; }
.pv3-row:hover { background: rgba(255,255,255,0.02); }

.pv3-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pv3-shopify { background: rgba(150,191,72,0.12); color: rgb(150,191,72); }
.pv3-slack { background: rgba(224,30,90,0.1); color: rgb(224,30,90); }
.pv3-make { background: rgba(129,74,200,0.12); color: var(--purple); }
.pv3-zapier { background: rgba(255,120,50,0.1); color: rgb(255,120,50); }

.pv3-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pv3-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.pv3-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.pv3-status {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pv3-connected { color: rgb(74,200,120); }

.pv3-syncing {
  color: var(--purple);
  animation: spin 2s linear infinite;
}

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

/* --- Krok 4: Chart area --- */
.pv4-chart-area {
  background: rgba(10,10,15,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
}

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

.pv4-chart-title {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}

.pv4-chart-live {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.pv4-chart {
  position: relative;
  height: 45px;
}

.pv4-area-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pv4-area-fill {
  opacity: 0;
  animation: pv4FadeIn 1.5s ease-out 0.5s forwards;
}

.pv4-area-line {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: pv4Draw 2s ease-out 0.3s forwards;
}

.pv4-area-dot {
  fill: var(--pink);
  opacity: 0;
  animation: pv4DotIn 0.5s ease-out 2.3s forwards;
}
.pv4-area-dot::after {
  content: '';
}

@keyframes pv4Draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pv4FadeIn {
  to { opacity: 1; }
}

@keyframes pv4DotIn {
  from { opacity: 0; r: 0; }
  to { opacity: 1; r: 2.5; }
}

.pv4-chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.pv4-chart-grid div {
  height: 1px;
  background: rgba(255,255,255,0.03);
}

/* Pulsing dot glow */
.pv4-area-dot {
  filter: drop-shadow(0 0 4px rgba(223,122,254,0.6));
  animation: pv4DotIn 0.5s ease-out 2.3s forwards, pv4DotPulse 2s ease-in-out 2.8s infinite;
}

@keyframes pv4DotPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(223,122,254,0.6)); }
  50% { filter: drop-shadow(0 0 10px rgba(223,122,254,0.9)); }
}

/* --- Krok 4: Metrics sparklines --- */
.pv-metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.pv-metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pv-metric-row:last-child { border-bottom: none; }

.pv-metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pv-dot-purple { background: var(--purple); }
.pv-dot-blue { background: rgb(100,180,255); }
.pv-dot-green { background: rgb(74,200,120); }

.pv-metric-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.pv-metric-val {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.pv-val-up { color: rgb(74,200,120); }

.pv-metric-spark {
  width: 50px;
  height: 20px;
  flex-shrink: 0;
}

.pv-metric-spark svg { width: 100%; height: 100%; }

.pv-spark-line {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: sparkDraw 2s ease-out forwards;
}

.pv-spark-line.s2 { stroke: rgb(100,180,255); animation-delay: 0.3s; }
.pv-spark-line.s3 { stroke: rgb(74,200,120); animation-delay: 0.6s; }

@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover {
  border-color: rgba(129, 74, 200, 0.15);
  box-shadow: 0 4px 30px rgba(129, 74, 200, 0.06);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card h5 {
  font-size: 20px;
}

.benefit-card .card-content {
  color: var(--text-secondary);
}

/* ===== Segments tabs ===== */
.segments-tabs {
  position: relative;
}

.segments-tab-nav {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.segment-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.segment-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.segment-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.segment-tab.active {
  color: #fff;
  background: rgba(129, 74, 200, 0.1);
  border-color: rgba(129, 74, 200, 0.25);
  box-shadow: 0 0 20px rgba(129, 74, 200, 0.08);
}

.segment-tab.active svg {
  color: var(--purple);
}

.segments-content {
  margin-top: 24px;
  position: relative;
  min-height: 340px;
}

.segment-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  animation: segmentFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.segment-panel.active {
  display: block;
}

@keyframes segmentFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.segment-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.4s ease;
}

.segment-panel-inner:hover {
  border-color: rgba(129, 74, 200, 0.12);
}

.segment-info h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.segment-info .body-xxl {
  margin-bottom: 24px;
}

.segment-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.segment-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  line-height: 1.5;
}

.segment-feature-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(129, 74, 200, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-top: 1px;
}

.segment-feature-icon svg {
  width: 14px;
  height: 14px;
}

.segment-visual {
  display: flex;
  align-items: center;
}

.segment-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.segment-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(129, 74, 200, 0.04);
  border: 1px solid rgba(129, 74, 200, 0.08);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-stat:hover {
  background: rgba(129, 74, 200, 0.08);
  border-color: rgba(129, 74, 200, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(129, 74, 200, 0.08);
}

.segment-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}

.segment-stat-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== Comparison ===== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.comparison-card .card-title {
  font-size: 23px;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.comparison-list li .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.comparison-list.negative {
  color: #ccc;
}

.comparison-list.positive {
  color: #fff;
}

/* ===== Team ===== */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  border-color: rgba(129, 74, 200, 0.2);
  box-shadow: 0 8px 40px rgba(129, 74, 200, 0.06);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(20, 20, 20, 0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-img img {
  transform: scale(1.06);
}

.team-card-img .initials {
  font-size: 48px;
  font-weight: 700;
  color: rgba(129, 74, 200, 0.3);
  letter-spacing: -0.02em;
}

.team-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-card-name-row h5 {
  font-size: 18px;
  font-weight: 600;
}

.team-card-linkedin {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.team-card-linkedin:hover {
  background: rgba(129, 74, 200, 0.1);
  border-color: rgba(129, 74, 200, 0.3);
  color: var(--purple);
}

.team-card .role {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  color: var(--purple);
}

.stat-card h5 {
  font-size: 20px;
}

.stat-card .card-content {
  color: var(--text-secondary);
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-icon {
  width: 36px;
  height: 36px;
  color: var(--purple);
}

.value-card h5 {
  font-size: 20px;
}

.value-card .card-content {
  color: var(--text-secondary);
}

/* ===== FAQ / Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== E-mailový asistent page ===== */

/* Problem cards */
.ea-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ea-problem-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ea-problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ea-problem-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.ea-problem-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

/* How box — before/after flow */
.ea-how-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.ea-how-highlight {
  border-color: rgba(129,74,200,0.25);
  background: rgba(129,74,200,0.03);
}
.ea-how-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.ea-how-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ea-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.ea-flow-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ea-how-highlight .ea-flow-num {
  background: rgba(129,74,200,0.12);
  color: var(--purple);
}
.ea-flow-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 14px;
  padding-left: 32px;
}
.ea-flow-time {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  gap: 6px;
}
.ea-flow-fast {
  color: #4ade80 !important;
}

/* Cases grid */
.ea-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ea-case {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s ease;
}
.ea-case:hover {
  border-color: rgba(129,74,200,0.2);
}
.ea-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.ea-case h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ea-case p {
  font-size: 13px;
  line-height: 1.6;
}

/* Compare table */
.ea-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ea-compare-col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.ea-compare-header {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.ea-compare-before {
  color: rgba(255,255,255,0.4);
}
.ea-compare-after {
  color: #4ade80;
  background: rgba(74,222,128,0.03);
}
.ea-compare-items {
  padding: 8px 0;
}
.ea-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.ea-compare-x {
  color: #f87171;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.ea-compare-check {
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* Timeline */
.ea-timeline {
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
}
.ea-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--pink));
  border-radius: 1px;
}
.ea-tl-item {
  position: relative;
  padding-bottom: 36px;
}
.ea-tl-item:last-child {
  padding-bottom: 0;
}
.ea-tl-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid #0a0a0f;
  z-index: 1;
}
.ea-tl-day {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.ea-tl-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ea-tl-content p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* Conversation mockup */
.ea-conversation {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ea-msg {
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid var(--border);
}
.ea-msg-in {
  background: rgba(255,255,255,0.02);
}
.ea-msg-out {
  background: rgba(129,74,200,0.04);
  border-color: rgba(129,74,200,0.15);
}
.ea-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ea-msg-sender {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.ea-msg-out .ea-msg-sender {
  color: var(--purple);
}
.ea-msg-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.ea-msg-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.ea-msg-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(129,74,200,0.05);
  border: 1px solid rgba(129,74,200,0.1);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}
.ea-msg-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple);
}

/* Responsive */
@media (max-width: 768px) {
  .ea-problem-grid { grid-template-columns: 1fr; }
  .ea-cases { grid-template-columns: 1fr; }
  .ea-compare { grid-template-columns: 1fr; }
  .ea-timeline { padding-left: 28px; }
}

/* ===== Webový asistent page ===== */

/* Explain cards */
.wa-explain-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s ease;
}
.wa-explain-card:hover {
  border-color: rgba(129,74,200,0.2);
}
.wa-explain-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(129,74,200,0.1);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.wa-explain-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.wa-explain-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* Steps */
.wa-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.wa-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.wa-step:last-child {
  border-bottom: none;
}
.wa-step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.wa-step-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.wa-step-content p {
  font-size: 14px;
  line-height: 1.65;
}

/* Stats grid */
.wa-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wa-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.wa-stat-card:hover {
  border-color: rgba(129,74,200,0.2);
}
.wa-stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.wa-stat-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.wa-stat-desc {
  font-size: 13px;
  line-height: 1.6;
}

/* Deploy list */
.wa-deploy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wa-deploy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.wa-deploy-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(129,74,200,0.1);
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-deploy-item h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.wa-deploy-item p {
  font-size: 13px;
  line-height: 1.6;
}

/* Compat box */
.wa-compat-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.wa-compat-box h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.wa-compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wa-compat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.wa-compat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(129,74,200,0.1);
  color: var(--purple);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Results bars */
.wa-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.wa-result-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-result-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wa-result-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.wa-result-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.wa-result-bar {
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}
.wa-result-fill {
  height: 100%;
  border-radius: 3px;
  animation: waBarGrow 1.5s ease-out forwards;
  transform-origin: left;
}
@keyframes waBarGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .wa-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wa-step {
    gap: 16px;
  }
  .wa-step-num {
    font-size: 24px;
    width: 36px;
  }
  .wa-compat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .wa-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(129, 74, 200, 0.1) 0%, rgba(223, 122, 254, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cta-section h2 {
  max-width: 700px;
  text-align: center;
}

.cta-section .body-xxl {
  max-width: 533px;
  color: var(--text-secondary);
}

.cta-section .btn {
  margin-top: 10px;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  grid-column: span 2;
}

.form-submit .btn {
  width: 100%;
}

/* ===== Contact Cards ===== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(129, 74, 200, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(129, 74, 200, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(129, 74, 200, 0.1);
}

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

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(129, 74, 200, 0.1);
  border: 1px solid rgba(129, 74, 200, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.contact-card-value {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.contact-card-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-card-arrow {
  color: var(--purple);
  transform: translate(3px, -3px);
}

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.team-member:hover {
  border-color: rgba(129, 74, 200, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(129, 74, 200, 0.08);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(129, 74, 200, 0.2), rgba(223, 122, 254, 0.15));
  border: 1.5px solid rgba(129, 74, 200, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.02em;
  transition: all 0.35s ease;
}

.team-member:hover .team-avatar {
  border-color: rgba(129, 74, 200, 0.5);
  box-shadow: 0 0 20px rgba(129, 74, 200, 0.2);
  transform: scale(1.08);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.team-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.team-email {
  font-size: 12px;
  color: var(--purple);
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.team-member:hover .team-email {
  opacity: 1;
}

.team-avatar-img {
  background: none;
  border: none;
  overflow: hidden;
}

.team-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Team card avatar (o-nas page) */
.team-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Footer ===== */
.footer {
  border-top: 2px solid var(--border);
  padding: 64px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 20px;
}

.footer-left {
  flex: 0 0 auto;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-description {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-newsletter h6 {
  font-size: 18px;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 320px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--purple);
}

.newsletter-form button {
  padding: 10px 16px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.footer-column h6 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-column ul a {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-column ul a:hover {
  color: #fff;
}

/* ===== Automatizace Page ===== */

/* Flow Visual */
.az-flow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 20px;
}

.az-flow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  min-width: 180px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.az-flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,74,200,0.3);
}

.az-flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
}

.az-flow-icon svg {
  width: 28px;
  height: 28px;
}

.az-flow-label {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.az-flow-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.az-flow-line {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  flex-shrink: 0;
}

.az-flow-pulse {
  position: absolute;
  top: -3px;
  left: -6px;
  width: 12px;
  height: 8px;
  border-radius: 4px;
  background: var(--purple);
  animation: azPulseMove 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(129,74,200,0.6);
}

.az-pulse-2 {
  animation-delay: 1s;
}

@keyframes azPulseMove {
  0% { left: -6px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

@keyframes azPulseMoveV {
  0% { top: -6px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 6px); opacity: 0; }
}

/* Examples Grid */
.az-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.az-ex-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.az-ex-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,74,200,0.25);
}

.az-ex-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.az-ex-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.az-ex-icon svg {
  width: 24px;
  height: 24px;
}

.az-ex-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.az-ex-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.az-ex-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.az-ex-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 600;
}

.az-ex-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.5px;
}

/* Live Workflow */
.az-live {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.az-live-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.az-live-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 20px;
  animation: azBadgePulse 2s ease-in-out infinite;
}

@keyframes azBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.az-live-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.az-live-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}

.az-live-steps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), #4ade80);
  border-radius: 1px;
}

.az-live-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  opacity: 0;
  transform: translateX(-10px);
  animation: azStepIn 0.4s ease forwards;
}

.az-ls-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid #000;
  position: absolute;
  left: 1px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(129,74,200,0.4);
}

.az-ls-dot-done {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
}

.az-ls-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.az-ls-time {
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,0.3);
  min-width: 36px;
}

.az-ls-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.az-ls-text-done {
  color: #4ade80;
  font-weight: 600;
}

.az-ls-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.az-ls-ok {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
}

.az-ls-warn {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
}

.az-ls-done {
  opacity: 0;
  animation: azStepIn 0.4s ease forwards, azDoneGlow 1.5s ease-in-out infinite 0.4s;
}

@keyframes azStepIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes azDoneGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.az-ls-1 { animation-delay: 0.2s; }
.az-ls-2 { animation-delay: 0.6s; }
.az-ls-3 { animation-delay: 1.0s; }
.az-ls-4 { animation-delay: 1.4s; }
.az-ls-5 { animation-delay: 1.8s; }
.az-ls-6 { animation-delay: 2.2s; }
.az-ls-7 { animation-delay: 2.6s; }

/* Integrations */
.az-integrations {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.az-int-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.az-int-chip {
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.3s, color 0.3s;
}

.az-int-chip:hover {
  border-color: rgba(129,74,200,0.3);
  color: #fff;
}

.az-int-more {
  color: var(--purple);
  border-color: rgba(129,74,200,0.2);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  h1 { font-size: 50px; letter-spacing: -1.5px; }
  h2 { font-size: 38px; }
  h3 { font-size: 28px; }

  .hero {
    min-height: auto;
    padding: 140px 24px 80px;
  }

  .container { padding: 0 24px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* timeline handled via default styles */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .team-cards-grid { grid-template-columns: repeat(2, 1fr); }

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

  .segment-panel-inner {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
  }

  .service-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-card-visual {
    min-height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-left { width: 100%; }
  .footer-right { justify-content: flex-start; }
}

@media (max-width: 810px) {
  h1 { font-size: 40px; letter-spacing: -1px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .body-xxl { font-size: 16px; }

  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    background: transparent;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu li a {
    padding: 8px 13px;
  }

  .hero {
    padding: 120px 20px 60px;
    gap: 25px;
  }

  .container { padding: 0 20px; }
  .section { padding: 50px 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid, .team-cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card-value { font-size: 15px; }
  /* Timeline: stack vertically on mobile */
  .timeline { max-width: 100%; padding-left: 40px; }
  .timeline-line { left: 20px; transform: translateX(0); }
  .timeline-node { left: 20px; }
  .timeline-step,
  .timeline-step:nth-child(odd) { flex-direction: row; }
  .timeline-content { width: calc(100% - 48px); margin-left: auto; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { padding: 28px 20px; }
  .pv-cone-canvas { width: 120px; height: 100px; }

  /* Automatizace responsive */
  .az-flow-visual {
    flex-direction: column;
    gap: 0;
    padding: 24px 10px;
  }
  .az-flow-card { min-width: unset; width: 100%; max-width: 260px; padding: 20px 18px; }
  .az-flow-line {
    width: 2px;
    height: 32px;
  }
  .az-flow-pulse {
    top: -6px;
    left: -3px;
    width: 8px;
    height: 12px;
    animation: azPulseMoveV 2s ease-in-out infinite;
  }
  .az-pulse-2 { animation-delay: 1s; }
  .az-examples-grid { grid-template-columns: 1fr; }
  .az-live { padding: 20px 16px; }
  .az-ls-content { flex-wrap: wrap; gap: 6px; }
  .az-ls-time { min-width: 32px; font-size: 11px; }
  .az-ls-text { font-size: 13px; }
  .az-int-chip { padding: 6px 14px; font-size: 13px; }

  .segments-tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    padding: 4px;
  }
  .segment-tab {
    padding: 10px 14px;
    font-size: 13px;
    gap: 6px;
  }
  .segment-tab svg { width: 16px; height: 16px; }
  .segment-panel-inner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .segment-stat-value { font-size: 28px; }
  .segment-stat { padding: 18px 12px; }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width,
  .form-submit {
    grid-column: span 1;
  }

  .footer-right { gap: 40px; }
}

@media (max-width: 500px) {
  .team-grid, .team-cards-grid { grid-template-columns: 1fr; }
}
