/* ============================================
   ZIVO COFFEE — LANDING PAGE
   Mobile-first stylesheet
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  padding-top: 52px;
  padding-bottom: 80px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ============================================
   STICKY TOP BAR
   ============================================ */
.sticky-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgb(61, 52, 139);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 52px;
  gap: 10px;
}

.sticky-bar-left {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex: 1;
  padding-left: 55px;
}

.spring-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.offer-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.9;
}

.sticky-bar-timer {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 5px 8px;
  gap: 2px;
  flex-shrink: 0;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 26px;
}

.timer-num {
  font-size: 15px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-label {
  font-size: 7px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}

.timer-colon {
  font-size: 15px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 1px;
  margin-bottom: 8px;
  line-height: 1;
}

/* ============================================
   STICKY BOTTOM BAR (mobiel only)
   ============================================ */
.sticky-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #fff;
  padding: 12px 16px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sticky-bottom-bar.visible {
  display: flex;
}

.sticky-bottom-btn {
  display: block;
  width: 100%;
  background: rgb(61, 52, 139);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  padding: 15px 24px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(61, 52, 139, 0.35);
}

.sticky-bottom-badge {
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

@media (min-width: 600px) {
  .sticky-bottom-bar {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.main-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.header-section {
  padding: 24px 0 20px;
}

.main-headline {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0f0f0;
}

.author-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

.author-name {
  color: #1a1a1a;
}

.author-date {
  color: #888;
  font-size: 12px;
}

.read-this-note {
  background: rgb(255, 248, 241);
  border-left: 4px solid #e8a87c;
  padding: 12px 16px;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.compare-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.compare-labels {
  flex: 1.15;
}

.compare-header-empty {
  padding: 10px 6px;
  min-height: 56px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.compare-header {
  padding: 8px 6px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
}

.compare-header-green {
  background: rgb(232, 255, 255);
}

.compare-header-red {
  background: rgb(255, 245, 245);
  color: #c0392b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.compare-logo {
  width: 70px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.compare-row-label {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 46px;
  background: #fff;
}

.compare-row-label:last-child {
  border-bottom: none;
}

.compare-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.compare-cell {
  padding: 8px 5px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.compare-cell:last-child {
  border-bottom: none;
}

.green-col {
  background: rgb(232, 255, 255);
}

.red-col {
  background: rgb(255, 245, 245);
  color: #777;
}

.compare-value {
  font-size: 14px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
}

.compare-sub {
  font-size: 9px;
  color: #777;
  font-weight: 400;
  margin-top: 1px;
}

.compare-value-sm {
  font-size: 12px;
  font-weight: 700;
  color: #777;
}

.compare-sub-sm {
  font-size: 8px;
  color: #aaa;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
}

.face-icon {
  width: 18px;
  height: 18px;
}

.tldr-text {
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
}

/* ============================================
   LISTICLE SECTION
   ============================================ */
.listicle-section {
  padding: 12px 0 24px;
}

.listicle-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.listicle-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.listicle-media {
  position: relative;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #f5f5f5;
  width: 100%;
  aspect-ratio: 4/3;
}

.listicle-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.listicle-media::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.listicle-media::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent rgb(61, 52, 139);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.25s;
}

.listicle-media.playing::before,
.listicle-media.playing::after {
  opacity: 0;
}

.media-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(61, 52, 139);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 9px 14px;
  letter-spacing: 0.01em;
  z-index: 1;
  text-align: center;
}

.listicle-content {
  padding: 16px 0 0;
}

.listicle-content h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (max-width: 599px) {
  .listicle-content {
    display: contents;
  }

  .listicle-content h2 {
    order: -1;
    margin-bottom: 10px;
  }

  .listicle-media {
    border-radius: 14px;
  }

  .listicle-content p:first-of-type {
    margin-top: 14px;
  }
}

.listicle-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.italic-note {
  font-style: italic;
  color: #666 !important;
}

.inline-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #3d348b;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  margin-top: 4px;
  transition: color 0.2s;
}

.inline-cta-link:hover {
  color: #2a2560;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: rgb(253, 253, 231);
  border-radius: 20px;
  padding: 32px 20px;
  margin: 0 -16px 32px;
  text-align: center;
}

.cta-headline {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-subtext {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.cta-box {
  border: 2px dashed #c8c87a;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.cta-badge-top {
  background: rgb(61, 52, 139);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
  letter-spacing: 0.06em;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  gap: 20px;
}

.cta-product-img {
  background: rgb(238, 236, 255);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-img {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}

.cta-offer {
  width: 100%;
  text-align: center;
}

.cta-gift-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gift-icon-img {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.cta-offer-headline {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.red-text {
  color: #e63946;
}

.cta-offer-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.cta-button {
  display: block;
  background: rgb(42, 37, 82);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 17px 24px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(42, 37, 82, 0.3);
}

.cta-button:hover {
  background: rgb(61, 52, 139);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 37, 82, 0.35);
}

.deal-timer {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.deal-countdown {
  color: #e63946;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
  background: rgb(255, 246, 238);
  padding: 9px 14px;
  border-radius: 8px;
}

.badge-sellout strong {
  color: #e63946;
}

.badge-divider {
  color: #ddd;
}

.cta-guarantee {
  font-size: 13px;
  color: #666;
}

/* ============================================
   FOOTER
   ============================================ */
.page-footer {
  background: #fff;
  padding: 0 16px 24px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-divider {
  height: 1px;
  background: #ebebeb;
  margin-bottom: 16px;
}

.footer-bottom {
  background: rgb(61, 52, 139);
  color: #fff;
  font-size: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  border-radius: 10px;
  text-align: center;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.9;
}

.footer-bottom a:hover {
  opacity: 1;
}

.footer-sep {
  opacity: 0.4;
}

/* ============================================
   TABLET BREAKPOINT (600px+)
   ============================================ */
@media (min-width: 600px) {
  .main-headline {
    font-size: 32px;
  }

  .listicle-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .listicle-media {
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    border-radius: 14px;
    aspect-ratio: 3/4;
  }

  .listicle-content {
    padding: 4px 0 0;
    flex: 1;
  }

  .listicle-content h2 {
    font-size: 20px;
  }

  .cta-section {
    margin: 0 0 32px;
    border-radius: 20px;
  }

  .cta-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 24px;
  }

  .cta-product-img {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
  }

  .cta-offer {
    text-align: left;
  }

  .cta-gift-line {
    justify-content: flex-start;
  }

  .cta-badges {
    justify-content: flex-start;
  }

  .cta-guarantee {
    text-align: left;
  }
}

/* ============================================
   DESKTOP BREAKPOINT (760px+)
   ============================================ */
@media (min-width: 760px) {
  .sticky-top-bar {
    justify-content: center;
    gap: 28px;
  }

  .sticky-bar-left {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    text-align: center;
  }

  .spring-text {
    font-size: 20px;
  }

  .offer-text {
    font-size: 15px;
    font-weight: 700;
  }

  .main-headline {
    font-size: 43px;
  }

  .listicle-media {
    width: 320px;
    min-width: 320px;
    aspect-ratio: 1/1;
  }

  .listicle-content h2 {
    font-size: 22px;
  }

  .cta-headline {
    font-size: 26px;
  }

  .cta-offer-headline {
    font-size: 26px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .compare-row-label {
    font-size: 18px;
  }

  .compare-value {
    font-size: 18px;
  }

  .compare-logo {
    width: 80px;
  }

  .listicle-content p {
    font-size: 17px;
  }

  .timer-num {
    font-size: 20px;
  }

  .timer-label {
    font-size: 10px;
    color: #1a1a1a;
  }
}