/* ═══════════════════════════════════════
   OLIVIA — Landing Page
   Minimalist · Light · Glass
   olivia.tools
═══════════════════════════════════════ */

:root {
  --bg:        #F8F7F5;
  --bg-2:      #FFFFFF;
  --surface:   rgba(255,255,255,0.72);

  --border:    rgba(0,0,0,0.07);

  --text:      #111111;
  --text-2:    #444444;
  --text-3:    #888888;

  --olivia:    #D0B8E8;
  --olivia-2:  #B89ED0;
  --olivia-3:  #8B5CF6;

  --blob-a:    rgba(208,184,232,0.45);
  --blob-b:    rgba(139,92,246,0.18);
  --blob-c:    rgba(180,155,235,0.28);
  --blob-d:    rgba(200,185,245,0.22);

  /* Solid orb accent colors */
  --orb-a:     rgba(212,192,238,0.55);
  --orb-b:     rgba(148,104,252,0.22);
  --orb-c:     rgba(185,165,230,0.38);
  --orb-d:     rgba(215,200,248,0.32);

  --f-sans:    'Geist', system-ui, sans-serif;
  --f-display: 'Cormorant Garamond', Georgia, serif;

  --nav-h: 62px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 500; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }

/* ── Layout ───────────────────────────── */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 48px; }

/* ── Typography ───────────────────────── */
.section-label {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
  display: block;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.section-title em { font-style: italic; color: var(--olivia-2); }

/* ── Reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[style*="--d"] { transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--filled {
  background: var(--text);
  color: var(--bg);
  padding: 12px 28px;
  border-radius: 100px;
}
.btn--filled:hover { background: #222; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn--ghost {
  background: transparent;
  color: var(--text-2);
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(0,0,0,0.16); }

/* ── Floating Blobs ───────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  z-index: 0;
}
/* Fuzzy gradient blobs */
.blob--1 { width: 480px; height: 480px; background: var(--blob-a); top: -80px; right: 3%; animation: blob-drift 13s ease-in-out infinite; }
.blob--2 { width: 300px; height: 300px; background: var(--blob-b); bottom: 8%; left: 6%; animation: blob-drift 16s ease-in-out infinite reverse; }
.blob--3 { width: 200px; height: 200px; background: var(--blob-c); top: 45%; left: 58%; animation: blob-drift 11s ease-in-out infinite; animation-delay: -4s; }
.blob--4 { width: 540px; height: 540px; background: var(--blob-d); top: -120px; right: -140px; animation: blob-drift 18s ease-in-out infinite; }

/* Solid crisp orbs — no blur, float alongside the blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb--a { width: 110px; height: 110px; background: var(--orb-a); top: 18%; right: 12%; animation: blob-drift 9s ease-in-out infinite reverse; animation-delay: -2s; }
.orb--b { width: 62px; height: 62px; background: var(--orb-b); bottom: 22%; left: 14%; animation: blob-drift 7s ease-in-out infinite; animation-delay: -1s; }
.orb--c { width: 44px; height: 44px; background: var(--orb-c); top: 55%; left: 62%; animation: blob-drift 6s ease-in-out infinite reverse; animation-delay: -3s; }
.orb--d { width: 78px; height: 78px; background: var(--orb-d); top: 30%; right: 30%; animation: blob-drift 10s ease-in-out infinite; animation-delay: -5s; }

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -24px) scale(1.04); }
  66%       { transform: translate(-14px, 16px) scale(0.97); }
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.nav.scrolled {
  background: rgba(248,247,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.nav__wordmark {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav__cta {
  font-family: var(--f-sans);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease);
}
.nav__cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Nav right group */
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Language Switcher ────────────── */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lang-switcher__btn:hover { color: var(--text); border-color: rgba(0,0,0,0.16); }
.lang-switcher__btn svg { opacity: 0.5; transition: transform 0.2s; }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  min-width: 130px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s var(--ease);
  z-index: 110;
}
.lang-switcher__menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-2);
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-switcher__option:hover { background: rgba(208,184,232,0.12); color: var(--text); }
.lang-switcher__option.active { color: var(--olivia-3); font-weight: 500; }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 80px) 48px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olivia-2);
  margin-bottom: 2rem;
  display: block;
}
.hero__headline {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.hero__headline em { font-style: italic; color: var(--olivia-2); }
.hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2.8rem;
}
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════
   CENTER — Everything in one place
════════════════════════════════════ */
.center {
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}

.center__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.center__body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 1rem;
}

/* Platform list */
.platforms {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.platform {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  cursor: default;
}
.platform:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(208,184,232,0.45);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.platform__logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.platform__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}
.platform__detail {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-3);
}

/* More providers row */
.platforms__more {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.platforms__more-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.platforms__more-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.platform-chip {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-3);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  cursor: default;
}
.platform-chip:hover { color: var(--text-2); border-color: rgba(208,184,232,0.5); background: rgba(208,184,232,0.08); }
.platform-chip--more {
  color: var(--olivia-2);
  border-color: rgba(208,184,232,0.4);
  background: rgba(208,184,232,0.06);
  font-style: italic;
}

/* ════════════════════════════════════
   IDENTITY
════════════════════════════════════ */
.identity {
  padding: 110px 0 120px;
  background: var(--bg-2);
}

.identity__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.identity__body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.identity__body em { font-style: italic; color: var(--text); }

/* Orbit */
.identity__orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.orbit {
  position: relative;
  width: 310px;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit__center {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-2);
  z-index: 2;
  position: relative;
  box-shadow: 0 0 0 6px rgba(208,184,232,0.08), 0 0 0 12px rgba(208,184,232,0.04);
}
.taste-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--c, var(--olivia-2));
  padding: 4px 12px;
  background: var(--bg-2);
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.72;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.taste-tag:hover { opacity: 1; }
.orbit__caption {
  font-size: 0.72rem;
  color: var(--text-3);
  font-style: italic;
  text-align: center;
}

/* ════════════════════════════════════
   CTA
════════════════════════════════════ */
.cta-section { padding: 100px 0 110px; }
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 64px 60px;
  max-width: 580px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 40px rgba(0,0,0,0.05), 0 0 0 1px rgba(208,184,232,0.15);
}
.cta-box__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olivia-2);
  display: block;
  margin-bottom: 1.2rem;
}
.cta-box__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.cta-box__title em { font-style: italic; color: var(--olivia-2); }
.cta-box__sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 2.4rem;
}
.cta-form__row { display: flex; gap: 10px; margin-bottom: 14px; }
.cta-form__input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cta-form__input::placeholder { color: var(--text-3); }
.cta-form__input:focus {
  border-color: rgba(208,184,232,0.6);
  box-shadow: 0 0 0 3px rgba(208,184,232,0.12);
}
.cta-form__note { font-size: 0.75rem; color: var(--text-3); line-height: 1.5; }
.cta-success {
  display: none;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--olivia-2);
  padding: 14px 0;
}
.cta-success.visible { display: block; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer { padding: 30px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__name { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--text-2); }
.footer__link { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer__link:hover { color: var(--text); }
.footer__copy { font-size: 0.72rem; color: var(--text-3); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

/* Medium desktops — avoid massive whitespace */
@media (max-width: 1280px) {
  .center, .identity { padding: 88px 0; }
  .cta-section { padding: 80px 0 88px; }
}

@media (max-width: 900px) {
  .center__layout, .identity__grid { grid-template-columns: 1fr; gap: 44px; }
  .blob--4 { display: none; }
  .center, .identity { padding: 72px 0; }
  .cta-section { padding: 64px 0 72px; }
  /* Hero: no full-vh forcing on smaller screens */
  .hero { min-height: unset; padding: calc(var(--nav-h) + 64px) 48px 80px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav__inner { padding: 0 24px; }
  .nav__right { gap: 8px; }
  .lang-switcher__btn { padding: 6px 10px; font-size: 0.72rem; }

  /* Full-screen sections on mobile */
  .hero {
    min-height: 100dvh;
    padding: calc(var(--nav-h) + 40px) 24px 40px;
  }
  .hero__headline { font-size: 3rem; }

  .center {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 60px 0;
  }
  .center > .container { width: 100%; }

  .identity {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 60px 0;
  }
  .identity > .container { width: 100%; }

  .cta-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 60px 0;
  }
  .cta-section > .container { width: 100%; }

  .cta-form__row { flex-direction: column; }
  .cta-box { padding: 40px 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 2.4rem; }
  .section-title { font-size: 1.9rem; }
  .orbit { width: 260px; height: 260px; }
  .center, .identity { padding: 44px 0; }
  .cta-section { padding: 36px 0 44px; }
  .cta-box { padding: 32px 20px; }
}
