/*
Theme Name: Key Selection
Theme URI: https://keyselection.pro/
Author: Key Selection
Author URI: https://keyselection.pro/
Description: A custom WordPress theme for SEO program.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neural-soft
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Your CSS styles go here */

:root {
    --color-primary: #4F46E5;
    --color-primary-dark: #4338CA;
    --color-gray-900: #111827;
    --color-gray-800: #1F2937;
    --color-gray-400: #9CA3AF;
    --color-gray-300: #D1D5DB;
    --color-white: #FFFFFF;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--color-white);
    background: linear-gradient(to bottom, var(--color-gray-900), #312E81);
    min-height: 100vh;
  }
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }


  /* Header */
  .header {
    position: static;
    width: 100%;
    background-color: #fff;
    z-index: 50;
	border-bottom: 0.5px solid #CDCDCD;
  }
  
  .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links a {
    color: #292929;
    text-decoration: none;
    transition: color 0.15s;
	font-weight: bold;  
  }
  
  .nav-links a:hover {
    color: #484848;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
	font-size: 16px;  
  }
  
  .btn-primary {
    background-color: #0F0F0F;
    color: var(--color-white);
	border: 1px solid #0F0F0F;
  }
  
  .btn-primary:hover {
    background-color: #484848;
  }
  
  .btn-outline {
    border: 1px solid black;
    color: black;
    background-color: #fff;
  }
  
  .btn-outline:hover {
    background-color: #0F0F0F;
    color: white;
  }
  
  .btn-white {
    background-color: #F7F7F7;
    color: var(--color-primary);
  }
  
  .btn-white:hover {
    background-color: var(--color-gray-300);
  }

  
  /* Hero Section */
  .hero {
    padding: 8rem 0 5rem;
    text-align: center;
	background-color: #F7F7F7;  
  }
  
  .hero h1 {
    font-size: 2.5rem !important;
    font-weight: bold;
    margin-bottom: 2rem;
	color: #292929;  
  }
  
  .hero p {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    max-width: 42rem;
    margin: 0 auto 3rem;
	color: #292929;  
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  /* Features Section */
  .features {
    padding: 5rem 0;
    background-color: #fff;
  }
  
  .features h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
	color: #292929;   
  }

.features p {
	color: #292929; 
}
  
  .features-grid {
    display: grid;
    gap: 3rem;
  }
  
  .feature-card {
    background-color: #F7F7F7;
    padding: 2rem;
    border-radius: 0.75rem;
    transition: transform 0.2s;
  }
  
  .feature-card:hover {
    transform: scale(1.05);
  }
  
  .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
	color: #292929;  
  }
  
  .feature-card p {
    color: #292929;
  }
  
  /* Pricing Section */
  .pricing {
    padding: 5rem 0;
	background-color: #F7F7F7;
  }
  
  .pricing h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
	color: #292929;   
  }
  
  .pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
  }
  
  .pricing-card {
    background-color: #fff;
	border: 0.5px solid black;   
    padding: 2rem;
    border-radius: 0.75rem;
    transition: transform 0.2s;
  }
  
  .pricing-card:hover {
    transform: scale(1.05);
  }
  
  .pricing-card.featured {
    background-color: var(--color-primary);
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
	color: #292929;  
  }
  
  .price {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
	color: #292929;  
  }
  
  .price span {
    font-size: 1.125rem;
    font-weight: normal;
	color: #292929;  
  }
  
  .pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
	color: #292929;  
  }
  
  .pricing-card li {
    margin-bottom: 1rem;
    color: var(--color-gray-300);
	color: #292929;  
  }
  
  .pricing-card li::before {
    content: "→";
    margin-right: 0.5rem;
    color: var(--color-primary);
  }
  
  .pricing-card.featured li::before {
    color: var(--color-white);
  }
  
  .pricing-card .btn {
    width: 100%;
  }

.btn-buy2 {
	background-color: #0F0F0F !important;
	border: 1px solid black !important;
	color: white !important;
	text-align: center;
}

  .btn-buy2:hover {
    background-color:#484848 !important;
  }
  
  /* Footer */
  .footer {
    background-color: #1e1e1f;
    padding: 3rem 0;
    text-align: center;
    color: #e0e0e0;
  }
  
  /* Media Queries */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
      gap: 2rem;
    }
  
    .hero h1 {
      font-size: 4.5rem;
    }
  
    .features-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .pricing-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  /* Add your responsive styles here */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* WooCommerce styles */
.woocommerce-page {
    background-color: #fff;
    color: #000;
}

.woocommerce-page .product {
    margin-bottom: 2rem;
}

.woocommerce-page .product img {
    max-width: 100%;
    height: auto;
}

/* General styles for all pages */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--color-white);
    background: linear-gradient(to bottom, var(--color-gray-900), #312E81);
    min-height: 100vh;
}

/* Styles for pages other than the front page */
.page-template-default,
.single,
.archive,
.woocommerce-page {
    background-color: #fff !important;
    color: #000;
}
/*
.page-template-default .container,
.single .container,
.archive .container,
.woocommerce-page .container {
    padding: 2rem;
}
*/
.post-item {
    margin-bottom: 2rem;
}

.post-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-item .post-thumbnail {
    margin-bottom: 1rem;
}

.post-item .post-excerpt {
    font-size: 1rem;
}


/*Правки*/

.content {
	margin-top: 50px !important;
	margin-bottom: 50px !important;
	background-color: #fff;
	padding: 40px;
	border-radius: 20px;
}

.post-item {
	padding: 20px;
	border: 2px solid #111827;
	border-radius: 20px;
	margin-top: 40px !important;
}

.post-thumbnail {
	margin-top: 20px;
	margin-bottom: 20px;
}

.post-thumbnail img {
	border-radius: 20px;
}

a {
    text-decoration: none;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Добавляем отступы между элементами списка */
.nav-links li {
    margin-left: 20px; /* Отступ слева для каждого элемента */
	
}

/* Убираем отступ у первого элемента */
.nav-links li:first-child {
    margin-left: 0;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}


.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.footer-widget {
    flex: 1 1 30%; /* Равномерно распределяем виджеты на десктопе */
    margin: 0 1rem; /* Добавляем отступы между виджетами */
}

/* Стили для списков в виджетах */
.footer-widget ul {
    list-style-position: inside; /* Размещаем маркеры внутри элемента списка */
    padding-left: 0; /* Убираем стандартный отступ слева */
}


/* Медиа-запрос для мобильных устройств */
@media (max-width: 767px) {
    .footer-widgets {
        flex-direction: column; /* Выравниваем виджеты по вертикали на мобильных устройствах */
    }

    .footer-widget {
        flex: 1 1 auto;
        margin: 0.5rem 0; /* Добавляем отступы между виджетами на мобильных устройствах */
    }
}


.content ul,
    .content ol {
        padding-left: 1.5rem; /* Добавляем отступ слева для списков */
    }

    .content li {
        margin-bottom: 1rem; /* Добавляем отступ между пунктами списка */
    }

.post-item .post-thumbnail img {
    max-width: 100%; /* Убеждаемся, что изображение не превышает ширину контейнера */
    height: auto; /* Поддерживаем пропорции изображения */
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 767px) {
    .content {
        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */
    }

    .post-item {
        margin-bottom: 1.5rem; /* Уменьшаем отступы между постами на мобильных устройствах */
    }

    .post-item h2 {
        font-size: 1.25rem; /* Уменьшаем размер заголовка на мобильных устройствах */
    }

    .post-item .post-thumbnail {
        margin-bottom: 0.5rem; /* Уменьшаем отступ под миниатюрой на мобильных устройствах */
    }

    .post-item .post-excerpt {
        font-size: 0.9rem; /* Уменьшаем размер текста на мобильных устройствах */
    }

    .custom-title {
        font-size: 1.5rem; /* Уменьшаем размер заголовка на мобильных устройствах */
    }
	 /* Ограничиваем ширину изображения и текста на мобильных устройствах */
    .post-thumbnail img {
        max-width: 100%; /* Убеждаемся, что изображение не превышает ширину контейнера */
        height: auto; /* Поддерживаем пропорции изображения */
    }

    .content p,
    .content div,
    .content h1,
    .content h2,
    .content h3,
    .content h4,
    .content h5,
    .content h6,
    .content ul,
    .content ol,
    .content li {
        max-width: 100%; /* Ограничиваем ширину текста, списков и других элементов */
        overflow-wrap: break-word; /* Разрешаем перенос слов */
    }

    .content ul,
    .content ol {
        padding-left: 1.5rem; /* Добавляем отступ слева для списков */  
    }

    .content li {
        margin-bottom: 0.5rem; /* Добавляем отступ между пунктами списка */
    }
}

.content {
    line-height: 1.6; /* Добавляем отступ между строками текста */
}

.logo img {
    max-width: 100%; /* Убеждаемся, что изображение не превышает ширину контейнера */
    height: auto; /* Поддерживаем пропорции изображения */
    width: 70%; /* Указываем ширину в процентах */
}

@media (max-width: 768px) { /* Ширина для мобильных устройств */
    .logo img {
        width: 60%; /* Укажите нужный процент */
        height: auto; /* Сохранение пропорций */
    }
}

.screen_img img {
  width: 60%; /* Задаем ширину в процентах */
  height: auto; /* Автоматически подстраиваем высоту, чтобы сохранить пропорции */
  max-width: 60%; /* Ограничиваем максимальную ширину */
  margin-bottom: 2rem;
}	

@media (max-width: 768px) {
  .screen_img img {
    width: 100%; /* Увеличиваем ширину для мобильных устройств */
    max-width: 100%; /* Ограничиваем максимальную ширину */
  }
}

.construction-h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4rem;
  color: #292929;
}

.screen_desc1 {
	font-size: 1.25rem !important;
	color: #292929;
	max-width: 42rem !important;
	margin: 0 auto 3rem;
	text-align: center;
	margin-bottom: 4rem;	
}

.screen_desc2 {
	font-size: 1.25rem !important;
	color: #292929 !important;
	max-width: 42rem !important;
	margin: 0 auto 3rem;
	text-align: center;
}

.footer-widget {
    text-align: left;
	line-height: 2;
}

.footer-widget a {
    color: inherit;
	  list-style-type: none; 
}	

.footer-widget ul {
    list-style-type: none; 
}

.white-text-shop {
    color: white;
  }

.content p {
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}

.content h2, h3, h4 {
	margin-top: 1.5em;
}

.content h1 {
	margin-bottom: 1.5rem;
}

.post-item h2{
	margin-top: -1px !important; 
}

.btn-read {
	text-decoration: underline;
}

.lifetime-container {
	margin-top: 5rem;
}

.menu-item-760 {
    display: inline-flex; /* Используем inline-flex, чтобы элемент занимал только необходимую ширину */
    align-items: center; /* Центрируем элементы по вертикали */
}

.menu-item-760 .menu-icon {
    background-image: url('http://neuralsoft.site/wp-content/uploads/2024/11/telegram.png');
    background-size: contain;
    display: inline-block;
    width: 20px; /* ширина иконки */
    height: 20px; /* высота иконки */
    margin-left: px; /* отступ от текста */
    vertical-align: middle; /* Выравнивание иконки по центру строки */
}

.hide-card {
	background-color: #F7F7F7 !important;
	border: none !important;
	
}

/*FAQ */

.faq {
	margin-top: -5rem !important;
}
.faq-item {
    border: 1px solid #c2c2c2; /* Обводка */
    border-radius: 0.75rem; /* Закругленные углы */
    margin-bottom: 10px;
    overflow: hidden; /* Чтобы закругленные углы не "обрезали" содержимое */
}

.faq-question {
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
    background-color: #fff;
    list-style: none; /* Убираем стандартный маркер */
    color: #292929; /* Черный цвет текста */
    border-bottom: none; /* Убираем подчеркивание */
    display: block; /* Чтобы summary занимал всю ширину */
}

.faq-question::-webkit-details-marker {
    display: none; /* Скрываем маркер в Chrome */
}

.faq-question::before {
    content: "+";
    margin-right: 10px;
    color: black; /* Черный цвет иконки */
}

details[open] .faq-question::before {
    content: "-";
}

.faq-answer {
    padding: 10px;
    background-color: #F7F7F7;
    color: #292929; /* Черный цвет текста */
    border-top: 1px solid #ddd; /* Разделитель между вопросом и ответом */
}

/* Анимация раскрытия */
details[open] .faq-answer {
    animation: fadeIn 0.3s ease-in-out;
}

.price2 {
  margin-bottom: 4rem;
  text-align: center;
  color: #292929;
  font-size: 1.25rem;
}


