/**
 * 30Dare Theme – Main Stylesheet
 * Compiled from Tailwind + custom design tokens.
 * Run `npm run build` to regenerate from src/main.css.
 */

/* =====================================================================
   GOOGLE FONTS FALLBACK (also loaded via wp_enqueue_style)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =====================================================================
   DESIGN TOKENS – mirrors src/styles/theme.css
   ===================================================================== */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Cool (default) colour scheme */
  --bg-gradient:        linear-gradient(to bottom right, rgb(5,150,105), rgb(13,148,136), rgb(37,99,235));
  --text-gradient:      linear-gradient(to right, rgb(16,185,129), rgb(37,99,235));
  --bg-gradient-light:  linear-gradient(to right, rgb(209,250,229), rgb(219,234,254));
  --accent-light:       rgb(103,232,249);
  --accent:             rgb(103,232,249);
  --accent-color:       rgb(16,185,129);
  --button-text:        rgb(13,148,136);
  --button-gradient:    linear-gradient(to right, rgb(16,185,129), rgb(37,99,235));
  --border-color:       rgb(16,185,129);
  --border-light:       rgb(167,243,208);
  --orb-1:              rgb(34,211,238);
  --orb-2:              rgb(52,211,153);
  --icon-bg:            linear-gradient(to bottom right, rgb(16,185,129), rgb(37,99,235));
  --connection-line:    linear-gradient(to right, rgb(16,185,129), rgb(13,148,136), rgb(37,99,235));

  /* Warm colour scheme (applied via body.scheme-warm) */
  --warm-bg-gradient:       linear-gradient(to bottom right, rgb(234,88,12), rgb(220,38,38), rgb(219,39,119));
  --warm-text-gradient:     linear-gradient(to right, rgb(249,115,22), rgb(236,72,153));
  --warm-bg-gradient-light: linear-gradient(to right, rgb(255,237,213), rgb(252,231,243));
  --warm-accent:            rgb(253,224,71);
  --warm-accent-color:      rgb(249,115,22);
  --warm-button-text:       rgb(220,38,38);
  --warm-button-gradient:   linear-gradient(to right, rgb(249,115,22), rgb(236,72,153));
  --warm-border-color:      rgb(249,115,22);
  --warm-border-light:      rgb(254,215,170);
  --warm-icon-bg:           linear-gradient(to bottom right, rgb(249,115,22), rgb(236,72,153));

  /* Page / typography tokens (inner pages, contact form, cards) */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f9fafb;
  --bg-dark:       #0f172a;
  --card-bg:       #ffffff;
  --heading-color: #111827;
  --text-primary:  #374151;
  --text-secondary:#6b7280;
}

/* Apply warm overrides */
body.scheme-warm {
  --bg-gradient:        var(--warm-bg-gradient);
  --text-gradient:      var(--warm-text-gradient);
  --bg-gradient-light:  var(--warm-bg-gradient-light);
  --accent:             var(--warm-accent);
  --accent-color:       var(--warm-accent-color);
  --button-text:        var(--warm-button-text);
  --button-gradient:    var(--warm-button-gradient);
  --border-color:       var(--warm-border-color);
  --border-light:       var(--warm-border-light);
  --icon-bg:            var(--warm-icon-bg);
}

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

/* Lock the root font size so WordPress block styles don't inflate it */
html { scroll-behavior: smooth; font-size: 16px !important; }

body {
  font-family: var(--font-sans);
  font-size: 1rem !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Override WordPress's global styles / block styles injected font sizes */
:where(body) { font-size: 1rem; }
:root { --wp--style--global--content-size: 72rem; --wp--style--global--wide-size: 82rem; }

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

a { text-decoration: none; transition: color 0.2s; }

/* =====================================================================
   UTILITY CLASSES (subset of Tailwind used in the design)
   ===================================================================== */
.container   { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }
.text-center { text-align: center; }
.font-black  { font-weight: 900; }
.font-bold   { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
}

.site-header.scrolled { background: rgba(0,0,0,0.85); }

/* Inner pages – make the header fully opaque and themed from the start
   so the nav + theme switcher are always clearly readable. */
.is-inner-page .site-header {
  background: var(--bg-dark, #0f172a);
  border-bottom-color: rgba(255,255,255,0.08);
}

.site-branding { display: flex; align-items: center; gap: 0.5rem; }

/* Custom logo uploaded via Appearance → Customize → Site Identity */
.site-branding .custom-logo-link { display: flex; align-items: center; line-height: 1; }
.site-branding .custom-logo      { height: 44px; width: auto; max-width: 180px; display: block; }

/* Scheme-aware logo (cool/warm variants) */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 1;
}
.scheme-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 0.625rem;
  display: block;
}
/* Show/hide based on active scheme */
body.scheme-cool .scheme-logo--cool { display: block; }
body.scheme-cool .scheme-logo--warm { display: none;  }
body.scheme-warm .scheme-logo--warm { display: block; }
body.scheme-warm .scheme-logo--cool { display: none;  }
/* Fallback: if no scheme class yet, show cool */
.scheme-logo--cool { display: block; }
.scheme-logo--warm { display: none;  }

.site-branding .brand-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
}

/* Custom logo uploaded via Appearance → Customize → Site Identity */
.custom-logo-link { display: flex; align-items: center; line-height: 1; }
.custom-logo-link img.custom-logo {
  height: 2.5rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.site-branding .brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* Primary nav */
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
.primary-navigation { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.primary-navigation a { color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.95rem; }
.primary-navigation a:hover { color: #fff; }

/* Nav CTA — now just a plain nav link, no special styling */
.primary-navigation .nav-cta a,
.primary-navigation a.nav-cta {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-navigation .nav-cta a:hover,
.primary-navigation a.nav-cta:hover { color: #fff; }

/* Sign In — gradient pill CTA (matches previous "Get Workbook" button) */
.nav-signin-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--button-gradient);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-signin-btn:hover { opacity: 0.9; transform: scale(1.03); }

/* Sign Up — kept in CSS for mobile menu or future use */
.nav-signup-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--button-gradient);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-signup-btn:hover { opacity: 0.9; transform: scale(1.03); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.theme-toggle-btn {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-wrap.open { display: flex; }
  .primary-navigation { flex-direction: column; gap: 1rem; width: 100%; }
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-gradient);
}

.hero-bg-image {
  position: absolute; inset: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin-inline: auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge .badge-flame { color: var(--accent-light); font-size: 1.25rem; }

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title .accent-word { color: var(--accent); }

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-description .accent-text { font-weight: 700; color: var(--accent); }

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--button-text);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: #f3f4f6; transform: scale(1.04); color: var(--button-text); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-join-text { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 2rem; }

/* Waitlist banner – appears on hero and CTA section */
.waitlist-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}
.waitlist-label {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.waitlist-btn {
  color: #fff;
  font-weight: 700;
  background: var(--button-gradient);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.875rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.waitlist-btn:hover { opacity: 0.85; color: #fff; }

/* Slightly adjusted variant inside the dark CTA section */
.waitlist-banner--dark {
  margin-top: 1.25rem;
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.2);
}

/* Orbs */
.orb {
  position: absolute;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(48px);
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}
.orb-1 { top: 5rem; left: 2.5rem; background: var(--orb-1); }
.orb-2 { bottom: 5rem; right: 2.5rem; background: var(--orb-2); animation-delay: 1s; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.08); }
}

/* =====================================================================
   APP STORE BUTTONS
   ===================================================================== */
.app-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) { .app-store-buttons { flex-direction: row; } }

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
  min-width: 10rem;
}
.app-store-btn:hover { background: #1a1a1a; color: #fff; }
.app-store-btn .btn-label-small { font-size: 0.7rem; display: block; opacity: 0.8; }
.app-store-btn .btn-label-main  { font-size: 1.05rem; display: block; line-height: 1.2; }
.app-store-btn svg, .app-store-btn .icon { width: 2rem; height: 2rem; flex-shrink: 0; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.how-it-works-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, #111827, #1f2937, #000);
  color: #fff;
}

.section-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle { font-size: 1.2rem; color: #9ca3af; }

.steps-grid {
  display: grid;
  gap: 3rem;
  position: relative;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* Connection line */
.steps-grid::before {
  content: '';
  display: none;
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 3px;
  background: var(--connection-line);
  opacity: 0.3;
  transform: translateY(-50%);
}
@media (min-width: 768px) { .steps-grid::before { display: block; } }

.step-card {
  position: relative;
  background: #000;
  border: 2px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  border-color: var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(16,185,129,0.2);
}

.step-badge {
  position: absolute;
  top: -1.5rem; left: 2rem;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.step-icon-wrap {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  width: 5rem; height: 5rem;
  background: linear-gradient(to bottom right, #1f2937, #374151);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}

.step-icon-wrap svg { width: 2.5rem; height: 2.5rem; color: var(--accent-color); }

.step-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.step-card p  { color: #9ca3af; line-height: 1.7; }

.how-it-works-footer { margin-top: 5rem; font-size: 1.4rem; font-weight: 700; color: #d1d5db; }

/* =====================================================================
   CHALLENGES (Pick Your Battle)
   ===================================================================== */
.challenges-section {
  padding: 6rem 0;
  background: #fff;
}

.challenges-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .challenges-grid { grid-template-columns: repeat(3, 1fr); } }

.challenge-card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.challenge-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.challenge-icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.challenge-card:hover .challenge-icon-wrap { transform: scale(1.1); }

.challenge-card h3 { font-size: 1.4rem; font-weight: 700; color: #000; margin-bottom: 1rem; }

.challenge-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.challenge-list li { color: #4b5563; display: flex; align-items: flex-start; gap: 0.5rem; }
.challenge-list li::before { content: '•'; color: var(--accent-color); font-size: 1.2rem; line-height: 1.4; flex-shrink: 0; }

.challenges-cta-box {
  margin-top: 4rem;
  text-align: center;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border-light);
  background: var(--bg-gradient-light);
}
.challenges-cta-box p:first-child { font-size: 1.15rem; font-weight: 600; color: #1f2937; margin-bottom: 0.5rem; }
.challenges-cta-box p:last-child  { font-size: 1.05rem; color: #4b5563; }
.challenges-cta-box .accent-text  { font-weight: 700; color: var(--accent-color); }

/* =====================================================================
   ABOUT (What Is 30Dare)
   ===================================================================== */
.about-section {
  padding: 6rem 0;
  background: #000;
  color: #fff;
}

.principles-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }

.principle-card {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #374151;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.principle-card:hover {
  border-color: var(--border-color);
  box-shadow: 0 20px 25px -5px rgba(16,185,129,0.2);
}

.principle-icon-wrap {
  width: 4rem; height: 4rem;
  border-radius: 0.75rem;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.principle-icon-wrap svg { width: 2rem; height: 2rem; color: #fff; }

.principle-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.principle-card p  { color: #9ca3af; line-height: 1.7; }

.about-callout {
  margin-top: 4rem;
  text-align: center;
  display: inline-block;
  border-radius: 1rem;
  padding: 1.5rem 3rem;
  border: 1px solid rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.1);
}
.about-callout-wrap { text-align: center; }
.about-callout .label   { font-size: 1.15rem; font-weight: 600; color: var(--accent-color); margin-bottom: 0.5rem; }
.about-callout .question { font-size: 1.4rem; font-weight: 900; color: #fff; }
.about-callout .sub     { font-size: 1.05rem; color: #9ca3af; margin-top: 0.5rem; }

/* =====================================================================
   MOTIVATION (Stop Waiting)
   ===================================================================== */
.motivation-section {
  padding: 6rem 0;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.motivation-bg {
  position: absolute; inset: 0;
  opacity: 0.3;
  background-size: cover;
  background-position: center;
}

.motivation-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #000 0%, transparent 40%, transparent 60%, #000 100%);
}

.quotes-list { display: flex; flex-direction: column; gap: 3rem; }

.quote-item {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
}

.quote-item .quote-highlight { color: var(--accent-color); }

.motivation-callout {
  margin-top: 5rem;
  text-align: center;
}

.motivation-callout-inner {
  display: inline-block;
  border-radius: 1rem;
  padding: 0.25rem;
  background: var(--icon-bg);
}

.motivation-callout-body {
  background: #000;
  border-radius: 0.875rem;
  padding: 2rem 3rem;
}

.motivation-callout-body h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.motivation-callout-body p { font-size: 1.15rem; color: #9ca3af; }

/* =====================================================================
   CTA SECTION (Your 30 Days Start Now)
   ===================================================================== */
.cta-section {
  padding: 6rem 0;
  background: var(--bg-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; opacity: 0.2; background-size: cover; background-position: center; }

.cta-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
}

.cta-subtitle .accent-text { font-weight: 700; color: var(--accent); }

/* Dare form card */
.dare-form-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  max-width: 40rem;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .dare-form-card { padding: 3rem; } }

.dare-form-label { display: block; font-size: 1.15rem; font-weight: 700; color: #1f2937; margin-bottom: 0.75rem; }

.dare-form-input {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.875rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
  background: #fff;
}
.dare-form-input:focus { border-color: var(--border-color); }

.dare-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--button-gradient);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
  transition: transform 0.2s, opacity 0.2s;
  margin-top: 1.25rem;
}
.dare-submit-btn:hover { transform: scale(1.03); opacity: 0.95; }

.dare-disclaimer { font-size: 0.8rem; color: #6b7280; text-align: center; margin-top: 0.75rem; }

/* Success state */
.dare-success { text-align: center; padding: 2rem 0; display: none; }
.dare-success.visible { display: block; }
.dare-success .check-icon { font-size: 4rem; color: #22c55e; margin-bottom: 1rem; }
.dare-success h3 { font-size: 1.75rem; font-weight: 900; color: #1f2937; margin-bottom: 0.5rem; }
.dare-success p  { color: #4b5563; font-size: 1.05rem; }

.cta-app-section { margin-top: 3rem; }
.cta-app-section > p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 1.5rem; }

.cta-closing {
  margin-top: 3rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}
.cta-closing .big-accent { font-weight: 900; font-size: 1.4rem; color: var(--accent); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 3rem 0;
  border-top: 1px solid #1f2937;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand .brand-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .brand-name { font-size: 1.5rem; font-weight: 900; }

.footer-info { text-align: center; }
@media (min-width: 768px) { .footer-info { text-align: right; } }
.footer-info .tagline   { color: #9ca3af; margin-bottom: 0.25rem; }
.footer-info .copyright { font-size: 0.8rem; color: #4b5563; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: #6b7280; font-size: 0.875rem; margin: 0; }

/* Optional footer nav */
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1rem; }
.footer-nav a { color: #9ca3af; font-size: 0.875rem; }
.footer-nav a:hover { color: #fff; }

/* =====================================================================
   WORKBOOK SECTION
   ===================================================================== */
.workbook-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, #0f172a, #1e1b4b, #0f172a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.workbook-inner {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .workbook-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* Visual / Cover */
.workbook-visual { display: flex; justify-content: center; }

.workbook-cover-img {
  width: 100%;
  max-width: 22rem;
  border-radius: 1rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6);
}

.workbook-cover-placeholder {
  position: relative;
  width: 100%;
  max-width: 22rem;
}

.workbook-cover-mockup {
  background: linear-gradient(135deg, #312e81, #4c1d95, #1e1b4b);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 30px 60px -15px rgba(99,102,241,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mockup-icon { font-size: 4rem; }
.mockup-title { font-size: 1.5rem; font-weight: 900; color: #fff; }
.mockup-tag { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.workbook-lock-badge {
  position: absolute;
  top: -0.75rem; right: -0.75rem;
  background: var(--button-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Content side */
.workbook-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.workbook-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.workbook-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.workbook-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* Feature checklist */
.workbook-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
@media (max-width: 480px) { .workbook-features { grid-template-columns: 1fr; } }

.workbook-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.feature-check {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Price + CTA */
.workbook-cta { display: flex; flex-direction: column; gap: 0.75rem; }

.workbook-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.workbook-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

.workbook-price-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.workbook-btn {
  align-self: flex-start;
  background: var(--button-gradient) !important;
  color: #fff !important;
}

.workbook-guarantee {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.workbook-guarantee::before { content: '🛡'; font-size: 0.9rem; }

/* =====================================================================
   WORKBOOK GATED PAGE (page-workbook.php)
   ===================================================================== */
.workbook-gate-wrap {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom right, #0f172a, #1e1b4b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4rem;
}

.workbook-gate-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 36rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.workbook-gate-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.workbook-gate-card h1 { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.workbook-gate-card p  { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 1.5rem; }

.workbook-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--button-gradient);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.4);
  transition: transform 0.2s, opacity 0.2s;
}
.workbook-download-btn:hover { transform: scale(1.04); opacity: 0.95; color: #fff; }

.workbook-locked-msg {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #fca5a5;
  font-size: 0.95rem;
  line-height: 1.7;
}
.workbook-locked-msg a { color: var(--accent-color); text-decoration: underline; }

/* =====================================================================
   PAGE / SINGLE / ARCHIVE TEMPLATES
   ===================================================================== */
.page-wrapper {
  min-height: 100vh;
  padding-top: 5rem; /* offset fixed header */
  background: var(--bg-primary);
}

.page-content-area {
  max-width: 56rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.entry-content { line-height: 1.9; color: var(--text-primary); }
.entry-content h2,
.entry-content h3 { font-weight: 700; color: var(--heading-color); margin: 2rem 0 1rem; }
.entry-content p  { margin-bottom: 1.25rem; }
.entry-content a  { color: var(--accent-color); text-decoration: underline; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* Active nav item */
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current-menu-ancestor > a {
  color: #fff;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 2px;
}

/* Archive / Blog */
.archive-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }

.archive-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.archive-card:hover { box-shadow: 0 10px 30px -5px rgba(0,0,0,0.12); }
.archive-card .card-body { padding: 1.5rem; }
.archive-card .card-title { font-size: 1.25rem; font-weight: 700; color: #111; margin-bottom: 0.5rem; }
.archive-card .card-title a { color: inherit; }
.archive-card .card-meta { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.75rem; }
.archive-card .card-excerpt { color: #4b5563; font-size: 0.95rem; line-height: 1.7; }
.archive-card .read-more {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--accent-color); font-weight: 600; font-size: 0.9rem;
  margin-top: 1rem;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.9rem;
}
.pagination a { color: var(--accent-color); border: 1px solid var(--border-color); }
.pagination .current { background: var(--accent-color); color: #fff; border: 1px solid var(--accent-color); }

/* =====================================================================
   SCROLL ANIMATIONS (no JS required for basic fade-in)
   ===================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   WORDPRESS DEFAULT OVERRIDES
   ===================================================================== */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #6b7280; margin-top: 0.5rem; text-align: center; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
.contact-section {
  padding: 5rem 1.5rem;
  background: var(--bg-primary);
}
.contact-section .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.contact-section .section-title { color: var(--heading-color); margin-bottom: 0.75rem; }
.contact-section .section-subtitle { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; }

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr; } }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.contact-field:last-child { margin-bottom: 0; }

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-color);
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 0.625rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light, rgba(74,222,128,.2));
}
.contact-textarea { resize: vertical; min-height: 140px; }

.contact-actions { text-align: right; margin-top: 1.5rem; }
.contact-submit-btn { min-width: 160px; }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Honeypot – must stay invisible */
.contact-honeypot { display: none !important; visibility: hidden !important; }

/* Feedback messages */
.contact-success,
.contact-error {
  display: none;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.contact-success.visible,
.contact-error.visible { display: block; }
.contact-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.contact-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
