/* =============================================
   LEXOSLEEP REVIEW SITE – STYLESHEET 2026
   ============================================= */

:root {
  --teal: #26a69a;
  --teal-dark: #00796b;
  --teal-light: #e0f2f1;
  --cream: #faf8f5;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #2c2c2c;
  --text-light: #666;
  --white: #ffffff;
  --gold: #f9a825;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--teal-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(38,166,154,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-text em {
  font-size: 0.7rem;
  background: var(--teal);
  color: white;
  padding: 2px 6px;
  border-radius: 20px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 50%, #1a3a3a 100%);
  color: white;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(38,166,154,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: rgba(38,166,154,0.2);
  border: 1px solid rgba(38,166,154,0.5);
  color: #80cbc4;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.highlight { color: var(--teal); }

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-stars {
  font-size: 1.1rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}

.hero-stars span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  overflow: hidden;
  opacity: 0.35;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: white !important;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(38,166,154,0.4);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(38,166,154,0.5);
}

.btn-primary.large {
  padding: 20px 48px;
  font-size: 1.15rem;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }

.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: white; }
.section-dark { background: var(--dark); color: white; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.2);
}

.center-header { text-align: center; margin-bottom: 52px; }

.center-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-light);
  line-height: 1.8;
}

.section-teal .lead, .section-dark .lead { color: rgba(255,255,255,0.8); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.text-col p { margin-bottom: 16px; color: var(--text); line-height: 1.8; }

.section-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.karin-img {
  max-height: 450px;
  object-fit: cover;
  object-position: top;
}

/* ===== CHECK LIST ===== */
.check-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ===== STEPS GRID ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.step-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 28px 22px;
  backdrop-filter: blur(6px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 { color: white; }
.step-card p { color: rgba(255,255,255,0.85); font-size: 0.92rem; }

.brain-image-wrap {
  text-align: center;
  margin-top: 20px;
}

.brain-img {
  max-height: 420px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 60px rgba(0,0,0,0.3);
}

.brain-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== TARGET GRID ===== */
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid #e8e8e8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.target-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.target-icon { font-size: 2.2rem; margin-bottom: 14px; }
.target-card p { font-size: 0.92rem; color: var(--text-light); }

/* ===== KARIN QUOTE ===== */
.karin-quote {
  border-left: 4px solid var(--teal);
  padding: 14px 20px;
  margin-top: 20px;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--dark);
}

.karin-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--teal-dark);
  font-family: var(--font-body);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #ebebeb;
  position: relative;
  transition: transform 0.2s;
}

.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.review-card.featured {
  background: white;
  border: 2px solid var(--teal);
  box-shadow: 0 8px 32px rgba(38,166,154,0.15);
}

.review-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.review-stars { font-size: 1rem; margin-bottom: 12px; }

.review-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.reviewer strong { font-size: 0.9rem; }
.reviewer small { font-size: 0.78rem; color: var(--text-light); }

/* ===== PRICING ===== */
.pricing-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.pricing-img {
  border-radius: var(--radius);
  width: 100%;
}

.pricing-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-list li { font-size: 0.95rem; color: rgba(255,255,255,0.9); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.price-note { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.pricing-cta-wrap { text-align: center; }

.pricing-disclaimer {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-container { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid #eee; }

.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.faq-item p { font-size: 0.93rem; color: var(--text-light); }

/* ===== FINAL CTA ===== */
.final-cta { text-align: center; }

.final-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 24px;
  padding: 8px;
}

.section-teal h2 { color: white; }

.small-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,0.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--teal); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ===== SUB-PAGES ===== */
.subpage-hero {
  background: var(--dark);
  color: white;
  padding: 60px 0 40px;
  text-align: center;
}

.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.subpage-hero p { color: rgba(255,255,255,0.7); }

.subpage-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}

.subpage-content h2 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--dark);
}

.subpage-content p { margin-bottom: 14px; color: var(--text); line-height: 1.8; }
.subpage-content ul { padding-left: 20px; margin-bottom: 14px; }
.subpage-content ul li { margin-bottom: 8px; color: var(--text); }

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { min-height: 130px; resize: vertical; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .pricing-top { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
}

@media (max-width: 600px) {
  .main-nav { gap: 12px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 20px; }
  .section { padding: 52px 0; }
}
