/* ============================================================
   Bloopi — Design System ("Classic 2011 Twitter")
   All color, geometry and component tokens live here.
   Reference tokens in HTML via class hooks — never raw hex.
   ============================================================ */

/* === TOKENS === */
:root {
  /* Brand blues */
  --bl-blue:        #0084b4;
  --bl-blue-hover:  #005f80;
  --bl-blue-press:  #004d68;
  --bl-blue-bright: #33ccff;
  --bl-blue-soft:   #e6f3fa;
  --bl-blue-ring:   rgba(51,204,255,.55);
  /* Chrome & backdrop */
  --bl-sky:         #c0deed;
  --bl-bg:          #c0deed;
  --bl-sky-deep:    #a8d0e6;
  --bl-bar-top:     #2aa3d4;
  --bl-bar-bottom:  #1c87b8;
  --bl-bar-edge:    #15709a;
  /* Surfaces */
  --bl-surface:       #ffffff;
  --bl-surface-muted: #f5f8fa;
  --bl-surface-hover: #f5fbfe;
  --bl-surface-well:  #e8eff3;
  /* Ink */
  --bl-ink:       #292f33;
  --bl-ink-soft:  #66757f;
  --bl-ink-faint: #8899a6;
  /* Lines & bevels */
  --bl-line:        #e1e8ed;
  --bl-line-strong: #c4cdd5;
  --bl-bevel-light: rgba(255,255,255,.7);
  --bl-bevel-dark:  rgba(0,0,0,.08);
  /* Semantic */
  --bl-success: #5cb85c;
  --bl-warning: #c08a00;
  --bl-danger:  #d9534f;
  /* Geometry */
  --bl-radius-sm: 4px;
  --bl-radius:    5px;
  --bl-radius-lg: 7px;
  /* Depth */
  --bl-shadow:      0 1px 2px rgba(0,0,0,.12);
  --bl-shadow-pop:  0 3px 8px rgba(0,0,0,.2);
  --bl-shadow-blue: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.2);
  /* Motion */
  --bl-ease:     cubic-bezier(.4,0,.2,1);
  --bl-ease-out: cubic-bezier(0,0,.2,1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === BASE === */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bl-sky);
  color: var(--bl-ink);
  line-height: 1.45;
  min-height: 100vh;
}

/* === MOTION === */
@keyframes blFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: blFadeUp .5s var(--bl-ease-out) both; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--bl-ease-out), transform .6s var(--bl-ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; }
  .reveal  { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* === NAVBAR === */
.site-nav {
  background: linear-gradient(180deg, var(--bl-bar-top) 0%, var(--bl-bar-bottom) 100%);
  border-bottom: 2px solid var(--bl-bar-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  letter-spacing: -.3px;
}
.nav-brand:hover { color: #fff; text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  padding: .4rem .75rem;
  border: 1px solid transparent;
  border-radius: var(--bl-radius);
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
  transition: background .15s var(--bl-ease);
}
.nav-links a:hover { background: rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.nav-links a.nav-cta {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.nav-links a.nav-cta:hover { background: rgba(0,0,0,.3); }

/* === LAYOUT === */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.content-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* === PANELS === */
.panel {
  background: var(--bl-surface);
  border: 1px solid var(--bl-line-strong);
  border-radius: var(--bl-radius-lg);
  box-shadow: var(--bl-shadow), inset 0 1px 0 var(--bl-bevel-light);
  overflow: hidden;
}
.panel-body { padding: 1.5rem; }
.panel-body + .panel-body { border-top: 1px solid var(--bl-line); }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #3aaede 0%, #1c87b8 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  border: 1px solid #1577a0;
  border-radius: var(--bl-radius);
  padding: .55rem 1.5rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.15);
  transition: filter .15s var(--bl-ease);
  white-space: nowrap;
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.btn-primary:active {
  background: linear-gradient(180deg, #1c87b8 0%, #1577a0 100%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
}
.btn-outline {
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, #e9eff2 100%);
  color: var(--bl-blue);
  border: 1px solid var(--bl-line-strong);
  border-radius: var(--bl-radius);
  padding: .55rem 1.5rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 1px rgba(0,0,0,.08);
  transition: filter .15s var(--bl-ease);
  white-space: nowrap;
}
.btn-outline:hover { filter: brightness(.97); color: var(--bl-blue-hover); text-decoration: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-weight: 700; color: var(--bl-ink); line-height: 1.25; }
a { color: var(--bl-blue); text-decoration: none; }
a:hover { color: var(--bl-blue-hover); text-decoration: underline; text-underline-offset: 2px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

/* === DIVIDERS & RAILS === */
hr { border: none; border-top: 1px solid var(--bl-line); margin: 1.25rem 0; }
.rail-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bl-ink-soft);
  border-bottom: 1px solid var(--bl-line);
  padding-bottom: .45rem;
  margin-bottom: 1rem;
}

/* === CONTENT PAGE SHELL (about, guidelines, terms, privacy) === */
.content-panel { padding: 2.5rem 2rem; }
.content-panel h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.content-panel h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .6rem; }
.content-panel p,
.content-panel li { font-size: .95rem; color: var(--bl-ink-soft); line-height: 1.65; }
.content-panel .meta { font-size: .82rem; color: var(--bl-ink-faint); margin-bottom: 1.5rem; }

/* === FOOTER === */
.site-footer {
  background: linear-gradient(180deg, #1e4d6b 0%, #163a52 100%);
  border-top: 2px solid #0f2a3d;
  color: #9ab8cc;
  font-size: .8rem;
  padding: 1.25rem 1.25rem 1.5rem;
  text-align: center;
}
.site-footer a { color: #9ab8cc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1.1rem;
  margin-bottom: .6rem;
  padding: 0;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .page-wrap  { padding: 1rem .875rem 2.5rem; }
  .content-wrap { padding: 1.25rem .875rem 2.5rem; }
  .content-panel { padding: 1.5rem 1.25rem; }
  .content-panel h1 { font-size: 1.6rem; }
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

footer a {
    text-decoration: none;
    color: #515154;
    transition: color 0.3s;
}

footer a:hover {
    color: #007aff;
}

/* Animation Classes */
.animate-hero, .animate-problem, .animate-solution, .animate-monetization {
    opacity: 0;
    transform: translateY(30px);
}

