@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');

:root {
  --bg: #0A0A0B;
  --bg-raised: #131316;
  --bg-card: #18181C;
  --text: #E8E8EC;
  --text-secondary: #8A8A96;
  --text-muted: #55555F;
  --punk-red: #FF2D55;
  --punk-cyan: #00E5CC;
  --punk-yellow: #FFD60A;
  --punk-blue: #3D5AFE;
  --punk-orange: #FF6D00;
  --punk-magenta: #E040FB;
  --accent: var(--punk-red);
  --border: #232328;
  --radius: 10px;
  --font: 'Roboto Flex', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Logo ─── */

.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.logo-stream {
  font-variation-settings: 'wght' 300;
}

.logo-base {
  font-variation-settings: 'wght' 800;
}

.logo-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 5px;
  position: relative;
  top: -2px;
}

.logo-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: block;
}

.logo-dots span:nth-child(1) { background: var(--punk-red); }
.logo-dots span:nth-child(2) { background: var(--punk-cyan); }
.logo-dots span:nth-child(3) { background: var(--punk-yellow); }

/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(10, 10, 11, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-variation-settings: 'wght' 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ─── Hero ─── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-canvas-wrap canvas {
  width: 100%;
  height: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-variation-settings: 'wght' 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero-tag .status-dot {
  width: 8px;
  height: 8px;
  background: var(--punk-cyan);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 8px var(--punk-cyan);
}

.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-variation-settings: 'wght' 200;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 750px;
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero h1 .gradient-word {
  font-variation-settings: 'wght' 800;
  background: linear-gradient(135deg, var(--punk-red) 0%, var(--punk-orange) 25%, var(--punk-yellow) 50%, var(--punk-cyan) 75%, var(--punk-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: fadeUp 0.7s ease 0.08s both, gradientShift 4s ease infinite;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-variation-settings: 'wght' 360;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
  animation: fadeUp 0.7s ease 0.18s both;
}

/* ─── Notify Form ─── */

.notify-form {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.6rem;
  animation: fadeUp 0.7s ease 0.3s both;
}

.notify-form input {
  font-family: var(--font);
  font-size: 0.92rem;
  font-variation-settings: 'wght' 400;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--text);
  width: 270px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--punk-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}

.notify-btn {
  font-family: var(--font);
  font-size: 0.88rem;
  font-variation-settings: 'wght' 650;
  padding: 0.85rem 1.7rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.notify-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--punk-red), var(--punk-orange), var(--punk-yellow), var(--punk-cyan), var(--punk-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.notify-btn span {
  position: relative;
  z-index: 1;
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 45, 85, 0.2), 0 4px 12px rgba(0, 229, 204, 0.15);
}

.notify-btn:hover::before {
  opacity: 1;
}

.notify-btn:active {
  transform: translateY(0);
}

/* ─── Bento Grid ─── */

.bento-section {
  padding: 2rem 3rem 5rem;
  display: flex;
  justify-content: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
  max-width: 960px;
  width: 100%;
}

.bento-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: #2a2a30;
}

/* Sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

/* Accent stripe on top */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.bento-accent-red::before { background: var(--punk-red); }
.bento-accent-cyan::before { background: var(--punk-cyan); }
.bento-accent-yellow::before { background: var(--punk-yellow); }
.bento-accent-blue::before { background: var(--punk-blue); }
.bento-accent-orange::before { background: linear-gradient(90deg, var(--punk-orange), var(--punk-red)); }

/* Icon */
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: var(--bg-raised);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.bento-accent-red .bento-icon { color: var(--punk-red); }
.bento-accent-cyan .bento-icon { color: var(--punk-cyan); }
.bento-accent-yellow .bento-icon { color: var(--punk-yellow); }
.bento-accent-blue .bento-icon { color: var(--punk-blue); }
.bento-accent-orange .bento-icon { color: var(--punk-orange); }

.bento-card h3 {
  font-size: 1.05rem;
  font-variation-settings: 'wght' 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.bento-card p {
  font-size: 0.83rem;
  font-variation-settings: 'wght' 380;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 320px;
}

/* Decorative shapes inside bento cards */
.bento-large::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--punk-red);
  border-radius: 50%;
  opacity: 0.12;
}

.bento-tall::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: var(--punk-cyan);
  opacity: 0.08;
  border-radius: 20px;
  transform: rotate(25deg);
}

.bento-wide::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--punk-orange);
  opacity: 0.12;
  transform: rotate(45deg);
}

/* ─── Footer ─── */

.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  font-variation-settings: 'wght' 450;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.75rem;
  font-variation-settings: 'wght' 380;
  color: var(--text-muted);
}

/* ─── Legal Pages ─── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-variation-settings: 'wght' 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  font-size: 0.85rem;
  font-variation-settings: 'wght' 400;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  font-variation-settings: 'wght' 650;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.92rem;
  font-variation-settings: 'wght' 380;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--punk-red);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* ─── Animations ─── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .nav { padding: 1.1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .hero { padding: 7rem 1.5rem 3rem; }

  .notify-form {
    flex-direction: column;
    align-items: center;
  }
  .notify-form input {
    width: 100%;
    max-width: 320px;
  }

  .bento-section { padding: 1.5rem 1.5rem 3rem; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }
  .bento-tall {
    grid-row: span 1;
  }

  .footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links { order: -1; }
}
