/* ============================================
   DERILA ERGO — STYLESHEET
   Faithfully converted from Figma design
   Colors, fonts, spacing all from source
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #FAFAF8;
  color: #3A3A3A;
  font-size: 17px;
  line-height: 30.6px;
  padding-top: 48px; /* offset for sticky bar */
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- STICKY BAR --- */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1A2744;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 20px;
  min-height: 48px;
}
.sticky-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 22.1px;
  color: #FFFFFF;
}
.sticky-text strong { font-weight: 700; }
.sticky-btn {
  background: #E8882A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}
.sticky-btn:hover { background: #d07320; }

/* --- MASTHEAD --- */
.masthead {
  background: #1A2744;
  border-bottom: 3px solid #D4A017;
  padding: 13px 20px 12px;
}
.masthead-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.masthead-publication {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 18.7px;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: #D4A017;
}
.masthead-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 44.2px;
  letter-spacing: 0.0385em;
  color: #FFFFFF;
}
.masthead-meta {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20.4px;
  color: rgba(255, 255, 255, 0.55);
}

/* --- HERO --- */
.hero {
  position: relative;
  background: linear-gradient(173deg, rgba(14,26,53,1) 0%, rgba(26,39,68,1) 59%, rgba(36,52,89,1) 100%);
  overflow: hidden;
  padding: 64px 20px 56px;
}
.hero-img {
  position: absolute;
  top: 0; right: -10%;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: luminosity;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid #D4A017;
  border-radius: 20px;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 20.4px;
  color: #FFBF16;
  margin-bottom: 18px;
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  color: #FFBF16;
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.btn-primary {
  display: inline-block;
  background: #E8882A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 30.6px;
  padding: 14px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(232,136,42,0.35);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover { background: #d07320; transform: translateY(-1px); }
.hero-cta { margin-bottom: 14px; }
.hero-trust {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 22.1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 8px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 100px;
  padding: 8px 12px 8px 0;
}
.hero-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin-right: 12px;
  align-self: stretch;
  min-height: 44px;
  flex-shrink: 0;
}
.stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 37.4px;
  color: #FFBF16;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20.4px;
  color: rgba(255,255,255,0.55);
}

/* --- SECTIONS --- */
.section { padding: 64px 20px; }
.section-white { background: #FFFFFF; }
.section-gray { background: #F2F4F8; }

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

h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 43.2px;
  color: #1A2744;
  margin-bottom: 11px;
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  line-height: 34px;
  color: #666666;
  margin-bottom: 17px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 18.7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8882A;
  margin-bottom: 8px;
}

.body-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 30.6px;
  color: #3A3A3A;
  margin-bottom: 19px;
}
.body-text p strong {
  font-weight: 700;
  color: #1A2744;
}
.body-text p em { font-style: italic; }

.section-photo {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
  object-fit: cover;
}

/* --- CALLOUT BLOCK --- */
.callout {
  display: block;
  background: #1A2744;
  border-left: 5px solid #D4A017;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 28px 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 33px;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}
.callout em {
  font-style: italic;
  color: #FFBF16;
}

/* --- FEATURE CARDS --- */
.feature-cards {
  display: flex;
  gap: 24px;
  margin-top: 29px;
  flex-wrap: wrap;
}
.feature-card {
  flex: 1;
  min-width: 200px;
  background: #F2F4F8;
  border: 1px solid #1A2744;
  border-top: 4px solid #1A2744;
  border-radius: 12px;
  padding: 28px 22px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 28.9px;
  color: #1A2744;
  margin-bottom: 8px;
}
.feature-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  color: #666666;
}

/* --- SOCIAL PROOF BAR --- */
.proof-bar {
  background: #1A2744;
  padding: 40px 20px;
}
.proof-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 12px;
}
.proof-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 40px;
  font-style: italic;
  color: #FFBF16;
}
.proof-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 18.2px;
  color: rgba(255,255,255,0.65);
}
.proof-divider {
  width: 1px;
  min-height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 4px;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 17px;
}
.testimonial-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #DDE2EC;
  border-radius: 12px;
  padding: 27px 24px 28px;
  overflow: hidden;
}
.stars {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 0.125em;
  color: #F5A623;
  margin-bottom: 13px;
}
.review-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  line-height: 26.25px;
  color: #444444;
  margin-bottom: 12px;
}
.reviewer-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 22.1px;
  color: #1A2744;
}
.reviewer-meta {
  font-weight: 400;
  color: #666666;
}
.quote-deco {
  position: absolute;
  top: 9px;
  left: 19px;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 72px;
  color: #000000;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.testimonials-photo {
  margin-top: 28px;
  height: 300px;
}

/* --- FAQ --- */
.faq-list {
  margin-top: 16px;
  border-top: 1px solid #DDE2EC;
}
.faq-item {
  border-bottom: 1px solid #DDE2EC;
  cursor: pointer;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 23.4px;
  color: #1A2744;
  user-select: none;
}
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: #1A2744;
  flex-shrink: 0;
  transition: transform 0.2s;
  width: 28px;
  height: 28px;
  border: 1px solid #1A2744;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #3A3A3A;
}
.faq-item.open .faq-answer { display: block; }

/* --- GUARANTEE --- */
.guarantee-card {
  background: #FFFFFF;
  border: 2px solid #14A820;
  border-radius: 14px;
  padding: 36px 32px;
  margin-top: 16px;
}
.guarantee-icon {
  margin-bottom: 16px;
}
.guarantee-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 40.8px;
  color: #14A820;
  margin-bottom: 12px;
}
.guarantee-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #444444;
  margin-bottom: 14px;
}
.guarantee-bold {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #444444;
}

/* --- OFFER / CTA SECTION --- */
.offer-section {
  background: #1A2744;
  padding: 64px 20px;
}
.offer-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.offer-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 12px;
}
.offer-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 43.2px;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.offer-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 34px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.offer-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 29.75px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.product-card {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  text-align: left;
  margin-bottom: 32px;
}
.product-card-header {
  padding: 24px 28px 16px;
}
.product-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  color: #1A2744;
  margin-bottom: 4px;
}
.product-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 26.85px;
  color: #666666;
}
.product-card-body {
  padding: 0 28px 28px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.price-old {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: #FE3B31;
  text-decoration: line-through;
  opacity: 0.8;
}
.price-new {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  color: #15AA42;
}
.product-img-wrap {
  position: relative;
  margin-bottom: 20px;
}
.product-img {
  width: 100%;
  border-radius: 13px;
  object-fit: cover;
  max-height: 320px;
}
.save-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(232,42,42,0.1);
  color: #E82A2A;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: 28px;
}
.product-list {
  list-style: none;
  margin-bottom: 24px;
}
.product-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 28.76px;
  color: #3A3A3A;
  padding: 10px 0;
  border-bottom: 1px solid #DDE2EC;
}
.product-list li:last-child { border-bottom: none; }
.check {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #15AA42;
  flex-shrink: 0;
}
.btn-cta {
  width: 100%;
  font-size: 20px;
  padding: 18px 28px;
  border-radius: 9px;
  margin-bottom: 14px;
  box-shadow: 0 6px 24px rgba(232,136,42,0.4);
}
.cta-footer-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14.6px;
  line-height: 22px;
  color: #666666;
  text-align: center;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 22.1px;
  color: rgba(255,255,255,0.6);
}

/* --- FOOTER --- */
.footer {
  background: #0E1525;
  padding: 40px 20px;
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-disclaimer {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 20.4px;
  color: rgba(255,255,255,0.4);
}
.footer-disclaimer strong { color: rgba(255,255,255,0.6); }
.footer-links {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20.4px;
  color: rgba(255,255,255,0.4);
}
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: #FFFFFF; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  body { padding-top: 56px; }

  .sticky-bar { flex-wrap: wrap; gap: 8px; text-align: center; }

  .hero { padding: 40px 16px 32px; }
  .hero-img { width: 100%; opacity: 0.2; }
  .hero-h1 { font-size: 28px; line-height: 1.2; }
  .hero-sub { font-size: 17px; line-height: 28px; }
  .hero-stats { gap: 8px; }
  .hero-stat { min-width: 80px; padding-right: 8px; }
  .hero-divider { margin-right: 8px; }

  .section { padding: 40px 16px; }

  h2 { font-size: 24px; line-height: 1.3; }

  .feature-cards { flex-direction: column; }
  .feature-card { min-width: unset; }

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

  .proof-bar-inner { gap: 24px; }
  .proof-divider { display: none; }
  .proof-item { min-width: 45%; }
  .proof-num { font-size: 28px; }

  .offer-section { padding: 40px 16px; }
  .offer-h2 { font-size: 24px; }
  .product-name { font-size: 22px; }
  .price-new { font-size: 48px; line-height: 1.2; }
  .price-old { font-size: 22px; }

  .trust-badges { gap: 16px; }
  .trust-badge { font-size: 12px; }

  .callout p { font-size: 18px; line-height: 28px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 calc(50% - 4px); }
  .hero-divider { display: none; }

  .proof-item { min-width: 100%; }

  .faq-question { font-size: 16px; }

  .product-card-header, .product-card-body { padding-left: 20px; padding-right: 20px; }
}
