/* ============================================
   Callia — Campaign Page
   Premium. Dark. Czech. Mobile-first.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Reset ---- */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utility ---- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ---- Header / Nav ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-logo span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-cta {
  padding: 8px 20px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  opacity: 0.88;
}

/* ---- Hero ---- */

.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.2rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---- Video ---- */

.video-wrap {
  max-width: 380px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  aspect-ratio: 9/16;
  position: relative;
}

.video-wrap iframe,
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* ---- Startovac badge ---- */

.startovac-badge {
  margin-top: 2rem;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.startovac-badge:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
}

.startovac-badge strong {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Stats Bar ---- */

.stats-bar {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
}

/* Progress bar */

.progress-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 100px;
  transition: width 1s ease-out;
  min-width: 2px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.progress-labels .raised {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ---- Tier Cards ---- */

.tiers {
  padding: 5rem 0;
}

.tiers-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.tiers-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.tiers-heading p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.tier-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}

.tier-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.tier-card.highlighted {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, #151515 0%, #111111 100%);
}

.tier-card.highlighted::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tier-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tier-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.tier-price .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.tier-original-price {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.tier-discount {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tier-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tier-delivery {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.tier-delivery strong {
  color: rgba(255, 255, 255, 0.6);
}

.tier-perks {
  list-style: none;
  margin-bottom: 1.5rem;
}

.tier-perks li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0;
  padding-left: 1.3rem;
  position: relative;
}

.tier-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.tier-spots {
  font-size: 0.78rem;
  color: rgba(255, 165, 0, 0.8);
  font-weight: 500;
  margin-bottom: 1rem;
}

.tier-spots.sold-out {
  color: rgba(255, 100, 100, 0.8);
}

.tier-cta {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.tier-cta:active {
  transform: scale(0.98);
}

.tier-cta.primary {
  background: #fff;
  color: #0a0a0a;
}

.tier-cta.primary:hover {
  opacity: 0.88;
}

.tier-cta.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tier-cta:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ---- How It Works ---- */

.how-it-works {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ---- Use Cases ---- */

.use-cases {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.use-cases h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.use-cases > .container > p {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  margin-bottom: 3rem;
}

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

.case-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.75rem;
}

.case-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.case-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ---- Social Proof ---- */

.social-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.social-proof h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.proof-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.proof-item .quote {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.proof-item .source {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.proof-item .source strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ---- FAQ ---- */

.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: #fafafa;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  color: rgba(255, 255, 255, 0.8);
}

.faq-question .arrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

/* ---- CTA Banner ---- */

.cta-banner {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

.cta-banner .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-banner .btn-primary:hover {
  opacity: 0.88;
}

/* ---- Step link ---- */

.step-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.step-link:hover {
  color: #fff;
}

/* ---- Investor ---- */

.investor {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.investor h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.investor-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

.investor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.investor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.investor-link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---- Footer ---- */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer-social a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.15);
}

.footer p a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer p a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Success Modal ---- */

.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.success-overlay.show {
  display: flex;
}

.success-modal {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 460px;
  width: 100%;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.success-modal h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.success-modal p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.success-modal .btn-close {
  margin-top: 2rem;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.success-modal .btn-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- Loading spinner on buttons ---- */

.tier-cta.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stats-inner {
    gap: 2rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .proof-items {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }

  .tiers-heading h2,
  .how-it-works h2,
  .use-cases h2,
  .social-proof h2,
  .faq h2,
  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .tier-card {
    padding: 1.5rem 1.25rem;
  }

  .tier-price {
    font-size: 1.5rem;
  }
}
