/* ===========================
   Anthony Philips AI — style.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #FAFAFA;
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

/* ---- Utility ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--grey { background: #F0F0F0; }
.section--dark { background: #1B3A4B; color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gold {
  background: #E8A838;
  color: #1A1A1A;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-weight: 700;
  font-size: 18px;
  color: #1B3A4B;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-weight: 500;
  font-size: 15px;
  color: #1A1A1A;
  transition: color 0.15s;
}

.nav__links a:hover { color: #E8A838; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B3A4B;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 80px 32px 32px;
  flex-direction: column;
  gap: 0;
}

.nav__mobile.open { transform: translateX(0); }

.nav__mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__mobile ul li a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 17px;
  color: #1A1A1A;
  border-bottom: 1px solid #eee;
  transition: color 0.15s;
}

.nav__mobile ul li a:hover { color: #E8A838; }

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 104;
}

.nav__overlay.open { display: block; }

/* Hamburger active state */
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  background: #1B3A4B;
  color: #fff;
  padding: 96px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 620px;
  margin: 0 auto 36px;
  opacity: 0.9;
}

.hero__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Section headings ---- */
.section__heading {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section__sub {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ---- Cards row (3-col) ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }

.card__icon { font-size: 36px; }

.card h3 {
  font-size: 20px;
  font-weight: 700;
}

.card p { font-size: 15px; color: #444; flex: 1; }

.card__link {
  font-weight: 600;
  color: #E8A838;
  font-size: 15px;
  margin-top: 8px;
}

.card__link:hover { text-decoration: underline; }

/* ---- Stats grid ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border-radius: 10px;
}

.stat__num {
  font-size: 52px;
  font-weight: 800;
  color: #1B3A4B;
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

/* ---- Who this is for ---- */
.who-section { text-align: center; }
.who-section p {
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ---- Newsletter embed ---- */
.newsletter-section { text-align: center; }

.newsletter-section h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}

.newsletter-section p {
  font-size: 18px;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 40px;
}

#beehiiv-embed {
  max-width: 480px;
  margin: 0 auto;
  min-height: 60px;
}

/* ---- Products page ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }

.product-card h3 { font-size: 18px; font-weight: 700; }

.product-card p { font-size: 15px; color: #444; flex: 1; }

.product-card__price {
  font-size: 22px;
  font-weight: 800;
  color: #1B3A4B;
}

.product-card__price.free { color: #2a8a4a; }

.product-card--featured {
  border: 2px solid #E8A838;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.product-card--featured .product-card__text { flex: 1; }

/* ---- AI Team page ---- */
.included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.included-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.included-list__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #E8A838;
  color: #1A1A1A;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.included-list__text h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.included-list__text p { font-size: 15px; color: #555; }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card--featured { border: 2px solid #E8A838; }

.pricing-card h3 { font-size: 22px; font-weight: 700; }

.pricing-card__price {
  font-size: 42px;
  font-weight: 800;
  color: #1B3A4B;
}

.pricing-card__price span {
  font-size: 18px;
  font-weight: 500;
  color: #888;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card ul li::before {
  content: "✓ ";
  color: #E8A838;
  font-weight: 700;
}

.pricing-card ul li { font-size: 15px; }

/* ---- FAQ Accordion ---- */
.faq { margin-top: 40px; }

.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #1A1A1A;
  transition: background 0.15s;
}

.faq-question:hover { background: #fafafa; }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s;
  color: #888;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ---- Book page ---- */
.book-body {
  font-size: 18px;
  line-height: 1.9;
  max-width: 700px;
}

.book-body p { margin-bottom: 20px; }

/* ---- About page ---- */
.about-body {
  font-size: 18px;
  line-height: 1.9;
  max-width: 680px;
}

.about-body p { margin-bottom: 20px; }

.connect-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  color: #1A1A1A;
  transition: color 0.15s;
}

.connect-link:hover { color: #1B3A4B; }

.connect-link__icon {
  width: 40px;
  height: 40px;
  background: #1B3A4B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---- Newsletter page ---- */
.newsletter-signup {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-signup p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ---- Footer ---- */
.footer {
  background: #1B3A4B;
  color: #fff;
  padding: 40px 0 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer__copy { font-size: 14px; opacity: 0.8; }
.footer__tagline { font-size: 14px; opacity: 0.8; font-style: italic; }

.footer__social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.footer__social a:hover { opacity: 1; }

.footer__bottom {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-top: 20px;
  flex-wrap: wrap;
}

.footer__bottom a {
  font-size: 14px;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.footer__bottom a:hover { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .hero { padding: 64px 0; }

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

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

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

  .product-card--featured {
    flex-direction: column;
    grid-column: auto;
  }

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

  .footer__top {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom { gap: 16px; }

  .section { padding: 48px 0; }
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.testimonial-stars {
  color: #E8A838;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.testimonial-text {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author strong {
  color: #1A1A1A;
  font-size: 0.95rem;
}
.testimonial-author span {
  color: #888;
  font-size: 0.85rem;
}

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.95rem; color: #1A1A1A; }
.form-group input, .form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1B3A4B;
}
.form-group textarea { resize: vertical; min-height: 120px; }
