:root {
  --bg: #0b0b0d;
  --surface: #141418;
  --border: #26262e;
  --text: #f4f2f7;
  --muted: #9d9aa8;
  --pink: #f45fd6;
  --pink-deep: #cf3fae;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient pink glow behind everything */
.glow {
  position: fixed;
  top: -18vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 130vw);
  height: min(900px, 130vw);
  background: radial-gradient(
    circle,
    rgba(244, 95, 214, 0.22) 0%,
    rgba(244, 95, 214, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.topbar,
main,
.footer { position: relative; z-index: 1; }

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem clamp(1rem, 5vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img { border-radius: 9px; display: block; }

nav { display: flex; gap: 0.35rem; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

nav a.active {
  color: var(--pink);
  background: rgba(244, 95, 214, 0.12);
}

/* Main */
main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 5vw, 3rem);
}

.view { animation: rise 0.35s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero { text-align: center; }

.hero-logo {
  width: clamp(112px, 26vw, 168px);
  height: auto;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(244, 95, 214, 0.28);
}

h1 {
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.6rem 0 0.6rem;
}

h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

p { color: var(--muted); }

.accent { color: var(--pink); }

.actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #14020f;
  box-shadow: 0 10px 30px rgba(244, 95, 214, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.card p { margin: 0; font-size: 0.92rem; }

.lead { font-size: 1.05rem; max-width: 62ch; }

a.link { color: var(--pink); }

/* Footer */
.footer {
  padding: 2rem clamp(1rem, 5vw, 3rem);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
  .btn-primary:hover { transform: none; }
}
