/* ==========================================================================
   Linko — main.css
   Header / hero + every content section (categories, about, features,
   CTA banner, ranks, FAQ, download banner + app modal).
   All media queries for these live in css/responsive.css.
   ========================================================================== */

/* ============================ HEADER / HERO ============================ */
#header {
    height: 95vh;
    /* overflow: hidden; */
}

header {
    color: var(--white-color);
    position: relative;
    height: 250px;
}
header::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 103%;
    border-radius: 0 0 50% 50%;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(to left, var(--main-color), var(--second-color));
    /* width: 115%; */
    /* aspect-ratio: 1 / 1; */
}
header > * {
    position: relative;
    z-index: 9;
}

#header .hero {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center ;
    height: 100%;
}
#header .hero .caption {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(45%);
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    padding-bottom: 80px;
}
#header .hero .caption h1 {
    font-size: clamp(30px, 5vw, 72px);
}
#header .hero .caption p {
    font-size: clamp(16px, 3vw, 24px);
}
#header .hero .hero-img {
    width: 65%;
    height: 410px;
    position: absolute;
    top: 60%;
}


.returnPolicy  {
    padding-block: 50px;
}
.returnPolicy .items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.returnPolicy .items .item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.returnPolicy .items .item h3 {
    font-size: clamp(22px, 3vw, 30px);
}
.returnPolicy .items .item p,
.returnPolicy .items .item li {
    font-size: clamp(16px, 3vw, 24px);
    font-family: "font_regular";
}


.returnPolicy .items .item.steps ul {
    list-style: none;
    counter-reset: steps;
    padding: 0;
}
.returnPolicy .items .item.steps li {
    counter-increment: steps;
    position: relative;
    padding-right: 35px;
}
.returnPolicy .items .item.steps li::before {
    content: counter(steps) "-";
    position: absolute;
    right: 0;
    top: 0;
    font-family: "font_regular";
}

.returnPolicy .items .item.conditions ul {
    list-style: disc;
    padding-right: 25px;
}
.returnPolicy .items .item.conditions ul li {
    margin-bottom: 12px;
    padding-right: 5px;
}
.returnPolicy .items .item.conditions ul li::before {
    content: none;
}

/* CTA button shares the hero's .main-btn look, only the alignment differs */
.cta-banner__content .main-btn {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

/* ============================= CATEGORIES ============================= */
.categories {
  padding: 160px 0 60px 0;
}

.categories__wrapper {
  position: relative;
  padding: 0 56px;
}

.category-card {
  display: block;
  text-align: center;
  color: var(--main-color);
}

.category-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 22px;
  background-color: #E9EEED;
  border-radius: 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.category-card__thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.category-card:hover .category-card__thumb {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(66, 96, 95, 0.15);
}
.category-card:hover .category-card__thumb img {
  transform: scale(1.05);
}
.category-card__title {
  display: block;
  margin-top: 14px;
  font-family: "font_bold";
  font-size: 15px;
  color: var(--main-color);
}

.categories__nav {
  position: absolute;
  top: calc((100% - 34px) / 2);
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--main-color);
  border: 1px solid var(--color-primary-lighter, #aab3a0);
  box-shadow: 0 6px 16px rgba(66, 96, 95, 0.12);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.categories__nav:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

.categories__nav--prev {
  right: 50px;
}

.categories__nav--next {
  left: 50px;
}

.categories__nav i {
  font-size: 15px;
}

.categories__carousel.owl-carousel .owl-stage {
  display: flex;
}

.categories__carousel .owl-item {
  display: flex;
}

.categories__carousel .item {
  width: 100%;
}

/* ================================ ABOUT ================================ */
.about {
  padding: 90px 0;
}

/* the about columns use a Bootstrap .row — neutralise its negative gutter
   margins so they never push past .main-container on small screens */
.about .row {
  margin-inline: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about__grid > * {
  min-width: 0;
}

.about__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

/* reusable modifier — centered section heading (features, ranks, faq …) */
.about__head--center {
  justify-content: center;
  text-align: center;
}

/* staggered-lines mark, built from four bars */
.about__head-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(3px, 0.5vw, 5px);
  width: clamp(24px, 2.5vw, 32px);
  flex-shrink: 0;
}

.about__head-icon span {
  height: clamp(3px, 0.4vw, 4px);
  border-radius: 2px;
  background-color: var(--second-color);
}

.about__head-icon span:nth-child(1) { width: 100%; }
.about__head-icon span:nth-child(2) { width: 60%; }
.about__head-icon span:nth-child(3) { width: 85%; }
.about__head-icon span:nth-child(4) { width: 40%; }

.about__title {
  font-family: "font_bold";
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--main-color);
}

.about__text {
  font-family: "font_regular";
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
  color: #6b7169;
  max-width: 470px;
  margin-bottom: 30px;
}

.about__subtitle {
  font-family: "font_bold";
  font-size: clamp(18px, 2vw, 24px);
  color: var(--main-color);
  margin-bottom: 18px;
}

.about__list {
  display: grid;
  gap: 16px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "font_bold";
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--main-color);
}

.about__list .icon {
  flex-shrink: 0;
  width: clamp(40px, 5vw, 50px);
  height: clamp(40px, 5vw, 50px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.about__list .icon img {
  width: clamp(20px, 2.5vw, 30px);
  height: clamp(20px, 2.5vw, 30px);
}

.about__figure {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

/* offset teal gradient frame */
.about__figure::before {
  content: "";
  position: absolute;
  inset: -16px -16px 22px 22px;
  border: 8px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #8B967E 0%, #42605F 100%) border-box;
  z-index: 0;
  transition: inset 0.3s ease-in-out;
}
.about__figure:hover::before {
  inset: 16px 16px -22px -22px;
}
.about__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 26px;
  display: block;
}

.about__stat {
  position: absolute;
  z-index: 2;
  text-align: center;
  background-color: var(--white-color);
  border-radius: 16px;
  padding: 14px 24px;
  box-shadow: 0 18px 40px rgba(66, 96, 95, 0.16);
}

.about__stat-num {
  display: block;
  direction: ltr;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--main-color);
}

.about__stat-label {
  font-family: "font_regular";
  font-size: 12px;
  color: #90988e;
}

.about__stat--clients {
  top: -26px;
  right: 0;
  transform: translateX(50%);
}

.about__stat--orders {
  top: 42%;
  left: -34px;
}

.about__stat--stores {
  bottom: -26px;
  right: 46%;
  transform: translateX(50%);
}

/* =============================== FEATURES =============================== */
.features {
  padding: 90px 0;
}

.features .about__head {
  margin-bottom: 55px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.features__card {
  position: relative;
  margin-top: 24px;
  padding: 42px 22px 26px;
  background: var(--white-color);
  border: 1px solid rgba(139, 150, 126, 0.4);
  border-radius: 0 20px 20px;
  box-shadow: 0 14px 34px rgba(66, 96, 95, 0.06);
}

/* frame that reads as a radius belonging to the icon */
.features__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0px;
  width: 73px;
  height: 30px;
  background: var(--white-color);
  border-right: 1px solid rgba(139, 150, 126, 0.4);
  border-bottom: 1px solid rgba(139, 150, 126, 0.4);
  border-bottom-right-radius: 14px;
}

.features__card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 30px;
  background: var(--white-color);
}

.features__icon {
  position: absolute;
  top: -22px;
  left: 8px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient-primary);
  box-shadow: 0 14px 34px rgba(66, 96, 95, 0.06);
}

.features__icon img {
  width: 24px;
  height: 24px;
}

.features__card-title {
  font-family: "font_bold";
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--main-color);
  margin-bottom: 10px;
}

.features__card-text {
  font-family: "font_regular";
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.9;
  color: #8a8f88;
}

/* ============================== CTA BANNER ============================== */
.cta-banner {
  padding: 40px 0 90px;
}

.cta-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
  padding-inline: clamp(24px, 4vw, 56px);
  min-height: 300px;
  border-radius: 28px;
  background: linear-gradient(120deg, #8b967e 0%, #42605f 100%);
}

.cta-banner__media {
  align-self: end;
}

.cta-banner__media img {
  display: block;
  width: 100%;
  margin: -55px auto 0;
}

.cta-banner__content {
  padding: 20px 0;
}

.cta-banner__title {
  font-family: "font_bold";
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.5;
  color: var(--white-color);
  max-width: 420px;
  margin-bottom: 16px;
}

.cta-banner__text {
  font-family: "font_regular";
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  max-width: 470px;
  margin-bottom: 28px;
}

/* =============================== RANKS =============================== */
.ranks {
  padding: 90px 0;
}

.ranks .about__head {
  margin-bottom: 50px;
}

.ranks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ranks__card {
  position: relative;
  margin-top: 18px;
  padding: 40px 26px 30px;
  background: var(--white-color);
  border: 1px solid rgba(139, 150, 126, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(66, 96, 95, 0.07);
}

.ranks__badge {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
  padding: 8px 24px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: "font_bold";
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--black-color);
  box-shadow: 0 8px 18px rgba(66, 96, 95, 0.18);
}

.ranks__card--platinum {
  border-color: rgba(110, 147, 168, 0.45);
}
.ranks__card--platinum .ranks__badge {
  background: linear-gradient(266.16deg, #BCDDFA 2.71%, #4C86BA 108.64%);
}

.ranks__card--gold {
  border-color: rgba(217, 164, 65, 0.45);
}
.ranks__card--gold .ranks__badge {
  background: linear-gradient(266.05deg, #FDE1AF 2.78%, #C68C24 98.38%);
}

.ranks__card--green {
  border-color: rgba(127, 160, 92, 0.45);
}
.ranks__card--green .ranks__badge {
  background: linear-gradient(266.16deg, #BBEBCF 2.71%, #43855F 108.64%);
}

.ranks__list {
  display: grid;
  gap: 14px;
}

.ranks__list-item {
  position: relative;
  padding-right: 18px;
  font-family: "font_regular";
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
  color: #102335;
}

.ranks__list-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--main-color);
}

/* ================================= FAQ ================================= */
.faq {
  padding: 90px 0;
}

.faq__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 28px;
  background: linear-gradient(135deg, #f5f7f3 0%, #e9eee9 100%);
}

/* decorative blurred gradient blobs behind the content */
.faq__panel::before,
.faq__panel::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  z-index: 0;
  background: radial-gradient(circle, rgba(139, 150, 126, 0.35) 0%, rgba(66, 96, 95, 0.15) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.faq__panel::before {
  top: -120px;
  inset-inline-end: -210px;
}

.faq__panel::after {
  bottom: -120px;
  inset-inline-start: -210px;
}

.faq__panel > * {
  position: relative;
  z-index: 1;
}

.faq .about__head {
  margin-bottom: 34px;
}

.faq__list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.faq__item {
  border-radius: 14px;
  background: linear-gradient(120deg, #8b967e 0%, #42605f 100%);
  padding: 0 clamp(16px, 2vw, 24px);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: right;
  font-family: "font_bold";
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--white-color);
}

.faq__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white-color);
  font-size: 12px;
}

.faq__icon i {
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__icon i {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 320px;
}

.faq__answer > p {
  padding-bottom: 20px;
  font-family: "font_regular";
  font-size: clamp(13px, 1.4vw, 14px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

/* ============================ DOWNLOAD BANNER ============================ */
.download {
  padding: 40px 0 100px;
}

.download__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding-inline: clamp(24px, 4vw, 56px);
  min-height: 290px;
  border-radius: 28px;
  background: linear-gradient(120deg, #8b967e 0%, #42605f 100%);
}

.download__content {
  padding: 46px 0;
}

.download__title {
  font-family: "font_bold";
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white-color);
  margin-bottom: 14px;
}

.download__text {
  font-family: "font_regular";
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin-bottom: 26px;
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.download__store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: none;
  border-radius: 12px;
  color: #0e1a16;
  background: var(--white-color);
  cursor: pointer;
  direction: ltr;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download__store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.download__store i {
  font-size: 26px;
}

.download__store .download__store-label {
  display: grid;
  line-height: 1.2;
  text-align: left;
}

.download__store-label small {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.download__store-label b {
  font-family: "font_bold";
  font-size: 15px;
}

.download__media {
  align-self: end;
}

.download__media img {
  display: block;
  width: 100%;
  max-width: 225px;
  margin: -48px auto 0;
  -webkit-mask-image: radial-gradient(ellipse 82% 90% at 50% 46%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 90% at 50% 46%, #000 68%, transparent 100%);
}

/* ============================== APP MODAL ============================== */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.app-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.no-scroll {
  overflow: hidden;
}

.app-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 31, 0.55);
  backdrop-filter: blur(3px);
}

.app-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 40px 30px 32px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(150deg, #8b967e 0%, #42605f 100%);
  color: var(--white-color);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.3s ease;
}

.app-modal.is-open .app-modal__dialog {
  transform: translateY(0) scale(1);
}

.app-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white-color);
  font-size: 15px;
  cursor: pointer;
}

.app-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 26px;
}

.app-modal__icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.app-modal__title {
  font-family: "font_bold";
  font-size: 22px;
  margin-bottom: 10px;
}

.app-modal__text {
  font-family: "font_regular";
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.app-modal__btn {
  padding: 10px 34px;
  border: none;
  border-radius: 999px;
  background: var(--white-color);
  color: var(--main-color);
  font-family: "font_bold";
  font-size: 14px;
  cursor: pointer;
}
