/* ==========================================================================
   ADViBE — advibe.fun
   ========================================================================== */

:root {
  --ink: #0c1024;
  --ink-soft: #3e4660;
  --ink-mute: #5f6784;
  --line: #e4e7f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --brand: #5b3df5;
  --brand-dark: #4327e0;
  --brand-tint: #efebff;
  --dark: #0b0f22;
  --grad-text: linear-gradient(100deg, #5b3df5 10%, #8b3df0 50%, #0a8fd8 95%);
  --grad-cta: linear-gradient(120deg, #4327e0 0%, #5b3df5 45%, #2a6ef0 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 16, 36, .05), 0 12px 32px -16px rgba(12, 16, 36, .22);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font: 400 1rem/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid rgba(91, 61, 245, .5);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Layout
   ========================================================================== */

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { --wrap: 780px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 24px -10px rgba(91, 61, 245, .75);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn svg { flex: none; }
.btn span { min-width: 0; }

.btn-sm { padding: 9px 16px; border-radius: 10px; font-size: .925rem; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(12, 16, 36, .06);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(12, 16, 36, .55);
}
.btn-light:hover { background: #f3f0ff; color: var(--ink); }

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }

.site-nav .btn { margin-left: 8px; }

@media (max-width: 760px) {
  .nav-link { display: none; }
}

/* Gradient text (brand "ViBE" + hero accent) */
.grad-text,
.brand-name span { color: var(--brand); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text,
  .brand-name span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 136px) 0 clamp(64px, 9vw, 108px);
  text-align: center;
  background:
    radial-gradient(640px 320px at 12% 0%, rgba(91, 61, 245, .16), transparent 70%),
    radial-gradient(560px 300px at 88% 6%, rgba(16, 181, 255, .15), transparent 70%),
    linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 16, 36, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 16, 36, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 900px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.hero h1 { margin: 24px auto 20px; }

.lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--brand); }

/* Sections
   ========================================================================== */

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.split { display: grid; gap: 24px 72px; align-items: start; }

@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.text-lg {
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}
.text-lg p:last-child { margin-bottom: 0; }

.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}

/* Capabilities */
.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.note svg { flex: none; margin-top: 1px; color: var(--brand); }

.features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

/* Client account access (dark band) */
.section-dark {
  background:
    radial-gradient(720px 360px at 92% 0%, rgba(91, 61, 245, .38), transparent 70%),
    radial-gradient(620px 320px at 0% 100%, rgba(16, 181, 255, .16), transparent 70%),
    var(--dark);
  color: #c3c8de;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #a896ff; }

.section-head { max-width: 640px; }

.cards { display: grid; gap: 16px; margin-top: 44px; }

@media (min-width: 820px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.card .icon { margin-bottom: 20px; background: rgba(168, 150, 255, .14); color: #c2b6ff; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }

/* Privacy links */
.link-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.link-list a:hover {
  border-color: #cfc5ff;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.link-list svg { flex: none; color: var(--brand); transition: transform .15s ease; }
.link-list a:hover svg { transform: translateX(3px); }

/* Contact */
.section-contact { padding-top: 0; }

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 24px;
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(67, 39, 224, .6);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(255, 255, 255, .16), transparent 70%),
    radial-gradient(360px 200px at 10% 100%, rgba(16, 181, 255, .3), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.1rem;
}

/* Footer
   ========================================================================== */

.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 48px;
}

.footer-brand .brand { font-size: 1.2rem; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-brand p {
  max-width: 380px;
  margin: 14px 0 0;
  color: var(--ink-mute);
  font-size: .95rem;
}

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }

.footer-nav a {
  padding: 2px 14px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-nav a + a { border-left: 1px solid var(--line); }
.footer-nav a:last-child { padding-right: 0; }
.footer-nav a:hover,
.footer-nav a[aria-current="page"] { color: var(--brand); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-soft); }

@media (max-width: 640px) {
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav a { padding: 0; }
  .footer-nav a + a { border-left: 0; }
}

/* Legal pages
   ========================================================================== */

.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(620px 260px at 8% 0%, rgba(91, 61, 245, .12), transparent 70%),
    radial-gradient(520px 240px at 92% 0%, rgba(16, 181, 255, .1), transparent 70%),
    var(--bg-soft);
}
.page-head h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 3.25rem); }

.meta { margin: 0; color: var(--ink-mute); }

.prose {
  padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 104px);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose .intro { color: var(--ink); font-size: 1.2rem; line-height: 1.65; }
.prose h2 { margin: 2.1em 0 .6em; font-size: 1.5rem; letter-spacing: -.02em; }
.prose ul { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--brand); }

.contact-box {
  margin: 2.5em 0;
  padding: clamp(20px, 5vw, 28px) clamp(20px, 5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.contact-box:last-child { margin-bottom: 0; }
.contact-box h2 { margin-top: 0; }
.contact-box p:last-child { margin-bottom: 0; }

.email { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
