/* AgenteBnb · Shared brand theme
   Use across login/register/pricing/blog/seo/onboarding/billing/unsubscribe.
   Mirrors the redesigned landing system. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
  --ink:        #0a0a0a;
  --ink-2:      #1a1a1a;
  --ink-3:      #525252;
  --ink-4:      #8a8a8a;
  --ink-5:      #b8b8b8;
  --paper:      #ffffff;
  --paper-2:    #fafaf9;
  --paper-3:    #f4f3f0;
  --line:       #e8e6e1;
  --line-2:     #d8d4cc;
  --accent:     #d24a1f;
  --accent-h:   #b53e18;
  --accent-soft:#fde8df;
  --good:       #1f7a4d;
  --good-soft:  #ecf6f1;
  --good-line:  #c8e1d4;
  --warn:       #b85d00;
  --warn-soft:  #fef6ea;
  --warn-line:  #f0d9bb;
  --crit:       #b3261e;
  --crit-soft:  #fdf2f1;
  --crit-line:  #f0c9c6;
  --radius:     12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  background: var(--paper-2); color: var(--ink); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Instrument Serif', 'Times New Roman', serif; font-style: italic; font-weight: 400; color: var(--accent); line-height: 0.95; display: inline-block; }
.mono  { font-family: 'Geist Mono', ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.section-sub { font-size: 1.05rem; color: var(--ink-3); max-width: 580px; line-height: 1.6; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.section-head.left   { display: flex; flex-direction: column; gap: 0.9rem; }

section { padding: 5.5rem 0; position: relative; }
.divider { height: 1px; background: var(--line); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--paper-2);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.55rem 1rem; border-radius: 10px;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background .15s, transform .15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); color: var(--paper-2); }
.btn-primary-lg { font-size: 0.98rem; padding: 0.85rem 1.4rem; border-radius: 12px; }
.btn-primary-block { width: 100%; justify-content: center; }
.btn-ghost {
  background: transparent; border: 0; color: var(--ink-2);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--accent); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); color: var(--ink);
  font-size: 0.95rem; font-weight: 500; padding: 0.85rem 1.3rem;
  border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--ink); background: var(--paper-2); }

.tag-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-3); background: var(--paper);
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* Nav (shared) */
.brand-nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250,250,249,.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
}
.brand-logo-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
  position: relative;
}
.brand-logo-mark::after { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 999px; position: absolute; bottom: 5px; right: 5px; }
.brand-logo .dot-acc { color: var(--accent); }
.brand-nav-center { display: flex; gap: 0.25rem; align-items: center; }
.brand-nav-center a {
  color: var(--ink-3); font-size: 0.88rem; font-weight: 500;
  padding: 0.4rem 0.85rem; border-radius: 8px; transition: color .15s, background .15s;
}
.brand-nav-center a:hover { color: var(--ink); background: rgba(10,10,10,.04); }
.brand-nav-ctas { display: flex; align-items: center; gap: 0.6rem; }
@media (max-width: 760px) { .brand-nav-center { display: none; } }

/* Footer (shared) */
.brand-footer { padding: 3rem 0 2.5rem; background: var(--paper-2); border-top: 1px solid var(--line); }
.brand-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.brand-footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.brand-footer-links a { color: var(--ink-3); font-size: 0.88rem; }
.brand-footer-links a:hover { color: var(--accent); }
.brand-footer-copy { font-size: 0.8rem; color: var(--ink-4); }

/* Form controls */
.brand-input {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.7rem 0.9rem; color: var(--ink);
  font-size: 0.92rem; font-family: inherit; width: 100%;
  transition: border-color .15s, background .15s;
}
.brand-input:focus { outline: none; border-color: var(--ink); }
.brand-input::placeholder { color: var(--ink-4); }
.brand-label {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.4rem;
}

/* Alerts / states */
.brand-alert {
  border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.85rem;
  display: flex; gap: 0.5rem; align-items: flex-start;
  border: 1px solid; margin-bottom: 1rem;
}
.brand-alert-error { background: var(--crit-soft); border-color: var(--crit-line); color: var(--crit); }
.brand-alert-success { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }
.brand-alert-info { background: var(--paper); border-color: var(--line); color: var(--ink-2); }

.state {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid; letter-spacing: .04em; text-transform: uppercase;
}
.state.good { color: var(--good); background: var(--good-soft); border-color: var(--good-line); }
.state.warn { color: var(--warn); background: var(--warn-soft); border-color: var(--warn-line); }
.state.crit { color: var(--crit); background: var(--crit-soft); border-color: var(--crit-line); }

/* Cards */
.brand-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.6rem;
  transition: border-color .15s, transform .15s;
}
.brand-card-hover:hover { border-color: var(--ink-4); transform: translateY(-2px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
