@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --foreground-color: #1e272e;
  --foreground-accent: #151c21;
  --muted-foreground: #676767;
  --neutral-50: #e9e9ea;
  --muted-300: #f8f8f8;
  --muted-500: #f5f5f5;
  --muted-600: #dfdfdf;
  --line-height-title: 1.25;
  --line-height-text: 1.5;
  --wrapper-border-radius: 2rem;
}
html {
  font-size: 16px !important;
}
body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  background-color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}
.h1 {
  font-size: 3.815rem !important;
}
.h2 {
  font-size: 3.052rem !important;
}
.h3 {
  font-size: 2.441rem !important;
}
.h4 {
  font-size: 1.953rem !important;
}
.h5 {
  font-size: 1.563rem !important;
}
.lead {
  font-size: 1.25rem !important;
}
.font-bold {
  font-weight: 800;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--line-height-title) !important;
  color: var(--foreground-color) !important;
  margin: 0 !important;
  letter-spacing: -0.25px !important;
}
p {
  line-height: var(--line-height-text) !important;
  color: var(--muted-foreground) !important;
  margin: 0 !important;
}
section {
  padding: 4rem 0;
}
.foreground-color {
  color: var(--foreground-color) !important;
}
.hero-section {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background-color: #ecfdf5;
  border-radius: var(--wrapper-border-radius);
  padding: 4rem;
}
.hero-section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 60%;
}
.hero-section-image {
  width: 40%;
}
.hero-section-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.primary-btn {
  height: 36px;
  padding: 0 1rem;
  border-radius: 50rem;
  border: 1px solid var(--foreground-color);
  background-color: var(--foreground-color);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.primary-btn:hover {
  background-color: var(--foreground-accent);
  border: 1px solid var(--foreground-accent);
  color: #fff;
}
.primary-btn:focus {
  background-color: var(--foreground-accent);
  border: 1px solid var(--foreground-accent);
  color: #fff;
  box-shadow: 0 0 0 4px #e9e9ea !important;
}
.secondary-btn {
  height: 36px;
  padding: 0 1rem;
  border-radius: 50rem;
  background-color: #fff;
  border: 1px solid var(--muted-600);
  color: var(--foreground-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.secondary-btn:hover {
  background-color: var(--muted-500);
  color: var(--foreground-color);
}
.secondary-btn:focus {
  box-shadow: 0 0 0 4px #f7f7f7 !important;
  color: var(--foreground-color);
}
.section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}
main > section:nth-child(3) .section-title {
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.how-it-works-steps {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.how-it-works-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: var(--wrapper-border-radius);
  border: 1px solid var(--neutral-50);
  padding: 1rem;
}
.how-it-works-card .header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}
.browser-mockup {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--neutral-50);
  border-radius: 1rem;
  overflow: hidden;
}
.browser-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid var(--neutral-50);
  background-color: var(--muted-300);
}
.browser-top-bar .options-buttons {
  display: flex;
  gap: 0.5rem;
}
.browser-top-bar .option-button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  &:first-child {
    background-color: #ed6a5f;
  }
  &:nth-child(2) {
    background-color: #f4bf4f;
  }
  &:last-child {
    background-color: #61c554;
  }
}
.browser-top-bar .url-input {
  flex: 1;
  position: relative;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--neutral-50);
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  max-width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.browser-top-bar .url-input svg {
  width: 0.875rem;
  height: 0.875rem;
}
.browser-top-bar .url-input svg:last-child {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.5rem;
}
.browser-top-bar .url-input span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.browser-content {
  min-height: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.browser-content img {
  width: 30%;
}
.approved-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.copy-link-area {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--neutral-50);
  border-radius: 50rem;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  background-color: var(--muted-500);
  position: relative;
}
.copy-link-area span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.copy-link-area div {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-50);
  border-radius: 50rem;
  width: 1.75rem;
  height: 1.75rem;
  background-color: #fff;
}
/* <div> içindeki svg */
.copy-link-area > div > svg {
  width: 1rem;
  height: 1rem;
}

/* .copy-link-area'nın doğrudan çocuğu olan svg */
.copy-link-area > svg {
  width: 1.75rem;
  height: 1.75rem;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(calc(100% + 0.5rem));
  z-index: 10;
}
.wallet {
  display: flex;
  flex-direction: column;
}
.wallet-front {
  background-color: var(--muted-500);
  border: 1px solid var(--neutral-50);
  border-radius: 0 1rem 1rem 1rem;
  padding: 1rem;
  position: relative;
}
.wallet-protrusion {
  background-color: var(--muted-500);
  border-left: 1px solid var(--neutral-50);
  border-top: 1px solid var(--neutral-50);
  border-right: 1px solid var(--neutral-50);
  border-radius: 0 1rem 0 0;
  width: 50%;
  height: 16px;
  position: absolute;
  top: -12px;
  left: -1px;
}
.wallet-front-inner p:first-child {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.wallet-front-inner p:last-child {
  color: #00bc7d !important;
}
.moneys {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: -30px;
}
.money {
  height: 60px;
  border-radius: 1rem;
}
.money:first-child {
  width: 60%;
  background-color: #5ee9b5;
  margin-bottom: -50px;
}
.money:nth-child(2) {
  width: 70%;
  background-color: #a4f4cf;
  margin-bottom: -50px;
}
.money:last-child {
  width: 80%;
  background-color: #d0fae5;
}
.carousel-buttons {
  display: none;
}
.tab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  border-radius: var(--wrapper-border-radius);
  border: 1px solid var(--neutral-50);
  padding: 2rem;
  width: 100%;
}
.tab-buttons {
  display: flex;
  align-items: center;
  border-radius: 50rem;
  border: 1px solid var(--neutral-50);
  padding: 0.25rem;
  width: fit-content;
}
.tab-button {
  width: fit-content;
  height: 36px;
  background-color: #fff;
  padding: 0 1rem;
  border-radius: 50rem;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  outline: none;
  transition: all 0.15s ease;
}
.tab-button:hover {
  background-color: var(--neutral-50);
}
.tab-button[data-active="true"] {
  background-color: var(--foreground-color);
  color: #fff;
}
.tab-button[data-active="true"]:hover {
  background-color: var(--foreground-accent);
  color: #fff;
}
.tab-button:focus {
  background-color: var(--foreground-color);
  color: #fff;
}
.tab-content {
  position: relative;
}
.tab-content-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}
.tab-content-item[data-active="false"] {
  position: absolute;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
}
.tab-content-item[data-active="true"] {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.tab-item {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  background-color: #d1fae5;
  padding: 0.5rem 1rem;
  border-radius: 50rem;
}
.tab-item p {
  font-size: 1rem;
  color: #047857 !important;
}
.tab-item svg {
  width: 1rem;
  height: 1rem;
  color: #047857 !important;
}
.advantages-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}
.advantage-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #ecfdf5;
  border-radius: var(--wrapper-border-radius);
  border: 1px solid #a4f4cf;
  padding: 2rem;
}
.advantage-card .card-image img {
  width: 35%;
  height: auto;
}
.advantage-card .content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contract-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  background-color: var(--muted-500);
  border-radius: var(--wrapper-border-radius);
  padding: 4rem;
}
.contract-section-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.faq-section {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}
.faq-section-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 33.33%;
}
.faq-section-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--neutral-50);
}
.faq-section-badge p {
  font-size: 0.75rem;
  font-weight: 500;
}
.faq-section-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 66.66%;
}
.accordion-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--neutral-50);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.accordion-item-header svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.accordion-item-header:hover {
  opacity: 0.8;
}
.accordion-item[data-accordion-item-active="true"] .accordion-item-header svg {
  transform: rotate(180deg);
}
.accordion-item-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}
.accordion-item-content > * {
  min-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}
.accordion-item[data-accordion-item-active="true"] .accordion-item-content {
  grid-template-rows: 1fr;
}
.accordion-item[data-accordion-item-active="true"] .accordion-item-content > * {
  padding-top: 0.5rem;
}
.contract-area {
  background-color: #fff;
  border: 1px solid var(--neutral-50);
  border-radius: var(--wrapper-border-radius);
  padding: 2rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-50) var(--muted-500);
  scroll-behavior: smooth;
}
.contract-area::-webkit-scrollbar {
  width: 4px;
}
.contract-area::-webkit-scrollbar-thumb {
  background-color: var(--neutral-50);
}
.contract-section-actions {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.contract-section-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: end;
}
.contract-section-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}
.contract-section-controls-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contract-section-controls-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--muted-600);
  border-radius: 0.25rem;
  background-color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

/* Focus durumu */
.contract-section-controls-item input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px #e9e9ea !important;
}

/* Checked durumu */
.contract-section-controls-item input[type="checkbox"]:checked {
  background-color: var(--foreground-color);
  border: 1px solid var(--foreground-color);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z'%3E%3C/path%3E%3C/svg%3E");
}

/* Label */
.contract-section-controls-item label {
  font-size: 0.9375rem;
  color: var(--foreground-900, #1a1a1a);
  cursor: pointer;
}
.titles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
input[type="checkbox"]:disabled {
  cursor: not-allowed;
  background-color: var(--neutral-50);
}
.contract-section-controls-item input[disabled] + label {
  opacity: 0.5;
  pointer-events: none;
}
.kvkk-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
}
.kvkk-modal-wrapper.active {
  display: block;
}
.kvkk-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  min-height: 50%;
  max-height: 80%;
  background-color: #fff;
  border-radius: var(--wrapper-border-radius);
  border: 1px solid var(--neutral-50);
  display: flex;
  flex-direction: column;
}
.kvkk-modal-header {
  color: var(--foreground-color);
  padding: 1rem 1rem 1rem 2rem;
  border-bottom: 1px solid var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kvkk-modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.15s ease;
}
.kvkk-modal-close:hover {
  background-color: var(--neutral-50);
}
.kvkk-modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}
.kvkk-modal-content {
  padding: 1rem;
  flex: 1;
}
.kvkk-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 500px;
}
@media (max-width: 1024px) {
  .h1 {
    font-size: 2.441rem !important;
  }
  .h2 {
    font-size: 1.953rem !important;
  }
  .h3 {
    font-size: 1.563rem !important;
  }
  .h4 {
    font-size: 1.25rem !important;
  }
  .h5 {
    font-size: 1.25rem !important;
  }
  .lead {
    font-size: 1rem !important;
  }
  section {
    padding: 2rem 0;
  }
  .hero-section {
    padding: 2rem;
  }
  .section {
    gap: 2rem;
  }
  .section-title {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }
  /* === Full-bleed sarmalayıcı (ölçüleri bozmadan viewport'a yayar) === */
  .carousel-bleed {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Ayarlanabilir değişkenler */
  .carousel {
    --btn-offset: 6px; /* butonların kenardan uzaklığı */
    /* JS bu ikisini hesaplayıp set edecek: */
    --edge-left: 16px;
    --edge-right: 16px;
  }

  .carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100vw; /* container'ı umursama */
    left: 50%;
    transform: translateX(-50%); /* sadece bu */
    margin: 0;
    overflow: visible;
  }

  /* Track */
  .carousel-track {
    display: flex;
    gap: 16px; /* itemler arası gap */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;

    /* İlk/son kartın container kenarlarına hizalanması için
     JS tarafından set edilen dinamik iç boşluklar */
    padding-left: var(--edge-left, 16px);
    padding-right: var(--edge-right, 16px);
    scroll-padding-left: var(--edge-left, 16px);
    scroll-padding-right: var(--edge-right, 16px);
  }
  .carousel-track:active {
    cursor: grabbing;
  }

  .carousel-track::-webkit-scrollbar {
    display: none;
  }
  .carousel-track {
    scrollbar-width: none;
  }

  /* Item genişliği */
  .carousel-track > .how-it-works-card {
    flex: 0 0 450px; /* default */
    scroll-snap-align: start;
  }
  .carousel-track > .advantage-card {
    flex: 0 0 450px; /* default */
    scroll-snap-align: start;
  }
  /* Buton satırı (container içinde kalır) */
  .carousel-buttons {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.5rem;
  }

  /* Navigasyon butonları */
  .carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid var(--neutral-50, #eee);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 5;
  }
  .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
  .carousel-btn > svg {
    width: 1.25rem;
  }
  .tab-container {
    margin-right: auto;
    padding: 1rem 1rem 1.5rem 1rem;
  }
  .advantage-card {
    height: 297.69px;
  }
  .contract-section {
    padding: 2rem;
  }
  .faq-section {
    flex-direction: column;
    gap: 2rem;
  }
  .faq-section-content {
    width: 100%;
  }
  .faq-section-items {
    width: 100%;
  }
  .contract-section-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .hero-section {
    flex-direction: column-reverse;
  }
  .hero-section-content {
    width: 100%;
  }
  .hero-section-image {
    width: 50%;
  }
}
/* Daha küçük ekranda kart genişliği 300px */
@media (max-width: 768px) {
  .carousel-track > .how-it-works-card {
    flex: 0 0 300px;
  }
  .carousel-track > .advantage-card {
    flex: 0 0 300px;
  }
  .tab-container {
    width: 100%;
  }
  .tab-buttons {
    width: 100%;
  }
  .tab-button {
    width: 100%;
  }
  .advantage-card {
    height: 275.19px;
  }
  .hero-section-image {
    width: 60%;
  }
}
@media (max-width: 480px) {
  .tab-content-item {
    flex-direction: column;
  }
  .tab-buttons {
    flex-direction: column;
    border-radius: 24px;
  }
  .hero-section-image {
    width: 80%;
  }
}
