/* ============================================================
   Adra — Site styles (LIGHT mode, per screenshot direction)
   ============================================================ */
@import url('./colors_and_type.css');

:root {
  --bg-page: #FAF7FF;          /* soft lavender paper */
  --bg-page-2: #F2ECFB;        /* amethyst-50 wash */
  --bg-card: #FFFFFF;
  --ink: #0A0A12;
  --ink-2: #3A3A45;
  --ink-3: #6A6A75;
  --hair: rgba(10,10,18,0.08);
  --hair-strong: rgba(10,10,18,0.16);
  --amethyst: #9F80DA;
  --amethyst-deep: #7A5CC2;
  --amethyst-glow: rgba(159,128,218,0.35);
}

html, body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--ink); text-decoration: none; border: none; }
img { display: block; max-width: 100%; }

/* Subtle page gradient, visible on hero only via pseudo */
.page-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 60% -10%, rgba(159,128,218,0.22), transparent 60%),
    linear-gradient(180deg, #FAF7FF 0%, #FFFFFF 60%);
}

/* ============ NAV ============ */
.nav-wrap {
  position: fixed; top: 20px; left: 20px; right: 20px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  pointer-events: none;
}
.nav-wrap > * { pointer-events: auto; }

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(127,96,204,0.10);
  z-index: 2;
}

.nav-pill {
  display: flex; gap: 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(127,96,204,0.08);
}
.nav-pill a {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  transition: all 180ms var(--ease-out);
  white-space: nowrap;
}
.nav-pill a:hover { color: var(--ink); background: rgba(10,10,18,0.04); }
.nav-pill a.active { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(10,10,18,0.06); }

.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(127,96,204,0.08);
}
.nav-cta .iconbtn {
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all 180ms var(--ease-out);
}
.nav-cta .iconbtn:hover { background: rgba(10,10,18,0.04); color: var(--ink); }
.nav-cta .book {
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(10,10,18,0.06);
  transition: all 180ms var(--ease-out);
}
.nav-cta .book:hover { background: var(--ink); color: #fff; }

/* Mobile menu toggle */
.nav-burger { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid var(--hair); background: #fff; color: var(--ink);
  cursor: pointer; transition: all 200ms var(--ease-out);
  box-shadow: 0 1px 2px rgba(10,10,18,0.04);
  text-decoration: none;
}
.btn:hover { border-color: var(--hair-strong); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(127,96,204,0.14); }
.btn .arrow { transition: transform 200ms var(--ease-out); display:inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(180deg, #B49BE5 0%, #9F80DA 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(127,96,204,0.25);
  padding-right: 8px;
}
.btn-primary:hover { background: linear-gradient(180deg, #A587DD 0%, #8266C9 100%); box-shadow: 0 16px 40px rgba(127,96,204,0.35); }
.btn-primary .arrow-chip {
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,0.25);
  display:inline-flex; align-items:center; justify-content:center;
  transition: transform 200ms var(--ease-out);
}
.btn-primary:hover .arrow-chip { transform: translateX(3px); }

.btn-ink {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn-ink:hover { background: #1d1d29; }

/* ============ LAYOUT ============ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
section { position: relative; }

/* ============ HERO ============ */
.hero {
  padding: 180px 0 40px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 1100px;
  text-transform: none;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin: 28px auto 40px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-badges {
  margin-top: 28px;
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink-3);
}
.hero-badges .dot {
  display:inline-flex; align-items:center; gap:8px;
}
.hero-badges svg { color: var(--amethyst); }

/* Hero image / dashboard preview frame */
.hero-frame {
  margin: 60px auto 0;
  max-width: 1180px;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(159,128,218,0.6), rgba(159,128,218,0.15));
  box-shadow: 0 40px 80px rgba(127,96,204,0.25), 0 2px 4px rgba(10,10,18,0.04);
}
.hero-frame-inner {
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; }
.section-alt { background: linear-gradient(180deg, #FFFFFF 0%, #F6F1FD 100%); }

.eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amethyst-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--amethyst-deep); display:inline-block; }

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
  margin: 20px 0 0;
  text-transform: none;
  text-wrap: balance;
}
.section h2 em { font-style: normal; color: var(--amethyst-deep); }
.section-lead {
  font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 620px; margin-top: 20px;
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head > div { max-width: 720px; }

/* ============ CARDS / GRIDS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 32px;
  transition: all 220ms var(--ease-out);
  position: relative;
}
.card:hover { border-color: var(--hair-strong); box-shadow: 0 24px 50px rgba(127,96,204,0.10); transform: translateY(-2px); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--ink); text-transform: none;}
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }

.num {
  font-family: var(--font-mono); font-size: 12px; color: var(--amethyst-deep);
  letter-spacing: 0.04em;
}

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.03em; line-height: 0.95; color: var(--ink);
}
.stat-lbl {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: #fff;
  padding: 88px 0 32px;
  margin-top: 80px;
}
footer .wrap { color: #fff; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-h {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amethyst);
  margin-bottom: 18px;
}
.foot-col a { display: block; padding: 6px 0; color: #C9CCD4; font-size: 15px; transition: color 160ms var(--ease-out); }
.foot-col a:hover { color: #fff; }
.foot-brand p { color: #9699A3; font-size: 14px; line-height: 1.6; max-width: 320px; margin: 16px 0 20px; }

.social-row { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #C9CCD4; transition: all 160ms var(--ease-out);
  font-size: 13px; width: fit-content;
}
.social-row a svg { width: 34px; height: 34px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); flex-shrink: 0; }
.social-row a span { font-family: var(--font-mono); font-size: 12px; }
.social-row a:hover { background: var(--amethyst); color: #0A0A12; border-color: var(--amethyst); transform: translateX(2px); }
.social-row a:hover svg { background: rgba(10,10,18,0.12); }

.foot-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px; color: #5B5E69;
  flex-wrap: wrap; gap: 12px;
}

/* ============ FORM ============ */
.form-card {
  background: #fff; border: 1px solid var(--hair); border-radius: 24px;
  padding: 40px; box-shadow: 0 24px 50px rgba(127,96,204,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--hair); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: 15px;
  background: #FAFAFD; color: var(--ink);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  outline: none;
  font-family: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amethyst);
  box-shadow: 0 0 0 3px rgba(159,128,218,0.2);
}

/* ============ FAQ ============ */
details.faq {
  border-top: 1px solid var(--hair);
  padding: 24px 0;
}
details.faq:last-of-type { border-bottom: 1px solid var(--hair); }
details.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px);
  color: var(--ink); letter-spacing: -0.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus {
  width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid var(--hair); display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms var(--ease-out); color: var(--ink);
}
details.faq[open] summary .plus { background: var(--ink); color: #fff; transform: rotate(45deg); border-color: var(--ink); }
details.faq p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 16px 0 0; max-width: 760px; }

/* ============ PILLS / TABS ============ */
.pill-row { display:flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 8px 14px; border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 13px; border: 1px solid var(--hair);
  background: #fff; color: var(--ink-2);
}
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ PAGE HEADER (inner pages) ============ */
.page-header { padding: 200px 0 40px; text-align: center; }
.page-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6vw, 80px); letter-spacing: -0.035em; line-height: 1.02; margin: 16px 0 20px;
  text-wrap: balance;
}
.page-header p { font-size: 19px; color: var(--ink-2); max-width: 640px; margin: 0 auto; line-height: 1.5; }

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: #fff; border: 1px solid var(--hair); border-radius: 24px;
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
  transition: all 220ms var(--ease-out);
}
.testimonial:hover { border-color: var(--hair-strong); box-shadow: 0 24px 50px rgba(127,96,204,0.1); transform: translateY(-2px); }
.testimonial q {
  font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.35;
  letter-spacing: -0.015em; color: var(--ink); quotes: "\201C" "\201D";
  text-wrap: pretty;
}
.testimonial q::before { content: open-quote; color: var(--amethyst); }
.testimonial q::after { content: close-quote; color: var(--amethyst); }
.testimonial .who {
  display: flex; align-items: center; gap: 14px; margin-top: auto;
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-deep));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.testimonial .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.testimonial .role { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.tstat {
  display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid var(--hair);
}
.tstat div { font-family: var(--font-mono); font-size: 13px; color: var(--amethyst-deep); }

/* ============ BACKDROPS / GHOSTS ============ */
.ghost-arrow {
  position: absolute; pointer-events: none; opacity: 0.06;
  color: var(--amethyst-deep);
}

/* ============ UTILITIES ============ */
.muted { color: var(--ink-3); }
.text-center { text-align: center; }
.mt-lg { margin-top: 64px; }
.mt-md { margin-top: 40px; }
.flex { display: flex; }
.g-sm { gap: 10px; }
.g-md { gap: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .page-header { padding: 140px 0 30px; }

  /* Mobile nav */
  .nav-wrap { top: 12px; left: 12px; right: 12px; }
  .nav-pill { display: none; }
  .nav-pill.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 62px; left: 0; right: 0;
    padding: 12px; gap: 4px;
    background: rgba(255,255,255,0.96);
  }
  .nav-pill.mobile-open a { width: 100%; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 999px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--hair);
    box-shadow: 0 8px 24px rgba(127,96,204,0.08);
    color: var(--ink); cursor: pointer;
  }
  .nav-brand { padding: 8px 10px; font-size: 17px; }
  .nav-cta .book { padding: 10px 14px; font-size: 13px; }
  .nav-cta .iconbtn { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .section-head > div { width: 100%; }
  .form-card { padding: 24px; }
  footer { padding: 64px 0 28px; }
  .foot-bottom { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-badges { gap: 14px; font-size: 12px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}
