/* ── ASKJON.ME — Global Styles ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --ink:          #eef2ef;
  --paper:        #0a0f0d;
  --paper-warm:   #0f1712;
  --surface:      #162019;
  --surface-up:   #1d2c23;
  --accent:       #2dd4a0;
  --accent-dim:   rgba(45,212,160,.15);
  --mid:          #b8d4c8;
  --rule:         rgba(45,212,160,.18);
  --serif:        'DM Serif Display', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --max:          1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .5;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,15,13,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--accent); transition: right .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta {
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: #0d1210; padding: .55rem 1.4rem;
  border-radius: 2px; text-decoration: none; transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* ── MARQUEE ── */
.marquee-strip { background: var(--surface); padding: .9rem 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee-inner span { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; padding: 0 2.5rem; opacity: .65; }
.marquee-inner .dot { color: var(--accent); opacity: 1; padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION COMMONS ── */
section { padding: 7rem 5vw; }
.section-label {
  font-size: .7rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.section-label::before { content: ''; display: inline-block; width: 1.5rem; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: #0d1210; padding: .85rem 2rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: opacity .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--ink); padding: .85rem 2rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(45,212,160,.35); border-radius: 2px;
  transition: border-color .2s, color .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--surface); color: var(--ink);
  padding: 3rem 5vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-logo { font-family: var(--serif); font-size: 1.2rem; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(232,237,233,.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .72rem; color: rgba(232,237,233,.35); letter-spacing: .05em; }

/* ── FADE-UP ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── BOT PLACEHOLDER (drop-in ready) ── */
#askjon-bot-mount {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  /* Bot widget mounts here — just add <script src="bot.js"></script> */
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
