/* =============== GLOBAL RESETS =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  color: #e6e6e6;
  background-color: #0c1a2c; /* LiquidGlass’ın görselini kaldırıyoruz */
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  z-index: 1;

  /* İstersek LiquidGlass’tan gelen animasyonu bırakabiliriz 
     ama görsel olmadığı için gerek olmayabilir */
  /* animation: moveBackground 60s linear infinite; */
}

/* =============== BACKGROUND VIDEO =============== */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;

  /* ✅ Mobil cihazlarda kesilmeyi engelle */
  min-width: 100vw;
  min-height: 100vh;
}

/* =============== OVERLAY CONTENT =============== */
.overlay {
  position: relative;
  z-index: 10;
  padding: 20px; /* sadece kenar boşlukları */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =============== HEADINGS =============== */
h1,
h2,
h3 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(244, 114, 182, 0.4);
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 28px;
  color: #f472b6;
}

h3 {
  font-size: 22px;
  color: #d3d3d3;
}

/* =============== MENU =============== */

.menu-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px; /* hap görünümü */
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.25),
    0 6px 15px rgba(0, 0, 0, 0.35);
  color: #f472b6; /* hover rengini LiquidGlass temasıyla uyumlu yapalım */
}

.menu-container {
  display: flex;
  justify-content: center; /* yatay ortalama */
  align-items: center; /* dikey ortalama (satır yüksekliği kadar) */
  gap: 20px; /* butonlar arası boşluk */
  margin: 20px auto; /* ortalama için dış boşluk */
}

/* Liquid Glass Navbar */
.navbar {
  position: sticky;
  top: 0px;
  margin: 0 auto -20px; /* ortalamak için auto bırak */
  width: 100%; /* tam genişlik */
  display: flex;
  justify-content: center; /* içeriği yatay ortala */
  z-index: 200;
}

.navbar .liquidGlass-text {
  display: flex;
  justify-content: center; /* içerideki linkleri de ortala */
  align-items: center;
  gap: 40px;
  padding: 20px 50px;
  border-radius: 9999px;
}

.navbar .liquidGlass-text a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px; /* link iç dolgusu */
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.navbar .liquidGlass-text a:hover {
  color: #f472b6;
  background: rgba(255, 255, 255, 0.15);
}

/* =============== PRICE TABLE =============== */

.price-table {
  width: 100%;
  border-collapse: separate; /* yuvarlak kenarlar için */
  border-spacing: 12px; /* hücreler arasında boşluk */
}

.price-table th,
.price-table td {
  padding: 12px 18px;
  border: none;
  border-radius: 9999px; /* hap (pill) görünümü */
  text-align: center;
  white-space: nowrap; /* yazılar tek satırda kalsın */
}

/* Başlık hücreleri */
.price-table th {
  background: rgba(255, 255, 255, 0.12);
  color: #ec4899;
  font-weight: bold;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Veri hücreleri */
.price-table td {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* Hover efekti */
.price-table td:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* =============== FOOTER =============== */
footer {
  display: flex;
  justify-content: center; /* yatay ortala */
  align-items: center; /* dikey içerik ortala */
  margin: 60px auto; /* üst-alt kenarlardan eşit boşluk */
  padding: 14px 40px; /* pill boyutu */
  border-radius: 9999px; /* hap görünüm */

  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  text-align: center;

  background: rgba(255, 255, 255, 0.08); /* Liquid Glass efekti */
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.35);

  border: none;
  transition: all 0.3s ease;
  width: fit-content; /* sadece içerik kadar genişlik */
}

footer:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

footer a {
  color: #f472b6;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ec4899;
}

footer.pill-glass {
  display: flex;
  justify-content: center; /* yatay ortalama */
  align-items: center; /* dikey ortalama */
  gap: 6px; /* “Made by” ve link arası küçük boşluk */
  margin: 40px auto; /* ortada dursun */
  width: fit-content; /* içeriği kadar genişlik */
}

/* =============== ANIMATIONS =============== */

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Wrapper da aynı animasyon hızını kullansın */
.wrapper.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== CURSOR EFFECTS ===============
.cursor-glow {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #ffb6da40 0%, transparent 80%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  transition: transform 0.05s ease;
}


.click-effect-container {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.click-effect {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #ff79c6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: click-pulse 0.6s ease-out;
}

.cursor-trail-container {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 9998;
}

.trail-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff79c6;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  box-shadow: 0 0 6px #ff79c6, 0 0 12px #ffb8dc;
  animation: fadeTrail 0.3s ease-out forwards;
} */

/* İçerik kutuları */
.tier-info,
.info-card {
  max-width: 500px; /* kutu genişliği sınırlı */
  width: 100%;
  margin: 20px auto;
  padding: 25px;
  border-radius: 16px;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.35);
}

/* === Grid düzeni === */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 sütun */
  gap: 20px;
  margin-top: 20px;
}

.tier-grid .tier-info {
  margin: 0; /* grid içindeki otomatik margin yerine gap kullanılacak */
}

/* Son kart (Tier 5) tam genişlik */
.tier-grid .tier-info:last-child {
  grid-column: span 2;
}

.tier-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #f472b6;
  margin-bottom: 10px;
}

.tier-info p {
  font-size: 15px;
  margin: 5px 0;
  line-height: 1.4;
  color: #d4d4d4;
}

.tier-info strong {
  color: #fff;
}

/* =============== CALCULATOR ENHANCEMENTS =============== */

.centered-box {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  color: #f472b6;
  font-weight: 600;
}
/* Form label stilleri (h3/h4 yerine aynı temaya uyumlu) */
label {
  font-size: 16px;
  font-weight: 600;
  color: #f472b6; /* LiquidGlass temasıyla uyumlu */
  display: block;
  margin-bottom: 6px;
  text-align: center;
}

input[type="text"],
input[type="number"],
select {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  background-color: #2a2a2a;
  color: #fff;
  font-size: 16px;
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  background-color: #1f1f1f;
  border: 1px solid #f472b6;
}

button {
  padding: 12px 20px;
  background: #f472b6;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #e63f96;
}

.info-card {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: rgba(35, 35, 35, 0.8);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.project-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.project-info .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.tier-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.tier-card {
  width: 90%;
  max-width: 600px;
  padding: 20px;
  background: rgba(50, 50, 50, 0.75);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  color: #f0f0f0;
  text-align: left;
  transition: transform 0.2s ease;
}

.tier-card:hover {
  transform: scale(1.015);
}

.tier-card h3 {
  margin-bottom: 10px;
  color: #f472b6;
}

.tier-card p {
  margin: 6px 0;
  color: #ccc;
}

@keyframes fadeTrail {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}

@keyframes click-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    display: none !important;
  }
  .trail-dot {
    display: none !important;
  }
}
.info-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.info-card h3:hover {
  color: #ffffff;
}

.toggle-info-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding: 0 12px;

  /* ✅ Liquid glass efekti */
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-radius: 20px;
  color: #e6e6e6;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.35);

  transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease,
    padding 0.5s ease;
}

.toggle-info-content.show {
  max-height: 500px; /* içerik boyuna göre yeterli bir değer seç */
  opacity: 1;
  margin-top: 10px;
  padding: 15px 18px; /* cam efektiyle uyumlu dolgu */
}

.toggle-info-content ol {
  padding-left: 20px;
}

.toggle-info-content li {
  margin-bottom: 8px;
}

/* LIQUID GLASS STYLES */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  font-weight: 600;
  overflow: hidden;

  color: black;
  cursor: pointer;

  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);

  /* ✅ Kenarları yuvarla */
  border-radius: 20px; /* köşe yuvarlaklığı */
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;

  /* Geliştirilmiş backdrop-filter */
  backdrop-filter: blur(1.5px) brightness(1.1) saturate(1.3) contrast(1.05);

  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;

  /* Interactive effect için */
  transition: all 0.3s ease;
}

/* Tıklama efekti ekleyin */
.liquidGlass-wrapper:active .liquidGlass-effect {
  transform: scale(0.98);
  filter: url(#glass-distortion) brightness(0.95);
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
  z-index: 3;
  font-size: 2rem;
  color: black;

  /* ✅ Kenarları yuvarlat */
  border-radius: 20px; /* istediğin değeri verebilirsin */
  overflow: hidden; /* içerikler taşarsa düzgün gözüksün */
  padding: 20px; /* yazılar kenara yapışmasın */
}

a {
  text-decoration: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* butonlar ve tablo arası boşluk */
  margin-top: 20px; /* başlık ile wrapper arası kontrollü boşluk */
  min-height: auto; /* tam ekran kaplamasın */

  .menu,
  .menu > div {
    padding: 0.4rem;
    border-radius: 1.8rem;
  }

  .menu:hover {
    padding: 0.6rem;
    border-radius: 1.8rem;
  }

  .menu > div > div {
    font-size: 20px;
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 0.8rem;
    transition: all 0.1s ease-in;
  }

  /*
.menu > div > div:hover {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset -2px -2px 2px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
}*/

  .dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2rem;
    padding: 0.6rem;
  }

  .dock,
  .dock > div {
    border-radius: 2rem;
  }

  .dock:hover {
    padding: 0.8rem;
    border-radius: 2.5rem;
  }

  .dock:hover > div {
    border-radius: 2.5rem;
  }

  .dock img {
    width: 75px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  }

  .dock img:hover {
    transform: scale(0.95);
    transform-origin: center center;
  }

  .button {
    padding: 1.5rem 2.5rem;
    border-radius: 3rem;
  }

  .button,
  .button > div {
    border-radius: 3rem;
  }

  .button:hover {
    padding: 1.8rem 2.8rem;
  }

  .button:hover > div {
    border-radius: 4rem;
  }

  .button svg {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  }

  .button:hover svg {
    transform: scale(0.95);
  }

  @keyframes moveBackground {
    from {
      background-position: 0% 0%;
    }
    to {
      background-position: 0% -1500%;
    }
  }

  /* Küçük ekranlar (tablet & mobil) */
  @media (max-width: 768px) {
    /* Başlık boyutlarını küçült */
    h1 {
      font-size: 39.5px;
    }
    h2 {
      font-size: 22px;
    }

    /* Menü butonları dikey hizalansın */
    .menu-container {
      flex-direction: column;
      gap: 12px;
    }
    .menu-button {
      width: 100%; /* tam genişlik */
      max-width: 280px; /* çok büyümesin */
      font-size: 14px;
      padding: 10px 16px;
    }

    .navbar {
      width: 100%; /* ortada kalmak yerine tam genişlik */
      margin: 0; /* otomatik margin kaldır */
      top: 0;
    }

    .navbar .liquidGlass-text {
      gap: 20px; /* linkler arası boşluk azalt */
      padding: 14px 20px; /* daha dar padding */
      border-radius: 0; /* hap yerine düz bar */
      flex-wrap: wrap; /* linkler alta kayabilsin */
    }

    .navbar .liquidGlass-text a {
      font-size: 18px;
      padding: 8px 14px;
    }

    /* ✅ Hover büyüme efekti: tablo kapsayıcısı */
    .price-table-container {
      transition: transform 0.3s ease;
    }

    .price-table-container:hover {
      transform: scale(1.02); /* hafif büyüsün */
    }

    /* ✅ Hücrelerde kendi hover efektleri kalsın */
    .price-table td,
    .price-table th {
      transition: all 0.3s ease;
    }

    .price-table td:hover,
    .price-table th:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: scale(1.05); /* hücre de ayrıca büyüsün */
    }
  }

  /* Çok küçük ekranlar (telefon < 480px) */
  @media (max-width: 480px) {
    h1 {
      font-size: 30.5px;
    }
    .menu-button {
      font-size: 13px;
      padding: 8px 14px;
    }
    .price-table {
      min-width: 320px;
      font-size: 13px;
    }
    .navbar {
      margin-bottom: 0; /* aşağıdaki boşluğu sıfırla */
      padding: 0; /* varsa iç boşluğu da sıfırla */
    }

    .navbar .liquidGlass-text {
      gap: 6px; /* biraz daralt */
      padding: 4px 0; /* çok az üst-alt boşluk bırak */
    }

    .navbar .liquidGlass-text a {
      font-size: 18px;
      padding: 6px 12px;
      width: auto; /* tam genişlik */
      text-align: center; /* ortala */
    }
  }

  .hero-title {
    position: fixed; /* ekran ortasında başlasın */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2); /* büyük başlasın */
    font-size: 64px;
    opacity: 1;
    transition: all 1.2s ease;
    z-index: 1000;
  }

  .hero-title.shrink {
    position: relative; /* normal akışına dönsün */
    top: 0;
    left: 0;
    transform: translate(0, 0) scale(1); /* normal boyut */
    font-size: 42px;
    margin-bottom: 16px;
    text-align: center;
    z-index: 10;
  }

  .wrapper.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .wrapper.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Liquid Glass pill stili*/
.pill-glass {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.35);
  border: none;
  outline: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover efekti */
.pill-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  color: #f472b6;
}

/* Select dropdown için özel */
select.pill-glass {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
  padding-right: 30px; /* ok işareti için boşluk */
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* Label başlangıç hali (OFF gri) */
#filterLabel {
  margin-left: 8px;
  font-weight: bold;
  color: #777; /* gri */
  transition: color 0.3s ease;
}
