/* ====== DARK THEME ====== */
body {
  font-family: Arial, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.7;
  color: #e5e5e5;
  background: #0d0d0d;
}

/* ====== HEADER ====== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  margin-bottom: 25px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1em;
  font-weight: bold;
  color: #7CFFB2;
  letter-spacing: 1px;
}

.logo-text {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #4da3ff;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #82c3ff;
}

/* ====== FOOTER ====== */
footer {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #222;
  text-align: center;
  color: #777;
  font-size: 0.9em;
}

/* ====== CONTENT ====== */

/* Главный заголовок страницы - самый яркий, привлекающий внимание */
h1 {
  color: #ffffff;
  font-size: 2.2em;
  border-left: 4px solid #7CFFB2;
  padding-left: 20px;
  margin: 30px 0 25px;
  text-shadow: 0 2px 5px rgba(124, 255, 178, 0.2);
}

/* Заголовки секций - с акцентным цветом */
h2 {
  color: #7CFFB2;
  font-size: 1.8em;
  margin: 40px 0 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

/* Подзаголовки - более спокойный, но различимый цвет */
h3 {
  color: #4da3ff;
  font-size: 1.4em;
  margin: 25px 0 15px;
}

/* Ссылки в контенте */
a {
  color: #4da3ff;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #7CFFB2;
  text-decoration: underline;
}

.cta {
  display: block;
  text-align: center;
  margin: 30px 0;
  font-size: 1.3em;
  font-weight: bold;
}

.cta a {
  color: #fff;
  background: #0070f3;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.cta a:hover {
  background: #0059c9;
  color: white;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 20px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ====== ANIMATIONS ====== */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 10px 0;
  }
  
  h1 {
    font-size: 1.8em;
    padding-left: 15px;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  h3 {
    font-size: 1.2em;
  }
}

/* Стили для контактных блоков и калькулятора (если используются) */
.contact-box, .calc-box {
  background: #111;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}

.contact-box a, .calc-box a {
  color: #7CFFB2;
  font-weight: bold;
}

.contact-section {
  margin-bottom: 40px;
}

.calc-btn {
  background: #0070f3;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin: 20px 0 10px;
  transition: 0.3s;
}

.calc-btn:hover {
  background: #0059c9;
}

.result {
  background: #1a1a1a;
  border-left: 4px solid #7CFFB2;
  padding: 20px;
  margin-top: 25px;
  border-radius: 6px;
}

.result h3 {
  color: #7CFFB2;
  margin-top: 0;
  margin-bottom: 15px;
}