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

  border-width: 0;

  border-style: solid;

}



html {
  line-height: 1.5;

  -webkit-text-size-adjust: 100%;

  -moz-tab-size: 4;

  tab-size: 4;

  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

}



body {
  margin: 0;

  line-height: inherit;

}



hr {
  height: 0;

  color: inherit;

  border-top-width: 1px;

}



abbr:where([title]) {
  text-decoration: underline dotted;
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}



a {
  color: var(--color-blue, #5e72e4);
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-blue-light, #00d4ff);
}



b,
strong {
  font-weight: bolder;
}



code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  font-size: 1em;

}



small {
  font-size: 80%;
}



sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}



table {
  text-indent: 0;

  border-color: inherit;

  border-collapse: collapse;

}



button,
input,
optgroup,
select,
textarea {
  font-family: inherit;

  font-size: 100%;

  font-weight: inherit;

  line-height: inherit;

  color: inherit;

  margin: 0;

  padding: 0;

}



button,
select {
  text-transform: none;
}



button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;

  background-color: transparent;

  background-image: none;

}



:-moz-focusring {
  outline: auto;
}



:-moz-ui-invalid {
  box-shadow: none;
}



progress {
  vertical-align: baseline;
}



::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}



[type="search"] {
  -webkit-appearance: textfield;

  outline-offset: -2px;

}



::-webkit-search-decoration {
  -webkit-appearance: none;
}



::-webkit-file-upload-button {
  -webkit-appearance: button;

  font: inherit;

}



summary {
  display: list-item;
}



blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}



textarea {
  resize: vertical;
}



input::placeholder,
textarea::placeholder {
  opacity: 1;

}



button,
[role="button"] {
  cursor: pointer;
}



:disabled {
  cursor: default;
}



img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;

  vertical-align: middle;

}



img,
video {
  max-width: 100%;
  height: auto;
}



[hidden] {
  display: none;
}

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


/* Text Blocks with Images */
.text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 3rem;
  background: var(--color-dark-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 114, 228, 0.15);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.text-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.text-block:hover {
  border-color: var(--color-blue);
  box-shadow: 0 8px 25px rgba(94, 114, 228, 0.15);
}

.text-block__text {
  flex: 1;
  z-index: 1;
  position: relative;
}

.text-block__image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

.text-block__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.text-block__image:hover img {
  transform: scale(1.05);
}

.text-block--reverse {
  grid-template-columns: 1fr 1fr;
}

.text-block--reverse .text-block__image {
  order: -1;
}

.text-block h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-text);
}

.text-block p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.text-block ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.text-block ul li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.text-block ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
  font-size: 1.1rem;
}

.text-content {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: rgba(224, 224, 255, 0.85);
}

.text-content p:last-child {
  margin-bottom: 0;
}

.text-content h2,
.text-content .section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(94, 114, 228, 0.2);
  position: relative;
  text-align: left;
}

.text-content h2:first-child,
.text-content .section-title:first-child {
  margin-top: 0;
}

.text-content h2::before,
.text-content .section-title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
}

.text-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.text-content ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: rgba(224, 224, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.text-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .ranking-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card-simple {
    padding: 1.5rem;
  }

  .cta__features {
    flex-direction: column;
    gap: 1rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .comparison-wrapper {
    margin: 2rem -1rem;
  }

  .text-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
  }

  .text-block--reverse .text-block__image {
    order: 0;
  }

  .text-block__image {
    border-radius: var(--radius-md);
  }

  .text-block h2 {
    font-size: 1.4rem;
  }

  .text-content h2,
  .text-content .section-title {
    font-size: 1.5rem;
  }
}