/* ===== IT'S NOT ABOUT YOU — WEBSITE STYLES ===== */
/* Fonts loaded via HTML preconnect + media="print" trick for performance */

:root {
  --red: #C0392B;
  --red-dark: #A93226;
  --charcoal: #2C2C2C;
  --cream: #F5F0EB;
  --white: #FFFFFF;
  --text: #555555;
  --text-light: #999999;
  --border: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-dark);
}

/* ===== HEADER ===== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.site-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--charcoal);
}

.site-title a:hover {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--charcoal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== SECTIONS ===== */

.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  line-height: 1.2;
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

.text-white h1, .text-white h2, .text-white h3, .text-white p,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3,
.section--red h1, .section--red h2, .section--red h3 {
  color: var(--white);
}

.section--charcoal p, .section--red p {
  color: rgba(255,255,255,0.9);
}

.subheadline {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 1rem;
  opacity: 0.9;
}

/* ===== HERO ===== */

.hero {
  padding: 6rem 2rem;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.75rem;
  line-height: 1.15;
}

.hero-text .subheadline {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-cover {
  display: flex;
  justify-content: center;
}

.hero-cover img {
  max-height: 500px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn--outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn--outline-dark:hover {
  background: var(--red);
  color: var(--white);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== FEATURES GRID ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
}

/* ===== TWO COLUMN ===== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--narrow {
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== TESTIMONIALS ===== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem;
  border-left: 3px solid var(--red);
}

.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--red);
  font-size: 0.9rem;
}

/* ===== EMAIL SIGNUP ===== */

.signup-form {
  margin-top: 1.5rem;
  max-width: 480px;
}

.signup-form.centered {
  margin-left: auto;
  margin-right: auto;
}

.signup-form iframe {
  border: none;
  width: 100%;
  min-height: 150px;
  background: transparent;
}

.signup-small-print {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== STATS ===== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text);
}

/* ===== RESOURCE CARDS ===== */

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.resource-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.resource-card .chapter-ref {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.resource-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.resource-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ===== COMING SOON LIST ===== */

.coming-soon-list {
  margin-top: 2rem;
}

.coming-soon-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.coming-soon-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.coming-soon-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ===== PAGE HEADER ===== */

.page-header {
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header .subheadline {
  max-width: 700px;
  margin: 0 auto;
  color: var(--cream);
}

/* ===== BLOG PLACEHOLDER ===== */

.blog-placeholder {
  text-align: center;
  padding: 3rem;
  background: var(--cream);
  border-radius: 8px;
  margin-top: 2rem;
}

/* ===== FOOTER ===== */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.65);
}

.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.fade-up-d1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-d4 { animation-delay: 0.4s; opacity: 0; }

/* ===== APP TOOL SHOWCASE ===== */

.app-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.app-tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.app-tool-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.app-tool-card .tool-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.app-tool-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.app-tool-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
}

.app-tool-card--full {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.app-tool-card--full .tool-icon {
  font-size: 2.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.app-tool-card--featured {
  border-left: 4px solid var(--red);
  background: #FFFAF9;
}

.app-tool-card--dark {
  background: var(--charcoal);
  border-color: transparent;
  color: var(--white);
}

.app-tool-card--dark h3 {
  color: var(--white);
}

.app-tool-card--dark p {
  color: rgba(255,255,255,0.8);
}

.tool-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.tool-badge--new {
  background: var(--red);
  color: var(--white);
}

.tool-badge--popular {
  background: #F0E6CC;
  color: #8B6914;
}

.tool-badge--included {
  background: #D4EDDA;
  color: #155724;
}

/* App stats bar */
.app-stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.app-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.app-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* Chapter grid for resources */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.chapter-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
}

.chapter-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  line-height: 1;
}

.chapter-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.chapter-card p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-light);
}

/* Plus counter */
.plus-bar {
  text-align: center;
  padding: 1.25rem;
  margin-top: 1.5rem;
  background: var(--cream);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}

/* Responsive additions */
@media (max-width: 968px) {
  .app-tools-grid {
    grid-template-columns: 1fr;
  }

  .app-tool-card--full {
    flex-direction: column;
    text-align: center;
  }

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

  .app-stats-bar {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .app-stats-bar {
    gap: 1rem;
  }

  .app-stat-number {
    font-size: 1.4rem;
  }
}

@media (max-width: 968px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-cover {
    order: 0;
  }

  .hero-cover img {
    max-height: 350px;
  }

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

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .section {
    padding: 3.5rem 1.5rem;
  }

  .hero {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  h1 { font-size: 1.75rem; }

  .hero-cover img {
    max-height: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

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

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}
