@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/unbounded-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #0A0A0B;
  --ink: #F4F4F5;
  --muted-1: #a1a1aa;
  --muted-2: #8b8b93;
  --muted-3: #71717a;
  --muted-4: #5a5a63;
  --lime: #C6FF3D;
  --purple: #7C5CFF;
  --pink: #FF4D9D;
  --teal: #17A6A6;
  --glass-bg: rgba(255,255,255,0.045);
  --glass-border: rgba(255,255,255,0.10);
  --radius: 18px;
  --font-head: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Unbounded', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--lime); color: #0A0A0B; }

.section-band { position: relative; max-width: 1120px; margin: 0 auto; padding: 88px 24px; }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.aurora-a { background: var(--purple); top: -12%; left: -10%; animation: auroraA 22s ease-in-out infinite; }
.aurora-b { background: var(--pink); top: 20%; right: -14%; animation: auroraB 26s ease-in-out infinite; }
.aurora-c { background: var(--teal); bottom: -18%; left: 20%; animation: auroraC 30s ease-in-out infinite; }

@keyframes auroraA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.12); }
}
@keyframes auroraB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, 6vh) scale(1.08); }
}
@keyframes auroraC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, -6vh) scale(1.15); }
}

.shimmer-text {
  background-image: linear-gradient(90deg, var(--purple), var(--pink), var(--lime), var(--purple));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tmShimmer 6s linear infinite;
}
@keyframes tmShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

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

@keyframes tmPulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(198,255,61,0.55); }
  50% { opacity: 0.65; box-shadow: 0 0 0 6px rgba(198,255,61,0); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(10,10,11,0.65);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  background-image: linear-gradient(90deg, var(--purple), var(--pink), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted-1); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.nav a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.button.compact { padding: 10px 18px; }
.button.primary { background: var(--lime); color: #0A0A0B; box-shadow: 0 0 0 0 rgba(198,255,61,0); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(198,255,61,0.28); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--glass-border); }
.button.ghost:hover { border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.icon-button {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--muted-1);
  font-size: 16px;
  transition: color .2s ease, border-color .2s ease;
}
.icon-button:hover { color: var(--ink); border-color: rgba(255,255,255,0.28); }

.hero { text-align: center; padding-top: 96px; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--muted-1);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: tmFadeUp .7s ease both;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: tmPulseDot 2s ease-in-out infinite; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 20px;
  animation: tmFadeUp .8s ease .05s both;
}
.hero .lead {
  max-width: 620px;
  color: var(--muted-1);
  font-size: 17px;
  margin-bottom: 32px;
  animation: tmFadeUp .8s ease .1s both;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 56px; animation: tmFadeUp .8s ease .15s both; }

.demo-card {
  width: 100%;
  max-width: 640px;
  padding: 18px;
  text-align: left;
  animation: tmFadeUp .8s ease .2s both;
}
.demo-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.demo-title { margin-left: 8px; font-size: 13px; color: var(--muted-3); }
.demo-card textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.demo-card textarea:focus { outline: none; border-color: rgba(198,255,61,0.4); }
.demo-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-chip {
  flex: 1;
  min-width: 100px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
}
.stat-chip strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--lime); }
.stat-chip span { font-size: 12px; color: var(--muted-2); }

.section-title { text-align: center; margin-bottom: 40px; }
.eyebrow { color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 640px; margin: 0 auto; }

.cat-block { padding: 26px; margin-bottom: 20px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.cat-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 4px 9px;
}
.cat-head h3 { font-size: 18px; color: var(--ink); }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198,255,61,0.35);
  background: rgba(198,255,61,0.06);
}
.tool-card .t-name { font-weight: 600; font-size: 14.5px; }
.tool-card .t-desc { font-size: 12.5px; color: var(--muted-2); line-height: 1.4; }

.workspace-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.workspace-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 6px; }
.workspace-actions { display: flex; gap: 10px; }

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  margin-bottom: 18px;
}
.editor-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
}
.editor-label textarea {
  min-height: 220px;
  resize: vertical;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 0;
}
.editor-label textarea:focus { outline: none; }

.stats-ribbon { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 12.5px;
  color: var(--muted-2);
}
.stat-pill strong { color: var(--lime); font-family: var(--font-head); font-size: 13px; }

.control-shelf {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 18px;
  flex-wrap: wrap;
}
.field-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.field-group label { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.field-group input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
}
.field-group input:focus { outline: none; border-color: rgba(198,255,61,0.4); }

.about-card { padding: 44px; text-align: center; }
.about-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 16px; }
.about-card .lead { max-width: 640px; margin: 0 auto; color: var(--muted-1); font-size: 15.5px; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  color: var(--muted-3);
  font-size: 13px;
  border-top: 1px solid var(--glass-border);
}

@media (max-width: 860px) {
  .editor-grid { grid-template-columns: 1fr; }
  .topbar { padding: 14px 18px; gap: 14px; }
  .nav { display: none; }
  .section-band { padding: 56px 18px; }
  .hero { padding-top: 56px; }
  .cat-block { padding: 20px; }
}
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; }
  .footer { flex-direction: column; text-align: center; }
}
