/* ============================================================
   LVN360 — Editorial Landing Page Stylesheet
   Design Reference: EMSense-style advertorial layout
   Product: Beurer FM 120 | Geo: UK | Language: en-GB
   ============================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  --c-bg:         #FFFFFF;
  --c-bg-page:    #FFFFFF;
  --c-bg-box:     #F7F7F7;
  --c-primary:    #2BAE66;       /* Green CTA — matches reference */
  --c-primary-dk: #239B56;
  --c-primary-hover: #1E8449;
  --c-accent:     #E74C3C;       /* Red for discount badges/urgency */
  --c-green:      #27AE60;       /* Green ticks */
  --c-red:        #E74C3C;       /* Red crosses */
  --c-text:       #1A1A1A;
  --c-text-sec:   #444444;
  --c-text-muted: #888888;
  --c-border:     #E8E8E8;
  --c-gold:       #F5A623;       /* Gold for star ratings */
  --c-link:       #2980B9;
  --article-width: 680px;
  --transition:   all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--c-bg-page);
  color: var(--c-text);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

a {
  color: var(--c-link);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #1A5276;
}

/* ── TOP BAR (NAVBAR) — White, centered like reference ── */
.top-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.top-bar.is-sticky {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.top-bar-inner {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.top-bar-logo {
  height: 32px;
  width: auto;
  display: block;
  pointer-events: auto;
}

.top-bar-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  color: #7A8DA6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── COOKIE BAR ── */
.cookie-bar {
  background: #FFF9E6;
  border-top: 1px solid #F0E5B8;
  padding: 12px 20px;
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.cookie-bar.is-visible {
  display: block;
}

.cookie-bar-inner {
  max-width: var(--article-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-bar-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #6D5F00;
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}

.cookie-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn--accept {
  background: #333;
  color: #FFF;
}

.cookie-btn--accept:hover {
  background: #111;
}

.cookie-btn--decline {
  background: transparent;
  color: #6D5F00;
  border: 1px solid #C8B560;
}

.cookie-btn--decline:hover {
  background: #F5EDCC;
}

/* ── ARTICLE WRAPPER ── */
.article-wrapper {
  max-width: var(--article-width);
  margin: 0 auto;
  background: var(--c-bg);
  padding: 0 20px;
}

/* ── ARTICLE HEADER ── */
.article-header {
  padding-top: 28px;
  padding-bottom: 6px;
}

.article-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.article-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: 14px;
}

.article-byline {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.disclosure {
  background: #FAFAFA;
  border: 1px solid #EEEEEE;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 6px;
}

.disclosure p {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-style: italic;
  color: #888;
  line-height: 1.5;
}

/* ── ARTICLE BODY ── */
.article-body {
  padding-bottom: 20px;
}

.article-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  margin-top: 16px;
  margin-bottom: 16px;
}

.article-body .article-note {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--c-text-muted);
  font-style: italic;
  margin-bottom: 8px;
}

/* ── ARTICLE HEADINGS ── */
.article-h2 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.35;
  margin-top: 32px;
  margin-bottom: 14px;
}

/* ── ARTICLE IMAGES ── */
.article-img-wrap {
  margin: 24px 0;
  overflow: hidden;
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── COMPARISON BOX ── */
.compare-box {
  background: #F7F7F7;
  border-left: 4px solid var(--c-primary);
  padding: 20px 20px;
  margin: 24px 0;
}

.compare-intro {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare-list li {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  padding: 5px 0;
  line-height: 1.5;
}

.compare-no {
  color: var(--c-red);
}

.compare-yes {
  color: var(--c-green);
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--c-primary);
  padding: 16px 20px;
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #333;
  background: #F9F9F9;
  margin: 28px 0;
  line-height: 1.6;
}

.pull-quote cite {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-top: 10px;
}

/* ── FEATURE LIST ── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.feature-list li {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #F0F0F0;
  color: var(--c-text);
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ── CTA BUTTONS — GREEN like reference ── */
.cta-wrap {
  margin: 28px 0;
  text-align: center;
}

.cta-wrap--mid {
  margin: 32px 0;
}

.cta-btn {
  display: block;
  width: 100%;
  background: var(--c-primary);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(43, 174, 102, 0.3);
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--c-primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 174, 102, 0.4);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(43, 174, 102, 0.3);
}

.cta-btn--orange {
  background: var(--c-primary);
  box-shadow: 0 4px 14px rgba(43, 174, 102, 0.3);
}

.cta-btn--orange:hover {
  background: var(--c-primary-hover);
  box-shadow: 0 6px 20px rgba(43, 174, 102, 0.4);
}

.cta-btn--large {
  font-size: 18px;
  padding: 18px 28px;
}

.cta-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* ── INLINE CTA LINK (reference style) ── */
.inline-cta {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 24px 0;
}

.inline-cta a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inline-cta a:hover {
  color: var(--c-primary-hover);
  text-decoration: underline;
}

/* ── CTA URGENCY TEXT ── */
.cta-urgency {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--c-accent);
  margin-top: 12px;
}

/* ── REVIEW ITEMS ── */
.review-item {
  border-top: 1px solid var(--c-border);
  padding-top: 18px;
  margin-top: 18px;
}

.review-stars {
  color: var(--c-gold);
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.review-text {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 15px;
  color: #333;
  line-height: 1.65;
}

.review-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ── AVAILABILITY BOX ── */
.availability-box {
  border: 2px solid var(--c-primary);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  gap: 14px;
  background: #F0FFF4;
  margin: 28px 0;
  align-items: flex-start;
}

.availability-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.availability-content {
  flex: 1;
}

.availability-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.availability-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--c-text-sec);
  line-height: 1.5;
}

/* ── DISCOUNT SECTION ── */
.discount-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 32px 0;
}

.discount-badge {
  width: 90px;
  height: 90px;
  background: var(--c-accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(231, 76, 60, 0.3);
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.discount-pct {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.discount-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  text-align: center;
  line-height: 1.3;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.discount-section .cta-wrap {
  width: 100%;
  margin: 0;
}

/* ── SPECS TABLE ── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  margin: 18px 0 24px;
}

.specs-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.4;
}

.specs-table tr:nth-child(even) td {
  background: #FAFAFA;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 45%;
  color: #333;
}

.specs-table td:last-child {
  color: var(--c-text-sec);
}

/* ── FINAL CTA SECTION ── */
.cta-wrap--final {
  background: #F7F7F7;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  margin: 36px 0;
}

.cta-headline {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 6px;
}

.cta-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 14px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: var(--c-green);
  font-weight: 700;
}

/* ── UPDATE / URGENCY BOX ── */
.update-box {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 24px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #5D4037;
  line-height: 1.5;
}

.update-box strong {
  color: #E65100;
}

/* ── FOOTER ── */
.article-footer {
  background: #1A1A1A;
  padding: 28px 20px;
  max-width: var(--article-width);
  margin: 0 auto;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  line-height: 1.6;
  color: #999;
}

.footer-brand {
  color: #CCC;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 12px;
}

.footer-nav {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.footer-nav a {
  color: #999;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-nav span {
  color: #555;
}

.footer-disclosure {
  margin-top: 12px;
  font-style: italic;
  font-size: 10px;
  color: #666;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.footer-copy {
  margin-top: 8px;
  color: #555;
  font-size: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .article-wrapper {
    padding: 0 16px;
  }

  .cookie-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-bar-actions {
    justify-content: center;
  }

  .footer-nav {
    gap: 4px;
  }

  .trust-strip {
    gap: 10px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .article-title {
    font-size: 21px;
  }

  .article-h2 {
    font-size: 18px;
  }

  .article-body p {
    font-size: 15px;
  }

  .article-wrapper {
    padding: 0 14px;
  }

  .article-header {
    padding-top: 20px;
  }

  .cta-btn {
    font-size: 15px;
    padding: 14px 18px;
  }

  .cta-btn--large {
    font-size: 16px;
    padding: 16px 22px;
  }

  .cta-wrap--final {
    padding: 22px 14px;
  }

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

  .trust-strip {
    gap: 8px;
    font-size: 11px;
  }

  .availability-box {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .compare-box {
    padding: 14px 16px;
  }

  .pull-quote {
    font-size: 15px;
    padding: 12px 16px;
  }

  .specs-table {
    font-size: 12px;
  }

  .specs-table td {
    padding: 7px 8px;
  }

  .specs-table td:first-child {
    width: 42%;
  }

  .discount-badge {
    width: 80px;
    height: 80px;
  }

  .discount-pct {
    font-size: 20px;
  }

  .review-text {
    font-size: 14px;
  }

  .feature-list li {
    font-size: 14px;
  }

  .top-bar-brand {
    font-size: 16px;
  }
}

/* Desktop enhancement */
@media (min-width: 769px) {
  .article-title {
    font-size: 28px;
  }

  .article-h2 {
    font-size: 22px;
  }
}
