:root {
      --bg: #0a0e17;
      --bg-elevated: #121a28;
      --bg-card: #151f30;
      --border: rgba(255, 255, 255, 0.08);
      --text: #e8edf5;
      --muted: #8b9bb8;
      --accent: #3d8bfd;
      --accent-soft: rgba(61, 139, 253, 0.15);
      --accent-2: #22d3a6;
      --glow: rgba(61, 139, 253, 0.45);
      --radius: 16px;
      --radius-sm: 10px;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
      --font: "Manrope", system-ui, sans-serif;
      --header-h: 72px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      margin: 0;
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    .bg-mesh {
      position: fixed;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(61, 139, 253, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 166, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(61, 139, 253, 0.08), transparent 45%),
        var(--bg);
    }

    .noise {
      position: fixed;
      inset: 0;
      z-index: -1;
      opacity: 0.035;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    header {
      position: sticky;
      top: 0;
      z-index: 100;
      min-height: var(--header-h);
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border);
      background: rgba(10, 14, 23, 0.75);
      backdrop-filter: blur(16px);
    }

    .header-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-width: 0;
    }

    .logo {
      font-weight: 800;
      font-size: 1.05rem;
      letter-spacing: -0.02em;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .logo span { color: var(--accent); }
    .logo-short { display: none; }
    .logo-full { display: inline; }

    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 20px;
    }
    nav a {
      color: var(--muted);
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }
    nav a:hover, nav a[aria-current="true"] {
      color: var(--text);
      text-decoration: none;
      border-bottom-color: var(--accent);
    }

    @media (max-width: 1040px) {
      .header-inner { padding: 0 16px; gap: 12px; }
      nav ul { gap: 6px 12px; }
      nav a { font-size: 0.8rem; }
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: 999px;
      font-family: inherit;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    }
    .btn:active { transform: scale(0.98); }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #2563eb);
      color: #fff;
      box-shadow: 0 8px 32px var(--glow);
    }
    .btn-primary:hover {
      box-shadow: 0 12px 40px var(--glow);
    }
    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover {
      background: var(--accent-soft);
      border-color: rgba(61, 139, 253, 0.35);
    }
    a.btn { text-decoration: none; cursor: pointer; }
    a.btn:hover { text-decoration: none; }

    .btn-pricing-tg {
      white-space: normal;
      line-height: 1.35;
    }
    @media (max-width: 420px) {
      .btn-pricing-tg { font-size: 0.82rem; padding: 11px 14px; }
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    main { max-width: 1120px; margin: 0 auto; padding: 0 24px 80px; }

    .hero {
      padding: 56px 0 72px;
      display: grid;
      gap: 40px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 900px) {
      .hero {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        padding: 80px 0 96px;
      }
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.1rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.03em;
      margin: 0 0 20px;
    }
    .hero p.lead {
      font-size: 1.15rem;
      color: var(--muted);
      margin: 0 0 28px;
      max-width: 520px;
    }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

    .hero-panel {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
    }
    .hero-panel h2 {
      margin: 0 0 16px;
      font-size: 1rem;
      font-weight: 600;
      color: var(--muted);
    }

    .flow-steps {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .flow-step {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px;
      border-radius: var(--radius-sm);
      background: var(--bg-elevated);
      border: 1px solid transparent;
      cursor: pointer;
      text-align: left;
      font: inherit;
      color: inherit;
      width: 100%;
      transition: border-color 0.2s, background 0.2s;
    }
    .flow-step:hover, .flow-step.is-active {
      border-color: rgba(61, 139, 253, 0.4);
      background: rgba(61, 139, 253, 0.08);
    }
    .flow-step .num {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 700;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .flow-step strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
    .flow-step span { font-size: 0.85rem; color: var(--muted); }

    .flow-detail {
      margin-top: 16px;
      padding: 16px;
      border-radius: var(--radius-sm);
      background: rgba(34, 211, 166, 0.08);
      border: 1px solid rgba(34, 211, 166, 0.2);
      font-size: 0.9rem;
      color: var(--muted);
      min-height: 4.5em;
    }

    section {
      padding: 56px 0;
      border-top: 1px solid var(--border);
    }
    section h2 {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin: 0 0 12px;
    }
    .section-intro {
      color: var(--muted);
      max-width: 640px;
      margin: 0 0 32px;
    }

    .cards {
      display: grid;
      gap: 16px;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    }
    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(61, 139, 253, 0.25);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    }
    .card .icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--accent-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
      margin-bottom: 14px;
    }
    .card h3 { margin: 0 0 10px; font-size: 1.1rem; }
    .card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }
    .pill {
      font-size: 0.75rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--bg-elevated);
      color: var(--muted);
      border: 1px solid var(--border);
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }
    .tab {
      padding: 10px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--muted);
      font: inherit;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .tab:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
    .tab[aria-selected="true"] {
      background: var(--accent-soft);
      color: var(--text);
      border-color: rgba(61, 139, 253, 0.45);
    }
    .tab-panel { display: none; }
    .tab-panel.is-visible { display: block; }
    .tab-panel p { color: var(--muted); margin: 0 0 12px; }
    .tab-panel ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
    .tab-panel li { margin-bottom: 8px; }

    .pricing {
      display: grid;
      gap: 24px;
      grid-template-columns: 1fr;
      align-items: stretch;
    }
    @media (min-width: 800px) {
      .pricing { grid-template-columns: 1fr 1fr; }
    }

    .price-card {
      background: linear-gradient(160deg, var(--bg-card) 0%, #0d1524 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      position: relative;
      overflow: hidden;
    }
    .price-card::before {
      content: "";
      position: absolute;
      top: -40%;
      right: -20%;
      width: 60%;
      height: 80%;
      background: radial-gradient(circle, var(--glow), transparent 70%);
      opacity: 0.35;
      pointer-events: none;
    }
    .price-card h3 { margin: 0 0 8px; font-size: 1.25rem; position: relative; }
    .price {
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin: 16px 0 8px;
      position: relative;
    }
    .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
    .price-card .includes {
      list-style: none;
      padding: 0;
      margin: 20px 0 0;
      position: relative;
    }
    .price-card .includes li {
      padding: 10px 0;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 0.95rem;
      color: var(--muted);
    }
    .price-card .includes li::before {
      content: "✓";
      color: var(--accent-2);
      font-weight: 700;
      flex-shrink: 0;
    }

    .accordion { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
    .acc-item { border-bottom: 1px solid var(--border); }
    .acc-item:last-child { border-bottom: none; }
    .acc-trigger {
      width: 100%;
      text-align: left;
      padding: 18px 20px;
      background: var(--bg-card);
      border: none;
      color: var(--text);
      font: inherit;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      transition: background 0.2s;
    }
    .acc-trigger:hover { background: var(--bg-elevated); }
    .acc-trigger .chev {
      transition: transform 0.25s;
      color: var(--muted);
      font-size: 1.2rem;
    }
    .acc-item.is-open .acc-trigger .chev { transform: rotate(180deg); }
    .acc-panel {
      display: none;
      padding: 0 20px 18px;
      background: var(--bg-card);
      color: var(--muted);
      font-size: 0.95rem;
    }
    .acc-item.is-open .acc-panel { display: block; }

    .cta-bar {
      margin-top: 48px;
      padding: 32px;
      border-radius: var(--radius);
      background: linear-gradient(135deg, rgba(61, 139, 253, 0.2), rgba(34, 211, 166, 0.12));
      border: 1px solid rgba(61, 139, 253, 0.25);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .cta-bar p { margin: 0; font-weight: 600; max-width: 480px; }
    .cta-bar-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      justify-content: flex-end;
    }

    footer {
      padding: 32px 24px 48px;
      text-align: center;
      color: var(--muted);
      font-size: 0.85rem;
      border-top: 1px solid var(--border);
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-2);
      background: rgba(34, 211, 166, 0.12);
      padding: 6px 12px;
      border-radius: 999px;
      margin-bottom: 16px;
    }

    .epd-panel {
      margin-top: 28px;
      padding: 24px;
      border-radius: var(--radius);
      background: var(--bg-card);
      border: 1px solid rgba(34, 211, 166, 0.22);
    }
    .epd-panel h3 {
      margin: 0 0 12px;
      font-size: 1.05rem;
    }
    .epd-flow {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }
    .epd-flow li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      background: var(--bg-elevated);
      color: var(--muted);
      font-size: 0.92rem;
    }
    .epd-flow .step-num {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: rgba(34, 211, 166, 0.15);
      color: var(--accent-2);
      font-weight: 700;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .epd-note {
      margin: 16px 0 0;
      font-size: 0.88rem;
      color: var(--muted);
    }

    @media (max-width: 720px) {
      html { --header-h: 56px; }
      nav ul { display: none; }
      .mobile-nav-toggle {
        display: flex !important;
      }
      header {
        min-height: 56px;
      }
      .header-inner {
        padding: 8px 12px;
        gap: 8px;
      }
      .logo {
        flex: 1 1 auto;
        min-width: 0;
        font-size: clamp(0.68rem, 3.6vw, 1rem);
      }
      .logo-full {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .btn-header-tg {
        padding: 9px 12px;
        font-size: 0.82rem;
      }
      .btn-header-pdf {
        padding: 9px 11px;
        font-size: 0.78rem;
        font-weight: 700;
      }
      .mobile-nav-toggle {
        padding: 8px 10px;
        font-size: 0.8rem;
      }
    }

    @media (max-width: 340px) {
      .logo-full { display: none !important; }
      .logo-short { display: block !important; }
      .logo {
        font-size: 0.88rem;
      }
      .logo-short {
        overflow: visible;
        text-overflow: clip;
      }
    }

    .mobile-nav-toggle {
      display: none;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      font: inherit;
      font-weight: 600;
      cursor: pointer;
      align-items: center;
      justify-content: center;
    }
    .mobile-drawer {
      position: fixed;
      top: var(--header-h);
      left: 0;
      right: 0;
      background: var(--bg-elevated);
      border-bottom: 1px solid var(--border);
      padding: 16px 24px 24px;
      z-index: 99;
      transform: translateY(-120%);
      opacity: 0;
      visibility: hidden;
      transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    }
    .mobile-drawer.is-open {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
    .mobile-drawer a {
      display: block;
      padding: 12px 0;
      color: var(--text);
      font-weight: 600;
      border-bottom: 1px solid var(--border);
      text-decoration: none;
    }
    .mobile-drawer a:last-child { border-bottom: none; }
