/* Landing getwidget.ru: тёмный hero + светлые секции.
   Неймспейс .gw- не пересекается с locus-shell.css. */
.gw {
  --gw-bg: #060913;
  --gw-violet: #8b5cf6;
  --gw-cyan: #22d3ee;
  --gw-grad: linear-gradient(92deg, #8b5cf6 0%, #22d3ee 100%);
  --gw-txt: #e9edf9;
  --gw-mut: #98a3c2;
  --gw-line: rgba(255,255,255,.10);
  --gw-card: #ffffff;
  --gw-fg: #18181b;
  --gw-muted: #71717a;
  --gw-lline: #d4d4d8;
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  color: var(--gw-fg);
  background: #f4f4f5;
  -webkit-font-smoothing: antialiased;
}
.gw, .gw * { box-sizing: border-box; }
.gw-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(6,9,19,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gw-line);
  color: var(--gw-txt);
}
.gw-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gw-txt); }
.gw-logo img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.gw-logo b { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.gw-logo b i { font-style: normal; background: var(--gw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gw-top nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.gw-top nav a { color: var(--gw-mut); text-decoration: none; font-size: .86rem; font-weight: 600; padding: 8px 12px; border-radius: 9px; }
.gw-top nav a:hover { color: var(--gw-txt); background: rgba(255,255,255,.06); }
.gw-top nav a.hot { color: #081018; background: var(--gw-grad); font-weight: 800; }
.gw-hero {
  position: relative; overflow: hidden;
  color: var(--gw-txt); background: var(--gw-bg);
  padding: clamp(56px, 9vw, 110px) clamp(16px, 6vw, 64px) clamp(48px, 7vw, 88px);
  text-align: center;
}
.gw-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(139,92,246,.18), transparent 60%),
    radial-gradient(800px 460px at 92% 110%, rgba(34,211,238,.14), transparent 60%);
}
.gw-hero h1 {
  position: relative; margin: 0 auto 16px; max-width: 880px;
  font-family: 'Manrope Variable', Manrope, Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
}
.gw-hero h1 i { font-style: normal; background: var(--gw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gw-kicker {
  display: inline-block; position: relative; margin-bottom: 18px;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gw-cyan);
}
.gw-sub { position: relative; margin: 0 auto 30px; max-width: 640px; color: var(--gw-mut); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.6; }
.gw-cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.gw-btn {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: 1rem;
  padding: 15px 30px; border-radius: 14px; color: #081018; background: var(--gw-grad);
  transition: transform .2s, box-shadow .25s;
}
.gw-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(139,92,246,.45); }
.gw-btn.ghost { background: transparent; color: var(--gw-txt); border: 1px solid var(--gw-line); font-weight: 700; box-shadow: none; }
.gw-btn.ghost:hover { border-color: var(--gw-cyan); }
/* Ghost-кнопка на светлом фоне всегда тёмная: светлое на светлом исключено.
   Покрываем и старый маркер gw-light, и новый gw-btn-light, и любой ghost внутри .gw-sec. */
.gw-sec .gw-btn.ghost,
.gw-light .gw-btn.ghost,
a.gw-btn.ghost.gw-light,
.gw-btn.gw-btn-light {
  background: #fff; color: #18181b; border: 1px solid #d4d4d8;
}
.gw-sec .gw-btn.ghost:hover,
a.gw-btn.ghost.gw-light:hover,
.gw-btn.gw-btn-light:hover { border-color: #6d28d9; box-shadow: 0 8px 22px rgb(24 24 27 / .12); color: #18181b; }
/* В тёмном hero ghost остаётся светлым. */
.gw-hero .gw-btn.ghost { background: transparent; color: #e9edf9; border: 1px solid rgba(255,255,255,.10); }
.gw-chips { position: relative; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gw-chip {
  font-size: .86rem; font-weight: 600; color: var(--gw-txt);
  border: 1px solid var(--gw-line); background: rgba(255,255,255,.045);
  border-radius: 99px; padding: 9px 18px;
}
.gw-chip b { color: var(--gw-cyan); }
.gw-sec { max-width: 1080px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) clamp(16px, 4vw, 32px); }
.gw-kick { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: #6d28d9; margin-bottom: 10px; }
.gw-sec h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
.gw-sec > p { margin: 0 0 26px; color: var(--gw-muted); max-width: 720px; }
.gw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gw-card { background: var(--gw-card); border: 1px solid var(--gw-lline); border-radius: 16px; padding: 22px; }
.gw-card .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gw-grad); color: #081018;
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.gw-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.gw-card p { margin: 0; color: var(--gw-muted); font-size: .92rem; line-height: 1.55; }
.gw-card code { background: #f4f4f5; border: 1px solid var(--gw-lline); border-radius: 6px; padding: 2px 7px; font-size: .85em; }
.gw-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--gw-card); border: 1px solid var(--gw-lline); border-radius: 16px; overflow: hidden; font-size: .94rem; }
.gw-table th, .gw-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--gw-lline); vertical-align: top; }
.gw-table tr:last-child th, .gw-table tr:last-child td { border-bottom: none; }
.gw-table th { width: 150px; }
.gw-table .sub { color: var(--gw-muted); font-size: .86rem; }
.gw-note {
  border: 1px dashed rgba(109,40,217,.5); border-radius: 14px; padding: 14px 18px;
  font-size: .9rem; color: var(--gw-muted); background: rgba(109,40,217,.05); margin-top: 16px;
}
.gw-note b { color: var(--gw-fg); }
.gw-demo { background: #fff; border-top: 1px solid var(--gw-lline); border-bottom: 1px solid var(--gw-lline); }
.gw-demo .gw-sec { max-width: 1180px; }
.gw-demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.gw-skin { text-align: center; text-decoration: none; color: inherit; border: 1px solid var(--gw-lline); border-radius: 18px; padding: 14px; background: #f9fafb; transition: transform .2s, box-shadow .25s; }
.gw-skin:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(24 24 27 / .12); }
.gw-skin img { width: 100%; height: auto; aspect-ratio: 280 / 420; object-fit: cover; border-radius: 12px; }
.gw-skin b { display: block; margin-top: 10px; }
.gw-skin span { display: block; font-size: .85rem; color: var(--gw-muted); }
.gw-cta-final { text-align: center; padding-bottom: clamp(48px, 7vw, 90px); }
.gw-cta-final .gw-cta { margin-bottom: 0; }
.gw-foot { border-top: 1px solid var(--gw-lline); padding: 22px clamp(16px, 4vw, 32px); display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--gw-muted); max-width: 1080px; margin: 0 auto; }
.gw-foot a { color: var(--gw-muted); }
.gw-foot .right { margin-left: auto; }
@media (max-width: 640px) {
  .gw-top nav a { padding: 7px 8px; font-size: .8rem; }
  .gw-table th { width: 110px; }
}

/* Контактная форма (форма обратной связи) */
.gw-contact { display: grid; gap: 14px; max-width: 640px; margin: 0; }
.gw-contact label { display: block; font-size: .85rem; font-weight: 600; color: var(--gw-muted); }
.gw-contact input, .gw-contact textarea { width: 100%; margin-top: 6px; padding: 13px 15px; border: 1px solid var(--gw-lline); border-radius: 12px; background: #fff; color: var(--gw-fg); font: inherit; }
.gw-contact input:focus, .gw-contact textarea:focus { outline: none; border-color: #6d28d9; }
.gw-contact textarea { resize: vertical; }
.gw-contact .gw-btn { justify-self: start; border: 0; cursor: pointer; }
.gw-contact .gw-btn[disabled] { opacity: .6; cursor: progress; }
.gw-contact-msg { margin: 0; font-size: .9rem; color: var(--gw-muted); }
.gw-contact-msg.err { color: #b91c1c; }
.gw-contact-msg.ok { color: #15803d; }
