.landing-page {
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.landing-page__title {
  font: var(--tui-typography-heading-h2);
  margin: 0 0 3.5rem;
  text-align: center;
  color: var(--sg-color-text);
}

/* ================= HERO SECTION ================= */
.hero--vertical {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 2rem;
}

.hero__content {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.hero__title {
  font: var(--tui-typography-heading-h1);
  color: var(--sg-color-text);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.hero__description {
  font: var(--tui-typography-body-l);
  color: var(--tui-text-tertiary);
  margin: 0 0 2.5rem;
}

.hero__btn {
  background: var(--sg-color-accent) !important;
  color: var(--sg-color-text) !important;
  border-color: var(--sg-color-accent) !important;
  font-weight: 400;
  padding: 0 2.5rem;
  align-self: flex-start;
}

.hero__visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ================= FEATURES SECTION ================= */
.features {
  display: flex;
  flex-direction: column;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--sg-color-form-bg, #e8edf1);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  border: none;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--sg-filter-chip-bg-hover, #eaeff3);
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--sg-color-placeholder);
  margin-bottom: 2rem;
  display: block;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}



.feature-card__title {
  font: var(--tui-typography-heading-h4);
  margin: 0 0 1rem;
  color: var(--sg-color-text);
  line-height: 1.2;
}

.feature-card__text {
  font: var(--tui-typography-body-m);
  font-weight: 400;
  color: var(--tui-text-tertiary);
  margin: 0;
}

/* ================= TABS SHOWCASE SECTION ================= */
.tabs-showcase {
  display: flex;
  flex-direction: column;
}

.tabs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tab-card {
  background: var(--tui-background-base);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--tui-border-normal);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.tab-card:hover {
  transform: translateY(-3px);
}

.tab-card__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sg-color-text);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.tab-card__title {
  font: var(--tui-typography-heading-h4);
  margin: 0 0 0.75rem;
  color: var(--sg-color-text);
}

.tab-card__text {
  font: var(--tui-typography-body-m);
  font-weight: 400;
  color: var(--tui-text-tertiary);
  margin: 0;
}

/* ================= STATS CARDS SECTION ================= */
.stats-cards {
  display: flex;
  flex-direction: column;
}

.stats-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-card-item {
  background: var(--sg-color-form-bg, #e8edf1);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats-card-item:hover {
  transform: translateY(-3px);
}

.stats-card-item__number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--sg-color-text);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.stats-card-item__label {
  font: var(--tui-typography-body-m);
  font-weight: 400;
  color: var(--tui-text-tertiary);
}

/* ================= HOW IT WORKS SECTION ================= */
.how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works__steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  width: 100%;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 2rem;
  transition: background-color 0.3s ease;
}

.step:hover {
  background: var(--sg-color-form-bg);
}

.step__number {
  font: var(--tui-typography-heading-h3);
  background: var(--sg-color-accent);
  color: var(--sg-color-text);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.step__content {
  padding-top: 0.5rem;
}

.step__title {
  font: var(--tui-typography-heading-h4);
  margin: 0 0 0.5rem;
  color: var(--sg-color-text);
}

.step__text {
  font: var(--tui-typography-body-m);
  color: var(--tui-text-tertiary);
  margin: 0;
}

/* ================= FAQ SECTION ================= */
.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.faq__list {
  width: 100%;
  max-width: 800px;
  background: var(--tui-background-base);
  border-radius: 1.5rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Remove all Taiga UI internal borders from accordion */
:host ::ng-deep .faq__list [tuiAccordion] {
  box-shadow: none !important;
  border: none !important;
}

:host ::ng-deep .faq__list tui-expand {
  box-shadow: none !important;
  border: none !important;
}

.faq__button {
  font: var(--tui-typography-body-l);
  font-weight: 500;
  color: var(--sg-color-text);
  border: none;
  padding: 1.5rem 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq__button + .faq__button {
  border-top: 1px solid var(--tui-border-normal);
}

.faq__content {
  font: var(--tui-typography-body-m);
  color: var(--tui-text-tertiary);
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  margin: 0;
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--tui-border-normal);
}

.footer__text {
  font: var(--tui-typography-body-s);
  color: var(--sg-color-placeholder);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero--vertical {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__content {
    align-items: center;
  }

  .hero__btn {
    align-self: center;
  }
  
  .hero__title {
    margin-top: 0;
  }

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

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