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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000000;
  color: #f5f5f7;
  line-height: 1.7;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  text-align: center;
}

.btn-primary {
  background: #A855F7;
  color: #fff;
}

.btn-primary:hover {
  background: #9333ea;
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #A855F7;
  color: #A855F7;
}

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

.btn-full {
  width: 100%;
}

/* === BADGE === */
.badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A855F7;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
  border-radius: 999px;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.navbar-logo img {
  height: 32px;
  width: auto;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-blob {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #A855F7, #ffffff, #9333ea);
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  font-size: 1.25rem;
  color: #86868b;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
}

.hero-video-border {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(168, 85, 247, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-video span {
  font-size: 1.25rem;
  color: #86868b;
}

/* === SECTIONS === */
.section {
  padding: 120px 0;
}

.section-dark {
  background: #000000;
}

.section-alt {
  background: #0c0c0c;
}

.section-contact {
  background: #000000;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  margin-bottom: 16px;
  color: #f5f5f7;
}

.section-sub {
  text-align: center;
  color: #86868b;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* === GRID === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* === CARDS (Glassmorphism) === */
.card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f5f5f7;
}

.card p {
  color: #86868b;
  font-size: 1rem;
  line-height: 1.7;
}

/* === BENEFITS === */
.benefits {
  max-width: 600px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits li {
  font-size: 1.125rem;
  color: #f5f5f7;
}

.check {
  margin-right: 8px;
}

/* === STATS === */
.stats {
  max-width: 640px;
  margin: 48px auto 0;
  position: relative;
}

.stats .stat-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
}

.stat-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stat-number {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #A855F7 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #86868b;
  margin-top: 12px;
  font-size: 1rem;
}

/* === STEPS === */
.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #A855F7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f5f5f7;
}

.step p {
  color: #86868b;
  font-size: 1rem;
  line-height: 1.7;
}

/* === RATIBOŘ === */
.ratibor-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

blockquote {
  position: relative;
  border: none;
  padding: 0 60px;
  max-width: 720px;
  margin: 48px auto;
  text-align: center;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 8rem;
  color: #A855F7;
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}

blockquote p,
blockquote {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: #f5f5f7;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-weight: 400;
  color: #86868b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.photo-placeholder {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
}

.photo-placeholder span {
  color: #86868b;
}

.media-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.media-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86868b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-badge-logo {
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.media-logo-ct {
  height: 112px;
}

.media-loga-all {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: #f5f5f7;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form input::placeholder {
  color: #86868b;
}

.contact-form input:focus {
  border-color: rgba(168, 85, 247, 0.6);
}

.form-success {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  padding: 32px 0;
  color: #f5f5f7;
}

.contact-info {
  text-align: center;
  color: #86868b;
  margin-top: 32px;
  font-size: 0.95rem;
}

/* === FOOTER === */
.footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #86868b;
  font-size: 0.8rem;
}

.footer-right a {
  color: #86868b;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #A855F7;
}

/* === NAV LINK === */
.nav-link {
  color: #86868b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #f5f5f7;
}

/* === SECTION LABEL & SUBTITLE === */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A855F7;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #86868b;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 64px auto 0;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.08);
}

.pricing-featured {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.06);
}

.pricing-featured:hover {
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.15);
}

.pricing-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A855F7;
  font-weight: 600;
}

.pricing-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f5f5f7;
  margin: 0;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #f5f5f7;
  line-height: 1;
}

.pricing-unit {
  font-size: 1.25rem;
  color: #86868b;
  font-weight: 400;
}

.pricing-desc {
  color: #86868b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.pricing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.pricing-grant-label {
  font-size: 0.8rem;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.pricing-grants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grant-badge {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #A855F7;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-includes li {
  color: #f5f5f7;
  font-size: 1rem;
}

.pricing-btn {
  margin-top: auto;
  text-align: center;
}

.pricing-note {
  text-align: center;
  color: #86868b;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 40px auto 64px;
  line-height: 1.6;
}

/* === FAQ === */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.25);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  color: #f5f5f7;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-icon {
  color: #A855F7;
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #86868b;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 24px;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* === PROBLEM SECTION === */
.problem-list {
  display: flex;
  align-items: stretch;
  max-width: 900px;
  margin: 56px auto 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
}

.problem-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 40px 36px;
  transition: background 0.3s ease;
}

.problem-item:hover {
  background: rgba(168, 85, 247, 0.05);
}

.problem-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.problem-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f7;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.problem-text p {
  font-size: 0.9rem;
  color: #86868b;
  line-height: 1.6;
  margin: 0;
}

.problem-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
  align-self: stretch;
}

/* === FADE ANIMATION (Apple-style) === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 72px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-divider {
    display: none;
  }

  blockquote {
    padding: 0 20px;
    font-size: 1.2rem;
  }

  blockquote::before {
    font-size: 5rem;
    top: -20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 8px;
  }

  .hero-blob {
    width: 400px;
    height: 400px;
  }

  .problem-list {
    flex-direction: column;
  }
  .problem-divider {
    width: auto;
    height: 1px;
  }
  .problem-item {
    padding: 28px 24px;
  }
}

/* === DEMO SEKCE === */
.demo-wrapper {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.demo-wrapper::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.demo-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A855F7;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  font-weight: 600;
}

.demo-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.demo-subtitle {
  font-size: 1.1rem;
  color: #86868b;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.demo-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.demo-steps-vertical {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo-step-arrow-down {
  padding-left: 8px;
  font-size: 1.25rem;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f7;
  font-size: 0.95rem;
  font-weight: 500;
}

.demo-step-num {
  width: 28px;
  height: 28px;
  background: #A855F7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.demo-step-arrow {
  color: #A855F7;
  font-size: 1.25rem;
  opacity: 0.6;
}

.demo-cta {
  font-size: 1rem;
  padding: 14px 36px;
}

@media (max-width: 768px) {
  .demo-wrapper {
    padding: 48px 24px;
  }
  .demo-step-arrow {
    display: none;
  }
  .demo-steps {
    flex-direction: column;
    gap: 12px;
  }
}


/* ── PHOTO SLIDER ── */
.photo-slider {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.slider-track {
  position: relative;
  width: 100%;
}
.slider-img {
  width: 100%;
  display: none;
  border-radius: 16px;
  object-fit: cover;
  max-height: 500px;
}
.slider-img.active {
  display: block;
}
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: #fff;
}
