/* ========== Reset / Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #fff;
  background: #131314;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== Buttons (2 variants) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font: 600 16px/1.2 Inter, system-ui, sans-serif;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn__icon {
  width: 16px;
  height: 16px;
}

.btn--lg {
  padding: 20px 25px;
  font-size: 18px;
}

.btn--primary {
  background: #19e1bb;
  color: #0f0f0f;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #19e1bb66;
}

.btn--secondary {
  background: rgba(54, 56, 64, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;

  font-weight: 500;
}
.btn--secondary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

/* ========== Header ========== */
.header {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.header__brand-logo {
  display: none;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header__cta {
  font-size: 14px;
  padding: 5px 10px;
}

/* ========== Hero ========== */
.hero {
  margin-top: 20px;
}

.hero__card {
  position: relative;
  background: url(./images/main_cart_bg.png) center / cover no-repeat;
  border-radius: 24px;
  width: 100%;
  padding: 50px;
  gap: 12px;
}

.hero__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__tags {
  margin-bottom: 8px;
}

.hero__links {
  display: flex;
  gap: 16px;
}

.hero__link-icon {
  width: 24px;
  height: 24px;
}

.hero__content {
  width: 50%;
}

.hero__title {
  font-size: 44px;
  line-height: 48px;
  color: #131314;
  font-weight: 600;
  width: 50%;
  margin-top: 50px;
  margin-bottom: 20px;
}

.hero__desc {
  color: #6b6b72;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.hero__cta {
  margin-top: 50px;
}

.hero__footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 50px;
  width: 50%;
}

.hero__footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px;
  border: 1px solid #131314;
  border-radius: 8px;
  padding: 10px;
  text-decoration: none;

  background: transparent;
  color: #131314;

  font-family: Inter, sans-serif;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero__footer-link:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__footer-icon {
  width: 28px;
  height: 28px;
}

.hero__footer-text {
  line-height: 1.2;
  font-size: 16px;
}

.hero__footer-text small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
}

.hero__phone {
  position: absolute;
  top: 130px;
  right: 50px;
  width: 430px;
  height: auto;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.phone_content {
  width: 100%;
  overflow: hidden;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.phone_content__line-1 {
  width: 625px;
  height: auto;
}

.features {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  width: 50%;
}

.features__item {
  background: #f5f7fa;
  border: 1px solid rgba(0, 200, 150, 0.4);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 320px;
}

.features__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.features__icon {
  width: 64px;
  height: 64px;
}

.features__title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.features__desc {
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a4a;
}

/* ========== FAQ ========== */
.faq {
  margin-top: 150px;
}
.faq__wrap {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  color: #111;
  display: flex;
  grid-template-columns: 220px 1fr;
  gap: 24px 36px;
  align-items: start;
}

.faq__info {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.faq__list {
  list-style: none;
  display: grid;
  gap: 12px;
  width: 100%;
}

.faq__item {
  background: #9696a50a;
  border: 1px solid #ececff;
  border-radius: 14px;
  overflow: hidden;
  padding: 14px;
}

.faq__question {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  color: #6b6b72;
}

.faq__question[aria-expanded="true"] {
  color: #000;
}

.faq__question-text {
  font-weight: 700;
}

.faq__icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.faq__panel {
  color: #6a6f76;
  font-size: 15px;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__panel[hidden] {
  display: block;
}

.faq__panel:not([hidden]) {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
}

.faq__support {
  position: absolute;
  bottom: 28px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #fff;
  color: #111;
  border: 1px solid #dcdfe3;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.faq__support:hover {
  background: #f4f6f8;
}
.faq__support-icon {
  width: 16px;
  height: 16px;
}

.pills {
  display: flex;
  gap: 12px;
}

.pills__item {
  background: #87ffe829;
  color: #00a989;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ========== Footer ========== */
.footer {
  margin-top: 100px;
  margin-bottom: 50px;
  background: #131314;
  padding: 20px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  display: block;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer__link {
  color: #9696a5;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, opacity 0.2s ease;
  font-size: 14px;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__socials {
  display: flex;
  gap: 18px;
}

.footer__social-icon {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer__social:hover .footer__social-icon {
  opacity: 1;
  transform: translateY(-1px);
}

.footer__logo-big {
  width: 100%;
}

/* Responsive */
@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer__socials {
    justify-content: center;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1440px) {
  .header {
    padding: 20px;
  }
  .hero {
    padding: 0 20px;
  }
  .footer {
    padding: 0 20px;
  }
}

@media (max-width: 1280px) {
  .hero__title {
    width: 100%;
  }

  .hero__phone {
    width: 350px;
    top: 250px;
    right: 20px;
  }

  .faq {
    margin-top: 100px;
  }
}

@media (max-width: 1024px) {
  .hero__content {
    width: 40%;
  }

  .features {
    flex-direction: column;
  }

  .features__item {
    max-width: 290px;
  }

  .hero__footer {
    width: 45%;
  }

  .faq {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .header__brand-full_logo {
    display: none;
  }

  .header__brand-logo {
    display: block;
  }

  .hero__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero__title {
    width: 80%;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    font-weight: 600;
    margin-top: 25px;
  }

  .hero__content {
    text-align: center;
    width: 90%;
  }

  .hero__card {
    padding: 20px;
  }

  .hero__phone {
    display: none;
  }

  .hero__head {
    justify-content: center;
  }

  .hero__links {
    display: none;
  }

  .hero__create {
    width: 70%;
  }

  .hero__footer {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
  }

  .hero__footer-link {
    padding: 5px;
    gap: 5px;
  }

  .hero__footer-text {
    font-size: 12px;
  }

  .hero__footer-icon {
    width: 15px;
    height: 15px;
  }

  .hero__footer-text small {
    font-size: 6px;
  }

  .features {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }

  .features__item {
    max-width: 100%;
  }

  .faq__wrap {
    flex-direction: column;
  }

  .faq__info {
    width: 100%;
    flex-direction: row;
  }

  .faq__support {
    position: static;
  }

  .footer__inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .footer__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer__socials {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .footer__nav {
    margin-top: 20px;
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .phone_content {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header,
  .hero,
  .footer {
    padding: 0 50px;
  }

  .hero__title {
    width: 100%;
    font-size: 18px;
    line-height: 24px;
  }

  .hero__create {
    width: 100%;
  }

  .features {
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .phone_content__line-2 {
    align-self: self-start;
    max-width: 250px;
  }
}
