/* CSS Variables */
:root {
  --color-bg-dark: #0a0a0f;
  --color-bg-section: #0d0d14;
  --color-gold: #c9a227;
  --color-gold-light: #d4b84a;
  --color-cream: #e8dcc4;
  --color-text: #d4d0c7;
  --color-text-muted: #8a8680;
  --color-border: #2a2a35;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Raleway", -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-cream);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

em {
  font-style: italic;
  color: var(--color-gold-light);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  height: 40px;
  width: auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(
    135deg,
    var(--color-bg-dark) 0%,
    #12121a 50%,
    #0a0a0f 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(201, 162, 39, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-right: 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* Form Styles */
.signup-form {
  max-width: 400px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-cream);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-bg-dark);
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 100%
  );
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.form-helper {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 20px !important;
  margin-bottom: 0;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-mockup {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Chapter Preview Section */
.chapter-preview {
  padding: 6rem 2rem;
  background-color: var(--color-bg-section);
  position: relative;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.decorative-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
  margin: 0 auto 2rem;
}

.chapter-text {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.9;
}

.chapter-text p {
  margin-bottom: 1.5rem;
}

.chapter-text .closing {
  margin-top: 2rem;
  font-style: italic;
  color: var(--color-cream);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 2rem;
  background-color: var(--color-bg-dark);
}

.testimonials .section-content {
  max-width: 1100px;
}

.testimonials h2 {
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-cream);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.quote-author {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Footer */
.footer {
  background-color: var(--color-bg-section);
  padding: 4rem 2rem 0;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.footer-brand .tagline {
  font-size: 0.9375rem;
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: 1rem;
}

.footer-brand .bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.copyright {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.copyright p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.copyright a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 0.5rem;
}

.copyright a:hover {
  color: var(--color-gold);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    order: 0;
  }

  .hero-image {
    order: 1;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .signup-form {
    margin: 0 auto;
  }

  .book-mockup {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .chapter-preview,
  .testimonials {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }

  h1 {
    font-size: 2rem;
  }

  .book-mockup {
    max-height: 300px;
  }

  .testimonial {
    padding: 1.5rem;
  }
}
