/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0c1b3a;
  --blue-800: #1a3461;
  --blue-700: #1e4080;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --orange-500: #f97316;
  --green-500: #22c55e;
  --purple-500: #a855f7;
  --teal-500: #14b8a6;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn--primary:hover {
  background: var(--blue-700);
  box-shadow: 0 6px 28px rgba(37,99,235,.45);
  transform: translateY(-1px);
}
.btn--outline {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.12);
}
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.header.scrolled .nav__logo { color: var(--blue-800); }
.nav__logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(96,165,250,.7));
}
.nav__logo-sub { font-weight: 400; opacity: .8; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--white); }
.header.scrolled .nav__link { color: var(--gray-700); }
.header.scrolled .nav__link:hover { color: var(--blue-600); }
.nav__link--cta {
  background: var(--blue-600);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.nav__link--cta:hover { background: var(--blue-700) !important; transform: translateY(-1px); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .nav__hamburger span { background: var(--gray-800); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 45%, #0e3a6e 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(59,130,246,.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(6,182,212,.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96,165,250,.15);
  border: 1px solid rgba(96,165,250,.3);
  color: var(--blue-400);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-400);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero__title-accent {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section--dark {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section__label--light {
  color: var(--cyan-400);
  background: rgba(6,182,212,.1);
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gray-900);
  line-height: 1.2;
}
.section__header--light .section__title { color: var(--white); }
.section__subtitle {
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section__subtitle--light { color: rgba(255,255,255,.6); }

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.service-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200, #bfdbfe);
}
.service-card__icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon--blue   { background: #dbeafe; color: var(--blue-600); }
.service-card__icon--cyan   { background: #cffafe; color: #0891b2; }
.service-card__icon--orange { background: #ffedd5; color: #ea580c; }
.service-card__icon--green  { background: #dcfce7; color: #16a34a; }
.service-card__icon--purple { background: #f3e8ff; color: #9333ea; }
.service-card__icon--teal   { background: #ccfbf1; color: #0d9488; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.service-card p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-card__list li {
  font-size: .88rem;
  color: var(--gray-500);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   WHY US
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.why__card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.why__card.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}
.why__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.why__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.why__card p {
  color: var(--gray-600);
  font-size: .92rem;
  line-height: 1.65;
}

/* ============================================
   PRICING
   ============================================ */
.pricing__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pricing__tab {
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing__tab:hover { background: var(--blue-50); color: var(--blue-600); }
.pricing__tab--active {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.pricing__panel { display: none; }
.pricing__panel--active { display: block; }
.pricing__table-wrap { overflow-x: auto; }
.pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.pricing__table thead {
  background: var(--blue-900);
  color: var(--white);
}
.pricing__table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pricing__table th:last-child { text-align: right; white-space: nowrap; }
.pricing__table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  line-height: 1.5;
}
.pricing__table td:last-child { text-align: right; }
.pricing__table tbody tr:hover { background: var(--blue-50); }
.pricing__table .price {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 1rem;
  white-space: nowrap;
}
.pricing__table .price::after { content: ' Kč'; font-weight: 400; font-size: .85rem; color: var(--gray-500); }
.pricing__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-500);
  font-size: .88rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing__note svg { flex-shrink: 0; color: var(--blue-500); margin-top: 2px; }

/* ============================================
   CONTACT
   ============================================ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact__item:last-child { border-bottom: none; }
.contact__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  flex-shrink: 0;
}
.contact__item h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}
.contact__item a, .contact__item span {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact__item a:hover { color: var(--cyan-400); }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form__group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form__group input,
.form__group select,
.form__group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
}
.form__group input.error,
.form__group textarea.error { border-color: #ef4444; }
.form__group select { appearance: none; cursor: pointer; }
.form__group textarea { resize: vertical; min-height: 120px; }
.form__error {
  font-size: .8rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 18px;
}
.form__gdpr { margin-bottom: 24px; }
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.5;
  position: relative;
}
.form__checkbox input { position: absolute; opacity: 0; }
.form__checkmark {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form__checkbox input:checked + .form__checkmark {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.form__checkbox input:checked + .form__checkmark::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}
.form__success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #dcfce7;
  color: #15803d;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: 16px;
}
.form__success.show { display: flex; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
}
.footer__content {
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer__brand .nav__logo { color: var(--white); margin-bottom: 16px; }
.footer__brand p { font-size: .9rem; line-height: 1.7; }
.footer__links h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__links span {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: .82rem; }

/* ============================================
   AOS ANIMATION DELAYS
   ============================================ */
[data-aos]:nth-child(2) { transition-delay: .08s; }
[data-aos]:nth-child(3) { transition-delay: .16s; }
[data-aos]:nth-child(4) { transition-delay: .24s; }
[data-aos]:nth-child(5) { transition-delay: .32s; }
[data-aos]:nth-child(6) { transition-delay: .40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__list {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }
  .nav__list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__list li { border-bottom: 1px solid var(--gray-100); }
  .nav__list li:last-child { border-bottom: none; }
  .nav__link { color: var(--gray-700) !important; display: block; padding: 14px 0; font-size: 1rem; }
  .nav__link--cta { display: inline-flex; margin-top: 8px; }
  .nav__hamburger { display: flex; }

  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }

  .footer__content { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .pricing__tabs { gap: 6px; }
  .pricing__tab { padding: 8px 14px; font-size: .85rem; }
  .contact__form { padding: 28px 20px; }
  .footer__content { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

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