/* ============================================
   Base & Reset Styles
   ============================================ */

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

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 62px;
}

/* ── Background Blobs ── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: drift 12s ease-in-out infinite alternate;
}

.blob--1 {
  width: 520px;
  height: 520px;
  background: #C4B5FD;
  top: -160px;
  right: -100px;
  animation-delay: 0s;
  opacity: 0.55;
}

.blob--2 {
  width: 420px;
  height: 420px;
  background: #DDD6FE;
  bottom: -130px;
  left: -80px;
  animation-delay: 3s;
  opacity: 0.5;
}

.blob--3 {
  width: 320px;
  height: 320px;
  background: #EDE9FE;
  top: 38%;
  left: 28%;
  animation-delay: 6s;
  opacity: 0.6;
}

/* ── Screens ── */
.screen {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════
   Site Header (v3 dark purple nav)
   ══════════════════════════════════ */
.site-header {
  background: var(--dark-p);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(76, 29, 149, 0.35);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-header__logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-header__logo-icon {
  font-size: 28px;
}

.site-header__logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}

.site-header__nav {
  display: flex;
  gap: 28px;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.site-header__menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.site-header__menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.site-header__menu-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .site-header__menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header__menu-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.site-header__link:hover {
  color: var(--white);
}

.site-header__cta {
  background: linear-gradient(135deg, #9333EA, #7C3AED);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.site-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}

body.site-menu-open {
  overflow: hidden;
}

/* ══════════════════════════════════
   Site Footer (v3 design)
   ══════════════════════════════════ */
.site-footer {
  background: var(--dark-p);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.site-footer__logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__logo-icon {
  font-size: 32px;
}

.site-footer__logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
}

.site-footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.site-footer__link:hover {
  color: var(--white);
}

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
