/* ============================================
   FROCK PUBLICATIONS — style.css
   Real Knowledge for Real Life
   ============================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f1b2d;
  --navy-mid:   #1a2e48;
  --navy-light: #243d5c;
  --amber:      #e8a030;
  --amber-light:#f5c060;
  --cream:      #f9f5ee;
  --cream-dark: #f0e9db;
  --white:      #ffffff;
  --text-dark:  #0f1b2d;
  --text-mid:   #3a4a5c;
  --text-light: #6b7a8d;
  --border:     #d8cfc4;

  --crisis:              #c0392b;
  --crisis-light:        #f5d0cc;
  --mind:                #27ae60;
  --mind-light:          #cdf0dc;
  --health:              #e67e22;
  --health-light:        #fde8cc;
  --career:              #2980b9;
  --career-light:        #cce4f5;
  --money:               #16a085;
  --money-light:         #c8ede6;
  --relationships:       #8e44ad;
  --relationships-light: #e8d5f5;
  --life:                #d35400;
  --life-light:          #fddcc8;
  --ai:                  #1abc9c;
  --ai-light:            #c8f5ed;
  --faith:               #f39c12;
  --faith-light:         #fdecc8;
  --education:           #3498db;
  --education-light:     #cce4f8;
  --special:             #e91e63;
  --special-light:       #fcd4e2;
  --home-family:         #8B5A2B;
  --home-family-light:   #E8D2B8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border: 2px solid var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,48,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.site-logo {
  height: 42px;
  width: auto;
  display: block;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: 0.12em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--amber-light) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-lg);
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,35,0.82) 0%, rgba(10,20,35,0.5) 60%, rgba(10,20,35,0.2) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: heroFadeUp 0.8s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-sm);
  animation: heroFadeUp 0.8s 0.1s ease both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  animation: heroFadeUp 0.8s 0.2s ease both;
}
.hero-headline em { font-style: italic; color: var(--amber); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  animation: heroFadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.4s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  animation: heroFadeUp 0.8s 0.5s ease both;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── ABOUT ── */
.about-section {
  background: var(--white);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.about-inner { max-width: 720px; }

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--career);
  margin-bottom: var(--space-md);
}

.about-inner p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-inner p:last-child { margin-bottom: 0; }

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--white);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  min-width: 48px;
}

.step-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.step-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 0.3rem;
  flex-shrink: 0;
  align-self: center;
}

/* ── CATEGORY GRID ── */
.catalog {
  padding: var(--space-lg) 0;
  background: var(--cream);
  scroll-margin-top: 80px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  transition: width 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cat-card:hover::before { width: 6px; }

.cat--crisis::before         { background: var(--crisis); }
.cat--crisis:hover           { border-color: var(--crisis); }
.cat--mind::before           { background: var(--mind); }
.cat--mind:hover             { border-color: var(--mind); }
.cat--health::before         { background: var(--health); }
.cat--health:hover           { border-color: var(--health); }
.cat--career::before         { background: var(--career); }
.cat--career:hover           { border-color: var(--career); }
.cat--money::before          { background: var(--money); }
.cat--money:hover            { border-color: var(--money); }
.cat--relationships::before  { background: var(--relationships); }
.cat--relationships:hover    { border-color: var(--relationships); }
.cat--life::before           { background: var(--life); }
.cat--life:hover             { border-color: var(--life); }
.cat--ai::before             { background: var(--ai); }
.cat--ai:hover               { border-color: var(--ai); }
.cat--faith::before          { background: var(--faith); }
.cat--faith:hover            { border-color: var(--faith); }
.cat--education::before      { background: var(--education); }
.cat--education:hover        { border-color: var(--education); }
.cat--special::before        { background: var(--special); }
.cat--special:hover          { border-color: var(--special); }
.cat--home-family::before    { background: var(--home-family); }
.cat--home-family:hover      { border-color: var(--home-family); }

.cat-icon {
  width: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.cat-content { flex: 1; }
.cat-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.cat-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

.cat-arrow {
  font-size: 1rem;
  color: var(--border);
  flex-shrink: 0;
  align-self: center;
  transition: transform 0.2s, color 0.2s;
}
.cat-card:hover .cat-arrow {
  transform: translateX(4px);
  color: var(--text-mid);
}

.cat-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--crisis);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
}

/* ── FEATURED GUIDE ── */
.featured-guide {
  background: var(--navy);
  padding: var(--space-lg) 0;
}

.featured-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.featured-text { flex: 1; min-width: 280px; }
.featured-text .section-label { color: var(--amber); }
.featured-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}
.featured-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-md);
}

.featured-cover { flex-shrink: 0; }

.cover-placeholder {
  width: 220px;
  height: 285px;
  background: linear-gradient(135deg, var(--mind) 0%, #1a7a45 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  text-align: center;
  padding: 1rem;
}
.cover-placeholder:hover { transform: rotate(0deg) scale(1.03); }
.cover-placeholder span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.cover-placeholder small {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding-top: var(--space-lg);
}

.footer-inner {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--navy-light);
}

.footer-brand {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
}
.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}
.footer-brand .logo-main { font-size: 1.2rem; }

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 130px;
}
.footer-col strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }

.footer-bottom { padding: var(--space-sm) 0; }
.footer-bottom .container {
  display: flex;
  justify-content: center;
}
.footer-bottom span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light);
  padding: 1rem 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 0.75rem var(--space-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.mobile-nav .nav-cta {
  margin: 0.75rem var(--space-md) 0;
  text-align: center;
  background: var(--amber) !important;
  color: var(--navy) !important;
  border-radius: var(--radius-sm);
  border-bottom: none;
  font-weight: 700 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .hero { padding: 4rem 0 3rem; min-height: unset; }
  .hero-stats { gap: var(--space-sm); }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .featured-inner { flex-direction: column; text-align: center; }
  .featured-cover { margin: 0 auto; }
  .cover-placeholder { transform: none; }
  .trust-inner { flex-direction: column; gap: var(--space-md); }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: var(--space-md); }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}
