/* ============================================================
   PLAYBOOK AI — youraiplaybook.tech
   Production Styles — Navy/Gold Theme
   ============================================================ */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f2042;
  --navy-700: #142a5c;
  --navy-600: #1a3a7a;
  --navy-500: #2563eb;
  --gold-500: #d4a937;
  --gold-400: #e0be5a;
  --gold-300: #ecd480;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy-900);
  color: var(--gray-200);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-500);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }

.gold-text {
  color: var(--gold-400);
}

.muted {
  color: var(--gray-400);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* Navigation */
nav {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.nav-brand .ap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--gold-400);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(212, 169, 55, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 169, 55, 0.4);
  color: var(--navy-900);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold-500);
  color: var(--gold-400);
}
.btn-outline:hover {
  background: rgba(212, 169, 55, 0.1);
  color: var(--gold-300);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gray-400);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero .tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(212, 169, 55, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-badge {
  display: inline-block;
  background: rgba(212, 169, 55, 0.15);
  color: var(--gold-400);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  margin: 1rem 0;
}

.card .price .currency {
  font-size: 1rem;
  vertical-align: super;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-500);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  margin: 2rem 0;
}

.toc-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.toc-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy-700);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-400);
}

.toc-content strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.toc-content span {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Coming Soon */
.coming-soon-card {
  background: var(--navy-800);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  opacity: 0.6;
}

.coming-soon-card .label {
  color: var(--gray-500);
  font-style: italic;
}

/* Email Capture */
.email-capture {
  background: var(--navy-800);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.email-capture form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.email-capture input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1rem;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
}
.email-capture input[type="email"]::placeholder {
  color: var(--gray-500);
}
.email-capture input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-500);
}

/* Footer */
footer {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Product Page Specifics */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}

.book-cover {
  background: var(--navy-700);
  border-radius: 12px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.book-cover-content {
  text-align: center;
  padding: 2rem;
}

.book-cover .logo {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.book-cover .title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.book-cover .subtitle-cover {
  color: var(--gold-400);
  font-size: 0.9rem;
}

.price-box {
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(212, 169, 55, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.price-box .price-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-400);
}

/* PayPal Button Container */
.paypal-btn-container {
  margin: 1.5rem 0;
}

/* Testimonial */
.testimonial {
  background: var(--navy-700);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold-500);
  opacity: 0.3;
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  font-size: 1.1rem;
  color: var(--gray-200);
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.testimonial cite {
  color: var(--gold-400);
  font-style: normal;
  font-weight: 600;
  padding-left: 2rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}
.faq-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.faq-item p {
  color: var(--gray-400);
}

/* Thank You Page */
.thank-you-hero {
  text-align: center;
  padding: 6rem 0;
}

.thank-you-hero .check-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.download-box {
  background: var(--navy-800);
  border: 1px solid rgba(212, 169, 55, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
}

/* Utility */
.text-center { text-align: center; }
.text-gold { color: var(--gold-400); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* PayPal Form Inline */
.paypal-form {
  display: inline-block;
}

/* Responsive */
@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

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

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}
