/* ─── Pebb shared dark theme ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:    #7C6FCD;
  --purple-lt: #A99AEA;
  --purple-dk: #5A4FAA;
  --ink:       #EDEBF7;
  --body:      #9D98B8;
  --muted:     #6B6488;
  --bg:        #0B0A12;
  --surface:   #14121F;
  --surface-2: #1A1828;
  --border:    rgba(124, 111, 205, 0.16);
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient glow */
body::before {
  content: '';
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 760px;
  max-width: 130vw;
  background: radial-gradient(ellipse at center, rgba(124, 111, 205, 0.20) 0%, rgba(124, 111, 205, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; border-radius: 50%; }
.nav-logo span {
  font-size: 21px; font-weight: 800; letter-spacing: -0.8px; color: var(--ink);
}
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-right a.nav-link {
  font-size: 15px; font-weight: 500; color: var(--body); text-decoration: none; transition: color 0.2s;
}
.nav-right a.nav-link:hover { color: var(--ink); }
.nav-login {
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--surface); transition: border-color 0.2s, transform 0.2s;
}
.nav-login:hover { border-color: var(--purple-lt); transform: translateY(-1px); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 17px; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--purple-dk));
  border: none; border-radius: 100px; padding: 17px 38px;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 34px rgba(124, 111, 205, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(124, 111, 205, 0.55); }
.btn-primary svg { width: 20px; height: 20px; flex-shrink: 0; }

/* pulsing glow for the primary CTA (à la Tomo's hero button) */
.btn-glow { animation: btn-glow 4.5s ease-in-out infinite; }
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 10px 34px rgba(124, 111, 205, 0.4); }
  50%       { box-shadow: 0 10px 44px rgba(124, 111, 205, 0.75), 0 0 0 4px rgba(124, 111, 205, 0.12); }
}
.btn-glow:hover { animation: none; }

/* ─── HERO ─── */
.hero {
  flex: 1; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px 80px;
}
.hero-logo {
  width: 104px; height: 104px; border-radius: 50%; margin-bottom: 34px;
  filter: drop-shadow(0 14px 40px rgba(124, 111, 205, 0.6));
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple-lt); background: rgba(124, 111, 205, 0.12);
  border: 1px solid rgba(124, 111, 205, 0.28); border-radius: 100px;
  padding: 6px 15px; margin-bottom: 26px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple-lt);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px); font-weight: 900; letter-spacing: -2.8px;
  line-height: 1.04; color: var(--white); max-width: 760px; margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--purple-lt) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 19px; font-weight: 500; color: var(--body); margin-bottom: 40px; }
.hero-legal { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hero-legal a { color: var(--purple-lt); text-decoration: none; font-weight: 500; }
.hero-legal a:hover { text-decoration: underline; }

/* social proof */
.social-proof { display: flex; align-items: center; gap: 13px; margin-top: 56px; }
.avatars { display: flex; }
.avatars img {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid var(--bg); margin-left: -11px; object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }
.proof-text { font-size: 14px; color: var(--body); text-align: left; }
.proof-text strong { color: var(--ink); font-weight: 700; }

/* ─── CONTENT PAGES ─── */
.page {
  flex: 1; position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto; width: 100%;
  padding: 48px 32px 96px;
}
.page-header { text-align: center; margin-bottom: 56px; }
.page-header h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -2px;
  color: var(--white); margin-bottom: 14px;
}
.page-header p { font-size: 18px; color: var(--body); }

.page h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.6px;
  color: var(--white); margin: 40px 0 14px;
}
.page h3 {
  font-size: 17px; font-weight: 700; color: var(--ink); margin: 28px 0 8px;
}
.page p { font-size: 16px; line-height: 1.75; color: var(--body); margin-bottom: 16px; }
.page ul { margin: 0 0 16px 22px; }
.page li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 8px; }
.page a.inline { color: var(--purple-lt); text-decoration: none; font-weight: 500; }
.page a.inline:hover { text-decoration: underline; }
.page .muted-note { font-size: 14px; color: var(--muted); margin-top: 48px; }

/* cards / FAQ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 28px; margin-bottom: 16px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* feature grid (about) */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 28px 0;
}
.feature-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}
.feature-tile .ico {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(124,111,205,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.feature-tile h3 { margin: 0 0 6px; font-size: 16px; }
.feature-tile p { font-size: 14px; margin: 0; }

/* contact methods */
.contact-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 14px;
  text-decoration: none;
}
.contact-row:hover { border-color: rgba(124,111,205,0.4); }
.contact-row .ico { font-size: 24px; }
.contact-row .label { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-row .value { font-size: 17px; font-weight: 600; color: var(--ink); }

.cta-row { text-align: center; margin-top: 56px; }

/* ─── FOOTER ─── */
footer {
  position: relative; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 28px 32px; max-width: 1200px; margin: 0 auto; width: 100%;
  flex-wrap: wrap; border-top: 1px solid var(--border);
}
footer a {
  font-size: 14px; color: var(--body); text-decoration: none; transition: color 0.2s;
}
footer a:hover { color: var(--ink); }
.footer-x { margin-left: auto; display: flex; align-items: center; }
.footer-x svg { width: 18px; height: 18px; fill: var(--body); transition: fill 0.2s; }
.footer-x:hover svg { fill: var(--ink); }

@media (max-width: 560px) {
  .footer-x { margin-left: 0; }
  footer { gap: 16px; }
  .nav-right { gap: 16px; }
}
