:root {
  --bg: #070b10;
  --bg-2: #0d141c;
  --panel: #121923;
  --panel-2: #182230;
  --panel-3: #213043;
  --text: #f8fbff;
  --muted: #a9b7c7;
  --soft: #dfe9f4;
  --line: rgba(222,236,248,.13);
  --line-strong: rgba(222,236,248,.24);
  --accent: #52eba5;
  --accent-dark: #092918;
  --accent-2: #7ac7ff;
  --warning: #ffd166;
  --danger: #ff6f8f;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --shadow-soft: 0 14px 38px rgba(0,0,0,.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg, video, canvas { max-width: 100%; height: auto; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(82,235,165,.09) 0%, transparent 34%),
    linear-gradient(135deg, #070b10 0%, #0d151f 44%, #101820 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(122,199,255,.08) 42%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 22%, rgba(82,235,165,.045));
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, p, a, span, b, small, code, pre, button, input, textarea {
  overflow-wrap: anywhere;
}

.site-header, .site-footer {
  max-width: 1220px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-header {
  margin-top: 12px;
  border: 1px solid rgba(222,236,248,.16);
  border-radius: 8px;
  background: rgba(7,11,16,.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 56px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav, .site-footer {
  display: flex;
  gap: 8px;
  color: var(--muted);
  flex-wrap: wrap;
  min-width: 0;
}

.site-header nav {
  flex: 1 1 520px;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}

nav a, .site-footer a, .nav-dropdown > button {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

nav a:hover, .site-footer a:hover, .nav-dropdown > button:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown > button {
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.nav-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 9px;
  opacity: .78;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(520px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(222,236,248,.14);
  border-radius: 8px;
  background: rgba(7,11,16,.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}

.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  min-height: 54px;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.045);
  border-color: rgba(222,236,248,.09);
  justify-content: flex-start;
}

.nav-panel .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

nav a.nav-cta {
  color: #061c12;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #7df2bd);
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(82,235,165,.18);
}

main {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 26px 24px 48px;
  position: relative;
  z-index: 1;
}

.hero > *, .feature-grid > *, .plans > *, .content-grid > *, .dashboard-grid > *, .tool-layout > *, .product-band > *, .tool-cards > * {
  min-width: 0;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .82fr);
  align-items: center;
  gap: 34px;
  padding: 38px 0 30px;
}

.hero.compact {
  min-height: 520px;
  grid-template-columns: 1fr;
  align-content: center;
  align-items: start;
  gap: 22px;
  padding-top: 48px;
}

.hero.compact h1 {
  max-width: 980px;
  font-size: clamp(48px, 6.2vw, 88px);
}

.hero.compact .hero-actions {
  margin-top: 30px;
  margin-bottom: 18px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: .92;
  margin: 0 0 22px;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 { margin: 0 0 12px; line-height: 1.12; }
p { color: var(--muted); line-height: 1.65; }
.hero-copy p { max-width: 720px; font-size: 19px; color: var(--soft); text-wrap: pretty; }

.hero-actions, .split {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 18px;
  min-height: 46px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #7df2bd);
  color: #061c12;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(82,235,165,.24);
}

.btn.primary:hover { box-shadow: 0 18px 38px rgba(82,235,165,.28); }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--text); }
.btn.ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,.1); }

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-metrics span, .service-strip span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,.065);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  min-height: 42px;
  position: relative;
  z-index: 0;
}

.hero-actions {
  position: relative;
  z-index: 1;
}

.hero-metrics b { color: var(--text); }

.hero-panel, .price-card, .feature-card, .auth-panel, .tool-shell, .content-grid article {
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.04)),
    rgba(18,25,35,.72);
  border: 1px solid rgba(222,236,248,.14);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-color: rgba(122,199,255,.22);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(82,235,165,.16), transparent 40%, rgba(122,199,255,.13)),
    linear-gradient(180deg, rgba(255,255,255,.045), transparent);
  pointer-events: none;
}

.hero-panel > * { position: relative; z-index: 1; }
.panel-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-weight: 800; }
.panel-top i {
  font-style: normal;
  color: var(--accent);
  border: 1px solid rgba(73,227,155,.38);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(73,227,155,.09);
}

.hero-panel strong {
  display: block;
  font-size: 82px;
  line-height: 1;
  margin: 38px 0 16px;
  color: var(--text);
}

.score-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  border: 1px solid var(--line);
}

.score-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.audit-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.audit-list div {
  display: grid;
  grid-template-columns: 1fr auto 12px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6,10,14,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.audit-list span { color: var(--muted); }
.audit-list em {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--warning);
}
.audit-list em.ok { background: var(--accent); }

.product-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(222,236,248,.15);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(82,235,165,.065));
  padding: 26px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-soft);
}

.product-media {
  display: grid;
  grid-template-columns: minmax(190px, .62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.product-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(222,236,248,.13);
  box-shadow: var(--shadow-soft);
  background: rgba(7,11,16,.64);
}

.product-media p { margin: 0; }

.feature-grid, .plans, .content-grid, .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.feature-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ui-icon {
  width: 22px;
  height: 22px;
  color: currentColor;
  flex: 0 0 auto;
}

.feature-icon, .tool-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(82,235,165,.1);
  border: 1px solid rgba(82,235,165,.25);
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.tool-icon {
  margin-bottom: 0;
}

.feature-card::after, .price-card::after, .tool-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
}

.feature-card h2::before, .content-grid h2::before, .dashboard-grid h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-bottom: 14px;
}

.feature-card:hover, .price-card:hover, .content-grid article:hover {
  border-color: rgba(73,227,155,.52);
  transform: translateY(-2px);
  transition: .18s ease;
  box-shadow: 0 26px 70px rgba(0,0,0,.38);
}

.price-card {
  display: grid;
  gap: 8px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.price { font-size: 44px; font-weight: 950; color: var(--accent-2); margin: 4px 0; }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.breadcrumbs a { color: var(--soft); }

.service-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
}

.seo-copy, .faq-section, .related-section {
  margin: 34px 0;
  padding: 30px;
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  box-shadow: var(--shadow-soft);
}

.service-ad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 34px 0;
  padding: 28px;
  border: 1px solid rgba(73,227,155,.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(82,235,165,.16), rgba(122,199,255,.09) 46%, rgba(255,255,255,.055));
  box-shadow: var(--shadow);
}

.service-ad h2 { max-width: 720px; }
.service-ad p { max-width: 820px; }
.service-ad-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
  min-width: 230px;
}
.service-ad-actions span {
  display: inline-flex;
  border: 1px solid rgba(105,191,255,.42);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--accent-2);
  font-weight: 950;
  background: rgba(105,191,255,.08);
}

.seo-copy p { max-width: 920px; }

.blog-grid {
  max-width: 1220px;
  width: calc(100% - 48px);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.blog-card,
.blog-article,
.article-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: var(--shadow-soft);
}

.blog-card {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 330px;
}

.blog-card h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.blog-card p {
  margin: 0;
  color: var(--soft);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.blog-article {
  max-width: 980px;
  width: calc(100% - 48px);
  margin: 0 auto 28px;
  padding: clamp(26px, 5vw, 54px);
  position: relative;
  z-index: 1;
}

.blog-article h1 {
  margin-bottom: 18px;
}

.blog-article .lead {
  max-width: 860px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
}

.blog-article section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.blog-article section p {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.75;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(82,235,165,.15), rgba(122,199,255,.09));
}
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.check-grid div, .dashboard-grid article {
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.check-grid span { display: block; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.faq-section details { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: rgba(255,255,255,.045); margin: 10px 0; }
.faq-section summary { cursor: pointer; font-weight: 900; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a, .related-links span { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: rgba(255,255,255,.05); color: var(--text); }
.related-links a:hover { border-color: rgba(82,235,165,.44); background: rgba(82,235,165,.075); }
.related-links span { color: var(--accent); font-weight: 800; }

.cabinet-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 34px 0 24px; }
.cabinet-head > div { min-width: 0; }
.cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.balance-card {
  min-width: 260px;
  border: 1px solid rgba(82,235,165,.42);
  background: linear-gradient(180deg, rgba(82,235,165,.17), rgba(255,255,255,.052));
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.balance-card span, .metric { color: var(--accent); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.balance-card strong { display: block; font-size: 72px; line-height: 1; margin: 8px 0; color: var(--text); }
.metric { display: inline-flex; margin-bottom: 12px; }
.notice { border: 1px solid rgba(73,227,155,.4); background: rgba(73,227,155,.12); padding: 14px 16px; border-radius: 8px; margin: 16px 0; }

.cabinet-nav {
  position: sticky;
  top: 10px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
  padding: 10px;
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  background: rgba(7,11,16,.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.cabinet-nav a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--soft);
  font-weight: 850;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.cabinet-nav a:hover {
  border-color: rgba(82,235,165,.38);
  background: rgba(82,235,165,.075);
  color: var(--text);
}

.simple-cabinet-nav a.active {
  color: #061c12;
  background: linear-gradient(135deg, var(--accent), #7df2bd);
  border-color: transparent;
  font-weight: 950;
}

.compact-cabinet-head {
  margin-top: 24px;
  margin-bottom: 16px;
}

.balance-card.slim {
  width: min(100%, 220px);
  padding: 18px;
}

.balance-card.slim strong {
  font-size: 42px;
}

.account-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.account-overview article {
  min-width: 0;
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
    rgba(18,25,35,.72);
  box-shadow: var(--shadow-soft);
}

.account-overview h2 { margin-bottom: 8px; }
.account-overview p { margin-bottom: 0; }

.simple-overview {
  margin-top: 22px;
}

.cabinet-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 34px;
}

.cabinet-menu article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(18,25,35,.72);
  box-shadow: var(--shadow-soft);
}

.cabinet-menu h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cabinet-menu p {
  min-height: 48px;
  color: var(--muted);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 10px;
}

.quick-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255,255,255,.06);
  color: var(--soft);
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.quick-links a:hover {
  border-color: rgba(73,227,155,.52);
  color: var(--text);
  background: rgba(73,227,155,.08);
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 34px;
}

.workflow-board article {
  min-width: 0;
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
    rgba(18,25,35,.72);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  align-content: start;
}

.workflow-board .ui-icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin: 2px 0 4px;
}

.workflow-board span {
  color: var(--accent-2);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .12em;
}

.workflow-board p { margin: 0; }
.workflow-board .btn { justify-self: start; margin-top: 6px; }

.auth-panel { max-width: 540px; margin: 82px auto; }
.auth-panel h1 { font-size: clamp(42px, 6vw, 72px); }
.form-note {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.form-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc {
  max-width: 920px;
  margin: 34px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}
.legal-doc h1 { font-size: clamp(40px, 6vw, 76px); }
.legal-doc .lead { color: var(--soft); font-size: 18px; }
.legal-doc section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}
.legal-note {
  border: 1px solid rgba(255,209,102,.38);
  background: rgba(255,209,102,.08);
  color: #ffe0a3;
  padding: 14px;
  border-radius: 8px;
}
.legal-updated {
  margin-top: 28px;
  color: var(--accent);
  font-weight: 800;
}

input, textarea {
  width: 100%;
  border: 1px solid rgba(222,236,248,.14);
  background: rgba(7,11,16,.86);
  color: var(--text);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

input:focus, textarea:focus {
  border-color: rgba(73,227,155,.62);
  box-shadow: 0 0 0 4px rgba(73,227,155,.08);
}

textarea { min-height: 170px; resize: vertical; }
.auth-form, .tool-form { display: grid; gap: 14px; }
.tool-shell { margin: 28px 0; }
.tool-shell.service-picker {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.tool-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.section-head p { max-width: 760px; margin-bottom: 0; }
.tool-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.tool-filters button {
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--soft);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  font-weight: 850;
}

.tool-filters button:hover,
.tool-filters button.active {
  color: #061c12;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #7df2bd);
}

.is-hidden { display: none !important; }
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.compact-tool-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.simple-tools-page {
  display: grid;
  gap: 18px;
}

.tool-group-title {
  margin: 8px 0 -4px;
  color: var(--soft);
  font-size: 20px;
}

.tool-card {
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  min-height: 154px;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    rgba(24,34,48,.82);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 11px;
  align-content: start;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.tool-card:hover {
  border-color: rgba(122,199,255,.36);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045)),
    rgba(30,43,59,.95);
}
.tool-card.active {
  border-color: rgba(73,227,155,.66);
  background:
    linear-gradient(180deg, rgba(82,235,165,.18), rgba(255,255,255,.06)),
    rgba(20,34,30,.92);
  box-shadow: 0 14px 34px rgba(73,227,155,.1);
}
.tool-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.tool-card b {
  display: block;
  font-size: 15px;
  line-height: 1.22;
  min-width: 0;
}
.tool-card i {
  font-style: normal;
  white-space: normal;
  color: var(--accent-2);
  border: 1px solid rgba(105,191,255,.38);
  background: rgba(105,191,255,.08);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 950;
  max-width: 104px;
  text-align: center;
  line-height: 1.2;
  flex: 0 0 auto;
}
.tool-card small {
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}
.tool-card em {
  align-self: end;
  font-style: normal;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}
.tool-tabs { display: grid; gap: 8px; max-height: 780px; overflow: auto; padding-right: 6px; }
.tool-tabs button {
  border: 1px solid var(--line);
  background: rgba(32,45,58,.88);
  color: var(--text);
  border-radius: 8px;
  padding: 13px;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.tool-tabs button:hover { border-color: var(--line-strong); transform: translateX(2px); }
.tool-tabs button b { display: block; font-size: 14px; }
.tool-tabs button span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 5px; }
.tool-tabs button.active { background: rgba(73,227,155,.14); color: var(--text); border-color: rgba(73,227,155,.66); font-weight: 900; }
.tool-tabs button.active span { color: #d4f4e4; }
.tool-workspace { display: grid; gap: 16px; }
.launch-panel {
  border-color: rgba(82,235,165,.22);
  background:
    linear-gradient(180deg, rgba(82,235,165,.08), rgba(255,255,255,.035)),
    rgba(18,25,35,.72);
}
.tool-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
    rgba(18,25,35,.7);
  box-shadow: var(--shadow-soft);
}
.tool-info > * { min-width: 0; }
.tool-info h2 { margin-bottom: 4px; }

.single-tool-page {
  max-width: 880px;
}

.single-tool-page .tool-info {
  margin-bottom: 18px;
}

.single-tool-page .tool-icon {
  flex: 0 0 auto;
}

.simple-plans {
  margin-top: 24px;
}

.compact-tool-cards .tool-card {
  text-decoration: none;
  cursor: pointer;
}

.cost-pill {
  white-space: nowrap;
  border: 1px solid rgba(105,191,255,.48);
  color: var(--accent-2);
  background: rgba(105,191,255,.1);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 950;
}
.file-box { border: 1px dashed rgba(105,191,255,.56); border-radius: 8px; padding: 15px; background: rgba(105,191,255,.07); display: grid; gap: 8px; cursor: pointer; }
.file-box span { font-weight: 950; color: var(--text); }
.file-box small { color: var(--muted); }
.file-box input { padding: 10px; background: rgba(0,0,0,.16); }
.hidden { display: none; }
.result-box {
  white-space: pre-wrap;
  background: rgba(5,8,12,.92);
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 18px;
  min-height: 240px;
  overflow: auto;
  color: #dce8f5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.history-list { display: grid; gap: 10px; }
.history-item {
  border: 1px solid rgba(222,236,248,.13);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.052);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.history-item span { color: var(--accent); margin-left: 8px; font-weight: 900; display: inline-block; }
.history-item p { margin: 8px 0; }
.payment-item { display: grid; gap: 6px; }
.payment-item .btn { justify-self: start; margin-top: 4px; }

.site-footer {
  border: 1px solid rgba(222,236,248,.12);
  border-radius: 8px;
  margin-top: 28px;
  color: var(--muted);
  background: rgba(7,11,16,.38);
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 26px;
}

.site-footer .brand {
  color: var(--text);
  margin-bottom: 12px;
}

.site-footer .brand img {
  width: 210px;
}

.footer-brand p {
  margin: 0 0 16px;
}

.footer-col {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.footer-col h2 {
  color: var(--text);
  font-size: 15px;
  margin: 0 0 6px;
}

.footer-col a,
.footer-brand a:not(.btn) {
  padding: 7px 0;
  min-height: auto;
  border: 0;
  color: var(--muted);
  justify-content: flex-start;
  white-space: normal;
}

.footer-col a:hover,
.footer-brand a:not(.btn):hover {
  color: var(--text);
  background: transparent;
  transform: none;
}

.developer-credit {
  color: var(--accent);
  border-color: rgba(73,227,155,.28);
  background: rgba(73,227,155,.07);
}

@media (max-width: 1180px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    flex: 1 1 auto;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .hero-panel {
    min-height: 360px;
  }
  .tool-cards {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
  .workflow-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .hero, .feature-grid, .plans, .content-grid, .check-grid, .dashboard-grid, .tool-layout, .product-band, .service-ad, .tool-cards, .account-overview, .workflow-board, .cabinet-menu, .compact-tool-cards, .blog-grid, .article-cta { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 42px 0; }
  .cabinet-head { align-items: flex-start; flex-direction: column; }
  .section-head { flex-direction: column; }
  h1 { font-size: 48px; }
  .tool-tabs { max-height: none; }
  .service-strip { margin-top: 0; }
  .service-ad-actions { justify-items: start; }
  .cabinet-nav {
    position: static;
  }
  .product-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main, .site-header, .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-header {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .menu-toggle { display: inline-flex; }
  .site-header nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    padding-top: 12px;
  }
  .site-header.menu-open nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .nav-dropdown {
    display: grid;
    width: 100%;
  }
  .nav-dropdown > button {
    width: 100%;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border-color: var(--line);
  }
  .nav-panel {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 8px;
    padding: 8px;
    box-shadow: none;
    background: rgba(255,255,255,.035);
  }
  main { overflow: hidden; }
  h1 { font-size: 40px; }
  .hero { display: block; }
  .hero > *, .hero-copy, .hero-copy p, .hero-actions, .hero-metrics, .service-strip, .hero-panel {
    width: 100%;
    max-width: 100%;
  }
  .eyebrow { font-size: 10px; letter-spacing: .04em; overflow-wrap: anywhere; }
  .hero-copy p { font-size: 16px; overflow-wrap: anywhere; word-break: break-word; }
  .hero-actions, .hero-metrics, .service-strip { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn, .hero-metrics span, .service-strip span { width: 100%; min-width: 0; }
  .cabinet-actions,
  .tool-filters {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cabinet-actions .btn,
  .tool-filters button,
  .workflow-board .btn {
    width: 100%;
  }
  .cabinet-nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
  .hero-panel { width: 100%; margin-top: 28px; }
  .hero-panel strong, .balance-card strong { font-size: 58px; }
  .hero-panel, .price-card, .feature-card, .auth-panel, .tool-shell, .seo-copy, .faq-section, .related-section, .product-band, .service-ad, .legal-doc, .blog-card, .blog-article, .article-cta { padding: 18px; }
  nav a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 10px 8px;
  }
  .site-header nav a {
    width: 100%;
  }
  .brand { width: 100%; }
  .quick-links a,
  .related-links a,
  .related-links span {
    width: 100%;
  }
  .tool-card-top {
    display: grid;
    grid-template-columns: 1fr;
  }
  .tool-card i {
    max-width: none;
    justify-self: start;
  }
  .price { font-size: 34px; }
  .balance-card { min-width: 0; width: 100%; }
  .service-ad-actions { min-width: 0; width: 100%; }
  .service-ad-actions .btn { width: 100%; }
  .site-footer {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-left: 12px;
    margin-right: 12px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand .btn {
    width: 100%;
  }
  .audit-list div { grid-template-columns: 1fr 10px; }
  .audit-list span { grid-column: 1 / -1; }
  .tool-info { flex-direction: column; }
}
