/* ============================================================
   BAKURALAB – DESIGN SYSTEM
   Verze: 2.0 | Autor: Bakuralab s.r.o.
   Best practices: CSS Custom Properties, BEM, mobile-first
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS CUSTOM PROPERTIES ────────────────────────────────── */
:root {
  /* Barvy - Premium Clean Light Theme with Classic Blue */
  --clr-primary: #0A84FF;
  /* Classic Bakuralab Blue */
  --clr-primary-dark: #006ce6;
  --clr-primary-light: rgba(10, 132, 255, 0.08);
  /* Light blue tint */
  --clr-accent: #111111;
  /* Dark elegant accent for contrast */
  --clr-accent-light: rgba(0, 0, 0, 0.05);
  --clr-success: #00b040;
  --clr-warning: #eea000;

  --clr-bg: #ffffff;
  /* Pure white background */
  --clr-bg-alt: #f9fafb;
  /* Extremely subtle off-white for sections */
  --clr-bg-dark: #f0f2f5;
  --clr-surface: #ffffff;
  --clr-surface-alt: #fdfdfd;

  --clr-text: #222222;
  /* Very dark grey for text */
  --clr-text-muted: #6b7280;
  /* Soft grey for secondary text */
  --clr-text-light: #9ca3af;
  --clr-text-inverse: #ffffff;
  /* White text on dark elements */

  --clr-border: rgba(0, 0, 0, 0.06);
  --clr-border-strong: rgba(0, 0, 0, 0.12);

  /* Typografie - Classic & Clean */
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.75rem;
  /* 60px */
  --text-7xl: 4.5rem;
  /* 72px */

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-colored: 0 8px 32px rgba(10, 132, 255, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  --header-height: 72px;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── FOCUS VISIBLE ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── SKIP LINK ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--sp-4);
  background: var(--clr-primary);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  font-weight: var(--fw-medium);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (max-width: 768px) {
  .container {
    padding-inline: var(--sp-4);
  }
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--clr-text);
}

h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
}

h4 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  line-height: var(--lh-relaxed);
  color: var(--clr-text-muted);
}

.lead {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: var(--lh-relaxed);
  color: var(--clr-text-muted);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--clr-text-muted);
}

.text-light {
  color: var(--clr-text-light);
}

.text-accent {
  color: var(--clr-accent);
}

.text-primary {
  color: var(--clr-primary);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-colored);
}

.btn--primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(10, 132, 255, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn--secondary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
  box-shadow: 0 8px 32px rgba(255, 59, 92, 0.3);
}

.btn--accent:hover {
  background: #e0002e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 59, 92, 0.4);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ── HEADER / NAVIGATION ──────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  /* background: rgba(255, 255, 255, 0.95); - Replaced by style-2026.css */
  /* backdrop-filter: blur(20px); - Replaced by style-2026.css */
  /* -webkit-backdrop-filter: blur(20px); - Replaced by style-2026.css */
  /* border-bottom: 1px solid var(--clr-border); - Replaced by style-2026.css */
  transition: all var(--transition-base);
}


.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  color: var(--clr-text);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__logo-text span {
  color: var(--clr-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}


.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--clr-surface-alt);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV ───────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--clr-bg);
  z-index: 999;
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--clr-text);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--clr-primary);
}

/* ── PAGE OFFSET FOR FIXED HEADER ─────────────────────────── */
main {
  padding-top: var(--header-height);
}

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050c1a;
  padding-bottom: 2rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/bakuralab-bakurashop-3dtisk.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 132, 255, 0.15) 0%,
      rgba(13, 15, 20, 0.6) 60%,
      rgba(13, 15, 20, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__eyebrow {
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
  animation: fadeInUp 0.6s ease both;
}

.hero__eyebrow::before {
  background: var(--clr-primary);
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title strong {
  color: var(--clr-primary);
  font-weight: inherit;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
  position: absolute;
  bottom: var(--sp-12);
  left: 0;
  right: 0;
  z-index: 2;
}

.hero__stats-inner {
  display: flex;
  gap: var(--sp-8);
}

.hero__stat {
  border-left: 2px solid var(--clr-primary);
  padding-left: var(--sp-4);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero__stat:nth-child(2) {
  animation-delay: 0.6s;
}

.hero__stat:nth-child(3) {
  animation-delay: 0.7s;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: #fff;
  display: block;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  animation: fadeIn 1s ease 1s both;
}

.hero__scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-lr;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── SECTION UTILITIES ────────────────────────────────────── */
.section {
  padding-block: var(--sp-24);
}

.section--sm {
  padding-block: var(--sp-16);
}

.section--lg {
  padding-block: var(--sp-32);
}

.section--alt {
  background: var(--clr-bg-alt);
}

.section--dark {
  background: var(--clr-bg-dark);
  color: var(--clr-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section__header {
  max-width: 640px;
  margin-bottom: var(--sp-12);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__header--center .eyebrow {
  justify-content: center;
}

.section__header--center .eyebrow::before {
  display: none;
}

.section__header--center .eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}

.section__title {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--clr-text-muted);
}

/* ── GRID & LAYOUT ────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  gap: var(--sp-4);
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--wrap {
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  /* background: var(--clr-surface); - Overridden by glassmorphism */
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--clr-primary);
  /* box-shadow: var(--shadow-lg), 0 0 0 1px var(--clr-primary); - Prevent conflict with hover in 2026 CSS */
  transform: translateY(-4px);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--clr-border);
}

.card--highlight {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

.card--highlight h3,
.card--highlight h4,
.card--highlight p,
.card--highlight .eyebrow {
  color: #fff;
}

.card--highlight .eyebrow::before {
  background: rgba(255, 255, 255, 0.5);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.card__icon svg {
  color: var(--clr-primary);
}

.card--highlight .card__icon {
  background: rgba(255, 255, 255, 0.2);
}

.card--highlight .card__icon svg {
  color: #fff;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.card__desc {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
}

/* ── FEATURE LIST ─────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast);
}

.feature-item:hover {
  background: var(--clr-surface-alt);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
}

.feature-item__content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-1);
}

/* ── STATS ────────────────────────────────────────────────── */
.section--stats {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}

.section--stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.section--stats::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10,132,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  border-radius: var(--radius-2xl);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-primary);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  border-color: var(--clr-primary);
  border-left-color: var(--clr-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10,132,255,0.1), 0 8px 16px rgba(0,0,0,0.06);
}

.stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,132,255,0.08);
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
}

.stat-card__icon--accent {
  background: rgba(0,176,64,0.08);
  color: var(--clr-success);
}

.stat-card__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--sp-2);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: var(--fw-black);
  color: var(--clr-text);
  display: inline;
  line-height: 1;
  transition: text-shadow 0.4s ease;
}

.stat-card__value.counted {
  text-shadow: 0 0 20px rgba(10,132,255,0.3);
}

.stat-card__suffix {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl));
  font-weight: var(--fw-black);
  color: var(--clr-primary);
  line-height: 1;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  font-weight: var(--fw-medium);
  display: block;
  margin-bottom: var(--sp-4);
}

.stat-card__bar {
  height: 3px;
  background: var(--clr-border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: auto;
}

.stat-card__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-primary), #3da5ff);
  border-radius: 3px;
  transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.visible .stat-card__bar-fill {
  width: 100%;
}

@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ── PROCESS STEPS ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(to right, var(--clr-primary), transparent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: var(--shadow-colored);
  transition: transform var(--transition-spring);
}

.step:hover .step__number {
  transform: scale(1.1) rotate(-5deg);
}

.step__title {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
}

.step__desc {
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .steps::before {
    display: none;
  }

  .step {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    text-align: left;
  }

  .step__number {
    flex-shrink: 0;
    margin: 0;
  }
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonial {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--clr-primary-light);
  font-weight: var(--fw-black);
}

.testimonial__text {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  display: block;
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-4);
  color: #FF9F0A;
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0d1628 0%, #162040 50%, #0d1628 100%);
  border-radius: var(--radius-3xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(41, 121, 255, 0.06) 0%, transparent 70%);
}

.cta-section__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-section__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30D158;
  animation: statusPulse 2s ease infinite;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.cta-section__btn-primary {
  background: var(--clr-primary) !important;
  color: #fff !important;
  border-color: var(--clr-primary) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.cta-section__btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group--file input[type="file"] {
  padding: var(--sp-2);
  cursor: pointer;
}

.form__note {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
}

.form__success,
.form__error {
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  display: none;
}

.form__success {
  background: rgba(48, 209, 88, 0.1);
  color: #1a8a3a;
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.form__error {
  background: rgba(255, 59, 92, 0.1);
  color: #c0002e;
  border: 1px solid rgba(255, 59, 92, 0.3);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── GALLERY SLIDER ───────────────────────────────────────── */
.gallery-slider {
  position: relative;
  overflow: hidden;
  padding-left: max(1rem, calc((100% - 1200px) / 2 + 1rem));
}

.gallery-slider__track {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-right: 2rem;
  padding-bottom: var(--sp-4);
  scrollbar-width: none;
}

.gallery-slider__track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.gallery-slide__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-slide:hover .gallery-slide__img {
  transform: scale(1.05);
}

.gallery-slide__info {
  padding: var(--sp-4);
}

.gallery-slide__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  margin-bottom: 0.25rem;
}

.gallery-slide__category {
  font-size: var(--text-xs);
  color: var(--clr-primary);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-slide__overlay {
  position: absolute;
  inset: 0;
  bottom: auto;
  aspect-ratio: 4/3;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  pointer-events: none;
}

.gallery-slide:hover .gallery-slide__overlay {
  opacity: 1;
}

.gallery-slide__overlay svg {
  width: 32px;
  height: 32px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border-strong);
  background: var(--clr-surface);
  color: var(--clr-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    flex: 0 0 260px;
  }
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 15, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── BADGE ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
}

.badge--primary {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
}

.badge--accent {
  background: var(--clr-accent-light);
  color: var(--clr-accent);
}

.badge--success {
  background: rgba(48, 209, 88, 0.12);
  color: #1a8a3a;
}

.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
  flex-shrink: 0;
}

/* ── BLOG CARD ────────────────────────────────────────────── */
.blog-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary);
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--sp-6);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.blog-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--clr-primary);
}

.blog-card__excerpt {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--sp-4);
}

.blog-card__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  transition: gap var(--transition-fast);
}

.blog-card:hover .blog-card__link {
  gap: var(--sp-2);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
}

.footer__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.5);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer__nav h4 {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--clr-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
  display: flex;
  gap: var(--sp-5);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.breadcrumb a {
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--clr-primary);
}

.breadcrumb__sep {
  color: var(--clr-text-light);
}

.breadcrumb__current {
  color: var(--clr-text-muted);
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  padding-block: var(--sp-16) var(--sp-12);
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero__breadcrumb {
  margin-bottom: var(--sp-6);
}

.page-hero__title {
  margin-bottom: var(--sp-4);
}

.page-hero__desc {
  font-size: var(--text-lg);
  max-width: 600px;
}

/* ── ACCORDION / FAQ ──────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.accordion-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.open {
  border-color: var(--clr-primary);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  transition: color var(--transition-fast);
  gap: var(--sp-4);
}

.accordion-item.open .accordion-trigger {
  color: var(--clr-primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--clr-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.accordion-item.open .accordion-icon {
  background: var(--clr-primary);
  color: #fff;
  transform: rotate(45deg);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  display: block;
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.accordion-icon::before {
  width: 10px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 10px;
}

.accordion-body {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--clr-text-muted);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  display: none;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  max-width: 520px;
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-2xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xl);
  z-index: 9000;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-slow);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--sp-2);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-5);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ── NOTIFICATION / TOAST ─────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  background: var(--clr-text);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-xl);
  z-index: 9100;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: #1a8a3a;
}

.toast--error {
  background: #c0002e;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-colored);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-base);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10, 132, 255, 0.4);
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Intersection Observer animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

/* ── COUNTER ANIMATION ────────────────────────────────────── */
.counter {
  display: inline-block;
}

/* ── LOADING SPINNER ──────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

/* ── TECH BADGE (materials) ───────────────────────────────── */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tech-tag {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  background: var(--clr-surface-alt);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {

  .header,
  .footer,
  .back-to-top,
  .cookie-banner {
    display: none !important;
  }

  main {
    padding-top: 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── MOBILE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {

  .nav,
  .header__actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__stats-inner {
    gap: var(--sp-5);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding-block: var(--sp-16);
  }

  .section--lg {
    padding-block: var(--sp-20);
  }

  .hero {
    min-height: 90vh;
  }

  .hero__stats {
    display: none;
  }

  .cta-section {
    padding: var(--sp-10) var(--sp-6);
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: var(--sp-12);
  }
}

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-auto {
  margin-top: auto;
}

.ml-auto {
  margin-left: auto;
}

.mx-auto {
  margin-inline: auto;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.d-none {
  display: none;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-flex {
  display: inline-flex;
}

.gap-2 {
  gap: var(--sp-2);
}

.gap-4 {
  gap: var(--sp-4);
}

.gap-6 {
  gap: var(--sp-6);
}

.gap-8 {
  gap: var(--sp-8);
}

.p-4 {
  padding: var(--sp-4);
}

.p-6 {
  padding: var(--sp-6);
}

.p-8 {
  padding: var(--sp-8);
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.rounded-full {
  border-radius: var(--radius-full);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-100 {
  z-index: 100;
}

/* ============================================================
   DESIGN ENHANCEMENTS v2.1
   Micro-animace · Typografie · Karty · Hero vylepšení
   ============================================================ */

/* ── GRADIENT TEXT ────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #60B4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO VYLEPŠENÍ ──────────────────────────────────────── */

/* Animované geometrické tvary na pozadí hero */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  animation: shapeFloat 1.2s ease forwards;
}

.hero__shape--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation-delay: 0.3s;
}

.hero__shape--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.05) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  animation-delay: 0.6s;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.05) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: 0.9s;
}

@keyframes shapeFloat {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Gradient border u hero badges / eyebrow */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(10, 132, 255, 0.08);
  border: 1px solid rgba(10, 132, 255, 0.2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  margin-bottom: var(--sp-5);
  animation: fadeInUp 0.5s ease both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0);
  }
}

/* Gradient hero title strong */
.hero__title strong {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #60B4FF 60%, #A8D8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: inherit;
}

/* Vylepšený CTA btn shimmer efekt */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.btn--primary:hover::after {
  left: 160%;
}

/* Glow na primary button hover */
.btn--primary:hover {
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.1), 0 8px 24px rgba(10, 132, 255, 0.25);
}

/* ── KARTY VYLEPŠENÍ ─────────────────────────────────────── */

/* Gradient border u karet při hoveru */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0), rgba(10, 132, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  /* Standard property for compatibility */
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.35s ease;
  pointer-events: none;
}

.card:hover::before {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.3), rgba(96, 180, 255, 0.15), rgba(10, 132, 255, 0));
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 24px rgba(10, 132, 255, 0.05);
  transform: translateY(-4px);
}

/* Card icon vylepšení — glow */
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover .card__icon {
  background: var(--clr-primary);
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.2);
  transform: scale(1.08);
}

.card:hover .card__icon svg {
  color: #fff;
}

/* ── GLASSMORPHISM PANEL ─────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(10, 132, 255, 0.35);
}

/* ── VYLEPŠENÉ REVEAL ANIMACE ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger s přirozenějším easing */
.stagger>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.19s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.26s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.33s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.40s;
}

/* ── TYPOGRAFIE VYLEPŠENÍ ────────────────────────────────── */

/* Velký display nadpis se zvýrazněným slovem */
.heading-accent {
  position: relative;
  color: var(--clr-primary);
}

.heading-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), transparent);
  border-radius: 2px;
}

/* Eyebrow label — vylepšený */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── MINI KARTY DIGITALIZACE (inline hovers) ─────────────── */
.digi-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.digi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, filter 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.digi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.digi-card:hover::after {
  opacity: 1;
}

.digi-card--featured {
  background: rgba(10, 132, 255, 0.1);
  border-color: rgba(10, 132, 255, 0.25);
}

.digi-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.12);
  filter: brightness(1.15);
}

.digi-card--featured:hover {
  transform: translateY(-6px) scale(1.02);
}

.digi-card__icon {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}

.digi-card__title {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.digi-card__price {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.digi-card__desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ── TILT EFEKT NA KARTÁCH (JS třída) ───────────────────── */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease;
  will-change: transform;
}

.tilt__inner {
  transform: translateZ(20px);
}

/* ── STATS COUNTER VYLEPŠENÍ ─────────────────────────────── */
.stat__value {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-black);
  font-family: var(--font-display);
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* ── SCROLL PROGRESS BAR ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), #60B4FF);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(10, 132, 255, 0.5);
}

/* ── OUTLINE TLAČÍTKO S GRADIENT BORDER ─────────────────── */
.btn--outline-gradient {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.btn--outline-gradient::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--clr-primary), #60B4FF);
  z-index: -1;
}

.btn--outline-gradient:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
}

/* ── HOVER UNDERLINE NAVIGACE ───────────────────────────── */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: left 0.25s ease, right 0.25s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  left: 0;
  right: 0;
}

/* ── FOKUS RING ───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── GLOW SEKCE HEADER ───────────────────────────────────── */
.section-header__glow {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(10, 132, 255, 0.08);
  border: 1px solid rgba(10, 132, 255, 0.2);
  margin-bottom: var(--sp-4);
}

/* ── ANIMACE HERO NUMBERS ────────────────────────────────── */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__stat {
  animation: countUp 0.6s ease both;
}

.hero__stat:nth-child(1) {
  animation-delay: 0.5s;
}

.hero__stat:nth-child(2) {
  animation-delay: 0.65s;
}

.hero__stat:nth-child(3) {
  animation-delay: 0.8s;
}

/* ── MEDIA QUERIES ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .hero__shape,
  .hero__badge,
  .scroll-progress,
  .btn--primary::after {
    animation: none !important;
    transition: none !important;
  }
}