/* ══════════════════════════════════════════
   INDEX.CSS — The AI Math Guy (Landing Page)
   Page-specific styles for index.html
   ══════════════════════════════════════════ */

/* ── PAGE LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-divider { max-width: 600px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.hero-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  z-index: -1;
}
.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  letter-spacing: 2px;
  border: 3px solid var(--bg-deep);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--white);
  letter-spacing: 5px;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.hero-text h1 span { color: var(--accent); }
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--gray-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { padding-top: 6rem; min-height: auto; padding-bottom: 4rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-photo { width: 200px; height: 200px; margin: 0 auto; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-text h1 { letter-spacing: 3px; }
}

/* ── CENTRAL QUESTION ── */
.question-section {
  padding: 8rem 0;
  background: var(--bg-primary);
  position: relative;
}
.question-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}
.question-inner {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}
.question-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gray-300);
  line-height: 1.9;
  margin-bottom: 3rem;
  position: relative;
}
.question-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -2rem;
  left: -0.5rem;
}
.question-bridge {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--gray-100);
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
  font-style: italic;
}
.question-list {
  list-style: none;
  margin-bottom: 3rem;
}
.question-list li {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.6;
  padding: 0.3rem 0;
}
.question-closer {
  font-size: 1.05rem;
  color: var(--gray-300);
  font-weight: 400;
}
.question-closer em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* ── ABOUT ── */
.about-section {
  padding: 7rem 0;
  background: var(--bg-deep);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-photo-wrapper {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  pointer-events: none;
}
.about-photo-placeholder {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gray-400);
  letter-spacing: 3px;
  text-align: center;
  padding: 2rem;
}
.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-200);
}
.about-text .highlight-question {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-bright);
  margin-top: 1rem;
  line-height: 1.6;
}
.legacy-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.legacy-photo {
  width: 160px;
  height: 200px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 0 auto 1.8rem;
}
.legacy-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 2px;
  margin-bottom: 1.8rem;
}
.legacy-text .grandpa-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gray-100);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.legacy-text p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { aspect-ratio: 16/9; }
  .legacy-block { padding-top: 2rem; margin-top: 2rem; }
  .legacy-photo { width: 140px; height: 175px; }
  .legacy-text .grandpa-quote { font-size: 1.2rem; }
}

/* ── GUESTS ── */
.guests-section {
  padding: 7rem 0;
  background: var(--bg-primary);
  position: relative;
}
.guests-header {
  text-align: center;
  margin-bottom: 4rem;
}
.guests-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1.3;
}
.guests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.guest-card {
  text-align: center;
  transition: transform 0.3s ease;
}
.guest-card:hover { transform: translateY(-6px); }
.guest-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s;
}
.guest-card:hover .guest-avatar { border-color: var(--accent); }
.guest-card a { text-decoration: none; color: inherit; }
.guest-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gray-400);
  letter-spacing: 2px;
}
.guest-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.guest-title {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.5;
}
.guest-badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .guests-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .guest-avatar { width: 110px; height: 110px; }
}
@media (max-width: 480px) {
  .guests-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── LISTEN ── */
.listen-section {
  padding: 7rem 0;
  background: var(--bg-deep);
}
.listen-inner { text-align: center; }
.listen-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
}
.listen-sub {
  color: var(--gray-300);
  margin-bottom: 3rem;
  font-size: 1rem;
}
.listen-embed {
  max-width: 700px;
  margin: 0 auto 3rem;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}
.listen-embed:hover { border-color: var(--accent); }
.listen-embed-placeholder {
  text-align: center;
  color: var(--gray-400);
}
.play-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.listen-embed:hover .play-icon {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(192,57,43,0.4);
}
.play-icon svg { fill: var(--white); margin-left: 4px; }
.listen-embed-placeholder p {
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.platforms { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--gray-200);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.platform-btn:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(192,57,43,0.08);
}
.platform-btn svg { width: 20px; height: 20px; }

/* ── CTA / GUEST BOOKING ── */
.cta-section {
  padding: 7rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 2rem;
}
.cta-inner p {
  margin-bottom: 1.2rem;
  color: var(--gray-200);
  font-size: 1.05rem;
  line-height: 1.8;
}
.cta-inner .cta-highlight {
  color: var(--gray-100);
  font-weight: 500;
  font-style: italic;
  margin: 2rem 0;
}
.cta-buttons { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-email {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.cta-email a { color: var(--gray-300); text-decoration: underline; text-underline-offset: 3px; }
.cta-email a:hover { color: var(--white); }

/* ── SOMETA ── */
.someta-section {
  padding: 5rem 0;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.someta-inner {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.someta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}
.someta-inner p {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.someta-pilot {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
