* {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Shell look lives in cs_theme.css (pg-mon). Keep minimal resets here. */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: transparent;
    padding: 0;
    color: inherit;
  }

.header-wrapper {
    width: 100%;
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
  }

.header {
  max-width: none;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
}

.header__logo {
  display: inline-flex;
  background: none;
  width: auto;
  height: auto;
}

.header__list {
  display: flex;
  list-style-type: none;
  align-items: center;
  gap: 60px;
  font-size: 20px;
  margin-top: 30px;
}

.header__link {
  color: #fff;
  text-decoration: none;
  gap: 50px;
}

.header__button,
.header__exitbutton {
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  color: inherit;
  background-color: transparent;
  font-size: 13px;
  cursor: pointer;
}


.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #2d313a;
  margin: 10% auto;
  padding: 30px;
  border: 2px solid #8a6639; /* желтая обводка */
  border-radius: 10px;
  width: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.form-group {
  padding: 0 20px; 
  margin-bottom: 15px; 
  width: 100%;
  box-sizing: border-box;
}

.form-group input {
  width: 100%;
  box-sizing: border-box; 
  padding: 10px; 
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px; /* Расстояние между табами */
}

.tab {
  padding: 10px 30px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  transition: all 0.3s;
}

.tab.active {
  background-color: #8a6639;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #3a3f4b;
  color: #fff;
  font-size: 16px;
}

.submit-btn {
  background-color: #8a6639;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #8a6639;
}

.header__user {
  color: #8a6639;
}

.modal-content.error,
.regConfirmPassword.error {
  border: 3px solid red;
  transition: border 0.3s ease;
}

.expert-platform {
  padding: 100px 0;
  color: white;
  position: relative;
  overflow: hidden;
  background-color: #21242d;
}

.platform-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.platform-content {
  max-width: 600px;
}

.platform-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.platform-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0b2558 0%, #ffae00 100%);
  border-radius: 2px;
}

.platform-description {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.platform-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.platform-btn {
  display: inline-block;
  padding: 15px 35px;
  background: #8a6639;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.platform-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(114, 96, 6, 0.4);
}

.platform-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.current-slide {
  font-size: 24px;
  font-weight: 700;
  color: #00dbde;
}

.divider {
  opacity: 0.6;
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .platform-title {
    font-size: 36px;
  }
  
  .platform-description {
    font-size: 18px;
  }
  
  .platform-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.aboutUs {
  padding: 100px 0;
  margin-bottom: 2%;
  background: linear-gradient(135deg, #21242d 0%, #21242d 100%);
  position: relative;
  overflow: hidden;
}

.aboutUs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.aboutUs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.aboutUs h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.aboutUs h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #af814c 0%, #d4a76a 50%, #af814c 100%);
  border-radius: 3px;
}

.aboutUs h6 {
  text-align: center;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-image {
  flex: 1;
  min-width: 300px;
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.aboutUs h3 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

#aboutUs h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #8a6639;
}

.about-us-list {
  margin-top: 30px;
  list-style-type: none;
  padding-left: 0;
}

.about-us-list .points {
  position: relative;
  padding-left: 45px;
  margin-bottom: 25px;
  color: #fff;
  line-height: 1.6;
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-us-list .points:hover {
  color: #d4a76a;
  transform: translateX(5px);
}

.about-us-list .points:before {
  content: "▹";
  color: #8a6639;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 24px;
  top: 0;
  transition: all 0.3s ease;
}

.about-us-list .points:hover:before {
  color: #d4a76a;
  transform: scale(1.2);
}

.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content {
  animation: fadeInUp 0.8s ease forwards;
}

/* Адаптивность */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    padding: 30px;
  }
  
  #aboutUs h2 {
    font-size: 36px;
  }
  
  #aboutUs h3 {
    font-size: 28px;
  }
}

/* Контактная секция */
#contact {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.inner.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.title-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.divider {
  width: 80px;
  height: 3px;
  background: #8a6639;
  margin: 0 auto 30px;
  position: relative;
}

.divider i {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f9fa;
  padding: 0 10px;
  color: #8a6639;
}

.disc-section p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 800px;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.form-group {
  flex: 1;
  min-width: 250px;
  padding: 0 15px;
  margin-bottom: 20px;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.submit-btn {
  background: #8a6639;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: #8a6639;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
  .title-section h2 {
      font-size: 28px;
  }
  
  .company-info {
      padding: 20px;
  }
  
  .contact-form-wrapper {
      padding: 25px;
  }
  
  .form-group {
      flex: 100%;
  }
}

.company-block {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.company-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(0,0,0,0.02)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  opacity: 0.1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-header {
  font-size: 36px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.company-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #212529;
  border-radius: 2px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.company-block-advantage {
  flex: 1;
  min-width: 300px;
}

.company-block-advantage .row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.company-block-advantage .row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.company-block-advantage img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: hue-rotate(180deg) brightness(0.8);
}

.company-block-advantage div:last-child {
  font-size: 18px;
  color: #495057;
  font-weight: 500;
}

.company-block-text {
  flex: 1;
  min-width: 300px;
}

.company-block-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #6c757d;
  margin-bottom: 20px;
}

.btn-black {
  display: inline-block;
  padding: 12px 30px;
  background-color: #212529;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid #212529;
  margin-top: 20px;
}

.btn-black:hover {
  background-color: transparent;
  color: #212529;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Анимация при появлении */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company-block-advantage .row {
  animation: fadeInUp 0.6s ease forwards;
}

.company-block-advantage .row:nth-child(1) { animation-delay: 0.1s; }
.company-block-advantage .row:nth-child(2) { animation-delay: 0.2s; }
.company-block-advantage .row:nth-child(3) { animation-delay: 0.3s; }

/* Адаптивность */
@media (max-width: 768px) {
  .company-header {
    font-size: 28px;
  }
  
  .company-block-advantage .row {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-black {
    width: 100%;
    text-align: center;
  }
}

.footer-info {
    background: #212529;
    padding: 50px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.footer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: #8a6639;
}

.company-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.company-info p {
    margin: 12px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding-left: 30px;
    color: #e2e8f0;
}

.company-info p::before {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.company-info h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.company-image {
    width: 50px;
    height: 50px;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.company-info p:hover {
    transform: translateX(5px);
    color: #8a6639;
}

.company-info p {
    transition: all 0.3s ease;
    font-size: 20px;

}

.company-info > *:not(h3):not(.company-image) {
    order: 2;
}

.company-info h3,
.company-image {
    order: 1;
    margin-bottom: 25px;
}

.threat-modeling-section {
  background-color: #fff;
  color: #21242d;
  font-family: 'Arial', sans-serif;
  padding: 40px 20px;
  max-width: 85%;
  margin: 0 auto;
  margin-bottom: 2%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.main-title {
  color: #856e51;
  font-size: 2.5rem;
  margin-bottom: 1px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.advantages {
  background-color: rgba(133, 110, 81, 0.1);
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #856e51;
  margin-bottom: 40px;
}

.advantages-title {
  color: #856e51;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
}

/* Список преимуществ */
.advantages-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.advantage-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(133, 110, 81, 0.3);
  display: flex;
  align-items: center;
}

.advantage-item:last-child {
  border-bottom: none;
}

.bullet {
  color: #856e51;
  font-size: 1.5rem;
  margin-right: 15px;
  font-weight: bold;
}

.advantage-text {
  font-size: 1.1rem;
}

/* Кнопка */
.cta-wrapper {
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #856e51;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: #9a8260;
}