/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Visually Hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, #f0f4f8, #d9e4ea);
  color: #333;
}

/* Header */
header {
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: #fff;
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 12px;
}

header .logo h1 {
  font-size: 1.8rem;
}

/* Desktop nav */
.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 5px;
  transition: background 0.3s;
}

.site-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Burger button (hidden on desktop) */
.burger {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  display: none;
  color: #fff;
  position: relative;
  z-index: 3000;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile nav behavior */
@media (max-width: 768px) {
  .burger {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2500;
    background: linear-gradient(to right, #2c3e50, #34495e);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
  }

  /* Prevent conflicts with old generic rules */
  header nav ul {
    display: none;
  }
}

/* Main Content Block */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2em 1em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom Pros and Cons Blocks */
.pros-cons {
  display: flex;
  gap: 1.5em;
  margin-top: 2em;
}

.pros,
.cons {
  flex: 1;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.pros {
  background: linear-gradient(to right, #4caf50, #66bb6a);
  color: #fff;
}

.cons {
  background: linear-gradient(to right, #880808, #a52626);
  color: #fff;
}

.pros h3,
.cons h3 {
  margin-bottom: 1em;
  font-size: 1.2rem;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros ul li,
.cons ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8em;
}

.pros ul li::before {
  content: "✔";
  margin-right: 0.5em;
  color: #fff;
  font-weight: bold;
}

.cons ul li::before {
  content: "✖";
  margin-right: 0.5em;
  color: #fff;
  font-weight: bold;
}

.pros-cons:not(:last-child) {
  margin: 0 0 2em;
}

.pros-cons__item {
  padding: 1.5em 1em 1.5em 1.5em;
  border-radius: 12px;
}

.pros-cons__item--pros {
  background: rgba(76, 175, 80, 0.1);
}

.pros-cons__item--pros .pros-cons__title {
  color: #1d7c2a;
}

.pros-cons__item--pros .pros-cons__list li::before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzJBQjAzQyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAxMmMwIDkuODgyIDIuMTE4IDEyIDEyIDEyczEyLTIuMTE4IDEyLTEyUzIxLjg4MiAwIDEyIDAgMCAyLjExOCAwIDEyWm0xNi43MDctMy43MDdhMSAxIDAgMCAxIDAgMS40MTRsLTUgNWExIDEgMCAwIDEtMS40MTQgMGwtMi41LTIuNWExIDEgMCAxIDEgMS40MTQtMS40MTRMMTEgMTIuNTg2bDQuMjkzLTQuMjkzYTEgMSAwIDAgMSAxLjQxNCAwWiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+");
}

.pros-cons__item--cons {
  background: rgba(229, 26, 56, 0.1);
}

.pros-cons__item--cons .pros-cons__title {
  color: #e51a38;
}

.pros-cons__item--cons .pros-cons__list li::before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI0U1MUEzOCIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMCAxMmMwIDkuODgyIDIuMTE4IDEyIDEyIDEyczEyLTIuMTE4IDEyLTEyUzIxLjg4MiAwIDEyIDAgMCAyLjExOCAwIDEyWm04LjQ2NS0zLjUzNmExIDEgMCAwIDEgMS40MTQgMEwxMiAxMC41ODZsMi4xMjEtMi4xMjFhMSAxIDAgMSAxIDEuNDE1IDEuNDE0TDEzLjQxNCAxMmwyLjEyMiAyLjEyMWExIDEgMCAwIDEtMS40MTUgMS40MTVsLTIuMTItMi4xMjItMi4xMjIgMi4xMjJhMSAxIDAgMCAxLTEuNDE1LTEuNDE1TDEwLjU4NiAxMiA4LjQ2NSA5Ljg3OWExIDEgMCAwIDEgMC0xLjQxNVoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");
}

.pros-cons__title {
  margin: 0 0 1em;
  font-size: 1.2rem;
  line-height: 1.2;
}

.pros-cons__list {
  list-style: none;
}

.pros-cons__list li {
  position: relative;
  padding: 0 0 0 2em;
  color: #333;
  font-size: 1rem;
}

.pros-cons__list li::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  background: left top no-repeat;
  width: 1.2rem;
  height: 1.2rem;
}

.pros-cons__list li:nth-child(n + 2) {
  margin-top: 1rem;
}

/* Custom Bullet List */
.custom-ul {
  list-style: none;
  margin: 1.5em 0;
  padding: 0;
}

.custom-ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.custom-ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 1.5em;
  color: #2c3e50;
}

/* Custom Numbered List */
.custom-ol {
  list-style: none;
  margin: 1.5em 0;
  padding: 0;
  counter-reset: custom-counter;
}

.custom-ol li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.5em;
  counter-increment: custom-counter;
}

.custom-ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: #2c3e50;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 1.5em 1em;
  margin-top: 2em;
}

footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

footer .footer-links ul li a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

footer .footer-links ul li a:hover {
  color: #16a085;
}

footer .logos {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin: 1em 0;
}

footer .logos img {
  width: 120px;
  height: auto;
  transition: transform 0.3s;
}

footer .logos img:hover {
  transform: scale(1.1);
}

/* Responsive layout */
@media (max-width: 768px) {
  .pros-cons {
    flex-direction: column;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2em 1em;
  background: linear-gradient(to bottom, #3498db, #2980b9);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 2em;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

/* Table */
.table {
  text-align: center;
  background: #fcfcfc;
  border-radius: 1.5rem;
  box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.table:not(:last-child) {
  margin-bottom: 4rem;
}

.table table {
  width: 100%;
  min-width: 100rem;
  border-radius: inherit;
  background: #ffffff;
  border-collapse: collapse;
}

.table table tbody tr:not(:last-child) {
  border-bottom: 0.1rem solid #e3e4ed;
}

.table table th:first-child,
.table table td:first-child {
  width: 4.2rem;
}

.table table th {
  padding: 2rem 0.5rem;
  border-bottom: 0.3rem solid #e1e2eb;
  font-size: 1.6rem;
}

.table table td {
  padding: 1.5rem 0.5rem;
  font-size: 1.8rem;
  line-height: 1.4;
}

.table table td:first-child {
  background: #fcfcfc;
}

.table table img {
  max-width: 5.7rem;
}

.table table .button {
  width: 13.5rem;
  margin: 0 auto;
  padding: 1.5rem 0.5rem;
}

.table--alt table th:first-child,
.table--alt table td:first-child {
  width: auto;
}

.table--alt table th {
  padding: 2.65rem 0.5rem;
}

.table--alt table td {
  padding: 2.1rem 0.5rem;
}

.table--alt table td:first-child {
  background: #ffffff;
}

.table--small table {
  min-width: 70rem;
}

.table--info table td {
  text-align: left;
}

.table--info table td:first-child {
  width: 20rem;
  padding-left: 4rem;
  border-right: 0.1rem solid #e3e4ed;
}

.table--info table td:not(:first-child) {
  padding-left: 2.8rem;
}

/* Bonus Cards */
.bonus-section {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 1em;
}

.bonus-card {
  flex: 1;
  min-width: 280px;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bonus-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.bonus-card h3 {
  margin-bottom: 0.5em;
  color: #2980b9;
}

/* List Styles */
ul {
  list-style-type: disc;
  margin: 1em 0;
  padding-left: 2em;
}

ol {
  list-style-type: decimal;
  margin: 1em 0;
  padding-left: 2em;
}

li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

th,
td {
  padding: 1em;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: #2c3e50;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

tr:hover td {
  background: #ecf0f1;
}

/* STEPPER */
.stepper:not(:last-child) {
  margin: 0 0 1.5rem;
}

.stepper__list {
  list-style: none;
  counter-reset: list-number;
}

.stepper__list li {
  position: relative;
  padding: 0 0 0 4.6rem;
  counter-increment: list-number;
}

.stepper__list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.8rem;
  bottom: -1.5rem;
  background: #484040;
  width: 0.3rem;
}

.stepper__list li:last-child::after {
  content: "";
  line-height: 1;
  background: #2c3e50 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMSAxNyI+PHBhdGggZmlsbD0iI0VDRjBGMSIgZD0ibTE2Ljg3NS44NS05IDktMy43NS0zLjc1TC45MzcgOS4yNSA0LjY4OCAxM2wzIDMgLjE4OC4xNUwyMC4wNjMgNCAxNi44NzUuODVaIi8+PC9zdmc+") center center/1rem 1.5rem no-repeat;
}

.stepper__list li:last-child p,
.stepper__list li:last-child .stepper__title {
  color: #2c3e50;
}

.stepper__list li:nth-child(n + 2) {
  margin-top: 1.2rem;
}

.stepper__list li::after {
  content: counter(list-number);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  line-height: 1;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  background: #484040;
  border: 0.4rem solid #f9f9f9;
  width: 1.2rem;
  height: 1.2rem;
}

.stepper__list p {
  margin: 0;
  color: #000000;
  font-size: 1rem;
  line-height: 1.3;
}

.stepper__title {
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: #484040;
  font-size: 1rem;
}

/* FAQ */
.faq {
  font-size: 1.2rem;
}

.faq:not(:last-child) {
  margin: 0 0 2.5rem;
}

.faq__card {
  padding: 1.2rem 0 0.9rem 1.6rem;
  background: #ffffff;
  border: 0.1rem solid #d9d9d9;
  border-radius: 1.2rem;
}

.faq__card:nth-child(n + 2) {
  margin-top: 1.5rem;
}

.faq__input:checked + .faq__label::before {
  transform: rotate(45deg);
}

.faq__input:checked ~ .faq__body {
  max-height: 100vh;
  padding: 1.5rem 3.2rem 0.5rem 0;
  opacity: 1;
}

.faq__label {
  position: relative;
  display: block;
  padding: 0 5.7rem 0 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s color;
}

.faq__label:hover {
  color: #333;
}

.faq__label:hover::before {
  border-color: #585858;
}

.faq__label::before {
  content: "";
  position: absolute;
  top: 29%;
  right: 2.5rem;
  border-top: 0.3rem solid #000000;
  border-left: 0.3rem solid #000000;
  transform-origin: center center;
  transform: rotate(-135deg);
  transition: 0.2s border-color;
  width: 0.5rem;
  height: 0.5rem;
}

.faq__body {
  max-height: 0;
  margin: 0;
  opacity: 0;
  transition: max-height 0.2s, opacity 0.15s, padding 0.15s;
}

/* Mobile tables fix */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
}

@media (max-width: 768px) {
  table thead {
    display: none;
  }
  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }
  table tr {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px;
    margin: 12px 0;
  }
  table td {
    border: 0;
    padding: 8px 0;
  }
  table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 4px;
  }
}
