/* ========================================
   Apprentices — Landing Page Styles
   Inspired by Practicing the Way aesthetic
   ======================================== */

:root {
  /* App palette */
  --cream:          #F8F6F1;
  --primary-text:   #4F4F4F;
  --secondary-text: #6B6B6B;
  --layer-behavior: #4A6FA5;
  --layer-emotion:  #7A9B8E;
  --layer-idol:     #A67548;
  --layer-gospel:   #D4C5A0;
  --layer-commitment: #4F4F4F;

  /* Extended palette */
  --dark-green:     #2C4A3E;
  --sage:           #7A9B8E;
  --sage-light:     #E8EFEB;
  --white:          #FFFFFF;
  --off-white:      #FAFAF8;

  /* Type */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 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(--sans);
  color: var(--primary-text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 74, 62, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(248, 246, 241, 0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: var(--dark-green);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 60px;
}
.hero-content {
  padding: 80px 64px 80px 80px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.8);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-image {
  height: 100%;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Placeholder gradient until real image is added */
  background: linear-gradient(135deg, var(--sage) 0%, var(--dark-green) 100%);
  min-height: 500px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.9; }
.btn-primary {
  background: var(--cream);
  color: var(--dark-green);
}
.btn-white {
  background: var(--white);
  color: var(--dark-green);
}

/* ---- Sections ---- */
.section { padding: 100px 32px; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--dark-green); }
.section-sage  { background: var(--sage); }

.container { max-width: 1100px; margin: 0 auto; }
.container.narrow { max-width: 720px; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.section-label.light { color: rgba(248, 246, 241, 0.6); }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--primary-text);
  margin-bottom: 20px;
}
.section-heading.light { color: var(--cream); }

.section-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--secondary-text);
  max-width: 600px;
}
.section-body.light { color: rgba(248, 246, 241, 0.8); }
.section-body.center, .center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Image Breaks ---- */
.image-break {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 650px;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Placeholder gradient */
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 100%);
}

/* ---- Movements Grid ---- */
.movements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.movement-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 36px 32px;
}
.movement-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}
.movement-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--primary-text);
  margin-bottom: 6px;
}
.movement-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 12px;
}
.movement-card p:last-child {
  font-size: 15px;
  line-height: 1.65;
  color: var(--secondary-text);
}

/* ---- Layers Stack ---- */
.layers-stack {
  max-width: 560px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.layer-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  transition: background 0.2s;
}
.layer-row:hover { background: rgba(255, 255, 255, 0.12); }
.layer-badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.layer-content h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 2px;
}
.layer-content p {
  font-size: 14px;
  color: rgba(248, 246, 241, 0.65);
  font-style: italic;
}

/* ---- Features Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.feature-card { padding: 8px 0; }
.feature-icon {
  color: var(--sage);
  margin-bottom: 16px;
}
.feature-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--primary-text);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--secondary-text);
}

/* ---- Pull Quote ---- */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  padding: 20px 0;
}

/* ---- Not List ---- */
.not-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.not-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--secondary-text);
}
.not-x {
  font-size: 18px;
  font-weight: 600;
  color: var(--sage);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 120px 32px;
}
.cta-buttons { margin-top: 40px; }

/* ---- Footer ---- */
.footer {
  background: var(--primary-text);
  color: rgba(248, 246, 241, 0.7);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(248, 246, 241, 0.5);
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-influences {
  font-size: 13px;
  line-height: 1.6;
}
.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 246, 241, 0.1);
  font-size: 13px;
  color: rgba(248, 246, 241, 0.35);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content { padding: 120px 32px 48px; }
  .hero-image { height: 50vh; min-height: 300px; }
  .movements-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section { padding: 72px 20px; }
  .hero-content { padding: 100px 24px 40px; }
  .hero-sub { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-section { padding: 80px 20px; }
}

/* ---- Privacy Page Specific ---- */
.privacy-page {
  padding-top: 100px;
  padding-bottom: 80px;
}
.privacy-page h1 {
  font-family: var(--serif);
  font-size: 36px;
  margin-bottom: 8px;
}
.privacy-page .last-updated {
  font-size: 14px;
  color: var(--secondary-text);
  margin-bottom: 48px;
}
.privacy-page h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 12px;
}
.privacy-page p, .privacy-page li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--secondary-text);
  margin-bottom: 16px;
}
.privacy-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.privacy-page li { margin-bottom: 8px; }
.privacy-page a {
  color: var(--layer-behavior);
  text-decoration: underline;
  text-underline-offset: 2px;
}
