
    * {
      font-family: 'Plus Jakarta Sans', sans-serif;
    }
    
    html {
      scroll-behavior: smooth;
    }

    a {
      text-decoration: none;
      color: inherit;
    }
    
    body {
      overflow-x: hidden;
    }
    
    .visually-hidden {
      width: 1px;
      position: absolute;
      height: 1px;
      margin: -1px;
      border: 0;
      padding: 0;
      white-space: nowrap;
      clip-path: inset(100%);
      clip: rect(0 0 0 0);
      overflow: hidden;
    }
    
    .hero-bg {
      background-image: linear-gradient(rgba(99, 102, 241, 0.85), rgba(59, 130, 246, 0.85)), url('https://sspark.genspark.ai/cfimages?u1=wfzRF%2BdMn%2B1fY0mjW4D%2BcAG4ce%2FlH%2Fz7SucwbRZsVRQPM0eFNXYcD%2BMND3Ilf6ma7CFSSUPWOSxvGMJycSV7NSETsUuAll%2F%2BxZu9Tuvt7%2F%2Ba9PAH1k8CGwVdTZwNHHFokckIL63BqECqKm20j%2FJE57gHUXvIvjjWTZ7DgmvnhSUkVey74dbVYbwL4LSnyPliiD8Eu3FLX0%2F%2BerU5rWyz8Oy6vj3P29EKjLQxhC348p7xpqO8MH7vnVwEWFZ1v4NPHjGp1NGZ%2FKspRrjshdxAe63Ye6zjoOWoggwHVMZbSz06JcRkweTyQGCh&u2=UpjVR%2F7P9qgrMhn9&width=2560');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
    }
    
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      backdrop-filter: blur(10px);
      background: rgba(0, 0, 0, 0.7);
      animation: fadeIn 0.3s ease;
    }
    
    .modal.active {
      display: flex;
    }
    
    .modal-content {
      background: white;
      margin: auto;
      max-width: 1200px;
      width: 65%;
      max-height: 90vh;
      overflow-y: auto;
      animation: slideUp 0.4s ease;
    }
    
    @media screen and (max-width: 767px) {
      .modal-content {
        border-radius: 24px;
      }
    }
    
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    
    @keyframes slideUp {
      from {
        transform: translateY(50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
    
    .card-hover {
      transition: all 0.3s ease;
    }
    
    .card-hover:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .gradient-text {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .scroll-smooth {
      scroll-behavior: smooth;
    }
    
    input[type="radio"]:checked + div {
      border-color: #667eea;
      background: rgba(102, 126, 234, 0.1);
    }
    
    .faq-answer {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0;
      transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }
    
    .faq-answer.active {
      max-height: 500px;
      opacity: 1;
      padding: 0 24px 24px 24px;
    }
    
    div.animate-bounce>a {
      color: #ffffff;
    }
    
    .h-96.overflow-hidden {
      margin-top: 15px;
    }
    /* Анимация для карточек */
    
    .series-card {
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Плавная анимация при открытии попапа */
    
    .series-popup {
      animation: fadeIn 0.3s ease-out;
    }
    
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    /* Адаптивность */
    
    @media (max-width: 768px) {
      .series-card {
        margin-bottom: 1.5rem;
      }
    }
    
    .quiz-step {
      display: none;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.5s ease;
    }
    
    .quiz-step.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
      animation: slideIn 0.5s ease;
    }
    
    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .toggle-option {
      position: relative;
      cursor: pointer;
    }
    
    .toggle-option input[type="radio"] {
      position: absolute;
      opacity: 0;
    }
    
    .toggle-card {
      border: 2px solid #e5e7eb;
      background: white;
      border-radius: 1rem;
      padding: 1.5rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    
    .toggle-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 0;
    }
    
    .toggle-card > * {
      position: relative;
      z-index: 1;
    }
    
    .toggle-option input:checked ~ .toggle-card {
      border-color: #6366f1;
      transform: scale(1.02);
      box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.3);
    }
    
    .toggle-option input:checked ~ .toggle-card::before {
      opacity: 0.05;
    }
    
    .toggle-option input:checked ~ .toggle-card .check-icon {
      opacity: 1;
      transform: scale(1);
    }
    
    .toggle-card:hover {
      border-color: #a5b4fc;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.2);
    }
    
    .check-icon {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      opacity: 0;
      transform: scale(0);
      transition: all 0.3s ease;
    }
    
    .progress-bar {
      background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
      height: 6px;
      border-radius: 999px;
      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }
    
    .btn-primary {
      background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
      color: white;
      padding: 1rem 2rem;
      border-radius: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    
    .btn-secondary {
      background: white;
      color: #6366f1;
      padding: 0.75rem 1.5rem;
      border-radius: 0.75rem;
      font-weight: 500;
      border: 2px solid #e5e7eb;
      transition: all 0.3s ease;
    }
    
    .btn-secondary:hover {
      border-color: #6366f1;
      background: #f0f4ff;
    }
    
    .icon-wrapper {
      width: 60px;
      height: 60px;
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      transition: all 0.3s ease;
    }
    
    .toggle-option input:checked ~ .toggle-card .icon-wrapper {
      transform: scale(1.1);
    }
    
    .result-card {
      background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
      border: 2px solid #10b981;
      border-radius: 1.5rem;
      padding: 2rem;
      animation: slideIn 0.5s ease;
    }
    
    .step-indicator {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 600;
      font-size: 1.25rem;
      margin-right: 1rem;
      box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }
    
    .input-field {
      border: 2px solid #e5e7eb;
      border-radius: 0.75rem;
      padding: 0.875rem 1.25rem;
      transition: all 0.3s ease;
      width: 100%;
    }
    
    .input-field:focus {
      outline: none;
      border-color: #6366f1;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }
    
    .contact-form {
      background: #f9fafb;
      border-radius: 1rem;
      padding: 2rem;
      margin-top: 2rem;
    }
    
    .fade-in {
      animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    
    @media (max-width: 768px) {
      .toggle-card {
        padding: 1.25rem;
      }
      .icon-wrapper {
        width: 50px;
        height: 50px;
      }
    }
    /* Анимации для мобильного меню */
    
    #mobile-menu {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    #mobile-menu.active {
      opacity: 1;
      visibility: visible;
    }
    /* Исправленный класс hidden */
    
    #mobile-menu.hidden {
      display: none;
    }
    
    .mobile-menu-link {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.3s ease;
    }
    
    #mobile-menu.active .mobile-menu-link {
      opacity: 1;
      transform: translateY(0);
    }
    
    #mobile-menu.active .mobile-menu-link:nth-child(1) {
      transition-delay: 0.1s;
    }
    
    #mobile-menu.active .mobile-menu-link:nth-child(2) {
      transition-delay: 0.15s;
    }
    
    #mobile-menu.active .mobile-menu-link:nth-child(3) {
      transition-delay: 0.2s;
    }
    
    #mobile-menu.active .mobile-menu-link:nth-child(4) {
      transition-delay: 0.25s;
    }
    
    #mobile-menu.active .mobile-menu-link:nth-child(5) {
      transition-delay: 0.3s;
    }
    
    @keyframes fade-in {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fade-in-down {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .animate-fade-in {
      animation: fade-in 1s ease-out 0.2s both;
    }
    
    .animate-fade-in-down {
      animation: fade-in-down 0.8s ease-out both;
    }
    
    .animate-fade-in-up {
      animation: fade-in-up 1s ease-out 0.4s both;
    }
    
    @media (min-width:1024px) and (max-width:1280px) {
      .series-card > div.p-6 {
        display: flex;
        flex-direction: column;
        min-height: 430px;
      }
      .series-card button {
        margin-top: auto;
      }
    }
    
    @media screen and (max-width: 768px) {
            .custom-margin {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
      }
    } 

    
  

    /* Анимация для hover эффектов */
    
    .hover\:scale-105:hover {
      transform: scale(1.05);
    }
    /* Плавные переходы */
    
    * {
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
  

    /* Анимация для декоративных blob */
    
    @keyframes blob {
      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }
      25% {
        transform: translate(20px, -50px) scale(1.1);
      }
      50% {
        transform: translate(-20px, 20px) scale(0.9);
      }
      75% {
        transform: translate(50px, 50px) scale(1.05);
      }
    }
    
    .animate-blob {
      animation: blob 20s infinite;
    }
    
    .animation-delay-2000 {
      animation-delay: 2s;
    }
    
    .animation-delay-4000 {
      animation-delay: 4s;
    }
    /* Стилизация слайдера */
    
    .slider-purple::-webkit-slider-thumb {
      appearance: none;
      width: 20px;
      height: 20px;
      background: linear-gradient(135deg, #9333ea, #4f46e5);
      cursor: pointer;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .slider-purple::-moz-range-thumb {
      width: 20px;
      height: 20px;
      background: linear-gradient(135deg, #9333ea, #4f46e5);
      cursor: pointer;
      border-radius: 50%;
      border: none;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    /* Плавные переходы */
    
    input,
    button {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Focus состояния */
    
    input:focus {
      outline: none;
    }
  

    /* Плавные переходы для футера */
    
    footer a {
      transition: all 0.3s ease;
    }
    /* Анимация для стрелочек в меню */
    
    footer a svg {
      transition: all 0.3s ease;
    }
    /* Hover для социальных сетей */
    
    footer a:hover svg {
      transform: translateX(4px);
    }
  
  /* Модальное окно */
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    height: 22px;
    width: 22px;
    border: none;
    outline: none;
    padding: 0;
    color: #8F97A3;
    background-color: transparent;
    z-index: 2;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

    .modal-close:hover {
        color: #737D8C;
    }
    
    .modal-close:active {
        color: #454B54;
    }
    
    .modal-content {
        border: none;
        border-radius: 30px;
        background-color: #FCFCFD;
    }
    
    .modal-body {
        padding: 60px 30px 30px;
    }
    
    #success .modal-body {
        padding: 60px 30px;
    }
    
    .modal-heading {
        font-weight: 500;
        font-size: 30px;
        line-height: 120%;
        color: #2E3238;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .modal-text {
        font-weight: 300;
        font-size: 20px;
        line-height: 120%;
        color: #2E3238;
        text-align: center;
    }
    
  .grecaptcha-badge { visibility: hidden; }

  /* Стили для калькулятора компрессоров */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.calculator-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.calculator-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.calculator-body {
    padding: 40px;
}

.calc-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #3498db;
}

.calc-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.calc-input-group {
    margin-bottom: 20px;
}

.calc-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.calc-input-group input, .calc-input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calc-input-group input:focus, .calc-input-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calc-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin: 5px;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.calc-btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.calc-btn-success:hover {
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.calc-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    display: none;
}

.calc-results h3 {
    color: #27ae60;
    margin-bottom: 20px;
    text-align: center;
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.calc-result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
}

@media (max-width: 768px) {
    .calc-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-header h2 {
        font-size: 2rem;
    }
    
    .calculator-container {
        margin: 10px;
    }
}
