@import "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Syne:wght@700;800&display=swap";

/* src/styles.css */
:root {
  --bg-deep: #0b1620;
  --bg-card: #0e1a2a;
  --bg-panel: #142033;
  --bg-surface: #1a2940;
  --border: #ffffff0f;
  --border-h: #ffffff1f;
  --text: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --green: #0f8;
  --green-d: #00cc6a;
  --green-bg: #00ff880f;
  --green-br: #00ff8826;
  --orange: #ff6b35;
  --cyan: #06b6d4;
  --purple: #a78bfa;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", monospace;
  --display: "Syne", "Space Grotesk", sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0b1620 0%, #0a1a2b 100%) fixed;
  min-height: 100vh;
  line-height: 1.6;
}

@media (min-width: 769px) {
  body.cursor-active, body.cursor-active * {
    cursor: none !important;
  }
}

::selection {
  color: #fff;
  background: #00ff8840;
}

::-webkit-scrollbar {
  width: 5px;
}

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

::-webkit-scrollbar-thumb {
  background: #1e3a50;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a4a60;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.ambient-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
  border-radius: 50%;
}

.ambient-orb--1 {
  filter: blur(60px);
  animation: orbDrift1 10s ease-in-out infinite;
  background: radial-gradient(circle, #00ff8814 0%, #0000 70%);
  width: 600px;
  height: 600px;
  top: -10%;
  left: -5%;
}

.ambient-orb--2 {
  filter: blur(40px);
  animation: orbDrift2 8s ease-in-out infinite;
  background: radial-gradient(circle, #06b6d40f 0%, #0000 70%);
  width: 500px;
  height: 500px;
  bottom: -10%;
  right: -8%;
}

@keyframes orbDrift1 {
  0%, 100% {
    transform: translate(0);
  }

  33% {
    transform: translate(30px, 20px);
  }

  66% {
    transform: translate(-20px, 40px);
  }
}

@keyframes orbDrift2 {
  0%, 100% {
    transform: translate(0);
  }

  50% {
    transform: translate(-40px, -30px);
  }
}

.noise-overlay {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  inset: 0;
}

.cursor-ring {
  position: fixed;
  z-index: 9999;
  border: 1.5px solid var(--green);
  pointer-events: none;
  transition: width .2s var(--ease), height .2s var(--ease), border-color .2s;
  will-change: transform;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  top: 0;
  left: 0;
  box-shadow: 0 0 12px #00ff884d, 0 0 4px #00ff8826;
}

.cursor-ring.cursor-hover {
  border-color: #0f89;
  width: 44px;
  height: 44px;
  box-shadow: 0 0 20px #0f86, 0 0 8px #0f83;
}

.cursor-ring.cursor-click {
  transform: scale(.88);
}

.cursor-dot {
  position: fixed;
  z-index: 9999;
  background: var(--green);
  pointer-events: none;
  will-change: transform;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  top: 0;
  left: 0;
}

.cursor-trail {
  position: fixed;
  z-index: 9998;
  background: var(--green);
  pointer-events: none;
  will-change: transform;
  border-radius: 50%;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .cursor-ring, .cursor-dot, .cursor-trail {
    display: none !important;
  }
}

.glow-green {
  animation: glowPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px #00ff884d, 0 0 40px #00ff881a;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px #00ff884d, 0 0 40px #00ff881a;
  }

  50% {
    box-shadow: 0 0 28px #00ff8873, 0 0 56px #00ff882e;
  }
}

.glow-green-intense {
  transition: all .3s var(--ease);
  box-shadow: 0 0 20px #00ff884d, 0 0 40px #00ff881a, inset 0 1px #ffffff1a;
}

.glow-green-intense:hover {
  transform: translateY(-2px)scale(1.02);
  box-shadow: 0 0 30px #00ff8880, 0 0 60px #0f83, inset 0 1px #ffffff26;
}

.glow-border {
  transition: all .4s var(--ease);
  border: 1px solid #00ff884d;
}

.glow-border:hover {
  border-color: #00ff8880;
  box-shadow: 0 0 40px #00ff881f, 0 0 80px #00ff880f;
}

.text-glow {
  text-shadow: 0 0 20px #00ff8880;
}

.hover-glow {
  transition: color .3s, text-shadow .3s;
}

.hover-glow:hover {
  color: var(--green);
  text-shadow: 0 0 20px #00ff8880, 0 0 40px #0f83;
}

.backdrop-glow {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  to {
    background-position: 200%;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.anim-fadeIn {
  animation: fadeIn 1s var(--ease) forwards;
  opacity: 0;
}

.anim-slideUp {
  animation: slideUp .8s var(--ease) forwards;
  opacity: 0;
}

.anim-scaleIn {
  animation: scaleIn .6s var(--ease) forwards;
  opacity: 0;
}

.anim-float {
  animation: float 6s ease-in-out infinite;
}

.delay-100 {
  animation-delay: .1s;
}

.delay-200 {
  animation-delay: .2s;
}

.delay-300 {
  animation-delay: .3s;
}

.delay-400 {
  animation-delay: .4s;
}

.delay-500 {
  animation-delay: .5s;
}

.delay-600 {
  animation-delay: .6s;
}

.delay-700 {
  animation-delay: .7s;
}

.delay-800 {
  animation-delay: .8s;
}

.btn {
  display: inline-flex;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items:  center;
  padding: 12px 28px;
}

.btn:before {
  content: "";
  position: absolute;
  transition: left .5s var(--ease);
  background: linear-gradient(90deg, #0000, #ffffff26, #0000);
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
}

.btn:hover:before {
  left: 100%;
}

.btn--primary {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 20px #00ff884d, 0 0 40px #00ff881a, inset 0 1px #ffffff1a;
}

.btn--primary:hover {
  background: var(--green-d);
  transform: translateY(-2px)scale(1.02);
  box-shadow: 0 0 30px #00ff8880, 0 0 60px #0f83, inset 0 1px #ffffff26;
}

.btn--ghost {
  color: var(--text);
  background: none;
  border: 1px solid #ffffff1f;
}

.btn--ghost:hover {
  color: var(--green);
  border-color: #0f86;
  box-shadow: 0 0 20px #00ff881a;
}

.btn--lg {
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
}

.btn--sm {
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

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

.btn:disabled:hover {
  box-shadow: none;
  transform: none;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  transition: all .3s var(--ease);
  background: #00ff880f;
  border: 1px solid #00ff8826;
  border-radius: 6px;
  padding: 5px 14px;
}

.tag:hover {
  background: linear-gradient(135deg, #00ff8826, #00ff8814);
  border-color: #0f86;
  transform: translateY(-2px)scale(1.05);
  box-shadow: 0 4px 16px #00ff8826;
}

.node-chip {
  display: inline-block;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-2);
  transition: all .3s var(--ease);
  background: #ffffff0a;
  border: 1px solid #ffffff14;
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 500;
}

.node-chip:hover {
  color: var(--green);
  background: linear-gradient(135deg, #00ff881f, #00ff880f);
  border-color: #00ff884d;
  transform: translateY(-2px)scale(1.05);
  box-shadow: 0 4px 12px #00ff881a;
}

.section-label {
  display: flex;
  justify-content: center;
  align-items:  center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-label-line {
  background: #ffffff1f;
  flex: 0 0 40px;
  height: 1px;
}

.section-label-text {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .12em;
  color: var(--green);
  text-transform: uppercase;
  text-shadow: 0 0 20px #00ff884d;
  font-weight: 600;
}

.nav {
  position: fixed;
  z-index: 100;
  display: flex;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all .3s var(--ease);
  background: #0b162080;
  border-bottom: 1px solid #0000;
  justify-content: space-between;
  align-items:  center;
  height: 64px;
  padding: 0 32px;
  top: 0;
  left: 0;
  right: 0;
}

.nav--scrolled {
  background: #0b1620d9;
  border-bottom-color: #ffffff0f;
}

.nav-brand {
  display: flex;
  text-decoration: none;
  align-items:  center;
  gap: 10px;
}

.nav-logo {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex;
  color: #000;
  font-size: 16px;
  font-weight: 900;
  font-family: var(--display);
  animation: glowPulse 2s ease-in-out infinite;
  border-radius: 8px;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  box-shadow: 0 0 16px #0f86;
}

.nav-title {
  letter-spacing: -.02em;
  font-size: 17px;
  font-weight: 700;
}

.nav-title-dim {
  color: var(--text-3);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items:  center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-2);
  transition: all .3s var(--ease);
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--green);
  text-shadow: 0 0 16px #0f86;
}

.nav-links a:after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: width .3s var(--ease);
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  box-shadow: 0 0 8px #00ff8880;
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-burger span {
  display: block;
  background: var(--text-2);
  width: 20px;
  height: 1.5px;
  transition: all .2s;
}

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    background: #0b1620f2;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    top: 64px;
    left: 0;
    right: 0;
  }

  .nav-links--open, .nav-burger {
    display: flex;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:  center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-visual {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #ffffff0f;
  border-radius: 24px;
  box-shadow: 0 8px 32px #0000004d, 0 0 0 1px #ffffff0d;
}

.hero-visual-pattern {
  position: absolute;
  background: radial-gradient(circle at 30% 40%, #00ff881f 0%, #0000 50%), radial-gradient(circle at 70% 60%, #06b6d414 0%, #0000 50%), radial-gradient(circle, #a78bfa0d 0%, #0000 60%);
  inset: 0;
}

.hero-visual-grid {
  position: absolute;
  background-image: linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff08 1px, #0000 1px);
  background-size: 40px 40px;
  inset: 0;
}

.hero-visual-nodes {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.hero-node {
  position: absolute;
  background: var(--bg-panel);
  display: flex;
  animation: float 6s ease-in-out infinite;
  border: 1px solid #0f83;
  border-radius: 12px;
  justify-content: center;
  align-items:  center;
  width: 48px;
  height: 48px;
  font-size: 20px;
  box-shadow: 0 4px 16px #0000004d;
}

.hero-node:first-child {
  animation-delay: 0s;
  top: 20%;
  left: 15%;
}

.hero-node:nth-child(2) {
  animation-delay: 1s;
  border-color: #06b6d433;
  top: 35%;
  left: 45%;
}

.hero-node:nth-child(3) {
  animation-delay: 2s;
  border-color: #a78bfa33;
  top: 55%;
  left: 25%;
}

.hero-node:nth-child(4) {
  animation-delay: .5s;
  top: 25%;
  right: 20%;
}

.hero-node:nth-child(5) {
  animation-delay: 1.5s;
  border-color: #ff6b3533;
  top: 60%;
  right: 15%;
}

.hero-node-line {
  position: absolute;
  transform-origin: left center;
  background: linear-gradient(90deg, #0f83, #0000);
  height: 1px;
}

.hero-stats-bar {
  position: absolute;
  display: flex;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: #0b1620b3;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  justify-content: space-around;
  padding: 14px 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.hero-stats-bar-item {
  text-align: center;
}

.hero-stats-bar-val {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--green);
  display: block;
  text-shadow: 0 0 16px #00ff8880;
}

.hero-stats-bar-label {
  color: var(--text-3);
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 2px;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-h1 {
  font-family: var(--display);
  letter-spacing: -.03em;
  text-shadow: 0 0 40px #00ff8826;
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.04;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 60%, var(--green) 100%);
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
  background-size: 200%;
  -webkit-background-clip: text;
}

.hero-sub {
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero {
    padding: 110px 20px 60px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-tags, .hero-actions, .hero-feature-chips {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.section {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section--bordered {
  border-top: 1px solid #ffffff0f;
}

.section-h2 {
  font-family: var(--display);
  letter-spacing: -.025em;
  text-align: center;
  text-shadow: 0 0 30px #0f83;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.section-sub {
  color: var(--text-2);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 44px;
  font-size: 15px;
}

.section-footnote {
  text-align: center;
  margin-top: 44px;
}

.section-footnote a {
  color: var(--text-3);
  font-size: 13px;
  font-family: var(--mono);
  transition: all .3s var(--ease);
}

.section-footnote a:hover {
  color: var(--green);
  text-shadow: 0 0 16px #0f86;
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab {
  cursor: pointer;
  color: var(--text-2);
  transition: all .3s var(--ease);
  display: flex;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  flex-direction: column;
  align-items:  flex-start;
  gap: 2px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

.tab:hover {
  background: #ffffff0d;
  border-color: #ffffff26;
  transform: translateY(-2px);
}

.tab--active {
  color: var(--tab-color, var(--green));
  border-color: color-mix(in srgb, var(--tab-color, var(--green)) 40%, transparent);
  background: color-mix(in srgb, var(--tab-color, var(--green)) 8%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--tab-color, var(--green)) 15%, transparent);
}

.tab-label {
  font-size: 14px;
}

.tab-tagline {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text-3);
  font-weight: 400;
}

.tab--active .tab-tagline {
  color: var(--tab-color, var(--green));
  opacity: .7;
}

@media (max-width: 640px) {
  .tab {
    flex: calc(50% - 5px);
    min-width: 0;
  }
}

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.tpl-card {
  background: var(--bg-card);
  display: flex;
  transition: all .4s var(--ease);
  opacity: 0;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
  border-radius: 20px;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  transform: translateY(20px);
  box-shadow: 0 8px 32px #0000004d, 0 0 0 1px #ffffff0d;
}

.tpl-card--in {
  opacity: 1;
  transform: translateY(0);
}

.tpl-card:hover {
  transform: translateY(-8px)rotateX(2deg)rotateY(-2deg);
  box-shadow: 0 20px 48px #0006, 0 0 0 1px #ffffff14, 0 0 60px #00ff8826;
}

.tpl-card-content {
  transition: transform .4s var(--ease);
}

.tpl-card:hover .tpl-card-content {
  transform: translateZ(20px);
}

.tpl-card-accent {
  position: absolute;
  opacity: .7;
  border-radius: 20px 20px 0 0;
  height: 3px;
  transition: opacity .3s;
  top: 0;
  left: 0;
  right: 0;
}

.tpl-card:hover .tpl-card-accent {
  opacity: 1;
}

.tpl-card-head {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: 12px;
}

.tpl-card-title {
  letter-spacing: -.01em;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.tpl-card-uses {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-3);
  white-space: nowrap;
}

.tpl-card-desc {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.tpl-card-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tpl-card-link {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--green);
  transition: all .3s var(--ease);
  display: inline-flex;
  align-items:  center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.tpl-card-link:hover {
  letter-spacing: .02em;
  text-shadow: 0 0 12px #00ff8880;
}

.tpl-card-arrow {
  transition: transform .3s var(--ease);
}

.tpl-card-link:hover .tpl-card-arrow {
  transform: translateX(6px);
}

.prem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.prem-card {
  background: var(--bg-card);
  display: flex;
  transition: all .4s var(--ease);
  opacity: 0;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  border-radius: 20px;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  transform: translateY(24px);
  box-shadow: 0 8px 32px #0000004d, 0 0 0 1px #ffffff0d;
}

.prem-card--in {
  opacity: 1;
  transform: translateY(0);
}

.prem-card:hover {
  transform: translateY(-8px)rotateX(2deg)rotateY(-2deg);
  box-shadow: 0 20px 48px #0006, 0 0 0 1px #ffffff14, 0 0 60px #00ff8826;
}

.prem-card--system {
  border: 1px solid #00ff884d;
}

.prem-card--system:hover {
  border-color: #00ff8880;
  box-shadow: 0 20px 48px #0006, 0 0 0 1px #0f83, 0 0 80px #0f83;
}

.prem-card-accent {
  position: absolute;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  height: 3px;
  top: 0;
  left: 0;
  right: 0;
}

.prem-card-header {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
}

.prem-card-price {
  text-align: right;
}

.prem-card-orig {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
  text-decoration: line-through;
  display: block;
}

.prem-card-current {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--green);
  letter-spacing: -.02em;
  text-shadow: 0 0 20px #00ff8880;
}

.prem-card-title {
  letter-spacing: -.01em;
  font-size: 19px;
  font-weight: 700;
}

.prem-card-desc {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.prem-card-includes {
  backdrop-filter: blur(8px);
  display: flex;
  background: #ffffff08;
  border: 1px solid #ffffff0f;
  border-radius: 12px;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.prem-card-item {
  color: var(--text-2);
  display: flex;
  align-items:  center;
  gap: 10px;
  font-size: 13px;
}

.prem-card-check {
  color: var(--green);
  text-shadow: 0 0 8px #0f86;
  flex-shrink: 0;
  font-size: 13px;
}

.retainer-card {
  background: var(--bg-card);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: all .5s var(--ease);
  border: 1px solid #00ff884d;
  border-radius: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 52px;
  transform: translateY(24px);
  box-shadow: 0 8px 32px #0000004d, 0 0 0 1px #ffffff0d;
}

.retainer-card--in {
  opacity: 1;
  transform: translateY(0);
}

.retainer-card:hover {
  animation: float 6s ease-in-out infinite;
  border-color: #00ff8880;
  box-shadow: 0 16px 48px #0006, 0 0 80px #00ff881f;
}

.retainer-accent {
  position: absolute;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
  height: 3px;
  top: 0;
  left: 0;
  right: 0;
}

.retainer-h2 {
  font-family: var(--display);
  letter-spacing: -.02em;
  text-shadow: 0 0 30px #0f83;
  margin: 16px 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
}

.retainer-sub {
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.65;
}

.retainer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.retainer-stat-val {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--green);
  display: block;
  text-shadow: 0 0 20px #00ff8880;
}

.retainer-stat-label {
  color: var(--text-3);
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.retainer-footnote {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
  margin-top: 16px;
}

@media (max-width: 640px) {
  .retainer-card {
    padding: 40px 24px;
  }
}

.modal-overlay {
  position: fixed;
  z-index: 200;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  display: flex;
  animation: fadeIn .3s var(--ease);
  background: #000000b3;
  justify-content: center;
  align-items:  center;
  padding: 24px;
  inset: 0;
}

.modal {
  background: var(--bg-card);
  position: relative;
  animation: scaleIn .3s var(--ease);
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 40px;
  box-shadow: 0 24px 64px #00000080, 0 0 0 1px #ffffff0d, 0 0 60px #00ff881a;
}

.modal-close {
  position: absolute;
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  transition: all .2s;
  font-size: 18px;
  top: 16px;
  right: 18px;
}

.modal-close:hover {
  color: var(--text);
  background: #ffffff0f;
}

.modal-h3 {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--display);
  letter-spacing: -.02em;
  margin: 14px 0 8px;
}

.modal-desc {
  color: var(--text-2);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.modal-input {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--text);
  outline: none;
  transition: all .3s var(--ease);
  background: #ffffff0a;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 14px;
  padding: 14px 18px;
}

.modal-input:focus {
  border-color: #0f86;
  box-shadow: 0 0 16px #00ff881a;
}

.modal-input::placeholder {
  color: var(--text-3);
}

.modal-fine {
  color: var(--text-3);
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
}

.modal-success {
  text-align: center;
  padding: 24px 0;
}

.modal-success-icon {
  display: flex;
  color: var(--green);
  background: #00ff8814;
  border: 2px solid #00ff884d;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 0 24px #0f83;
}

.voice-fab {
  position: fixed;
  z-index: 150;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  cursor: pointer;
  display: flex;
  transition: all .3s var(--ease);
  animation: glowPulse 2s ease-in-out infinite;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 56px;
  height: 56px;
  font-size: 22px;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 0 24px #0f86, 0 0 48px #00ff8826;
}

.voice-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px #00ff8880, 0 0 64px #00ff8840;
}

.voice-fab--open {
  background: var(--bg-panel);
  animation: none;
  font-size: 18px;
  box-shadow: 0 4px 16px #0006;
}

.voice-panel {
  position: fixed;
  z-index: 150;
  background: var(--bg-deep);
  overflow: hidden;
  animation: slideUp .3s var(--ease);
  display: flex;
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  flex-direction: column;
  width: 390px;
  height: 540px;
  bottom: 92px;
  right: 24px;
  box-shadow: 0 24px 64px #0009, 0 0 0 1px #ffffff0d, 0 0 60px #00ff881a;
}

.voice-panel-header {
  display: flex;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: #00ff880a;
  border-bottom: 1px solid #ffffff0f;
  flex-shrink: 0;
  align-items:  center;
  gap: 12px;
  padding: 16px 18px;
}

.voice-avatar {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 36px;
  height: 36px;
  box-shadow: 0 0 12px #00ff884d;
}

.voice-name {
  font-size: 14px;
  font-weight: 700;
}

.voice-status {
  color: var(--green);
  display: flex;
  align-items:  center;
  gap: 5px;
  font-size: 11px;
}

.voice-dot {
  background: var(--green);
  display: inline-block;
  animation: pulse 2s infinite;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px #00ff8880;
}

.voice-dot--off {
  background: var(--text-3);
  animation: none;
  box-shadow: none;
}

.voice-toggle {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px;
  transition: background .2s;
  font-size: 16px;
}

.voice-toggle:hover {
  background: #ffffff14;
}

.voice-messages {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  padding: 16px;
}

.voice-messages::-webkit-scrollbar {
  width: 3px;
}

.voice-messages::-webkit-scrollbar-thumb {
  background: #1e3a50;
  border-radius: 2px;
}

.voice-empty {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  gap: 8px;
  height: 100%;
  padding: 20px;
}

.voice-empty-icon {
  display: flex;
  background: #00ff880f;
  border: 1px solid #0f83;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  font-size: 28px;
  box-shadow: 0 0 20px #00ff881a;
}

.voice-empty p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.voice-empty-hint {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
}

.voice-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.voice-msg--user {
  justify-content: flex-end;
}

.voice-msg--ai {
  justify-content: flex-start;
}

.voice-msg-avatar {
  background: var(--green);
  color: #000;
  display: flex;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
}

.voice-msg-bubble {
  border-radius: 16px;
  max-width: 80%;
  padding: 11px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.voice-msg-bubble--user {
  background: var(--green);
  color: #000;
  border-bottom-right-radius: 4px;
}

.voice-msg-bubble--ai {
  color: var(--text);
  background: #ffffff0f;
  border: 1px solid #ffffff0f;
  border-bottom-left-radius: 4px;
}

.voice-typing {
  display: flex;
  align-items:  center;
  gap: 5px;
  padding: 14px 18px;
}

.voice-typing span {
  background: var(--text-3);
  animation: typingBounce 1.2s infinite;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.voice-typing span:nth-child(2) {
  animation-delay: .15s;
}

.voice-typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .4;
  }

  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.voice-input-bar {
  background: var(--bg-deep);
  border-top: 1px solid #ffffff0f;
  flex-shrink: 0;
  padding: 12px 14px 14px;
}

.voice-listening {
  display: flex;
  color: var(--text-2);
  justify-content: center;
  align-items:  center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.voice-listening-dot {
  animation: pulse 1s infinite;
  background: #ef4444;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px #ef444480;
}

.voice-input-row {
  display: flex;
  align-items:  center;
  gap: 8px;
}

.voice-mic {
  background: var(--green);
  color: #000;
  cursor: pointer;
  display: flex;
  transition: all .3s var(--ease);
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 12px #00ff884d;
}

.voice-mic:hover {
  transform: scale(1.08);
}

.voice-mic--active {
  color: #fff;
  animation: pulse 1s infinite;
  background: #ef4444;
  box-shadow: 0 0 12px #ef444466;
}

.voice-input {
  color: var(--text);
  outline: none;
  font-size: 14px;
  font-family: var(--font);
  transition: all .3s var(--ease);
  background: #ffffff0a;
  border: 1px solid #ffffff14;
  border-radius: 21px;
  flex: 1;
  height: 42px;
  padding: 0 18px;
}

.voice-input:focus {
  border-color: #00ff884d;
  box-shadow: 0 0 12px #00ff881a;
}

.voice-input::placeholder {
  color: var(--text-3);
}

.voice-send {
  background: var(--green);
  color: #000;
  cursor: pointer;
  display: flex;
  transition: all .3s var(--ease);
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 12px #00ff884d;
}

.voice-send:hover {
  transform: scale(1.08);
}

.voice-send:disabled {
  opacity: .3;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.voice-powered-by {
  text-align: center;
  color: var(--text-3);
  font-size: 10px;
  font-family: var(--mono);
  margin-top: 8px;
}

@media (max-width: 480px) {
  .voice-panel {
    width: calc(100vw - 32px);
    height: 70vh;
    bottom: 88px;
    right: 16px;
  }

  .voice-fab {
    bottom: 16px;
    right: 16px;
  }
}

.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  border-top: 1px solid #ffffff0f;
  padding: 52px 32px;
}

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

.footer-links a {
  color: var(--text-2);
  transition: all .3s var(--ease);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--green);
  text-shadow: 0 0 16px #0f86;
}

.footer-copy {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
}
