/* =============================================
   FAKTURANT - MW Evidence
   Main Stylesheet
   ============================================= */

/* ---------- Custom Properties ---------- */
:root {
  --color-primary: #1e40af;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1e3a8a;
  --color-secondary: #0ea5e9;
  --color-accent: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #1e40af 70%, #2563eb 100%);
  --gradient-light: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  --gradient-card: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;

  --border-color: #e2e8f0;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.08);
  --shadow-md: 0 8px 32px rgba(30, 64, 175, 0.12);
  --shadow-lg: 0 20px 60px rgba(30, 64, 175, 0.18);
  --shadow-xl: 0 32px 80px rgba(30, 64, 175, 0.22);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Bootstrap (nacteny z CDN) ma vlastni pravidlo ".navbar > .container{display:flex;
     justify-content:space-between}" - kolize nazvu trid s nasim vlastnim rucne psanym
     navbarem zpusobi, ze se nas .container stane flex containerem a .navbar-inner (jeho
     jediny flex item) se bez explicitni sirky smrskne na obsah misto aby vyplnil celou
     sirku. Na mobilu, kde je .navbar-nav schovana, je to nejvic videt - tlacitko menu
     konci daleko od praveho okraje misto v rohu. */
  width: 100%;
}

.navbar-logo img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

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

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: white;
  transition: var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--text-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-primary);
  background: rgba(30, 64, 175, 0.06);
}

.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 24px !important;
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.45) !important;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
  background: var(--text-primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent);
  top: -150px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0ea5e9, transparent);
  bottom: -100px;
  left: -100px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #818cf8, transparent);
  top: 40%;
  left: 40%;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

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

.hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  display: block;
  min-height: 1.15em;
  background: linear-gradient(135deg, #93c5fd, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  height: 40px;
  align-self: center;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  filter: drop-shadow(0 40px 80px rgba(30, 64, 175, 0.4));
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-card:hover .feature-icon,
.feature-card:hover .feature-title,
.feature-card:hover .feature-text,
.feature-card:hover .feature-tag {
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

.feature-card:hover .feature-title {
  color: white;
}

.feature-card:hover .feature-text {
  color: rgba(255,255,255,0.8);
}

.feature-card:hover .feature-tag {
  background: rgba(255,255,255,0.2);
  color: white;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: var(--transition);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.feature-tag {
  padding: 3px 10px;
  background: rgba(30, 64, 175, 0.06);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition);
}

/* ---------- Stats Banner ---------- */
.stats-banner {
  background: var(--gradient-primary);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary));
  opacity: 0.3;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35);
  transition: var(--transition);
}

.step-item:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.5);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ---------- Testimonials / Promo ---------- */
.promo-section {
  background: var(--bg-light);
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.promo-visual {
  position: relative;
}

.promo-visual-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.promo-visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.promo-visual-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.promo-visual-badge {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: 10px;
  transition: var(--transition-fast);
}

.promo-list-item:hover {
  background: rgba(30, 64, 175, 0.04);
  transform: translateX(4px);
}

.promo-list-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.promo-list-text {
  flex: 1;
  font-size: 0.9rem;
}

.promo-list-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.promo-list-text span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.promo-list-amount {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.promo-floating-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.promo-badge-left {
  bottom: -24px;
  left: -24px;
}

.promo-badge-right {
  top: -20px;
  right: -20px;
}

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

.promo-badge-icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-accent);
}

.promo-badge-icon-blue {
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
}

.promo-content {
  padding-left: 20px;
}

.promo-content .section-badge {
  text-align: left;
  justify-content: flex-start;
  display: inline-flex;
}

.promo-content .section-title {
  text-align: left;
}

.promo-content .section-subtitle {
  text-align: left;
  max-width: 480px;
}

.promo-check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 40px;
}

.promo-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promo-check-icon {
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-check-icon svg {
  width: 12px;
  height: 12px;
  color: white;
  stroke: white;
}

.promo-check-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.promo-check-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- Pricing / CTA ---------- */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  padding: 80px 0 32px;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
}

.footer-nav-link:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

/* ---------- About Page Specific ---------- */
.page-hero {
  min-height: 55vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.functionality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.func-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  gap: 24px;
}

.func-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.2);
}

.func-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.func-content {
  flex: 1;
}

.func-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.func-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

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

.func-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.func-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-size: 0.75rem;
}

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

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

.tech-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 64, 175, 0.2);
}

.tech-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tech-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tech-card-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Contact Page ---------- */
.contact-section {
  background: var(--bg-light);
  min-height: calc(100vh - 300px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  color: white;
  position: sticky;
  top: 100px;
}

.contact-info-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}

.contact-info-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.contact-item-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 0.95rem;
  color: white;
  font-weight: 500;
}

.contact-hours {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
}

.contact-hours-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}

.contact-hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
}

.contact-hours-item span:last-child {
  color: white;
  font-weight: 500;
}

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-primary);
  font-weight: 500;
}

.form-checkbox-label a:hover {
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.form-success-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- Form Validation States ---------- */
.form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.form-checkbox.is-invalid-check {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.form-error,
.field-error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error::before,
.field-error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form hidden/visible state (controlled by JS classes) */
.form-hidden {
  display: none;
}

.form-success-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Button spinner */
@keyframes spin-svg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-svg {
  animation: spin-svg 0.8s linear infinite;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Cookie lista je fixed bottom - dokud je videt, tlacitko "Nahoru" (taky bottom-right) by se s ni prekryvalo. */
body.cookie-bar-visible .scroll-top {
  display: none;
}

/* ---------- Utility & Component Extensions ---------- */

/* Hero title highlight - reusable blue gradient text */
.hero-title-accent {
  background: linear-gradient(135deg, #93c5fd, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section badge on dark bg */
.section-badge-white {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Section subtitle on dark bg */
.section-subtitle-white {
  color: rgba(255, 255, 255, 0.75);
}

/* Section with light bg */
.section-bg-light {
  background: var(--bg-light);
}

/* Stats-banner with smaller vertical padding */
.stats-banner-sm {
  padding: 80px 0;
}

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

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

/* Simple info/feature card */
.info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px;
}

.info-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
}

/* FAQ card (light bg) */
.faq-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 28px;
}

.faq-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Floating badge inner content */
.badge-detail-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-detail-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* Footer email link */
.footer-email-link {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-fast);
}

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

/* Page hero small variant */
.page-hero-sm {
  min-height: 40vh;
}

/* Contact info link (white on gradient bg) */
.contact-item-link {
  color: white;
}

.contact-item-link:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* CTA section accent span */
.cta-title-accent {
  color: #93c5fd;
}

/* Section header with wider max-width */
.section-header-wide {
  max-width: 700px;
}

/* Section header with tighter bottom margin */
.section-header-tight {
  margin-bottom: 48px;
}

/* White section title (on dark bg) */
.section-title-white {
  color: white;
}

/* Footer address reset */
.footer-address {
  font-style: normal;
}

/* Responsive overrides for new grids */
@media (max-width: 900px) {
  .checklist-grid-3 {
    grid-template-columns: 1fr;
  }
  .checklist-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .checklist-grid-3,
  .checklist-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-stat-divider {
    display: none;
  }
  .promo-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .promo-content {
    padding-left: 0;
  }
  .functionality-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .navbar .container {
    padding-right: 16px;
  }
  .navbar-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }
  .navbar-nav.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.3rem;
    padding: 14px 24px;
    width: 280px;
    text-align: center;
    color: white !important;
  }
  .nav-cta {
    margin-left: 0 !important;
    background: var(--gradient-primary) !important;
  }
  .navbar-toggle {
    display: flex;
    z-index: 1000;
  }
  .navbar-close {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1001;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
  }
  .navbar-close.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 36px 24px;
  }
  .promo-badge-left,
  .promo-badge-right {
    display: none;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  .hero-stats {
    gap: 24px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Compact data tables (app + admin) ─────────────────────────────────────── */
.app-main .table th,
.app-main .table td,
.admin-main .table th,
.admin-main .table td {
  white-space: nowrap;
  padding: .3rem .65rem;
  font-size: .8125rem;
  vertical-align: middle;
}
.app-main .table th,
.admin-main .table th {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #64748b;
}
.app-main .card-body.p-0,
.admin-main .card-body.p-0 {
  overflow-x: auto;
}
/* Action buttons stay tight */
.app-main .table td .btn-sm,
.admin-main .table td .btn-sm {
  padding: .2rem .4rem;
  font-size: .75rem;
  line-height: 1.3;
}
