/* ============================================================
   ProtVerse landing page
   Design tokens live here — tweak the palette in one place.
   ============================================================ */
:root {
  --color-blue: #2b3a8f;
  --color-purple: #7a3f99;
  --gradient: linear-gradient(135deg, var(--color-blue), var(--color-purple));

  --color-text: #2a2a33;
  --color-text-muted: #6b6b78;
  --color-bg: #ffffff;
  --color-surface: #f7f7fb;
  --color-border: #ececf2;

  --max-width: 720px;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(43, 58, 143, 0.18);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(64px, 14vh, 140px) 0 64px;
}

.hero__logo {
  width: clamp(180px, 40vw, 260px);
  height: auto;
  margin-bottom: 28px;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 30ch;
}

/* ------------------------------------------------------------
   Button
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(122, 63, 153, 0.28);
}

.btn:active {
  transform: translateY(0);
  opacity: 0.95;
}

.btn:focus-visible {
  outline: 3px solid rgba(122, 63, 153, 0.4);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   Content sections (add as many as you like)
   ------------------------------------------------------------ */
.section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.section__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  /* Gradient text to echo the logo */
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__body {
  color: var(--color-text);
  font-size: 1.05rem;
}

.section__body + .section__body {
  margin-top: 16px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
