/* Порт стилів із gemini-code-1782204097552.html
   Змінено лише: кольори кнопок (ТЗ) + адаптивність */

:root {
  --deep-blue: #0a2540;
  --technical-cyan: #00d4ff;
  --vibrant-green: #28a745;
  --pristine-white: #ffffff;
  --light-grey: #f4f7f6;
  --text-dark: #333333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: var(--text-dark);
  background-color: var(--pristine-white);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--deep-blue);
}

h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-blue), var(--technical-cyan));
  margin: 15px auto 0;
  border-radius: 2px;
}

p {
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  /* ТЗ: корпоративні кольори кнопок */
  background: linear-gradient(135deg, #154766, #2AA5B6);
  color: var(--pristine-white);
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(42, 165, 182, 0.4);
  font-family: inherit;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 165, 182, 0.6);
  color: var(--pristine-white);
  text-decoration: none;
}

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

section {
  padding: 100px 0;
}

/* --- БЛОК 0: ХЕДЕР --- */
header {
  background-color: var(--pristine-white);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.nav-phone {
  color: var(--deep-blue);
  font-size: 1.2em;
  text-decoration: none;
  margin-right: 30px;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-phone:hover {
  color: var(--technical-cyan);
}

.header-cta-btn {
  padding: 10px 20px;
  font-size: 0.9em;
}

main {
  margin-top: 90px;
}

/* --- БЛОК 1: ГОЛОВНИЙ ЕКРАН (HERO) --- */
#hero {
  background-color: var(--light-grey);
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  width: 60%;
}

.hero-text h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.4em;
  color: var(--text-dark);
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-image {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-graphic {
  width: 300px;
  height: 300px;
  background-color: rgba(0, 212, 255, 0.05);
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic::before {
  content: "✓";
  font-size: 150px;
  color: var(--vibrant-green);
  opacity: 0.8;
}

.pulse-node {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--technical-cyan);
  border-radius: 50%;
  opacity: 0.8;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.pulse-node-1 {
  top: 20px;
  left: 50px;
  animation-delay: 0s;
}

.pulse-node-2 {
  bottom: 50px;
  right: 20px;
  animation-delay: 0.5s;
}

.pulse-node-3 {
  top: 150px;
  left: -10px;
  animation-delay: 1s;
}

.lead-form {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.lead-input {
  padding: 15px 25px;
  border: 2px solid #ccc;
  border-radius: 30px;
  font-size: 1.1em;
  width: 280px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.lead-input:focus {
  border-color: var(--technical-cyan);
}

/* --- БЛОК 2: ЛІД-МАГНІТ (АУДИТ) --- */
#audit {
  background-color: var(--pristine-white);
}

.audit-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.benefit-card {
  background-color: var(--light-grey);
  padding: 40px;
  border-radius: 15px;
  border-bottom: 5px solid var(--deep-blue);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--technical-cyan);
}

.benefit-icon {
  font-size: 3em;
  color: var(--technical-cyan);
  margin-bottom: 20px;
}

/* --- БЛОК 3: РЕГЛАМЕНТ --- */
#reglament {
  background-color: var(--light-grey);
}

.reglament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reglament-item {
  background-color: var(--pristine-white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
}

.reglament-icon {
  font-size: 2em;
  color: var(--technical-cyan);
  margin-right: 15px;
}

.reglament-text h3 {
  margin-top: 0;
  font-size: 1.1em;
  margin-bottom: 5px;
}

/* --- БЛОК 4: ПОРІВНЯННЯ --- */
#comparison {
  background-color: var(--pristine-white);
}

.comparison-table-container {
  overflow-x: auto;
}

table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

table.comparison-table th,
table.comparison-table td {
  text-align: left;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

table.comparison-table th {
  background-color: var(--deep-blue);
  color: var(--pristine-white);
  font-size: 1.1em;
  text-transform: uppercase;
}

table.comparison-table td:first-child {
  width: 30%;
  font-weight: bold;
  color: var(--deep-blue);
}

/* --- БЛОК 5: ТАРИФИ --- */
#tariffs {
  background-color: var(--light-grey);
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tariff-card {
  background-color: var(--pristine-white);
  padding: 50px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tariff-card h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.tariff-description {
  color: #777;
  margin-bottom: 25px;
  min-height: 40px;
  font-size: 0.9em;
}

.tariff-price {
  font-size: 2.2em;
  color: var(--deep-blue);
  font-weight: bold;
  margin-bottom: 30px;
}

.tariff-price span {
  font-size: 0.4em;
  color: #777;
  font-weight: normal;
  display: block;
  margin-top: -5px;
}

.tariff-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 40px;
}

.tariff-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95em;
}

.tariff-list li::before {
  content: "✓";
  color: var(--technical-cyan);
  font-weight: bold;
  margin-right: 10px;
}

.tariff-card.featured {
  transform: translateY(-10px);
  border: 3px solid var(--technical-cyan);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.15);
}

.tariff-card.featured::before {
  content: "РЕКОМЕНДОВАНО";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--technical-cyan);
  color: var(--deep-blue);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
}

.tariff-btn {
  width: 100%;
  box-sizing: border-box;
}

/* --- БЛОК 6: ВІДГУКИ --- */
#testimonials {
  background-color: var(--pristine-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-grey);
  padding: 30px;
  border-radius: 10px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--technical-cyan);
  margin-right: 15px;
  opacity: 0.2;
}

/* --- БЛОК 7: ФІНАЛЬНИЙ ЗАКЛИК --- */
#final-cta {
  background-color: var(--deep-blue);
  color: var(--pristine-white);
  text-align: center;
}

#final-cta h2 {
  color: var(--pristine-white);
}

#final-cta p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--pristine-white);
}

.final-form-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- БЛОК 8: ФУТЕР --- */
footer {
  background-color: #f0f0f0;
  padding: 50px 0 20px;
  border-top: 1px solid #ddd;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-contacts h4,
.footer-social h4 {
  margin-top: 0;
  color: var(--deep-blue);
}

.footer-contacts p,
.footer-social a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

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

.footer-social-links a:hover {
  color: var(--technical-cyan);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-form__message {
  width: 100%;
  margin: 0;
  font-size: 0.95em;
}

.lead-form__message.is-error {
  color: #b42318;
}

.lead-form__message.is-success {
  color: #1f6b3a;
}

.lead-input.is-invalid {
  border-color: #b42318;
}

/* Адаптивність (ТЗ) — desktop-вигляд Gemini без змін */

@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.8em;
  }

  .audit-benefits,
  .reglament-grid,
  .tariffs-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tariff-card.featured {
    transform: none;
  }

  table.comparison-table {
    min-width: 680px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  h2 {
    font-size: 1.8em;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-phone {
    margin-right: 12px;
    font-size: 1em;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2em;
  }

  .hero-text p {
    font-size: 1.15em;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-graphic {
    width: 240px;
    height: 240px;
  }

  .hero-graphic::before {
    font-size: 110px;
  }

  .audit-benefits,
  .reglament-grid,
  .tariffs-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .lead-input {
    width: 100%;
  }
}
