/* ==========================================================================
   SDELKA ERP - DESIGN SYSTEM & STYLESHEET
   Pure White Minimalist Theme with 3D Depth Intro & Watermark Brand Identity
   Official Sdelka Brand Book Colors (#EC7A5A, #3F9DA3, #463B37)
   All currencies in EUR (€)
   ========================================================================== */

:root {
  /* Brand Palette from Sdelka Brandbook v1 */
  --sdelka-coral: #ec7a5a;
  --sdelka-teal: #3f9da3;
  --sdelka-charcoal: #463b37;

  --primary-navy: #0f172a;
  --primary-deep: #142032;
  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Surfaces */
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-surface-tint: #f1f5f9;
  --card-border: rgba(226, 232, 240, 0.85);
  --card-border-focus: rgba(2, 132, 199, 0.4);

  /* Typography */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.1);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-majestic: 2.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. PURE WHITE 3D INTRO OVERLAY
   Only the clean circular emblem from brandbook (zero text)
   Moves slowly from depth, settles in center, then dissolves into background
   ========================================================================== */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  transform-style: preserve-3d;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

#intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.intro-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  z-index: 10;
}

/* Only the pure circle emblem from brandbook - NO text */
.intro-clean-emblem {
  display: block;
  width: min(280px, 68vw);
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(15, 23, 42, 0.08));
  will-change: transform, opacity;
}

/* Keyframe-driven pure hardware-accelerated intro */
#intro-overlay.playing .intro-clean-emblem {
  animation: emblemSwimAndHold 6.5s cubic-bezier(0.16, 0.75, 0.25, 1) forwards;
}

#intro-overlay.playing {
  animation: overlayFadeOut 6.5s ease forwards;
}

@keyframes emblemSwimAndHold {
  0% {
    transform: translateZ(-450px) scale(0.18);
    opacity: 0;
  }
  6% {
    /* Clearly visible small circle in the center within 0.4s */
    transform: translateZ(-400px) scale(0.24);
    opacity: 1;
  }
  55% {
    /* Smoothly glides forward from depth, expanding into full 1:1 scale */
    transform: translateZ(0) scale(1);
    opacity: 1;
  }
  82% {
    /* Holds rock-solid and sharp in the center on pure white for ~1.8 seconds */
    transform: translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    /* Dissolves and blends seamlessly into hero background watermark */
    transform: translateZ(80px) scale(1.35);
    opacity: 0;
  }
}

@keyframes overlayFadeOut {
  0%, 82% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro-skip-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 20;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-muted);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intro-skip-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. WATERMARK BRAND BACKGROUND EMBLEM IN HERO
   ========================================================================== */
.hero-watermark-emblem {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, 75vw);
  height: auto;
  opacity: 0.048;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ==========================================================================
   3. NAVIGATION HEADER & SCROLLSPY ACTIVE INDICATOR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem-icon {
  height: 42px;
  width: auto;
  display: block;
}

.brand-wordmark-img {
  height: 28px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  background: #f1f5f9;
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.2);
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.brand-badge-link {
  cursor: pointer;
}

.brand-badge-link:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 0.15rem;
  flex-shrink: 1;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 38px;
  padding: 0.3rem 0.52rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.15;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link span {
  display: block;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-navy);
  background: #f1f5f9;
}

/* ScrollSpy Active State */
.nav-link.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

/* Compact format for multi-line menu items (SAF-T НАП, AI Асистент) */
.nav-link-two-lines {
  padding: 0.2rem 0.5rem;
  font-size: 0.80rem;
  line-height: 1.1;
}

.nav-link-two-lines span {
  display: block;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-replay-intro {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-replay-intro:hover {
  background: var(--bg-surface-alt);
  color: var(--primary-navy);
  border-color: rgba(15, 23, 42, 0.2);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-white);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.btn-accent {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--primary-navy);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(15, 23, 42, 0.3);
  background: var(--bg-surface-alt);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.95rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5.5rem 1.5rem 4.5rem;
  overflow: hidden;
  background: #ffffff;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--primary-navy);
  max-width: 950px;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

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

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 1.25rem 2rem;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SHOWCASE SIMULATOR WINDOW
   ========================================================================= */
.showcase-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.showcase-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-topbar {
  background: #0f172a;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.showcase-url {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 1.5rem;
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  background: #1e293b;
  padding: 0.35rem 0.75rem;
  gap: 0.4rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.55rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.showcase-tab.active {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.showcase-content {
  padding: 1.5rem;
  background: #f8fafc;
  min-height: 520px;
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

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

/* ==========================================================================
   TAB PANE 1: DASHBOARD
   ========================================================================== */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mockup-card {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  text-align: left;
}

.mockup-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mockup-card-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.mockup-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.45rem;
}

.badge-green { background: #dcfce7; color: #15803d; }
.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-amber { background: #fef3c7; color: #b45309; }

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

.mockup-table-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 1.25rem;
  text-align: left;
}

.mockup-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-table-head h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.table-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.table-mini th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid #f1f5f9;
}

.table-mini td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid #f8fafc;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   TAB PANE 2: AI SCANNER DEMO
   ========================================================================== */
.ai-interactive-view {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.5rem;
  text-align: left;
}

.ai-doc-preview {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ai-scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0284c7, #38bdf8, transparent);
  box-shadow: 0 0 15px #0284c7;
  opacity: 0;
}

.ai-scan-laser.scanning {
  opacity: 1;
  animation: laserScan 1.6s ease-in-out infinite alternate;
}

@keyframes laserScan {
  0% { top: 5%; }
  100% { top: 95%; }
}

.ai-controls {
  margin-top: auto;
  padding-top: 1rem;
}

.ai-result-panel {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.ai-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.gemini-chip {
  background: #f1f5f9;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.ai-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ai-field-box {
  background: #f8fafc;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid #edf2f7;
}

.ai-field-box label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.ai-field-box span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.ai-accounting-entry {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-top: 1rem;
}

.ai-entry-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #166534;
  margin-bottom: 0.45rem;
}

.ai-entry-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: #14532d;
  font-family: monospace;
}

/* ==========================================================================
   MODULES SHOWCASE
   ========================================================================== */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 0.85rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-focus);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f1f5f9;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card.highlight .feature-icon-wrapper {
  background: #eff6ff;
  color: #2563eb;
}

.feature-card.gold .feature-icon-wrapper {
  background: #fffbeb;
  color: #d97706;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.85rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.feature-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   DUAL BRIDGE SECTION
   ========================================================================== */
.bridge-section {
  background: linear-gradient(135deg, #090e17 0%, #111c2e 60%, #162a45 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.bridge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bridge-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.bridge-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.bridge-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.bridge-perk {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
}

.bridge-perk strong {
  display: block;
  font-size: 0.95rem;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.bridge-perk span {
  font-size: 0.82rem;
  color: #94a3b8;
}

.bridge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  text-align: center;
}

.bridge-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.bridge-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   ROI CALCULATOR (ALL IN EUR €)
   ========================================================================== */
.roi-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.roi-slider-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.roi-slider-label span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.roi-slider-label strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0284c7;
}

input[type="range"].roi-slider {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

input[type="range"].roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0284c7;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
  cursor: pointer;
}

.roi-results-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roi-metric {
  display: flex;
  flex-direction: column;
}

.roi-metric-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}

.roi-metric-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ==========================================================================
   PRICING SECTION (ALL IN EUR € - DOUBLED AS REQUESTED)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.pricing-card.popular {
  border: 2px solid #0284c7;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(2, 132, 199, 0.12);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-fast);
  margin: auto;
  border: 1px solid #e2e8f0;
}

.modal-card .form-group {
  margin-bottom: 0.95rem;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--primary-navy);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   FOOTER (CLEAN BRAND LOGO, NO WHITE RECTANGLES)
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1366px) {
  .header-container {
    gap: 0.85rem;
    padding: 0.75rem 1rem;
  }
  .nav-menu {
    gap: 0.15rem;
  }
  .nav-link {
    padding: 0.3rem 0.55rem;
    font-size: 0.84rem;
  }
  .nav-link-two-lines {
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1240px) {
  .btn-replay-intro span {
    display: none;
  }
  .btn-replay-intro {
    padding: 0.45rem 0.55rem;
  }
  .brand-badge {
    display: none;
  }
}

@media (max-width: 1024px) {
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-row, .ai-interactive-view, .bridge-grid, .roi-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats-row {
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bridge-perks {
    grid-template-columns: 1fr;
  }
}
