/* ==========================================================
   AppProfileSafe — Custom styles (site-custom.css)
   Cookie banner, utility overrides, and extracted inline styles.
   ========================================================== */

/* ---- Cookie Overlay ---- */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 2998;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: none;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--white);
  border: 1px solid var(--cloud-dark);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 480px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  display: none;
}

.cookie-banner__title {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.cookie-banner__text {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 6px;
}

.cookie-banner__info {
  margin: 12px 0;
}

.cookie-banner__info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate);
}

.cookie-banner__check {
  color: var(--green);
  font-weight: 700;
}

.cookie-banner__strong {
  color: var(--navy);
}

.cookie-banner__buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cookie-banner__btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner__btn--accept {
  border: none;
  background: var(--cyan);
  color: #fff;
}

.cookie-banner__btn--reject {
  border: 1px solid var(--cloud-dark);
  background: transparent;
  color: var(--slate);
}

.cookie-banner__hint {
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 10px;
  text-align: center;
}

/* ---- Cookie Reopen Button ---- */
.cookie-reopen {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cloud-dark);
  background: var(--white);
  color: var(--slate);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
}


/* ---- Frequently used layout helpers ---- */

/* Hero bottom padding (used on most pages) */
.hero--compact {
  padding-bottom: var(--space-3xl);
}

/* Section dark centered (CTA sections) */
.section--dark.text-center,
.section--dark .text-center {
  text-align: center;
}

/* Footer bottom centered (after email removal) */
.footer__bottom--center {
  justify-content: center;
}

/* Grid gap variants */
.grid--gap-sm  { gap: var(--space-lg);  }
.grid--gap-md  { gap: var(--space-2xl); }
.grid--gap-lg  { gap: var(--space-3xl); }
.grid--align-start { align-items: start; }

/* Card accent borders */
.card--accent-cyan   { border-color: var(--cyan);   }
.card--accent-yellow { border-color: var(--yellow); }
.card--accent-red    { border-color: var(--red);    }
.card--accent-green  { border-color: var(--green);  }

/* Table styles (comparison, summary, pricing) */
.table-clean {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-clean tr {
  border-bottom: 1px solid var(--cloud-dark);
}

.table-clean tr:last-child {
  border-bottom: none;
}

.table-clean td,
.table-clean th {
  padding: 12px 16px;
}

.table-clean .td-label {
  font-weight: 600;
  color: var(--navy);
  width: 40%;
}

.table-clean .td-value {
  color: var(--slate);
}

.table-clean .td-right {
  text-align: right;
  white-space: nowrap;
}

.table-clean .td-center {
  text-align: center;
}

.table-clean .td-bold {
  font-weight: 700;
}

.table-clean .td-green {
  color: var(--green);
  font-weight: 700;
}

.table-clean .tr-highlight {
  background: var(--green-light);
}

/* Stat / number blocks */
.stat-number {
  font-size: 2rem;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

/* Icon blocks above headings */
.icon-block {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.icon-block--green  { color: var(--green);  }
.icon-block--yellow { color: var(--yellow); }
.icon-block--red    { color: var(--red);    }
.icon-block--cyan   { color: var(--cyan);   }

/* Feature heading colors */
.heading--cyan  { color: var(--cyan-light); margin-bottom: var(--space-xs); }
.heading--green { color: var(--green); }
.section--dark .heading--green { color: var(--green); }
.heading--red   { color: var(--red); }

/* Small body text */
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }

/* Lead paragraph variants */
.lead--narrow {
  max-width: 480px;
  margin: var(--space-md) auto var(--space-xl);
}

.lead--wide {
  max-width: 600px;
  margin: var(--space-md) auto 0;
}


/* ===== CAROUSEL ===== */
.carousel-section { padding: var(--space-3xl) 0; }
.carousel-header { text-align: center; margin-bottom: 56px; }
.carousel-header .overline { margin-bottom: var(--space-sm); }
.carousel-header h2 { margin-top: 12px; }
.carousel-header p { max-width: 700px; margin: 16px auto 0; font-size: 1.05rem; color: var(--slate); }
.carousel { position: relative; overflow: hidden; }
.carousel-track-wrapper { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel-slide { min-width: 100%; padding: 0 24px; }
.slide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; background: var(--white); border: 1px solid var(--cloud-dark); border-radius: var(--radius-lg); padding: 48px; max-width: var(--max-w); margin: 0 auto; }
@media (max-width: 768px) { .slide-inner { grid-template-columns: 1fr; gap: 32px; padding: 28px; } }
.slide-label { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); margin-bottom: 12px; }
.slide-label span { font-size: 1.2rem; }
.slide-inner h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--navy); }
.slide-inner > div:first-child p { font-size: .95rem; color: var(--slate); margin-bottom: 24px; line-height: 1.7; }
.slide-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.slide-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #475569; line-height: 1.5; }
.slide-features li::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
.slide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: .85rem; font-weight: 600; color: var(--cyan); transition: gap .2s; }
.slide-link:hover { gap: 10px; }
.slide-side { background: var(--cloud); border: 1px solid var(--cloud-dark); border-radius: var(--radius-md); padding: 28px; }
.slide-side h4 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); margin-bottom: 16px; }
.slide-side-table { width: 100%; font-size: .85rem; border-collapse: collapse; }
.slide-side-table th { text-align: left; padding: 8px 0; color: var(--slate); font-weight: 500; border-bottom: 1px solid var(--cloud-dark); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.slide-side-table td { padding: 10px 0; border-bottom: 1px solid var(--cloud-dark); color: #475569; }
.slide-side-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 12px; background: var(--cyan-glow); border-radius: var(--radius-sm); font-size: .8rem; color: var(--navy); line-height: 1.5; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 40px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cloud-dark); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.carousel-dot.active { background: var(--cyan); width: 32px; border-radius: 100px; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--cloud-dark); color: var(--navy); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; font-size: 1.1rem; z-index: 10; }
.carousel-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }
