/* ── Star Forge — Website Styles ───────────────────────────────────── */
/* Color palette ported from TechLabColors / UiStyles                  */

:root {
  --bg-deep: #0a0e17;
  --bg-panel: #0d1117;
  --cyan-primary: #00d9ff;
  --cyan-muted: #1e3a5f;
  --text-primary: #c0c8d8;
  --text-muted: #5a6a8a;
  --text-bright: #e8ecf2;
  --accent-green: #51cf66;
  --accent-red: #ff6b6b;
  --accent-yellow: #ffd43b;
  --accent-purple: #cc5de8;
  --panel-border: rgba(30, 58, 95, 0.6);
  --panel-bg: rgba(13, 17, 23, 0.85);
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--cyan-primary);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Starfield canvas (fixed background) ──────────────────────────── */

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Content layers ───────────────────────────────────────────────── */

.content-layer {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
  max-width: 100%;
  position: relative;
}

@supports not (min-height: 100svh) {
  .hero { min-height: 90vh; }
}

.hero-logo {
  width: min(320px, 80vw);
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.3));
  animation: logoFadeIn 2s ease-out;
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-primary);
  letter-spacing: 1px;
  max-width: 640px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1.5s ease-out 0.8s forwards;
}

.hero-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 1.5s ease-out 0.4s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--cyan-primary), transparent);
  margin: 8px auto 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

/* ── Section reveal animation ─────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section headers ──────────────────────────────────────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan-primary);
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-bright);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* ── Origin story ─────────────────────────────────────────────────── */

.story-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 40px 36px;
  margin-top: 32px;
  position: relative;
}

.story-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan-primary), transparent);
}

.story-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.story-text em {
  color: var(--text-bright);
  font-style: italic;
}

.story-text .highlight {
  color: var(--cyan-primary);
}

.story-divider {
  width: 40px;
  height: 1px;
  background: var(--cyan-muted);
  margin: 20px 0;
}

.story-text .story-punchline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-bright);
}

/* ── Old screenshot inline ─────────────────────────────────────────── */

/* ── "Failing" glitch text ─────────────────────────────────────────── */

.failing-text {
  color: var(--accent-red);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.failing-text::after {
  content: 'failing';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan-primary);
  clip-path: inset(0 100% 0 0);
  animation: glitch-slide 4s ease-in-out infinite;
}

@keyframes glitch-slide {
  0%, 85% { clip-path: inset(0 100% 0 0); }
  88% { clip-path: inset(0 30% 0 0); transform: translate(2px, -1px); }
  90% { clip-path: inset(0 0% 0 0); transform: translate(-1px, 1px); }
  92% { clip-path: inset(0 50% 0 0); transform: translate(1px, 0px); }
  95%, 100% { clip-path: inset(0 100% 0 0); transform: translate(0); }
}

.story-with-photo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 4px 0;
}

.story-with-photo-text p {
  margin-bottom: 16px;
}

.story-with-photo-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .story-with-photo {
    grid-template-columns: 1fr;
  }
}

.old-screenshot-inline {
  text-align: center;
}

.old-screenshot-inline img {
  max-width: 256px;
  width: 100%;
  border: 2px solid var(--cyan-muted);
  border-radius: 2px;
  opacity: 0.8;
  transform: rotate(-1.2deg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 1px var(--cyan-muted);
  transition: opacity 0.3s, transform 0.3s;
}

.old-screenshot-inline img:hover {
  opacity: 1;
  transform: rotate(0deg) scale(1.03);
}

.old-screenshot-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
  opacity: 0.7;
}

.aria-quote {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 20px;
  border-left: 2px solid var(--cyan-primary);
  margin-top: 24px;
  font-style: italic;
}

.aria-quote .aria-tag {
  color: var(--cyan-primary);
  font-style: normal;
  font-weight: bold;
}

/* ── Showcase grid (features + visuals) ────────────────────────────── */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.showcase-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
  cursor: pointer;
}

.showcase-card:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 4px 30px rgba(0, 217, 255, 0.12), 0 0 1px var(--cyan-primary);
  transform: translateY(-3px);
}

.showcase-visual {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-deep);
  overflow: hidden;
}

.showcase-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 217, 255, 0.015) 2px,
    rgba(0, 217, 255, 0.015) 4px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.showcase-card:hover .showcase-visual::after {
  opacity: 1;
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-visual img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-visual.playing video {
  opacity: 1;
}

.showcase-visual > img.showcase-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.showcase-visual.playing > img.showcase-poster {
  opacity: 0;
}

.showcase-poster ~ .gallery-placeholder {
  display: none;
}

.showcase-play-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}

.showcase-card:hover .showcase-play-hint {
  opacity: 0.7;
}

.showcase-visual.playing .showcase-play-hint {
  opacity: 0;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-card .gallery-placeholder .placeholder-icon {
  transition: transform 0.4s ease, text-shadow 0.4s;
}

.showcase-card:hover .gallery-placeholder .placeholder-icon {
  transform: scale(1.2);
  text-shadow: 0 0 16px rgba(0, 217, 255, 0.4);
}

.showcase-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 14px 14px;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.97) 0%, rgba(10, 14, 23, 0.85) 40%, rgba(10, 14, 23, 0.3) 70%, transparent 100%);
  z-index: 2;
}

.showcase-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan-primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.showcase-card p {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s, max-height 0.3s;
  overflow: hidden;
}

.showcase-card:hover p {
  opacity: 1;
  max-height: 120px;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .showcase-text {
    padding: 40px 10px 10px;
    background: linear-gradient(to top, rgba(10, 14, 23, 1) 0%, rgba(10, 14, 23, 0.95) 50%, rgba(10, 14, 23, 0.5) 80%, transparent 100%);
  }
  .showcase-card h3 {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }
  .showcase-card p {
    opacity: 1;
    max-height: 200px;
    font-size: 0.6rem;
    line-height: 1.35;
  }
  .showcase-play-hint {
    font-size: 1.5rem;
  }
  .gallery-placeholder {
    font-size: 0.6rem;
  }
  .gallery-placeholder .placeholder-icon {
    font-size: 1.5rem;
  }
}

/* ── Gallery ──────────────────────────────────────────────────────── */

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.gallery-placeholder .placeholder-icon {
  font-size: 2rem;
  opacity: 0.4;
}

/* ── Lightbox ─────────────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-video {
  display: none;
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 4px;
  background: #000;
  z-index: 1001;
}

.lightbox.active .lightbox-video.show {
  display: block;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0, 217, 255, 0.15);
}

/* ── Dev stats ────────────────────────────────────────────────────── */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: bold;
  color: var(--cyan-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ── Vertical timeline ─────────────────────────────────────────────── */

.timeline-scroll {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 32px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-muted) transparent;
}

.timeline {
  position: relative;
  padding-left: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 68px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan-primary), var(--cyan-muted), var(--accent-purple));
}

.timeline-entry {
  position: relative;
  padding-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-date {
  position: absolute;
  left: -80px;
  width: 60px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 1px;
  padding-top: 2px;
}

.timeline-dot {
  position: absolute;
  left: -12px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  background: var(--bg-deep);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-body {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.6;
  padding-left: 8px;
}

.timeline-body strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.timeline-wip .timeline-body {
  color: var(--accent-purple);
  font-style: italic;
}

.wip-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 50px;
  }
  .timeline::before {
    left: 38px;
  }
  .timeline-date {
    left: -50px;
    width: 36px;
    font-size: 0.5rem;
  }
  .timeline-dot {
    left: -12px;
    width: 8px;
    height: 8px;
  }
  .timeline-body {
    font-size: 0.75rem;
  }
  .timeline-body strong {
    font-size: 0.7rem;
  }
  .timeline-entry {
    padding-bottom: 18px;
  }
  .timeline-scroll {
    max-height: 200px;
  }
}

/* ── ARIA section ─────────────────────────────────────────────────── */

.aria-section {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.aria-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  object-fit: cover;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.15);
}

.aria-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aria-line {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 16px 20px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  border-left: 3px solid var(--cyan-primary);
  position: relative;
}

.aria-line .context {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: var(--font-body);
}

/* ── Roadmap ──────────────────────────────────────────────────────── */

.roadmap {
  display: flex;
  gap: 0;
  margin-top: 40px;
  overflow-x: auto;
}

.roadmap-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.roadmap-step::after {
  content: '';
  position: absolute;
  top: 42px;
  right: -1px;
  width: 24px;
  height: 2px;
  background: var(--cyan-muted);
}

.roadmap-step:last-child::after { display: none; }

.roadmap-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  background: var(--bg-deep);
  margin: 0 auto 16px;
}

.roadmap-step.active .roadmap-dot {
  background: var(--cyan-primary);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
}

.roadmap-step h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-primary);
  margin-bottom: 8px;
}

.roadmap-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Footer ───────────────────────────────────────────────────────── */

.site-footer {
  text-align: center;
  padding: 40px 24px 40px;
  border-top: 1px solid var(--cyan-muted);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 -9999px;
  background: var(--bg-deep);
  z-index: -1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-primary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--cyan-muted);
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  letter-spacing: 1px;
}

.footer-links a:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.15);
  background: rgba(0, 217, 255, 0.05);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 24px;
  letter-spacing: 1px;
}

.footer-studio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.footer-studio-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-studio-logo:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 12px;
  opacity: 0.6;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 640px) {
  section {
    padding: 32px 14px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }

  .hero-logo {
    width: min(220px, 65vw);
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .story-panel {
    padding: 24px 16px;
  }

  .story-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .story-divider {
    margin: 14px 0;
  }

  .aria-section {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }

  .aria-portrait {
    width: 80px;
    height: 80px;
  }

  .aria-lines {
    gap: 10px;
  }

  .aria-line {
    border-left: none;
    border-top: 2px solid var(--cyan-primary);
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .aria-line .context {
    font-size: 0.65rem;
    margin-top: 4px;
  }

  .aria-line:nth-child(n+4) {
    display: none;
  }

  .stats-bar {
    gap: 16px 24px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .roadmap {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 24px;
  }

  .roadmap-step {
    min-width: 0;
    padding: 16px 8px;
  }

  .roadmap-step::after {
    display: none;
  }

  .roadmap-step h4 {
    font-size: 0.6rem;
  }

  .roadmap-step p {
    font-size: 0.55rem;
    line-height: 1.3;
  }

  .roadmap-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 8px;
  }

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

/* ── Newsletter CTA ───────────────────────────────────────────────── */

.notify-cta {
  background: var(--panel-bg);
  border: 1px solid var(--cyan-primary);
  border-radius: 8px;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.notify-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan-primary), transparent);
}

.notify-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan-primary), transparent);
}

.notify-title {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-bright);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.notify-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--cyan-muted);
  border-radius: 4px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.notify-form input[type="email"]:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.1);
}

.notify-form input[type="email"]::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.notify-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bg-deep);
  background: var(--cyan-primary);
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s, box-shadow 0.3s;
}

.notify-btn:hover {
  background: #33e5ff;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.notify-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .notify-form {
    flex-direction: column;
  }
  .notify-cta {
    padding: 20px 14px;
  }
  .notify-title {
    font-size: 1rem;
  }
  .notify-subtitle {
    font-size: 0.7rem;
  }
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cyan-muted);
}

.cta-divider span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.transmission-toggle {
  display: block;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-primary);
  background: transparent;
  border: 1px solid var(--cyan-muted);
  border-radius: 4px;
  padding: 8px 20px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: border-color 0.3s, background 0.3s;
}

.transmission-toggle:hover {
  border-color: var(--cyan-primary);
  background: rgba(0, 217, 255, 0.05);
}

.contact-panel {
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.4s ease-out;
}

/* ── Contact form ─────────────────────────────────────────────────── */

.contact-form {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--cyan-muted);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-submit {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bg-deep);
  background: var(--cyan-primary);
  border: none;
  border-radius: 4px;
  padding: 10px 28px;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, box-shadow 0.3s;
}

.form-submit:hover {
  background: #33e5ff;
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.3);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 12px;
  min-height: 1.2em;
}

.form-status.success { color: var(--accent-green); }
.form-status.error { color: var(--accent-red); }

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 20px;
  }
}

/* ── Utility ──────────────────────────────────────────────────────── */

::selection {
  background: rgba(0, 217, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-muted);
  border-radius: 3px;
}

a { color: var(--cyan-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
