@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
  --brand-blue: #0a1e3b;
  --brand-blue-light: #162d50;
  --brand-orange: #ff8000;
  --brand-red: #e60000;
  --brand-gradient: linear-gradient(90deg, #ff8000 0%, #e60000 100%);
  --bg-page: #f4f6f9;
  --text-main: #2d3436;
  --text-muted: #636e72;
  --white: #ffffff;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  padding-bottom: 0;
}

/* Header & Navigation */
header {
  background-color: var(--brand-blue);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  min-height: 60px;
}

.logo img {
  height: 58px;
  display: block;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Buttons */
.button,
.button-link,
.button-orange,
.button-red {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: var(--brand-gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
  transition: var(--transition);
}

.button:hover,
.button-link:hover,
.button-orange:hover,
.button-red:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

.button-red {
  background: var(--brand-blue-light);
  box-shadow: none;
}

/* Обертка для центрирования кнопок в тексте */
.btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 35px 0;
}

/* Layout */
.section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.section img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 24px;
  line-height: 1.1;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 32px;
  background: var(--brand-orange);
  border-radius: 3px;
}

h3 {
  font-size: 1.4rem;
  color: var(--brand-blue-light);
  margin: 24px 0 12px;
}

p {
  margin-bottom: 18px;
  color: var(--text-main);
  font-size: 16px;
}

/* Card Elements */
.faq-item,
.expert-note,
.pros,
.cons,
table {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.expert-note {
  border-left: 6px solid var(--brand-orange);
  background: #fffcf5;
}

.pros-cons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.pros {
  border-top: 4px solid #27ae60;
  flex: 1;
}
.cons {
  border-top: 4px solid var(--brand-red);
  flex: 1;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  padding: 0;
  overflow: hidden;
}

table tr {
  transition: var(--transition);
}

table tr:nth-child(even) {
  background-color: #f8f9fa;
}

table td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf2f7;
  font-size: 15px;
}

table tr:last-child td {
  border-bottom: none;
}

/* FAQ Customization */
.faq-container {
  margin-top: 20px;
}

.faq-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-question {
  padding: 20px 50px 20px 24px;
  margin: 0;
  font-size: 1.1rem;
  cursor: pointer;
  background: var(--white);
  display: block;
  font-weight: 700;
}

.faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--text-muted);
}

.toggle {
  position: absolute;
  width: 100%;
  height: 60px;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}

.icon {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--brand-orange);
  border-bottom: 3px solid var(--brand-orange);
  transform: rotate(45deg);
  transition: var(--transition);
}

.toggle:checked + .faq-question + .icon {
  transform: rotate(-135deg);
  top: 28px;
}

.toggle:checked ~ .faq-answer {
  display: block;
}

/* Lists */
ul,
ol {
  margin: 0 0 24px 24px;
}

li {
  margin-bottom: 10px;
  padding-left: 8px;
}

/* Footer */
footer {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-inner p {
  color: #a4b0be;
  font-size: 14px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.footer-brand p strong {
  color: var(--white);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
  .pros-cons {
    flex-direction: column;
  }
  h1 {
    font-size: 2rem;
  }
  .section {
    padding: 0 15px;
  }
}
