/* ==========================================================================
   EXAMUNLOCKED — SOFT AESTHETIC DIGITAL STUDY HUB (styles.css)
   ========================================================================== */

:root {
  --bg-paper: #FAF7F2;
  --text-main: #1E1B18;
  --text-muted: #6E6A66;
  --card-bg: #FFFFFF;
  --line-color: rgba(30, 27, 24, 0.08);

  /* Accents */
  --accent-lavender: #E8E2F2;
  --text-lavender: #4A3A6B;
  
  --accent-sage: #E2ECE5;
  --text-sage: #2D5A43;

  --accent-blush: #F5E6E6;
  --text-blush: #8C4A4A;

  --accent-gold: #C4A47C;
  
  /* Buttons */
  --btn-brown: #4A3E31;
  --btn-brown-hover: #362D24;
  --btn-paper-bg: #F4EFEA;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 16px 45px rgba(30, 27, 24, 0.05);
  --shadow-hover: 0 22px 55px rgba(30, 27, 24, 0.09);

  /* Fonts */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-paper);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--btn-brown);
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.margin-bottom-sm {
  margin-bottom: 12px;
}

.bullet-dot, .icon-accent {
  color: var(--accent-gold);
  font-weight: 800;
  margin-right: 4px;
}

.check-icon {
  color: var(--text-sage);
  font-weight: 800;
  margin-right: 6px;
}

/* HEADER NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--btn-brown);
  color: #FFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge-sage {
  background: var(--accent-sage);
  color: var(--text-sage);
}

.badge-lavender {
  background: var(--accent-lavender);
  color: var(--text-lavender);
}

.badge-blush {
  background: var(--accent-blush);
  color: var(--text-blush);
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--btn-brown);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(74, 62, 49, 0.2);
}

.button-primary:hover {
  background: var(--btn-brown-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 62, 49, 0.3);
}

.button-secondary {
  background: var(--btn-paper-bg);
  color: var(--text-main);
  border-color: var(--line-color);
}

.button-secondary:hover {
  background: #EAE3DC;
  transform: translateY(-2px);
}

.button-dark {
  background: #1E1B18;
  color: #FFFFFF;
}

.button-dark:hover {
  background: #34302C;
  transform: translateY(-2px);
}

.button-paper {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--line-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.button-paper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.button-disabled {
  background: #EBE6E0;
  color: #A09A92;
  cursor: not-allowed;
}

.full-width {
  width: 100%;
}

.header-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
  background: var(--btn-brown);
  color: #FFF;
}

/* HERO SECTION (CLEAN CENTERED) */
.hero-section {
  padding: 64px 0 24px;
}

.hero-centered-container {
  max-width: 840px;
  margin: 0 auto;
}

.hero-heading-large {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}

.hero-subtext-centered {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0 auto 28px;
  max-width: 720px;
}

.hero-button-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* HERO PATHWAY GATEWAY CARDS (KILLS DEAD SPACE) */
.hero-pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
  text-align: left;
}

.pathway-card {
  background: var(--card-bg);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 10px 28px rgba(30, 27, 24, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30, 27, 24, 0.08);
  border-color: rgba(74, 62, 49, 0.22);
}

.pathway-icon-box {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.pathway-card:hover .pathway-icon-box {
  transform: scale(1.06);
}

.icon-box-sage {
  background: var(--accent-sage);
  color: var(--text-sage);
}

.icon-box-warm {
  background: #F6EFE6;
  color: var(--btn-brown);
}

.pathway-text {
  flex: 1;
}

.pathway-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 4px;
}

.badge-sage-text {
  color: var(--text-sage);
}

.badge-warm-text {
  color: var(--btn-brown);
}

.pathway-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-main);
}

.pathway-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.pathway-cta {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--btn-brown);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.pathway-card:hover .pathway-cta {
  color: #1E1B18;
}

/* SECTION PADDING & HEADERS */
.section-padding {
  padding: 56px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* MASTER STUDY PROTOCOLS (#methods) - 6 CARD GRID */
.protocols-section {
  background: var(--bg-paper);
  padding-top: 24px;
}

.protocols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.protocol-card {
  background: var(--card-bg);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.protocol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.protocol-num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--btn-brown);
}

.protocol-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent-lavender);
  color: var(--text-lavender);
  padding: 3px 10px;
  border-radius: 99px;
}

.protocol-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.protocol-science {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #FAF6F0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-gold);
  margin-bottom: 20px;
  line-height: 1.5;
}

.protocol-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.protocol-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
}

.protocol-steps li span {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--btn-brown);
  background: var(--btn-paper-bg);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* SHOP GRID */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 880px;
  margin: 0 auto;
  gap: 28px;
  align-items: stretch;
}

.shop-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.shop-card.featured-pro {
  border: 2px solid var(--btn-brown);
  background: #FFFDF9;
  box-shadow: 0 12px 32px rgba(74, 62, 49, 0.12);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-brown);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(74, 62, 49, 0.25);
  white-space: nowrap;
}

.card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #F4EFEA;
  margin-bottom: 20px;
  border: 1px solid rgba(30, 27, 24, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.shop-card:hover .card-preview-img {
  transform: scale(1.02);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.original-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
  opacity: 0.75;
}

.price-tag {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--btn-brown);
  letter-spacing: -0.02em;
}

.price-tag.price-sale {
  color: #1E1B18;
}

.price-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sale-pill {
  background: #FBEAEA;
  color: #9E3A3A;
  border: 1px solid rgba(158, 58, 58, 0.2);
}

.free-pill {
  background: #EAF4EE;
  color: #2D6A4F;
  border: 1px solid rgba(45, 106, 79, 0.2);
}

.status-live {
  font-size: 0.7rem;
  font-weight: 800;
  color: #27C93F;
  letter-spacing: 0.03em;
}

.shop-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-feature-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-feature-list li {
  font-size: 0.86rem;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}

.check-icon {
  color: #2D6A4F;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.card-footer {
  margin-top: auto;
}

.card-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
}

/* COMPARISON MATRIX */
.comparison-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line-color);
}

.comparison-header {
  margin-bottom: 32px;
}

.comparison-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.comparison-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card-bg);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-color);
  vertical-align: middle;
}

.comparison-table thead th {
  background: #FAF7F2;
  font-weight: 700;
}

.feature-col {
  width: 44%;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tier-col {
  width: 28%;
  text-align: center;
  position: relative;
}

.tier-col.pro-col {
  background: #FFFDF9;
  border-left: 1px solid rgba(74, 62, 49, 0.12);
  border-right: 1px solid rgba(74, 62, 49, 0.12);
}

.tier-badge {
  display: inline-block;
  background: var(--btn-brown);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.tier-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.tier-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--btn-brown);
  margin-top: 2px;
}

.table-old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
  opacity: 0.75;
  margin-right: 4px;
}

.feature-name strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.feature-name span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.status-cell {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-cell.pro-col {
  background: #FFFDF9;
  border-left: 1px solid rgba(74, 62, 49, 0.12);
  border-right: 1px solid rgba(74, 62, 49, 0.12);
  color: var(--text-main);
}

.status-cell.highlight-feature {
  color: #1E1B18;
  font-weight: 600;
}

.table-check {
  color: #2D6A4F;
  font-weight: 800;
  margin-right: 4px;
  font-size: 0.95rem;
}

.table-dash {
  color: #C0BAB2;
  font-size: 1.2rem;
  font-weight: 700;
}

.action-row td {
  border-bottom: none;
  padding: 22px 18px;
  background: #FAF7F2;
}

.action-row .pro-col {
  background: #FFF9EE;
}

.table-cta {
  font-size: 0.84rem;
  padding: 10px 16px;
}

/* PINTEREST CALLOUT */
.pinterest-callout {
  padding: 40px 0 80px;
}

.callout-box {
  background: var(--btn-brown);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.callout-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.callout-content p {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line-color);
  padding: 48px 0 32px;
  background: #F5F0E8;
  font-size: 0.9rem;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.footer-links-col {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-section {
    padding: 44px 0 20px;
  }

  .hero-heading-large {
    font-size: 2.3rem;
  }

  .hero-subtext-centered {
    font-size: 1.02rem;
    margin-bottom: 22px;
  }

  .hero-button-group {
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-pathway-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .pathway-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .pathway-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .pathway-icon-box svg {
    width: 26px;
    height: 26px;
  }

  .protocols-section {
    padding-top: 20px;
  }

  .header-nav {
    display: none;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 8px;
  }

  .shop-card {
    padding: 20px;
  }

  .callout-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .comparison-section {
    margin-top: 48px;
    padding-top: 36px;
  }

  .comparison-header h3 {
    font-size: 1.35rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
  }
}
