/* ===== THE BITCOIN TEACHER — SITE STYLES ===== */

:root {
  --orange: #F7931A;
  --orange-dark: #D97A0A;
  --navy: #0B0F19;
  --navy-2: #11172A;
  --white: #FFFFFF;
  --gray-light: #C7CBD6;
  --gray: #8A8FA3;
  --font: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }
.center { text-align: center; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.95);
  border-bottom: 1px solid rgba(247, 147, 26, 0.25);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo.small { font-size: 1rem; margin-bottom: 8px; }

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--orange); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn-header {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-buttons.center { justify-content: center; margin-top: 28px; }

/* ===== HERO ===== */
.hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at 15% 20%, rgba(247,147,26,0.14), transparent 45%), var(--navy);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
}

.subtitle {
  color: var(--orange);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  margin-top: 12px;
}

.hero-hook {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--gray-light);
  font-style: italic;
  max-width: 480px;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

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

.cover-img {
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(247,147,26,0.2);
  max-width: 340px;
  width: 100%;
}

/* Fallback placeholder cover styling (kept in case it's reintroduced) */
.cover-placeholder {
  width: 300px;
  aspect-ratio: 2/3;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 2px solid var(--orange);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cover-symbol { font-size: 3rem; color: var(--orange); margin-bottom: 12px; }
.cover-title { font-weight: 900; font-size: 1.6rem; color: var(--white); line-height: 1.15; }
.cover-subtitle { color: var(--orange); font-weight: 700; margin-top: 12px; font-size: 0.95rem; }
.cover-author { color: var(--gray); margin-top: 20px; font-size: 0.85rem; }

/* ===== PROMO BANNER ===== */
.banner-section { width: 100%; }
.banner-img { width: 100%; height: auto; display: block; }

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }

.section-label {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.section-label.light { color: var(--orange); }

.story-section { background: var(--navy); }

.story-lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.story-section p { color: var(--gray-light); margin-bottom: 18px; font-size: 1.05rem; }
.story-section strong { color: var(--white); }

/* ===== LEARN GRID ===== */
.learn-section { background: var(--navy-2); }

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.learn-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(247,147,26,0.2);
  border-radius: 10px;
  padding: 24px 24px 24px 64px;
  position: relative;
  font-size: 1rem;
  color: var(--gray-light);
}

.learn-item .num {
  position: absolute;
  left: 20px;
  top: 22px;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--orange);
}

/* ===== QUOTE ===== */
.quote-section { background: var(--orange); padding: 80px 0; }

.big-quote {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  text-align: center;
}

/* ===== FOR SECTION ===== */
.for-section { background: var(--navy); }
.for-section p { color: var(--gray-light); font-size: 1.1rem; text-align: center; }
.for-section strong { color: var(--white); }

/* ===== AUTHOR ===== */
.author-section { background: var(--navy-2); }

.author-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

.author-photo img.author-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--orange);
}

.photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--orange), var(--orange-dark));
  color: var(--navy);
  font-weight: 900;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-text h3 { font-size: 1.8rem; margin-bottom: 16px; }
.author-text p { color: var(--gray-light); font-size: 1.05rem; }

/* ===== PODCAST ===== */
.podcast-section { background: var(--navy); }
.podcast-section h3 { font-size: 1.9rem; margin-bottom: 16px; }
.podcast-section p { color: var(--gray-light); margin-bottom: 28px; font-size: 1.05rem; }

/* ===== SIGNUP ===== */
.signup-section { background: var(--navy-2); }
.signup-section h3 { font-size: 1.9rem; margin-bottom: 16px; }
.signup-section p { color: var(--gray-light); font-size: 1.05rem; }

.signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 12px;
}

.signup-form input {
  padding: 14px 18px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.15);
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  min-width: 260px;
}

.signup-form input:focus { outline: none; border-color: var(--orange); }

.signup-note { font-size: 0.85rem; color: var(--gray); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}

.footer-inner { text-align: center; color: var(--gray); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-hook { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .main-nav { display: none; }
  .learn-grid { grid-template-columns: 1fr; }
  .author-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
