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

:root {
  --bg-dark: #1E3A4A;
  --bg-darker: #162D3A;
  --gold: #C9A84C;
  --gold-light: #DFC06A;
  --text-white: #F5F2EB;
  --text-muted: #A0B4BF;
  --text-dark: #1A1A1A;
  --bg-light: #F5F2EB;
  --border-subtle: rgba(201, 168, 76, 0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-white);
  background: var(--bg-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); text-decoration: underline; }

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    var(--bg-darker);
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* === Email Capture Form === */
.capture-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.5rem;
}

.capture-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}

.capture-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.capture-form input[type="email"]:focus {
  border-color: var(--gold);
}

.capture-form button {
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--gold);
  color: var(--bg-darker);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  min-width: 48px;
  transition: background 0.2s, transform 0.1s;
}

.capture-form button:hover {
  background: var(--gold-light);
}

.capture-form button:active {
  transform: scale(0.98);
}

.capture-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  min-height: 1.4em;
}

.form-status.success { color: #7CCA9C; }
.form-status.error { color: #E8736C; }

/* === Features === */
.features {
  padding: 5rem 1.5rem;
  background: var(--bg-dark);
}

.features h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === About === */
.about {
  padding: 5rem 1.5rem;
  background: var(--bg-darker);
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 240px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.about-subtitle {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.about-author {
  margin-top: 1rem;
  color: var(--text-white);
}

/* === Footer === */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.footer p { margin-bottom: 0.4rem; }

/* === Cookie Banner === */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 100;
}

.cookie-banner button {
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--bg-darker);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  min-height: 36px;
}

/* === Mobile === */
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }

  .capture-form button {
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .about-image img {
    width: 200px;
  }

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