/* Base colors from your spec */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #14181f;
  color: #fafafa;
  /* reserve space so content doesn't sit under the sticky bar on short pages */
  padding-bottom: 84px;
}

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

/* Hero */
header.hero {
  text-align: center;
  padding: 0px 20px 0px; /* reduced bottom padding slightly */
}

.hero .logo {
  width: 260px;           /* was 200px — make it bigger */
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 0.2rem;  /* was 1rem — tighter spacing below logo */
}

@media (max-width: 480px) {
  .hero .logo {
    width: 200px;        /* was 160px — bigger on mobile too */
    margin-bottom: 0rem;
  }
}

/* Sections */
section { padding: 40px 20px; text-align: center; }
h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }

/* Features */
.features .feature-list { display: grid; gap: 1.8rem; }
.features .feature img { width: 50px; margin: 0 auto 0.5rem; }
.features .feature h3 { margin: 0.4rem 0; font-size: 1.1rem; }

/* Demo */
.demo .demo-media { margin-top: 1rem; }
.demo video, .demo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Pricing */
.trial-msg { margin-top: 0.75rem; color: #9aa1aa; font-size: 0.9rem; }

/* Footer (you said footer colors can differ) */
footer {
  text-align: center;
  padding: 20px;
  background: #151718;
  font-size: 0.85em;
  color: #9aa1aa;
}

/* ---------- Floating CTA BAR + BUTTON ---------- */

/* Full-width background bar behind the CTA */
.floating-cta-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: #14181f; /* matches page background */
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  padding: 12px max(16px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom, 0)) max(16px, env(safe-area-inset-right));
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .2s ease, visibility .2s ease;
}

/* Hide the bar entirely when pricing is visible */
.floating-cta-wrap.hide { opacity: 0; visibility: hidden; pointer-events: none; }

/* The CTA button sits inside the bar */
.floating-cta {
  position: static; /* no fixed positioning when inside the bar */
  transform: none;
  background: #21a0ef;
  color: #fafafa;
  border: none;
  padding: 14px 22px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease;
}

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

/* Desktop: slightly slimmer bar spacing */
@media (min-width: 900px) {
  body { padding-bottom: 72px; }
  .floating-cta-wrap {
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0)) 24px;
  }
}

/* ===== Legal pages (privacy / terms) ===== */
.hero .hero-content.small {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  padding: 28px 20px 0;
}

.legal-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
  text-align: left;
}

/* keep sections centered elsewhere, but left-align inside legal container */
.legal-content section {
  padding: 18px 0;
  text-align: left;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  text-align: left;
  margin: 0 0 .6rem;
}

.legal-content ul {
  list-style: disc outside;
  margin: .4rem 0 .9rem 1.25rem;
  padding-left: 1.25rem;
}

.legal-content li { margin: .25rem 0; }

.legal-content a { color: #21a0ef; text-decoration: underline; }
.legal-content a:hover { opacity: 0.9; }

.divider {
  border: 0;
  height: 1px;
  background: #2a2f38;
  margin: 24px 0;
}

@media (max-width: 600px) {
  .hero .hero-content.small { padding: 20px 16px 0; }
  .legal-content { padding: 24px 16px; }
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 24, 31, 0.7);
  color: #fafafa;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(20, 24, 31, 0.9);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.carousel-dots .dot:hover {
  background: rgba(250, 250, 250, 0.6);
}

.carousel-dots .dot.active {
  background: #21a0ef;
}

@media (max-width: 600px) {
  .carousel-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
  
  .carousel-btn.prev {
    left: 8px;
  }
  
  .carousel-btn.next {
    right: 8px;
  }
}