/* CSS Reset */
:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

a, button {
  cursor: revert;
}

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

img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

input, textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
}

::-moz-placeholder {
  color: unset;
}

::placeholder {
  color: unset;
}

::marker {
  content: initial;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable=true]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
}

/* Base Styles */
html, body {
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  color: #fff;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(135deg, #030534 0%, #0a0d4d 100%);
}

li, p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  margin: 25px 0;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ol {
  list-style: decimal;
  padding: 15px 25px;
}

ul {
  list-style: disc;
  padding: 15px 25px;
}

ol li::marker, ul li::marker {
  color: #233d50;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
  overflow: auto;
}

table tr td, table tr th {
  border: 1px solid #333;
  padding: 15px;
}

table tr th {
  background-color: #2094ff;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

table tr td:hover {
  background-color: rgba(32, 147, 255, 0.23);
}

/* Wrapper */
.wrapper {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  background: linear-gradient(135deg, #131f60 0%, #1a2870 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  padding: 20px 0;
  width: 100%;
}

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

.brand-logo {
  flex: 0 0 200px;
}

.brand-logo img {
  width: 100%;
}

.main-navigation {
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-navigation li {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease-in-out;
  font-weight: 500;
}

.main-navigation li:hover {
  color: #fff;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-btn {
  border-radius: 8px;
  padding: 12px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.action-btn--outline {
  border: 2px solid #fff;
}

.action-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.action-btn--primary {
  background: linear-gradient(135deg, #34aa4e 0%, #48c763 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(52, 170, 78, 0.4);
}

.action-btn--primary:hover {
  background: linear-gradient(135deg, #48c763 0%, #5ed97a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 170, 78, 0.6);
}

/* Main Content */
.content-area {
  height: 100%;
  flex: 1 1 auto;
  padding: 50px 0;
}

/* Hero Banner */
.hero-banner {
  background: radial-gradient(109.54% 136.33% at 109.54% 145.17%, #5475ff 0, #1f2a6f 77.08%, #020728 100%) 0 0/contain, 
              url("../img/bg.webp") right center/contain no-repeat;
  border-radius: 20px;
  background-blend-mode: screen;
  box-shadow: 0 20px 60px rgba(0, 19, 57, 0.4), 0 10px 30px rgba(84, 117, 255, 0.2);
  min-height: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-banner__title {
  font-size: 32px;
  font-weight: 600;
  text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.3);
  max-width: 50%;
}

.hero-banner__cta {
  border-radius: 8px;
  padding: 14px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  background: linear-gradient(135deg, #34aa4e 0%, #48c763 100%);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(52, 170, 78, 0.4);
}

.hero-banner__cta:hover {
  background: linear-gradient(135deg, #48c763 0%, #5ed97a 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(52, 170, 78, 0.6);
}

/* Promo Grid */
.promo-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 3rem 0;
}

.promo-card {
  padding: 3rem 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 1rem;
  z-index: 1;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.4);
  opacity: 0.5;
  z-index: -1;
  transition: opacity 0.3s ease-in-out;
}

.promo-card:hover {
  transform: translateY(-8px);
}

.promo-card:hover::before {
  opacity: 0.7;
}

.promo-card--featured {
  flex: 1;
  background: url("../img/block-img-1.webp") center/cover no-repeat;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.promo-card--featured:hover {
  box-shadow: 0 15px 40px rgba(255, 184, 0, 0.5);
}

.promo-card--secondary {
  background: url("../img/block-img-2.webp") center/cover no-repeat;
  flex: 0 0 28%;
  box-shadow: 0 10px 30px rgba(32, 147, 255, 0.3);
}

.promo-card--secondary:hover {
  box-shadow: 0 15px 40px rgba(32, 147, 255, 0.5);
}

.promo-card--tertiary {
  background: url("../img/block-img-3.webp") center/cover no-repeat;
  flex: 0 0 28%;
  box-shadow: 0 10px 30px rgba(52, 170, 78, 0.3);
}

.promo-card--tertiary:hover {
  box-shadow: 0 15px 40px rgba(52, 170, 78, 0.5);
}

.promo-card__title {
  font-size: 1.8em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  max-width: 80%;
}

.promo-card__description {
  max-width: 80%;
  font-size: 1.1em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.promo-card__link {
  display: flex;
  justify-content: center;
  padding: 14px;
  width: 220px;
  margin-right: auto;
  margin-top: 2rem;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
}

.promo-card--featured .promo-card__link {
  background: linear-gradient(285.39deg, #ffb800 -4.36%, #fff173 115.87%);
  box-shadow: 0 5px 20px rgba(164, 156, 81, 0.5);
}

.promo-card--featured .promo-card__link:hover {
  box-shadow: 0 8px 25px rgba(255, 241, 115, 0.7);
  transform: scale(1.05);
}

.promo-card--secondary .promo-card__link,
.promo-card--tertiary .promo-card__link {
  background-color: #fff;
}

.promo-card--secondary .promo-card__link:hover,
.promo-card--tertiary .promo-card__link:hover {
  background-color: #d8e5fd;
  transform: scale(1.05);
}

/* Feature List */
.feature-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  flex: 0 0 calc(25% - 1.5rem);
  background: linear-gradient(135deg, #1a2870 0%, #131f60 100%);
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  background: linear-gradient(135deg, #2d3c5e 0%, #1b2642 100%);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(32, 147, 255, 0.3);
  border-color: rgba(32, 147, 255, 0.5);
}

.feature-item:hover .feature-item__icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.feature-item__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.feature-item__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.feature-item__icon {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-end;
  transition: transform 0.3s ease-in-out;
}

.feature-item__icon img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
}

/* Providers Section */
.providers-section {
  padding: 50px 0;
  background: linear-gradient(135deg, rgba(44, 51, 87, 0.8) 0%, rgba(19, 31, 96, 0.8) 100%);
  margin-top: 30px;
  border-radius: 20px;
}

.providers-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.provider-logo {
  transition: all 0.3s ease-in-out;
  filter: grayscale(0.5) brightness(0.8);
}

.provider-logo:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}

.provider-logo img {
  height: auto;
  max-height: 60px;
}

/* CTA Section */
.cta-section {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  padding: 16px 30px;
  background: linear-gradient(135deg, #34aa4e 0%, #48c763 100%);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 20px rgba(52, 170, 78, 0.4);
}

.cta-button::before {
  content: '';
  background-color: rgba(255, 255, 255, 0.3);
  height: 100%;
  width: 3em;
  display: block;
  position: absolute;
  top: 0;
  left: -4.5em;
  animation: sheen 2.5s infinite;
}

@keyframes sheen {
  0% {
    transform: skewY(-45deg) translateX(0);
  }
  50%, 100% {
    transform: skewX(-45deg) translateX(22em);
    transition: 0.5s ease-in-out;
  }
}

.cta-button:hover {
  background: linear-gradient(135deg, #48c763 0%, #5ed97a 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 170, 78, 0.6);
}

/* Text Content */
.text-content {
  padding: 20px 0;
  margin: 20px 0;
  border-radius: 12px;
}

.text-content img {
  display: flex;
  margin: 0 auto;
  max-width: 500px;
  border-radius: 12px;
}

.text-content p {
  margin: 15px 0;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: linear-gradient(135deg, #131f60 0%, #0f1a4d 100%);
  border-top: 2px solid rgba(32, 147, 255, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.footer-badges img {
  height: 50px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  cursor: pointer;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  display: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(103, 137, 246, 0.5);
  transition: all 0.3s ease-in-out;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(103, 137, 246, 0.7);
}

.scroll-to-top svg {
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .feature-item {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media (max-width: 768px) {
  h1 {
    margin: 20px 0;
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
    margin: 15px 0;
  }

  h3 {
    font-size: 18px;
    margin: 10px 0;
  }

  .wrapper {
    max-width: 100%;
  }

  .site-header .wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .brand-logo {
    flex: auto;
  }

  .content-area {
    padding: 30px 0;
  }

  .hero-banner {
    background: linear-gradient(135deg, #131f60 0%, #1a2870 100%);
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: auto;
    padding: 30px 20px;
  }

  .hero-banner::before {
    content: '';
    background: url("../img/bg.webp") center center/cover no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    position: absolute;
    z-index: -1;
  }

  .hero-banner__title {
    font-size: 22px;
    max-width: 100%;
    text-align: center;
  }

  .promo-grid {
    flex-direction: column;
    padding: 2rem 0 1rem;
  }

  .promo-card {
    padding: 25px 20px;
    justify-content: center;
  }

  .promo-card__title {
    font-size: 1.4em;
  }

  .promo-card__description {
    font-size: 0.95em;
  }

  .promo-card__link {
    margin-top: 1rem;
    padding: 12px;
    width: 180px;
  }

  .feature-list {
    flex-direction: column;
  }

  .feature-item {
    flex: auto;
    min-height: 100px;
  }

  .text-content img {
    max-width: 100%;
  }

  table {
    display: inline-table;
  }
}
