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

:root {
  --bg-dark: #0d0714;
  --bg-darker: #0a0510;
  --cyan: #00e5ff;
  --cyan-hover: #00c4db;
  --maroon: #2a0a2a;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
}

::selection { background: var(--cyan); color: var(--bg-darker); }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.text-gradient-cyan {
  background: linear-gradient(90deg, #00e5ff, #88bbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-weight: 700; cursor: pointer;
  border: none; transition: all 0.3s;
}
.btn-cyan { background: var(--cyan); color: var(--bg-darker); }
.btn-cyan:hover { background: var(--cyan-hover); box-shadow: 0 0 20px rgba(0,229,255,0.4); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0 1.5rem; height: 3rem; font-size: 1rem; }
.btn-round { border-radius: 9999px; }
@media (min-width: 640px) {
  .btn-sm { padding: 0.5rem 1.5rem; font-size: 1rem; }
  .btn-lg { height: 3.5rem; font-size: 1.125rem; padding: 0 2rem; }
}

/* HEADER */
.header {
  position: fixed; top: 0; width: 100%; z-index: 50;
  background: rgba(13,7,20,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
@media (min-width: 640px) { .header-inner { height: 5rem; } }
.logo {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.125rem; color: #fff;
  display: flex; align-items: center; gap: 0.5rem;
}
@media (min-width: 640px) { .logo { font-size: 1.25rem; } }

/* HERO */
.hero {
  position: relative; padding: 6rem 0 3rem; overflow: hidden;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--bg-dark) 100%);
}
@media (min-width: 640px) { .hero { padding: 8rem 0 5rem; } }
@media (min-width: 1024px) { .hero { padding: 12rem 0 8rem; } }

.hero-glow-purple {
  position: absolute; top: 0; right: 0;
  width: 400px; height: 400px;
  background: rgba(58,13,58,0.2); border-radius: 50%;
  filter: blur(120px); transform: translate(33%,-50%);
  pointer-events: none;
}
.hero-glow-cyan {
  position: absolute; bottom: 0; left: 0;
  width: 300px; height: 300px;
  background: rgba(0,229,255,0.1); border-radius: 50%;
  filter: blur(100px); transform: translate(-25%,33%);
  pointer-events: none;
}
@media (min-width: 640px) {
  .hero-glow-purple { width: 800px; height: 800px; }
  .hero-glow-cyan { width: 600px; height: 600px; }
}

.hero-grid {
  display: grid; gap: 2rem; align-items: center; position: relative; z-index: 10;
}
@media (min-width: 640px) { .hero-grid { gap: 3rem; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .hero-content { gap: 2rem; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; font-weight: 500; color: var(--cyan);
  width: fit-content;
}
.ping-dot { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; }
.ping-ring {
  position: absolute; display: inline-flex; width: 100%; height: 100%;
  border-radius: 50%; background: var(--cyan); opacity: 0.75;
  animation: ping 1s cubic-bezier(0,0,0.2,1) infinite;
}
.ping-core { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cyan); }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.hero-title {
  font-size: 2.25rem; font-weight: 700; line-height: 1.1; color: #fff;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  font-size: 1.125rem; color: var(--text-muted); max-width: 36rem; line-height: 1.7;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; gap: 1rem; padding-top: 1rem; } }

.social-proof {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--text-dim); padding-top: 0.5rem;
}
@media (min-width: 640px) { .social-proof { gap: 1rem; padding-top: 1rem; } }
.social-proof strong { color: #fff; }
.avatars { display: flex; flex-shrink: 0; }
.avatar {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 2px solid var(--bg-dark); object-fit: cover;
  margin-left: -0.5rem;
}
.avatar:first-child { margin-left: 0; }
@media (min-width: 640px) { .avatar { width: 2rem; height: 2rem; } }

.hero-image { display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-image { justify-content: flex-end; } }

.book-wrapper, .author-image-wrapper {
  position: relative; transition: transform 0.7s;
}
.book-wrapper:hover { transform: scale(1.05) rotate(-1deg); }
.book-wrapper { max-width: 16rem; width: 100%; }
@media (min-width: 640px) { .book-wrapper { max-width: 20rem; } }
@media (min-width: 1024px) { .book-wrapper { max-width: 28rem; } }

.image-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #00e5ff, #0077ff);
  filter: blur(60px); opacity: 0.3; border-radius: 50%;
}
.book-wrapper img, .author-image-wrapper img {
  position: relative; z-index: 10; width: 100%; height: auto;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}
.author-image-wrapper img { border-radius: 1rem; }

/* STAT SECTION */
.stat-section {
  padding: 4rem 0; background: var(--bg-darker);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 640px) { .stat-section { padding: 6rem 0; } }
.stat-inner { text-align: center; max-width: 56rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
@media (min-width: 640px) { .stat-inner { gap: 2rem; } }
.stat-quote {
  font-size: 1.875rem; font-weight: 700; color: #fff; line-height: 1.2;
}
@media (min-width: 640px) { .stat-quote { font-size: 2.25rem; } }
@media (min-width: 768px) { .stat-quote { font-size: 3rem; } }
@media (min-width: 1024px) { .stat-quote { font-size: 3.75rem; } }
.divider { width: 6rem; height: 0.25rem; background: var(--cyan); border-radius: 9999px; }
.stat-text { font-size: 1.125rem; color: var(--text-muted); max-width: 48rem; line-height: 1.7; }
@media (min-width: 640px) { .stat-text { font-size: 1.25rem; } }
.stat-text strong { color: #fff; }

/* BLUEPRINT SECTION */
.blueprint-section { padding: 5rem 0; background: var(--bg-dark); }
@media (min-width: 640px) { .blueprint-section { padding: 8rem 0; } }
.section-header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 640px) { .section-header { margin-bottom: 5rem; } }
.section-header h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
@media (min-width: 640px) { .section-header h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-header h2 { font-size: 3rem; } }
.section-header p { font-size: 1.125rem; color: var(--text-muted); max-width: 42rem; margin: 0 auto; }
@media (min-width: 640px) { .section-header p { font-size: 1.25rem; } }

.blueprint-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .blueprint-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .blueprint-grid { gap: 3rem; } }

.card {
  position: relative; padding: 1.5rem; border-radius: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden; transition: all 0.3s;
}
@media (min-width: 640px) { .card { padding: 2rem; } }
.card:hover { border-color: rgba(0,229,255,0.5); background: rgba(255,255,255,0.07); }
.card-glow {
  position: absolute; top: 0; right: 0; width: 8rem; height: 8rem;
  background: rgba(0,229,255,0.1); border-radius: 50%; filter: blur(50px);
  transition: all 0.5s;
}
.card:hover .card-glow { background: rgba(0,229,255,0.2); }
.card-body { position: relative; z-index: 10; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .card-body { gap: 1.5rem; } }
.card-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
@media (min-width: 640px) { .card-icon { width: 4rem; height: 4rem; } }
.card:hover .card-icon { transform: scale(1.1); }
.card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .card h3 { font-size: 1.5rem; } }
.card-subtitle { color: var(--cyan); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.05em; }
@media (min-width: 640px) { .card-subtitle { font-size: 0.875rem; } }
.card p:last-child { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
@media (min-width: 640px) { .card p:last-child { font-size: 1rem; } }

/* TESTIMONIALS */
.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--bg-dark) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 640px) { .testimonials-section { padding: 6rem 0; } }
.testimonials-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr 1fr; } }

.testimonial {
  background: var(--bg-darker); padding: 1.5rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05); position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) { .testimonial { padding: 2rem; gap: 1.5rem; } }
.quote-icon {
  position: absolute; top: 1rem; right: 1rem; color: rgba(255,255,255,0.05);
}
@media (min-width: 640px) { .quote-icon { top: 1.5rem; right: 1.5rem; } }
.testimonial-text { font-size: 1rem; color: #d1d5db; line-height: 1.7; font-style: italic; position: relative; z-index: 10; }
@media (min-width: 640px) { .testimonial-text { font-size: 1.125rem; } }
.testimonial-author strong { display: block; color: #fff; }
.testimonial-author span { font-size: 0.875rem; color: var(--cyan); }

/* AUTHOR */
.author-section { padding: 5rem 0; background: var(--bg-dark); }
@media (min-width: 640px) { .author-section { padding: 8rem 0; } }
.author-grid { display: grid; gap: 2rem; align-items: center; max-width: 64rem; margin: 0 auto; }
@media (min-width: 640px) { .author-grid { gap: 3rem; } }
@media (min-width: 768px) { .author-grid { grid-template-columns: 2fr 3fr; } }

.author-image-col { display: flex; justify-content: center; }
.author-image-wrapper { max-width: 280px; width: 100%; position: relative; }
@media (min-width: 640px) { .author-image-wrapper { max-width: none; } }
.author-image-wrapper:hover { transform: scale(1.05); }

.author-content { display: flex; flex-direction: column; gap: 1.25rem; text-align: center; }
@media (min-width: 768px) { .author-content { text-align: left; gap: 1.5rem; } }
.author-content h2 { font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .author-content h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .author-content h2 { font-size: 3rem; } }
.author-tagline { color: var(--cyan); font-size: 1.125rem; font-weight: 500; }
@media (min-width: 640px) { .author-tagline { font-size: 1.25rem; } }
.author-bio { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .author-bio { gap: 1rem; } }
.author-bio p { font-size: 0.875rem; color: #d1d5db; line-height: 1.7; }
@media (min-width: 640px) { .author-bio p { font-size: 1rem; } }

.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; padding-top: 1rem; }
@media (min-width: 640px) { .credentials { gap: 1rem; padding-top: 1.5rem; } }
.credential {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500;
}
@media (min-width: 640px) { .credential { font-size: 0.875rem; gap: 0.75rem; } }

/* CTA */
.cta-section { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 640px) { .cta-section { padding: 8rem 0; } }
.cta-bg { position: absolute; inset: 0; background: var(--cyan); opacity: 0.1; }
.cta-blur {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100%; height: 100%; max-width: 56rem;
  background: linear-gradient(to right, var(--maroon), var(--bg-darker));
  filter: blur(48px); border-radius: 50%;
}
.cta-inner { position: relative; z-index: 10; text-align: center; max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
@media (min-width: 640px) { .cta-inner { gap: 2rem; } }
.cta-inner h2 { font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .cta-inner h2 { font-size: 3rem; } }
@media (min-width: 768px) { .cta-inner h2 { font-size: 3.75rem; } }
.cta-inner > p { font-size: 1.125rem; color: #d1d5db; }
@media (min-width: 640px) { .cta-inner > p { font-size: 1.25rem; } }

.cta-form {
  display: flex; flex-direction: column; gap: 0.75rem;
  width: 100%; max-width: 36rem; padding-top: 1rem;
}
@media (min-width: 640px) { .cta-form { flex-direction: row; gap: 1rem; padding-top: 2rem; } }
.cta-form input {
  flex: 1; height: 3rem; padding: 0 1.25rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.3s;
}
@media (min-width: 640px) { .cta-form input { height: 3.5rem; padding: 0 1.5rem; font-size: 1.125rem; } }
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus { border-color: var(--cyan); }
.cta-form button { white-space: nowrap; }
.cta-disclaimer { font-size: 0.75rem; color: var(--text-dim); }
@media (min-width: 640px) { .cta-disclaimer { font-size: 0.875rem; } }

/* FOOTER */
.footer {
  padding: 2rem 0; background: var(--bg-darker);
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 640px) { .footer { padding: 3rem 0; } }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 1.5rem; } }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; }
@media (min-width: 640px) { .footer-links { gap: 2rem; } }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }
@media (min-width: 640px) { .footer-copy { font-size: 0.875rem; } }
