    :root {
      --bg: #0b0f1a;
      --bg-card: #121826;
      --bg-card-hover: #1a2235;
      --text: #e8eef7;
      --text-muted: #94a3b8;
      --accent: #3b82f6;
      --accent-hover: #2563eb;
      --accent-soft: rgba(59, 130, 246, 0.15);
      --border: rgba(148, 163, 184, 0.12);
      --success: #22c55e;
      --radius: 16px;
      --shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    }

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

    html {
      scroll-behavior: smooth;
    }

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

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

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(11, 15, 26, 0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      font-weight: 800;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
      color: #fff;
    }

    .logo span {
      color: var(--accent);
    }

    nav {
      display: flex;
      gap: 32px;
    }

    nav a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-muted);
      transition: color 0.2s;
    }

    nav a:hover {
      color: #fff;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-outline:hover {
      border-color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* Hero */
    .hero {
      position: relative;
      padding: 160px 0 100px;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99, 102, 241, 0.1), transparent);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-block;
      padding: 6px 16px;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 0.85rem;
      font-weight: 600;
      border-radius: 999px;
      margin-bottom: 24px;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 3.75rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }

    .hero p {
      font-size: 1.25rem;
      color: var(--text-muted);
      margin-bottom: 40px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Sections */
    section {
      padding: 100px 0;
    }

    .section-header {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 64px;
    }

    .section-header h2 {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    .section-header p {
      color: var(--text-muted);
      font-size: 1.1rem;
    }

    /* Offers */
    .offers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .offer-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      transition: all 0.25s;
      display: flex;
      flex-direction: column;
    }

    .offer-card:hover {
      background: var(--bg-card-hover);
      border-color: rgba(59, 130, 246, 0.3);
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }

    .offer-card .tag {
      display: inline-block;
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .offer-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .offer-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 24px;
      flex-grow: 1;
    }

    .offer-card .price {
      font-size: 1.75rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 8px;
    }

    .offer-card .price-note {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    /* Steps */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      counter-reset: step;
    }

    .step {
      position: relative;
      text-align: center;
      padding: 0 16px;
    }

    .step::before {
      counter-increment: step;
      content: counter(step);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      margin: 0 auto 20px;
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 700;
      font-size: 1.25rem;
      border-radius: 50%;
    }

    .step h4 {
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    .step p {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* Expertise */
    .expertise-tabs {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }

    .tab-btn {
      padding: 10px 24px;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-muted);
      border-radius: 999px;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .tab-btn.active,
    .tab-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .expertise-content {
      display: none;
    }

    .expertise-content.active {
      display: block;
    }

    .expertise-list {
      display: grid;
      gap: 20px;
    }

    .expertise-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 32px;
      transition: border-color 0.2s;
    }

    .expertise-item:hover {
      border-color: rgba(59, 130, 246, 0.35);
    }

    .expertise-item h4 {
      font-size: 1.1rem;
      margin-bottom: 10px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .expertise-item h4 span {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      background: var(--accent-soft);
      color: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
    }

    .expertise-item p {
      color: var(--text-muted);
      font-size: 0.95rem;
      padding-left: 40px;
    }

    /* Platform blocks */
    .platform-block {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 48px;
      align-items: center;
      margin-bottom: 80px;
    }

    .platform-block:last-child {
      margin-bottom: 0;
    }

    .platform-block:nth-child(even) {
      direction: rtl;
    }

    .platform-block:nth-child(even) > * {
      direction: ltr;
    }

    .platform-text h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .platform-text .subtitle {
      color: var(--accent);
      font-weight: 600;
      font-size: 0.95rem;
      margin-bottom: 16px;
    }

    .platform-text p,
    .platform-text ul {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .platform-text ul {
      list-style: none;
      margin-top: 12px;
    }

    .platform-text ul li {
      position: relative;
      padding-left: 20px;
      margin-bottom: 8px;
    }

    .platform-text ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 9px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    /* Carousel */
    .carousel {
      position: relative;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      /* пропорция близкая к скриншотам оригинала (~2.2–2.5 : 1) */
      aspect-ratio: 16 / 7;
    }

    .carousel-track {
      display: flex;
      height: 100%;
      transition: transform 0.4s ease;
    }

    .carousel-slide {
      flex: 0 0 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, #151c2c, #0f1520);
      color: var(--text-muted);
      font-size: 0.9rem;
      position: relative;
    }

    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }

    .carousel-placeholder {
      text-align: center;
      padding: 24px;
    }

    .carousel-placeholder span {
      display: block;
      font-size: 2rem;
      margin-bottom: 8px;
      opacity: 0.5;
    }

    .carousel-nav {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 2;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s;
    }

    .carousel-dot.active {
      background: var(--accent);
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(11, 15, 26, 0.7);
      border: 1px solid var(--border);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      z-index: 2;
      transition: background 0.2s;
    }

    .carousel-btn:hover {
      background: var(--accent);
    }

    .carousel-btn.prev {
      left: 12px;
    }

    .carousel-btn.next {
      right: 12px;
    }

    /* Reviews */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      display: flex;
      flex-direction: column;
    }

    .review-card .quote {
      font-size: 1rem;
      color: var(--text);
      margin-bottom: 24px;
      flex-grow: 1;
      line-height: 1.7;
    }

    .review-card .author {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .review-card .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), #6366f1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
      color: #fff;
    }

    .review-card .author-info strong {
      display: block;
      font-size: 0.95rem;
    }

    .review-card .author-info span {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* CTA */
    .cta {
      text-align: center;
      padding: 80px 0;
      background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.08));
      border-radius: 24px;
      margin: 0 24px;
    }

    .cta h2 {
      font-size: clamp(1.75rem, 3vw, 2.25rem);
      margin-bottom: 16px;
    }

    .cta p {
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 48px 0;
      margin-top: 60px;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .footer-links {
      display: flex;
      gap: 24px;
    }

    .footer-links a {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .copyright {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* Mobile */
    @media (max-width: 900px) {
      .platform-block {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 56px;
      }

      .platform-block:nth-child(even) {
        direction: ltr;
      }
    }

    @media (max-width: 768px) {
      nav {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .hero {
        padding: 120px 0 60px;
      }

      .steps {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      section {
        padding: 60px 0;
      }

      .expertise-item p {
        padding-left: 0;
        margin-top: 8px;
      }

      .carousel {
        aspect-ratio: 16 / 9;
      }
    }

.myhide{display:none;}
.popup__overlay {
    z-index: 777;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    text-align: center
}
.popup__overlay:after {
        display: inline-block;
        *display: inline;
        *zoom: 1;
        height: 100%;
        width: 0;
        vertical-align: middle;
        content: ''
}
    /* Added for IE<9 compatibility */
.popup__overlay_ie {
        background: #000;
        opacity: .7;
        filter: alpha(opacity=70)
}
.popup {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0px 70px 0 rgba(0, 0, 0, 0.1), 0 0px 30px 0 rgba(0, 0, 0, 0.15);
    background: #fff;
    vertical-align: middle;
    max-height: 80%;
    max-width: 90%;

    overflow: hidden;
}
.popup h4{font-weight: bold;z-index: 444;position: relative;}
.popup__valignfix {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 0;
    height: 100%;
    vertical-align: middle
    }
.popup-form__row {
    margin: 1em 0
    }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Само модальное окно */
        .modal {
            background: #ffffff;
            max-width: 460px;
            width: 90%;
            border-radius: 32px;
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
            padding: 32px 28px;
            transform: scale(0.95);
            transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        .modal-overlay.active .modal {
            transform: scale(1);
        }

        /* Заголовок */
        .modal h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #1e2b3c;
        }

        .modal .sub {
            color: #5b6f82;
            margin-bottom: 28px;
            border-left: 3px solid #3b82f6;
            padding-left: 12px;
            font-size: 0.9rem;
        }
        /* Группы полей */
        .input-group {
            margin-bottom: 22px;
        }

        .input-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: #1e293b;
            font-size: 0.9rem;
        }

        .input-group input {
            width: 100%;
            padding: 14px 16px;
            font-size: 1rem;
            border: 1.5px solid #e2e8f0;
            border-radius: 20px;
            outline: none;
            transition: all 0.2s;
            background: #fefefe;
        }

        .input-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
        }

        /* Кнопки */
        .button-group {
            display: flex;
            gap: 14px;
            margin-top: 28px;
        }

        .submit-btn {
            background: #1e2b3c;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            flex: 2;
            transition: background 0.2s;
        }

        .submit-btn:hover {
            background: #0f1e2c;
        }
        .cancel-btn {
            background: #f1f5f9;
            border: none;
            padding: 12px 20px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            flex: 1;
            color: #334155;
            transition: background 0.2s;
        }

        .cancel-btn:hover {
            background: #e2e8f0;
        }

        /* сообщение об успехе/ошибке */
        .message-status {
            margin-top: 20px;
            font-size: 0.85rem;
            text-align: center;
            padding: 8px;
            border-radius: 30px;
            background: #f8fafc;
        }

        .error-msg {
            color: #dc2626;
            background: #fee2e2;
        }

        .success-msg {
            color: #15803d;
            background: #dcfce7;
        }

        /* крестик сверху */
        .close-icon {
            position: absolute;
            top: 20px;
            right: 24px;
            font-size: 28px;
            cursor: pointer;
            color: #94a3b8;
            transition: color 0.2s;
        }

        .close-icon:hover {
            color: #1e293b;
        }

        .modal {
            position: relative;
        }


