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

:root {
  --bg: #170902;
  --header-bg: #451b07;
  --accent: #fa4f00;
  --accent-glow: #fa4f0073;
  --border-blue: #3275b4;
  --text-main: #ffffff;
  --text-dim: #ffffff80;
  --secondary-btn: #cc6600;
  --zebra-bg: #1366b41a;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-blue);
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner .logo img {
  max-height: 64px;
}

.header-actions {
  display: flex;
  gap: 1.5rem;
}

.button {
  display: block;
  margin: 1.5rem auto;
  padding: 0.85rem 2.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-main);
  background: linear-gradient(135deg, #fa4f00, #fc8752);
  box-shadow: 0 4px 28px var(--accent-glow);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.button:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 32px var(--accent);
}

.section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  background-color: var(--bg);
  border: 1px solid var(--border-blue);
  border-radius: 0.5rem;
}

.section img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* можно убрать или оставить для аккуратности */
}


.main-cta-section {
  box-shadow: 0 4px 92px var(--accent-glow);
  text-align: center;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-blue);
  padding-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-blue);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

p {
  margin-bottom: 1.2rem;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.6rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

table,
td {
  border: 1px solid var(--border-blue);
}

td {
  padding: 1.2rem;
  text-align: left;
}

tr:nth-child(even) {
  background: var(--zebra-bg);
}

.expert-note {
  background: rgba(50, 117, 180, 0.1);
  border-left: 4px solid var(--border-blue);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.faq-container {
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-blue);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  padding: 1.2rem;
  position: relative;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: #3275b433;
}

.toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.faq-question {
  margin: 0;
  font-size: 1.2rem;
  padding-right: 3rem;
  border: none;
}

.icon {
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  width: 24px;
  height: 24px;
}

.icon::before {
  content: "+";
  font-size: 2rem;
  line-height: 1;
}

.toggle:checked ~ .icon::before {
  content: "×";
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text-dim);
}

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

.author-block {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border-blue);
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border-blue);
  padding: 4rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 1.5rem auto;
}

.footer-brand {
  text-align: center;
}

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
  }

  .header-inner .logo img {
    max-height: 32px;
  }

  .button {
    padding: 10px 20px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2rem;
  }
}
