/* Сайт-визитка A1 Botsmith. Цвета и кнопки — как в программе (frontend/shared.css, A1-Hub STYLE-GUIDE). */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #1e1e2e;
  --bg-dark: #171724;
  --bg-card: #272740;
  --bg-card-hover: #2e2e4a;
  --border: #3a3a55;
  --border-hover: #4e4e6a;
  --neon-blue: #00f0ff;
  --neon-pink: #ff55ff;
  --neon-green: #00ff88;
  --neon-orange: #ff9500;
  --neon-red: #ff3355;
  --text: #ffffff;
  --text-secondary: #b8b8c8;
  --text-muted: #808090;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-blue: 0 0 20px rgba(0, 240, 255, 0.3);
  --transition: 0.15s ease;
  --wrap: 1180px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg-main); color: var(--text); font: 16px/1.6 var(--font); }
body.no-scroll { overflow: hidden; }
a { color: var(--neon-blue); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 34px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p + p { margin-top: 12px; }
.muted { color: var(--text-muted); font-size: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Кнопки — как .btn в shared.css */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 24px; font: 500 14px/1 var(--font);
  border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer; white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-lg { height: 48px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--neon-blue), #0088ff); color: #000; border-color: var(--neon-blue); box-shadow: var(--shadow-blue); }
.btn-primary:hover { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--neon-blue); color: var(--neon-blue); }
.btn.is-soon { opacity: 0.45; cursor: default; pointer-events: none; box-shadow: none; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(23, 23, 36, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 32px; height: 60px; }
.logo { font-size: 22px; font-weight: 700; }
.logo-a1 { color: var(--neon-blue); }
.logo-app { color: var(--neon-pink); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--neon-blue); }
.lang { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.lang button { background: none; border: 0; color: var(--text-muted); font: 600 13px var(--font); padding: 6px 10px; cursor: pointer; }
.lang button.on { background: var(--neon-blue); color: #000; }

/* Первый экран */
.hero { padding: 72px 0 64px; background: radial-gradient(ellipse at 80% 0%, rgba(255, 85, 255, 0.10), transparent 55%), radial-gradient(ellipse at 10% 30%, rgba(0, 240, 255, 0.08), transparent 50%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-block; color: var(--neon-pink); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 44px; margin-bottom: 20px; }
.hero-sub { color: var(--text-secondary); font-size: 17px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { color: var(--text-muted); font-size: 14px; }

/* Скриншоты */
.shot { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-dark); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.shot img { cursor: zoom-in; }
.hero-shot { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.10); }

/* Секции */
.sec { padding: 80px 0; }
.sec-alt { background: var(--bg-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-sub { color: var(--text-muted); margin: -6px 0 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #000; background: var(--neon-blue); margin-bottom: 14px; }
.step p { color: var(--text-secondary); font-size: 15px; }

.feat { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.feat-rev .shot { order: 2; }
.feat-text p { color: var(--text-secondary); }
.feat-text h3 { font-size: 24px; margin-bottom: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--neon-blue); border-radius: var(--radius-lg); padding: 24px; }
.card p { color: var(--text-secondary); font-size: 15px; }
.card-ic { font-size: 26px; margin-bottom: 10px; }
.c-pink { border-left-color: var(--neon-pink); }
.c-green { border-left-color: var(--neon-green); }
.c-orange { border-left-color: var(--neon-orange); }

.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.panel h2 { font-size: 28px; }
.panel p { color: var(--text-secondary); }
.panel .muted { margin-top: 14px; }
.panel-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 4px; }
.panel-dl { border-color: rgba(0, 240, 255, 0.35); box-shadow: 0 0 30px rgba(0, 240, 255, 0.08); }
.dl-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
#ai p { color: var(--text-secondary); }

/* колонки сетки не растягиваются под широкие скриншоты */
.hero-in > *, .two > *, .feat > *, .steps > *, .cards > * { min-width: 0; }

/* Подвал */
.foot { border-top: 1px solid var(--border); background: var(--bg-dark); padding: 32px 0; }
.foot-risk { color: var(--text-muted); font-size: 13px; max-width: 820px; }
.foot-copy { color: var(--text-muted); font-size: 13px; margin-top: 12px; }

/* Увеличенный скриншот */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(10, 10, 18, 0.92); display: grid; place-items: center; padding: 32px; cursor: zoom-out; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; border-radius: var(--radius-md); border: 1px solid var(--border); }
.lb-x { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--text); font-size: 34px; line-height: 1; cursor: pointer; }

/* Планшет / телефон */
@media (max-width: 980px) {
  .hero-in, .two, .feat { grid-template-columns: minmax(0, 1fr); }
  .feat-rev .shot { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  h2 { font-size: 28px; }
  .sec { padding: 56px 0; }
}
