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

    :root {
      --bg:        #0f172a;
      --bg-card:   #1e293b;
      --bg-deep:   #162032;
      --border:    #334155;
      --border-l:  #1e3a5f;
      --accent:    #3b82f6;
      --accent-h:  #2563eb;
      --accent-dim:#1d4ed8;
      --purple:    #6366f1;
      --text:      #f1f5f9;
      --muted:     #94a3b8;
      --subtle:    #64748b;
      --green:     #22c55e;
      --amber:     #f59e0b;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

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

    /* ─── FADE-IN ON SCROLL ──────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-4 { transition-delay: .4s; }

    /* ─── NAV ────────────────────────────────────────────── */
    nav {
      position: sticky; top: 0; z-index: 50;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2rem;
      height: 64px;
      background: rgba(15,23,42,.9);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      display: flex; align-items: center; gap: .55rem;
      font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em;
    }
    .nav-logo img { width: 30px; height: 30px; border-radius: 7px; }

    .nav-links {
      display: flex; gap: 2rem;
      list-style: none;
    }
    .nav-links a {
      font-size: .875rem; font-weight: 500; color: var(--muted);
      transition: color .15s;
    }
    .nav-links a:hover { color: var(--text); }

    .nav-actions { display: flex; gap: .6rem; align-items: center; }

    /* ─── BUTTONS ────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: .55rem 1.2rem;
      border-radius: 8px;
      font-size: .875rem; font-weight: 600;
      cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s;
      border: none; white-space: nowrap;
    }
    .btn:active { transform: scale(.97); }

    .btn-ghost { background: transparent; color: var(--muted); }
    .btn-ghost:hover { color: var(--text); }

    .btn-primary { background: var(--accent); color: #fff; }
    .btn-primary:hover { background: var(--accent-h); box-shadow: 0 0 20px rgba(59,130,246,.35); }

    .btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
    .btn-outline:hover { background: rgba(59,130,246,.08); }

    .btn-lg { padding: .8rem 1.75rem; font-size: 1rem; border-radius: 10px; }

    /* ─── SECTION WRAPPER ────────────────────────────────── */
    .section { padding: 96px 1.5rem; }
    .section-alt { background: var(--bg-deep); }

    .container { max-width: 1100px; margin: 0 auto; }

    .section-eyebrow {
      font-size: .75rem; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: .6rem;
    }
    .section-title {
      font-size: clamp(1.75rem, 3.5vw, 2.6rem);
      font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
      margin-bottom: .85rem;
    }
    .section-sub {
      font-size: 1.05rem; color: var(--muted); max-width: 520px; line-height: 1.65;
    }

    /* ─── HERO ───────────────────────────────────────────── */
    .hero {
      position: relative;
      padding: 80px 1.5rem 0;
      overflow: hidden;
      text-align: center;
    }

    .hero-glow {
      position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
      width: 900px; height: 600px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,.14) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: .45rem;
      padding: .3rem .85rem;
      border-radius: 99px;
      background: rgba(59,130,246,.1);
      border: 1px solid rgba(59,130,246,.25);
      color: #93c5fd;
      font-size: .78rem; font-weight: 600;
      margin-bottom: 1.5rem;
    }
    .hero-badge-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { opacity:1; transform:scale(1); }
      50% { opacity:.5; transform:scale(1.4); }
    }

    .hero h1 {
      font-size: clamp(2.4rem, 5.5vw, 4.2rem);
      font-weight: 800; letter-spacing: -.04em; line-height: 1.08;
      max-width: 820px; margin: 0 auto 1.25rem;
    }
    .hero h1 .hl { color: var(--accent); }

    .hero-sub {
      font-size: 1.15rem; color: var(--muted); line-height: 1.65;
      max-width: 580px; margin: 0 auto 2.5rem;
    }

    .hero-cta {
      display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
      margin-bottom: 72px;
    }

    /* ─── MOCKUP ─────────────────────────────────────────── */
    .mockup-wrap {
      position: relative;
      max-width: 900px; margin: 0 auto;
      display: flex; gap: 0;
      border-radius: 16px 16px 0 0;
      overflow: hidden;
      border: 1px solid var(--border);
      border-bottom: none;
      box-shadow: 0 -12px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.1);
    }

    /* Kanban panel */
    .mock-kanban {
      flex: 1; min-width: 0;
      background: var(--bg-deep);
      padding: 1.25rem;
      border-right: 1px solid var(--border);
    }

    .mock-board-header {
      display: flex; align-items: center; gap: .5rem;
      margin-bottom: 1.1rem;
    }
    .mock-board-title {
      font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em;
    }
    .mock-board-dot {
      width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    }

    .mock-cols {
      display: flex; gap: .75rem;
    }

    .mock-col {
      flex: 1; min-width: 0;
    }
    .mock-col-head {
      font-size: .68rem; font-weight: 700; color: var(--subtle);
      letter-spacing: .06em; text-transform: uppercase;
      padding-bottom: .5rem; margin-bottom: .5rem;
      border-bottom: 1px solid var(--border);
    }

    .mock-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: .6rem .7rem;
      margin-bottom: .5rem;
      font-size: .72rem;
      transition: border-color .2s;
    }
    .mock-card.active {
      border-color: var(--accent);
      box-shadow: 0 0 0 1px rgba(59,130,246,.2), 0 4px 16px rgba(59,130,246,.12);
    }

    .mock-card-id {
      font-size: .6rem; font-weight: 700; color: #60a5fa;
      margin-bottom: .3rem;
    }
    .mock-card-title {
      font-size: .7rem; font-weight: 600; color: var(--text);
      line-height: 1.35; margin-bottom: .45rem;
    }
    .mock-card-footer {
      display: flex; align-items: center; justify-content: space-between;
    }
    .mock-avatar {
      width: 18px; height: 18px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .55rem; font-weight: 700; color: #fff;
      flex-shrink: 0;
    }
    .mock-badge {
      font-size: .58rem; font-weight: 700;
      padding: .15rem .45rem; border-radius: 99px;
    }
    .mock-badge-blue { background: rgba(59,130,246,.15); color: #93c5fd; }
    .mock-badge-green { background: rgba(34,197,94,.15); color: #86efac; }
    .mock-badge-amber { background: rgba(245,158,11,.15); color: #fcd34d; }
    .mock-chat-hint {
      display: flex; align-items: center; gap: .25rem;
      font-size: .6rem; color: var(--subtle);
    }

    /* Chat panel */
    .mock-chat {
      width: 260px; flex-shrink: 0;
      background: var(--bg-card);
      display: flex; flex-direction: column;
    }

    .mock-chat-header {
      padding: .85rem 1rem;
      border-bottom: 1px solid var(--border);
      background: var(--bg-deep);
    }
    .mock-chat-heading {
      font-size: .72rem; font-weight: 700; color: var(--text);
      margin-bottom: .15rem;
    }
    .mock-chat-sub { font-size: .62rem; color: var(--subtle); }

    .mock-messages {
      flex: 1; padding: .85rem .85rem .5rem;
      display: flex; flex-direction: column; gap: .65rem;
      overflow: hidden;
    }

    .mock-msg { display: flex; gap: .5rem; align-items: flex-start; }
    .mock-msg-body { flex: 1; min-width: 0; }
    .mock-msg-meta {
      display: flex; align-items: baseline; gap: .4rem;
      margin-bottom: .2rem;
    }
    .mock-msg-name { font-size: .65rem; font-weight: 700; color: #93c5fd; }
    .mock-msg-time { font-size: .58rem; color: var(--subtle); }
    .mock-msg-text { font-size: .68rem; color: var(--muted); line-height: 1.4; }

    .mock-msg-bubble {
      background: rgba(59,130,246,.1);
      border-radius: 0 8px 8px 8px;
      padding: .45rem .6rem;
    }

    .mock-input-bar {
      padding: .6rem .7rem;
      border-top: 1px solid var(--border);
      display: flex; gap: .5rem; align-items: center;
    }
    .mock-input {
      flex: 1; background: var(--bg-deep);
      border: 1px solid var(--border);
      border-radius: 6px; padding: .35rem .6rem;
      font-size: .65rem; color: var(--subtle);
      font-family: inherit;
    }
    .mock-send {
      width: 24px; height: 24px; border-radius: 6px;
      background: var(--accent); display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .mock-send svg { width: 12px; height: 12px; fill: white; }

    /* ─── PROBLEM / SOLUTION ─────────────────────────────── */
    .ps-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
      margin-top: 3rem;
    }

    .ps-card {
      border-radius: 16px; padding: 2rem;
    }
    .ps-card-problem {
      background: rgba(239,68,68,.05);
      border: 1px solid rgba(239,68,68,.2);
    }
    .ps-card-solution {
      background: rgba(59,130,246,.05);
      border: 1px solid rgba(59,130,246,.2);
    }

    .ps-icon { font-size: 1.6rem; margin-bottom: .9rem; }

    .ps-label {
      font-size: .72rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; margin-bottom: .65rem;
    }
    .ps-label-problem { color: #f87171; }
    .ps-label-solution { color: #60a5fa; }

    .ps-quote {
      font-size: 1rem; font-weight: 600; color: var(--text);
      line-height: 1.45; margin-bottom: .85rem;
      font-style: italic;
    }

    .ps-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
    .ps-list li { font-size: .9rem; color: var(--muted); display: flex; gap: .55rem; }
    .ps-list li::before { flex-shrink: 0; margin-top: .1rem; }
    .ps-list.problem li::before { content: "✗"; color: #f87171; }
    .ps-list.solution li::before { content: "✓"; color: var(--green); font-weight: 700; }

    /* ─── AUDIENCE / COMPARE ─────────────────────────────── */
    .audience-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.25rem;
      margin-top: 3rem;
    }
    .audience-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.5rem 1.6rem;
    }
    .audience-card h3 {
      font-size: 1rem; font-weight: 700; margin-bottom: .45rem;
    }
    .audience-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

    .compare-block {
      margin-top: 3rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 2rem;
    }
    .compare-block h3 {
      font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem;
    }
    .compare-block p {
      font-size: .95rem; color: var(--muted); line-height: 1.7;
      margin-bottom: .8rem;
    }
    .compare-block p:last-child { margin-bottom: 0; }
    .compare-block strong { color: var(--text); }

    /* ─── FAQ ────────────────────────────────────────────── */
    .faq-list {
      margin-top: 3rem;
      display: flex; flex-direction: column; gap: .75rem;
    }
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color .2s;
    }
    .faq-item[open] { border-color: rgba(59,130,246,.4); }
    .faq-item summary {
      cursor: pointer;
      padding: 1.1rem 1.4rem;
      font-size: 1rem; font-weight: 600;
      list-style: none;
      display: flex; align-items: center; justify-content: space-between;
      gap: 1rem;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '+';
      font-size: 1.4rem; font-weight: 400; color: var(--accent);
      transition: transform .2s;
      flex-shrink: 0;
    }
    .faq-item[open] summary::after { content: '−'; }
    .faq-item .faq-answer {
      padding: 0 1.4rem 1.2rem;
      font-size: .92rem; color: var(--muted); line-height: 1.7;
    }

    /* ─── FEATURES ───────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 1.25rem;
      margin-top: 3rem;
    }

    .feat-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.75rem;
      transition: border-color .2s, transform .2s, box-shadow .2s;
    }
    .feat-card:hover {
      border-color: rgba(59,130,246,.4);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,.3);
    }

    .feat-icon {
      width: 46px; height: 46px; border-radius: 12px;
      background: rgba(59,130,246,.1);
      border: 1px solid rgba(59,130,246,.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem; margin-bottom: 1rem;
    }

    .feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .45rem; }
    .feat-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

    /* ─── PRICING ────────────────────────────────────────── */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.25rem;
      align-items: start;
    }

    .plan {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2rem;
      position: relative;
      transition: border-color .2s, box-shadow .2s;
    }
    .plan:hover { box-shadow: 0 12px 40px rgba(0,0,0,.3); }
    .plan.featured {
      border-color: var(--accent);
      background: linear-gradient(160deg, rgba(59,130,246,.06) 0%, var(--bg-card) 60%);
    }

    .plan-tag {
      position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
      padding: .25rem .9rem; border-radius: 99px;
      background: var(--accent);
      font-size: .72rem; font-weight: 700; white-space: nowrap;
    }

    .plan-name {
      font-size: .8rem; font-weight: 700; letter-spacing: .08em;
      text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
    }
    .plan-price {
      font-size: 2rem; font-weight: 800; letter-spacing: -.04em;
      margin-bottom: .2rem;
    }
    .plan-price-sub { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }

    .plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 1.25rem; }

    .plan-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }
    .plan-features li { font-size: .875rem; display: flex; gap: .55rem; }
    .plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
    .plan-features li.muted-feat { color: var(--muted); }
    .plan-features li.muted-feat::before { color: var(--border); }

    .plan-btn { width: 100%; }

    .plan-note {
      margin-top: .65rem;
      font-size: .78rem; color: var(--subtle);
      text-align: center;
    }

    .plan-btn-ghost {
      width: 100%;
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--muted);
    }
    .plan-btn-ghost:hover { border-color: var(--muted); color: var(--text); }

    /* ─── FOOTER ─────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 3rem 1.5rem 2rem;
    }

    .footer-top {
      max-width: 1100px; margin: 0 auto;
      display: flex; flex-wrap: wrap; gap: 2rem;
      justify-content: space-between;
      margin-bottom: 2.5rem;
    }

    .footer-brand {}
    .footer-logo {
      font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
      margin-bottom: .5rem;
    }
    .footer-tagline { font-size: .85rem; color: var(--muted); max-width: 220px; }

    .footer-col h4 {
      font-size: .75rem; font-weight: 700; letter-spacing: .08em;
      text-transform: uppercase; color: var(--subtle);
      margin-bottom: .85rem;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
    .footer-col a { font-size: .875rem; color: var(--muted); transition: color .15s; }
    .footer-col a:hover { color: var(--text); }

    .footer-bottom {
      max-width: 1100px; margin: 0 auto;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: .75rem;
    }
    .footer-copy { font-size: .82rem; color: var(--subtle); }
    .footer-legal { display: flex; gap: 1.5rem; }
    .footer-legal a { font-size: .82rem; color: var(--subtle); transition: color .15s; }
    .footer-legal a:hover { color: var(--muted); }

    /* ─── RESPONSIVE ─────────────────────────────────────── */
    @media (max-width: 768px) {
      nav { padding: 0 1rem; }
      .nav-links { display: none; }

      .hero h1 { font-size: 2.2rem; }
      .hero-cta { flex-direction: column; align-items: stretch; }
      .hero-cta .btn { width: 100%; }

      .mockup-wrap { flex-direction: column; }
      .mock-chat { width: 100%; border-top: 1px solid var(--border); border-right: none; }
      .mock-cols { overflow-x: auto; }
      .mock-col { min-width: 100px; }

      .ps-grid { grid-template-columns: 1fr; }

      .section { padding: 64px 1rem; }

      .footer-top { flex-direction: column; gap: 1.5rem; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 480px) {
      .hero h1 { font-size: 1.85rem; }
      /* Чат оставляем видимым, но делаем компактным */
      .mock-chat { max-height: 200px; }
      .mock-messages { gap: .4rem; }
      .mock-msg-text { font-size: .63rem; }
    }
