/* ============================================
   PLOT HONEY — Global Styles
   Brand Gold: #de962b
   Background: #111010
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

:root {
  --gold: #de962b;
  --bg-primary: #111010;
  --bg-secondary: #161514;
  --bg-input: #1a1917;
  --text-light: #f0ece4;
  --text-muted: #9e9a90;
  --text-dim: #6b6860;
  --text-footer: #4a4740;
  --border: #333333;
  --border-light: #222222;
  --font-sans: 'Montserrat', helvetica, arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--text-light); font-weight: 600; line-height: 1.2; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

.label {
  font-size: 0.688rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background-color: var(--bg-secondary); }
.text-center { text-align: center; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 400px;
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17, 16, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand { text-decoration: none; }

.nav__logo {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--text-light); opacity: 1; }

.nav__cta {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light) !important;
  border: 1px solid var(--text-muted);
  padding: 8px 20px;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}

.nav__cta:hover {
  border-color: var(--gold);
  background: rgba(222, 150, 43, 0.1);
  opacity: 1;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(222, 150, 43, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero__logo {
  max-width: 320px;
  margin: 16px auto 12px;
}

.hero__tagline { margin-bottom: 48px; }

/* --- Signup Form --- */
.signup { max-width: 520px; margin: 0 auto; }

.signup__headline {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 6px;
}

.signup__sub {
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.signup__fine {
  font-size: 0.688rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* --- Brevo Form Overrides --- */
.brevo-embed #sib-container {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.brevo-embed .entry__field input.input {
  background: var(--bg-input) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-light) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.938rem !important;
  padding: 14px 16px !important;
  border-radius: 4px !important;
}

.brevo-embed .entry__field input.input::placeholder {
  color: var(--text-dim) !important;
}

.brevo-embed .sib-form-block__button {
  background-color: var(--gold) !important;
  color: var(--bg-primary) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  width: 100% !important;
  text-align: center !important;
  cursor: pointer !important;
}

.brevo-embed .sib-form-block__button:hover {
  background-color: #c9841f !important;
}

.brevo-embed .sib-form-message-panel { max-width: 100% !important; border-radius: 4px !important; }
.brevo-embed .sib-form-block p { margin: 0; }

/* Make Brevo button full width and centered */
.sib-form .sib-form-block__button {
  width: 100% !important;
  text-align: center !important;
}

/* Remove Brevo container border and fix background */
#sib-container {
  border: none !important;
  border-width: 0 !important;
  background-color: transparent !important;
}

/* Fix email input to match dark theme */
#sib-container .entry__field .input {
  background: #1a1917 !important;
  color: #f0ece4 !important;
  border: 1px solid #333333 !important;
  border-radius: 4px !important;
}

/* Fix Brevo outer form background */
.sib-form {
  background-color: transparent !important;
}

/* --- What We Publish --- */
.what-we-publish { text-align: center; }
.what-we-publish__title { margin-bottom: 24px; }

.what-we-publish__text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.938rem;
  line-height: 1.8;
}

/* --- Second Signup --- */
.signup-bottom {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-secondary);
}

.signup-bottom__title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 6px;
}

.signup-bottom__sub {
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --- Buttons --- */
.btn-buy {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 3px;
  transition: all 0.2s;
}

.btn-buy--primary { background: var(--gold); color: var(--bg-primary); }
.btn-buy--primary:hover { background: #c9841f; opacity: 1; }

.btn-buy--outline { border: 1px solid var(--border); color: var(--text-muted); }
.btn-buy--outline:hover { border-color: var(--gold); color: var(--text-light); opacity: 1; }

/* --- Contact --- */
.contact__email {
  font-size: 1.2rem;
  color: var(--gold);
}

/* --- Page Header --- */
.page-header {
  text-align: center;
  padding: 140px 24px 60px;
}

.page-header__title { font-size: 2rem; }
.page-header__sub { margin-top: 12px; font-size: 0.938rem; }

/* --- Confirmation Pages --- */
.confirm-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.confirm-page__title { font-size: 1.6rem; margin-bottom: 12px; }

.confirm-page__text {
  max-width: 400px;
  font-size: 0.938rem;
  line-height: 1.7;
}

.confirm-page__link {
  margin-top: 32px;
  font-size: 0.813rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border-light);
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__links a:hover { color: var(--text-muted); }

.footer__imprint {
  font-size: 0.625rem;
  color: var(--text-footer);
  letter-spacing: 1px;
}

.footer__copyright {
  font-size: 0.563rem;
  color: var(--text-footer);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

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

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(17, 16, 16, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero__logo { max-width: 240px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero__logo { max-width: 200px; }
}
