/* ================================================
   MY LIFE DISCIPLINE — SHARED DESIGN SYSTEM
   mylifediscipline.com
   Premium Black / White / Gold
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --gold:        #C9A84C;
  --gold-dark:   #a8893a;
  --gold-light:  rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.30);

  --black:       #0A0A0A;
  --surface:     #111111;
  --surface-2:   #181818;
  --surface-3:   #222222;

  --white:       #FFFFFF;
  --cream:       #F5F1EA;
  --text:        #E8E4DC;
  --text-muted:  #888480;
  --text-soft:   #B8B4AC;

  --border:      rgba(255,255,255,0.07);

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.12);

  --max:         1160px;
  --nav-h:       72px;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

/* ---- UTILITY ---- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 4px 14px;
  background: var(--gold-light);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.divider-gold {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
  border-radius: 2px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 12px 0;
}
.btn-ghost:hover { color: var(--gold-dark); }

.btn-lg { padding: 17px 36px; font-size: 15px; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav__logo-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.nav__logo-text span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-soft);
  transition: color .15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }

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

/* Mobile nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a { font-size: 15px; font-weight: 500; color: var(--text); }
.nav__mobile .nav__mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand-name span { color: var(--gold); }
.footer__brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__brand-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 12px; color: var(--text-muted); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 12px; color: var(--text-muted); transition: color .15s; }
.footer__legal a:hover { color: var(--text-soft); }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- CARD ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card--gold {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

/* ---- PRODUCT CARD (Books page) ---- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-gold);
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
.product-card__cover {
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.product-card__cover img {
  width: 180px;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.2);
}
.product-card__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}
.product-card__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.product-card__desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-card__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.product-card__includes li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-card__includes li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.product-card__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.product-card__price span { font-size: 18px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.product-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- FAQ ACCORDION ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--white); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  transition: transform .25s, border-color .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--gold-border); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-answer p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ---- FORM ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold-border); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 140px; }

/* ---- PILLAR GRID ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.pillar-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
}
.pillar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- SOCIAL PROOF ---- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.trust-item span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { grid-template-columns: 1fr; }
  .product-card__cover { padding: 32px 24px; }
  .product-card__cover img { width: 160px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .pillars-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .product-card__body { padding: 32px 24px; }
  .product-card__title { font-size: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
