/* DejaVu Landing — mockup-aligned refresh
   Notes:
   - Keep things lightweight: single static HTML + this stylesheet.
   - Respect reduced motion + focus-visible for accessibility.
*/

:root {
  --page-bg: #ffffff;
  --text: #171717;
  --muted: #5b5b5b;
  --muted-2: #7a7a7a;
  --border: rgba(15, 23, 42, 0.10);

  --brand-ink: #1f1a2e;
  --hero-1: #1b0f2f;
  --hero-2: #3a1f63;
  --hero-3: #2a1447;

  --card-bg: #ffffff;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.14);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.10);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --container: 1100px;
  --gutter: 24px;

  --cta-bg: #2a1550;
  --cta-glow: 0 10px 34px rgba(255, 110, 196, 0.35), 0 0 0 6px rgba(248, 113, 113, 0.09);
  --cta-grad: linear-gradient(135deg, #a855f7, #f77062);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

/* Top brand bar */
.topbar {
  padding: 16px 0 10px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  user-select: none;
}

.brand-icon {
  height: 60px;
  width: auto;
  max-width: 340px;
  border-radius: 0;
  box-shadow: none;
}

.brand-title {
  font-size: 42px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--brand-ink);
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 34px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 15% 25%, rgba(168, 85, 247, 0.35), transparent 60%),
    radial-gradient(900px 420px at 70% 45%, rgba(247, 112, 98, 0.22), transparent 55%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3));
  border-radius: 0;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding: 44px 44px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.hero-copy {
  position: relative;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 850;
  color: #ffffff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0;
  max-width: 40ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: min(380px, 100%);
  filter: drop-shadow(0 20px 55px rgba(0, 0, 0, 0.35));
  transform: translateY(6px);
}

/* Feature cards — overlap hero */
.feature-strip {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  padding-bottom: 26px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 20px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 2px auto 12px;
  border-radius: 18px;
  background: radial-gradient(40px 40px at 30% 25%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(50px 50px at 70% 70%, rgba(247, 112, 98, 0.12), transparent 62%),
    rgba(15, 23, 42, 0.02);
  display: grid;
  place-items: center;
}

.feature-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.feature-strip .container {
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.10));
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 750;
  text-align: center;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

/* Mid CTA block */
.mid {
  padding: 28px 0 8px;
}

.mid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.cta-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.cta-illustration img {
  width: min(420px, 100%);
  filter: drop-shadow(0 20px 55px rgba(0, 0, 0, 0.18));
}

.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-copy p {
  margin: 0;
  font-size: 18px;
  color: #1d1d1d;
  max-width: 42ch;
}

.cta-copy p::after {
  content: "";
  display: block;
  width: 140px;
  height: 5px;
  border-radius: 999px;
  margin-top: 14px;
  background: var(--cta-grad);
  opacity: 0.35;
}

.cta-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 16px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) , var(--cta-bg);
  box-shadow: var(--cta-glow);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cta-button:active {
  transform: translateY(0px);
  filter: brightness(0.98);
}

.cta-button:focus-visible {
  outline: 4px solid rgba(0, 194, 255, 0.35);
  outline-offset: 4px;
}

/* Links row */
.links {
  padding: 18px 0 18px;
  text-align: center;
}

.links a {
  display: inline-block;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 600;
  color: #2a2a2a;
  opacity: 0.86;
}

.links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Accordions */
.accordions {
  padding: 8px 0 40px;
}

.accordion {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.accordion:last-child {
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

details.accordion {
  background: transparent;
}

details.accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

details.accordion > summary::-webkit-details-marker {
  display: none;
}

details.accordion > summary:focus-visible {
  outline: 4px solid rgba(0, 194, 255, 0.25);
  outline-offset: 6px;
  border-radius: 14px;
}

.accordion-title {
  font-size: 22px;
  margin: 0;
  font-weight: 750;
  color: #161616;
}

.accordion-chevron {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: rgba(22, 22, 22, 0.70);
  transition: transform 180ms ease;
}

details[open] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 10px 22px;
}

.accordion-content .faq-item,
.accordion-content .privacy-section {
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.accordion-content .faq-item:last-child,
.accordion-content .privacy-section:last-child {
  border-bottom: 0;
}

.accordion-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 750;
  color: #1b1b1b;
}

.accordion-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content p strong {
  color: #1b1b1b;
}

/* Footer */
.footer {
  padding: 30px 0 34px;
  color: var(--muted-2);
  text-align: center;
}

.footer-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  opacity: 0.95;
}

.footer small {
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .brand-icon {
    height: 50px;
    max-width: 280px;
  }

  .hero-inner {
    padding: 34px 22px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero p {
    max-width: 60ch;
  }

  .hero-art {
    justify-content: flex-start;
  }

  .feature-strip {
    margin-top: -36px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .mid-inner {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


