:root {
  --bg: #ffffff;
  --bg-muted: #f5f7fb;
  --text: #111827;
  --text-muted: #5b6472;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --border: #e5e7eb;
  --card: #ffffff;
  --green: #16a34a;
  --yellow: #f59e0b;
  --red: #dc2626;
  --blue-light: #dbeafe;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--primary);
  margin: 0 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--text-muted);
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 0 0 24px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.full {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
}

/* HERO CARD */

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.crm-window {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: #f8fafc;
}

.window-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #111827;
}

.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e5e7eb;
  opacity: 0.8;
}

.crm-table {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.crm-row {
  display: grid;
  grid-template-columns: 1fr 100px 120px;
  gap: 10px;
  align-items: center;
  background: white;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.crm-header {
  color: var(--text-muted);
  font-weight: 700;
  background: transparent;
  border: none;
}

.badge {
  display: inline-flex;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.badge.high {
  background: #fee2e2;
  color: #991b1b;
}

.badge.medium {
  background: #fef3c7;
  color: #92400e;
}

.badge.low {
  background: #dcfce7;
  color: #166534;
}

.badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge.green {
  background: #dcfce7;
  color: #166534;
}

.crm-note {
  margin: 0 18px 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--blue-light);
  color: #1e3a8a;
  font-weight: 700;
}

/* SECTIONS */

.section {
  padding: 88px 0;
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header h2,
.demo-grid h2,
.contact-box h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.section-header p,
.demo-grid p,
.contact-box p {
  color: var(--text-muted);
  font-size: 17px;
}

/* CARDS */

.cards-grid,
.pricing-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.pricing-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.card h3,
.pricing-card h3,
.contact-card h3 {
  margin-top: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.card p,
.pricing-card p {
  color: var(--text-muted);
}

/* FEATURES */

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

.feature-item,
.industry-grid div,
.industry-grid a,
.benefit {
  background: white;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  font-weight: 700;
}

/* STEPS */

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

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: white;
}

.step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

/* INDUSTRIES */

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

.industry-grid a {
  color: var(--text);
  transition: 0.2s ease;
}

.industry-grid a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* DEMO */

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.video-placeholder {
  min-height: 340px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.15)),
    #f8fafc;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
}

/* BENEFITS */

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  background: white;
}

/* PRICING */

.pricing-card {
  position: relative;
}

.pricing-card.highlighted {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}

.popular {
  position: absolute;
  top: -15px;
  left: 28px;
  background: var(--primary);
  color: white;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.price {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text) !important;
  margin: 0 0 12px;
}

.pricing-card ul {
  padding-left: 18px;
  color: var(--text-muted);
}

.pricing-card li {
  margin-bottom: 8px;
}

/* SHOWCASE */

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

.showcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.showcase-card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.showcase-card p {
  color: var(--text-muted);
  margin: 0;
}

.showcase-visual {
  min-height: 230px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f8fafc;
  overflow: hidden;
}

/* CRM preview */

.crm-preview {
  padding: 0;
}

.preview-top {
  height: 38px;
  background: #111827;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}

.preview-top span {
  width: 10px;
  height: 10px;
  background: #e5e7eb;
  border-radius: 50%;
  opacity: 0.85;
}

.preview-table {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 72px 105px;
  gap: 8px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
}

.preview-header {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 800;
}

.mini-badge {
  display: inline-flex;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.mini-badge.high {
  background: #fee2e2;
  color: #991b1b;
}

.mini-badge.medium {
  background: #fef3c7;
  color: #92400e;
}

.mini-badge.low {
  background: #dcfce7;
  color: #166534;
}

.mini-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.mini-badge.yellow {
  background: #fef3c7;
  color: #92400e;
}

.mini-badge.green {
  background: #dcfce7;
  color: #166534;
}

/* Document preview */

.document-preview {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.doc-line {
  height: 12px;
  width: 100%;
  border-radius: 999px;
  background: #dbe3ef;
  margin-bottom: 12px;
}

.doc-line.large {
  height: 18px;
  width: 72%;
  background: #2563eb;
}

.doc-line.short {
  width: 52%;
}

.doc-box {
  margin: 22px 0;
  padding: 18px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

/* Dashboard preview */

.dashboard-preview {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(16, 185, 129, 0.12));
}

.metric-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.metric-card strong {
  font-size: 30px;
  letter-spacing: -0.05em;
}

.metric-card span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }

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

/* FAQ */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
}

summary {
  font-weight: 800;
  cursor: pointer;
}

details p {
  color: var(--text-muted);
}

/* CONTACT */

.contact-section {
  background: #0f172a;
  color: white;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.contact-box p {
  color: #cbd5e1;
}

.contact-card {
  color: var(--text);
}

.small-note {
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
}

.contact-benefits li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.contact-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

/* FOOTER */

.footer {
  background: #020617;
  color: #94a3b8;
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* RESPONSIVE */

@media (max-width: 920px) {

  .hero-grid,
  .demo-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .pricing-grid,
  .benefits-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .feature-list,
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card.highlighted {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 70px 0 56px;
  }

  .cards-grid,
  .pricing-grid,
  .benefits-grid,
  .steps,
  .feature-list,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .crm-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .image-preview {
    min-height: 230px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .image-preview img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    object-position: top left;
    border-radius: 14px;
    border: 1px solid var(--border);
    display: block;
  }
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cookie-content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.cookie-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  min-height: 44px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-content {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

/* LEGAL PAGE */

.legal-page {
  padding: 130px 0 80px;
  background: #f8fafc;
}

.legal-container {
  max-width: 860px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.legal-container h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 10px 0 12px;
  letter-spacing: -0.06em;
}

.legal-container h2 {
  margin-top: 34px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.legal-container p,
.legal-container li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-container ul {
  padding-left: 22px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .legal-page {
    padding: 100px 0 50px;
  }

  .legal-container {
    padding: 26px;
    border-radius: 18px;
  }
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* DELIVERABLES */

.deliverables-section {
  background: #ffffff;
}

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

.deliverable-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.deliverable-item span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 18px;
}

.deliverable-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.deliverable-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

/* COOPERATION */

.cooperation-section {
  background: #f8fafc;
}

.cooperation-steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.cooperation-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.cooperation-step span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.cooperation-step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.cooperation-step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 620px) {
  .cooperation-step {
    grid-template-columns: 1fr;
  }
}

.showcase-slider {
  display: flex;
  gap: 24px;
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 8px 16px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.showcase-slider::-webkit-scrollbar {
  height: 8px;
}

.showcase-slider::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.showcase-slider::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.showcase-slider::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.showcase-slider .showcase-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: flex-basis 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.showcase-slider .showcase-card:hover {
  flex-basis: 420px;
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  z-index: 5;
}

.showcase-slider .showcase-visual {
  width: 100%;
  height: 210px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  transition: height 0.25s ease;
}

.showcase-slider .showcase-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.showcase-slider .showcase-card:hover .showcase-visual {
  height: 280px;
}

.showcase-image-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.showcase-content {
  padding: 18px 20px 22px;
}

.showcase-content h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: #0f172a;
}

.showcase-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

@media (min-width: 1180px) {
  .showcase-slider {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .showcase-slider {
    max-width: 100%;
    margin-top: 32px;
    padding-inline: 20px;
    gap: 18px;
  }

  .showcase-slider .showcase-card {
    flex-basis: 82vw;
  }

  .showcase-slider .showcase-card:hover {
    flex-basis: 88vw;
  }

  .showcase-slider .showcase-visual {
    height: 190px;
  }

  .showcase-slider .showcase-card:hover .showcase-visual {
    height: 240px;
  }
}

.trust-section {
  background: #f8fafc;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.trust-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.trust-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
  color: #0f172a;
}

.trust-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 24px;
  }
}

.demo-outer {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.step-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab:hover {
  border-color: #999;
  color: #111;
}

.tab.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.progress-track {
  height: 3px;
  background: #e5e5e5;
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.screen {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.screen-bar {
  background: #f9f9f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-name {
  font-size: 12px;
  color: #888;
  margin-left: 6px;
}

.screen-body {
  padding: 16px 18px;
  min-height: 260px;
}

.step-label {
  font-size: 10px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.55;
}

.fade-in {
  animation: fadeUp 0.35s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.form-field {
  margin-bottom: 10px;
}

.form-field label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
}

.form-field .val,
.typing-val {
  font-size: 13px;
  color: #111;
  background: #f7f7f6;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  padding: 7px 11px;
}

.typing-val {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #2563eb;
  width: 0;
  animation: typeIn 1.4s steps(50, end) 0.3s forwards, blinkCursor 0.7s step-end 5;
}

@keyframes typeIn {
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  50% {
    border-right-color: transparent;
  }
}

table.crm {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

table.crm th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: #aaa;
  padding: 4px 8px;
  border-bottom: 1px solid #f0f0f0;
}

table.crm td {
  padding: 8px 8px;
  border-bottom: 1px solid #f5f5f5;
  color: #222;
  vertical-align: middle;
}

table.crm tr.new-row {
  background: #eef4ff;
}

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
}

.b-high {
  background: #fde8e8;
  color: #c0392b;
}

.b-med {
  background: #fef3cd;
  color: #856404;
}

.b-low {
  background: #e8f8e8;
  color: #276227;
}

.b-new {
  background: #dceeff;
  color: #2563eb;
}

.b-wait {
  background: #f0f0f0;
  color: #666;
}

.b-done {
  background: #d4edda;
  color: #155724;
}

.ai-card {
  background: #eef4ff;
  border: 1px solid #c7dbff;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 11px;
}

.ai-card .ai-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.ai-card .ai-txt {
  font-size: 12px;
  color: #1e3a6e;
  line-height: 1.6;
}

.doc-box {
  background: #fafaf9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 12px;
  color: #222;
  line-height: 1.9;
}

.doc-box .doc-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}

.doc-box .doc-meta {
  color: #888;
  font-size: 11px;
  margin-bottom: 10px;
}

.doc-box .doc-total {
  border-top: 1px solid #e5e5e5;
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 600;
}

.doc-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.doc-actions span {
  font-size: 12px;
  color: #2563eb;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.dash-card {
  background: #f7f7f6;
  border-radius: 8px;
  padding: 11px;
  text-align: center;
}

.dash-num {
  font-size: 24px;
  font-weight: 600;
  color: #111;
}

.dash-num.red {
  color: #c0392b;
}

.dash-num.blue {
  color: #2563eb;
}

.dash-num.green {
  color: #276227;
}

.dash-lbl {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
  line-height: 1.3;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.nav-btn {
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.15s;
}

.nav-btn:hover {
  background: #f5f5f5;
}

.nav-btn.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.nav-btn.primary:hover {
  background: #1d4ed8;
}

.auto-indicator {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@media (max-width: 480px) {
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab {
    font-size: 11px;
    padding: 4px 10px;
  }

  .nav-row {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */

/* Zariadenia velkosti tabletu (do 992px) */
@media (max-width: 992px) {
 .cards-grid,
 .pricing-grid,
 .benefits-grid,
 .steps,
 .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

 .demo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Zariadenia velkosti mobilu (do 768px) */
@media (max-width: 768px) {
 .cards-grid,
 .pricing-grid,
 .benefits-grid,
 .steps,
 .showcase-grid,
 .feature-list,
 .industry-grid,
 .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

 .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  
 .hero-actions.btn {
    width: 100%;
  }

 .hero-points {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
 .pricing-card.highlighted {
    transform: none; /* Odstrani posun nahor, ktory na mobile posobi rusivo */
    margin-top: 16px;
  }
  
 .video-placeholder {
    min-height: 240px;
  }
}

/* FORM STYLES */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  background-color: var(--bg-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* INTERNAL FORM PAGE */

.form-page {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.form-hero {
  padding: 110px 0 88px;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 110px;
}

.form-intro h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.form-intro p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 620px;
}

.form-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--text-muted);
  font-weight: 600;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.form-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.form-card-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  background-color: var(--bg-muted);
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group legend {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

fieldset.form-group {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-grid label,
.gdpr-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.checkbox-grid input,
.gdpr-check input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.gdpr-check {
  margin-top: 2px;
}

.form-status {
  min-height: 22px;
  font-size: 14px;
  font-weight: 700;
}

.form-status.info {
  color: var(--primary);
}

.form-status.error {
  color: var(--red);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-cta-card {
  display: grid;
  gap: 16px;
}

.contact-cta-card h3,
.contact-cta-card p {
  margin-top: 0;
}

.thank-you-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.thank-you-card {
  max-width: 680px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 48px 34px;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 22px;
}

.thank-you-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 18px;
}

.thank-you-card p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 30px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 920px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
    text-align: center;
  }

  .form-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .form-points {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .form-hero {
    padding: 82px 0 58px;
  }

  .form-card {
    padding: 24px;
    border-radius: 22px;
  }

  .form-grid-two,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-card {
    padding: 34px 24px;
  }
}


/* OFFER SAMPLE CARDS */
.offer-samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.offer-sample-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-sample-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.offer-sample-card p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.offer-sample-card .btn {
  margin-top: auto;
}

.offer-sample-meta {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .offer-samples-grid {
    grid-template-columns: 1fr;
  }
}


/* FIX: Ukážka systému má byť čistá 3-kartová sekcia bez PDF karty.
   Vzorové PDF ponuky ostávajú v sekcii Dôkaz funkčnosti. */
@media (min-width: 769px) {
  .showcase-slider {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 48px auto 0;
    padding: 8px 0 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .showcase-slider .showcase-card {
    flex: initial;
    scroll-snap-align: unset;
  }

  .showcase-slider .showcase-card:hover {
    flex-basis: auto;
  }
}

@media (max-width: 768px) {
  .showcase-slider {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .showcase-slider .showcase-card,
  .showcase-slider .showcase-card:hover {
    flex-basis: auto;
  }
}


/* BLOG */
.narrow-container {
  max-width: 840px;
}

.blog-list-hero {
  padding-bottom: 72px;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.blog-card h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}

.blog-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.blog-card-meta,
.blog-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.muted-blog-card {
  background: var(--bg-muted);
  box-shadow: none;
}

.blog-promo-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.blog-promo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.blog-promo-box h2 {
  margin-bottom: 12px;
}

.blog-promo-box p {
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
}

.blog-article {
  padding: 64px 0 88px;
}

.blog-container {
  max-width: 820px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.blog-article-header {
  margin-bottom: 38px;
}

.blog-article-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 12px 0 18px;
}

.blog-perex {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.blog-content p,
.blog-content li {
  font-size: 17px;
  line-height: 1.75;
  color: #334155;
}

.blog-content p {
  margin-bottom: 24px;
}

.blog-content h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 48px 0 18px;
}

.blog-content h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.blog-content li {
  margin-bottom: 10px;
}

.quote-box,
.blog-info-box,
.blog-cta-box {
  border-radius: 22px;
  margin: 34px 0;
}

.quote-box {
  background: var(--bg-muted);
  border-left: 4px solid var(--primary);
  padding: 24px;
}

.quote-box p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.blog-info-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.blog-info-box p:last-child {
  margin-bottom: 0;
}

.blog-cta-box {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 2px solid rgba(37, 99, 235, 0.24);
  padding: 34px;
  text-align: center;
}

.blog-cta-box h2 {
  margin-top: 0;
}

.blog-cta-box p {
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .blog-list-grid {
    grid-template-columns: 1fr;
  }

  .blog-promo-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .blog-article {
    padding-top: 40px;
  }

  .blog-content h2 {
    font-size: 26px;
  }

  .blog-card,
  .blog-promo-box,
  .blog-info-box,
  .blog-cta-box {
    padding: 22px;
  }

  .blog-perex {
    font-size: 18px;
  }
}
