html {
  scrollbar-width: none;
  /* Firefox */
}

html::-webkit-scrollbar {
  /* Chrome, Safari, Edge */
  display: none;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f8fafc;
  /* çok açık gri/mavi */
  color: #1e293b;
  /* koyu gri-mavi */
  transition: background 0.4s, color 0.4s;
  overflow-y: scroll;
  overflow-x: hidden;
}

#changeGifBtn {
  position: fixed;
  z-index: 1000;
  left: 10px;
  font-size: 30px;
}

/* Dark Mode */
body.dark {
  background: #1e1e2e;
  color: #f5f5f5;
}

.logreg .btn {
  background: #1abc9c;
  color: #fff;
  margin-left: 10px;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.logreg .btn:hover {
  background: #16a085;
  transform: scale(1.05);
}

/* Dark mode toggle */
.dark-toggle {
  cursor: pointer;
  font-size: 1.3rem;
  margin-left: 10px;
}

/* Hero Bölümü */
.hero {
  min-height: 90vh;
  display: flex;
  /* flex kullan */
  align-items: center;
  /* dikey ortala */
  justify-content: center;
  /* yatay ortala */
  text-align: center;
  flex-direction: row;
  /* geniş ekranda yan yana */
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  flex-wrap: wrap;
  /* taşarsa alta geçsin */
  transition: background 0.4s, color 0.4s;
}

.hero-text {
  width: 100%;

  margin: 20px auto;

}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  margin: 15px 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.cta-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  background: #1abc9c;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #16a085;
  transform: scale(1.05);
}


.device-block {
  position: relative;
  display: flex;
  margin: 20px auto;
  max-width: none;
  transition: all 0.2s ease;
  border-radius: 15px;


  /* sınır kaldırıldı */
}

.device-block:hover {
  transform: scale(1.01);
}

.device-text {
  flex: 1;
  /* Solda genişlesin */
  font-size: 1.5rem;
  line-height: 1.5;
  color: #333;
  margin: auto;
  transition: all 0.2s ease;

}

.device-text:hover {
  transform: scale(1.01);
}

.device-img {
  flex: 1;
  /* Sağda genişlesin */
  display: flex;
  justify-content: center;
  /* Ortala */
}

.device-img img {
  max-width: 100%;
  height: auto;

}

.right {
  right: 20px;
  text-align: right;
}

.left {
  left: 20px;
  text-align: left;

}

@media (min-width: 1401px) {
  .device-text {

    width: 50%;
    padding: 20px;

  }.mobileLogin{
  display: none;
}
}

/* Mobil + Desktop: yazılar solda */
@media (min-width: 950px) and (max-width: 1351px) {
  .device-text {
    font-size: 1.1rem;
    width: 50%;
    padding: 20px;

  }

  .device-block {
    width: 100%;
    max-width: none;
    /* sınırı kaldır */

  }
.mobileLogin{
  display: none;
}

}

/* Mobil */
/* 900px ile 949px arası */
@media (min-width: 901px) and (max-width: 949px) {
  .device-block {
    width: 100%;
    max-width: none;
    /* sınırı kaldır */

  }



}

@media (max-width:900px) {
  .device-block {
    width: 100%;
    display: block;
    max-width: none;
    /* sınırı kaldır */
    transition: all 0.2s ease;
  }

  .device-block:hover {
    transform: scale(1.03);
  }

  .device-text {
    font-size: 1rem;
    width: 100%;
    padding: 20px;
  }
  .logreg .btn{
    display: none;

  }
 
}

body.dark .hero {
  background: #1e1e2e;
  color: #f5f5f5;
}

body.dark .hero .device-text {
  color: #f5f5f5;
}

/* Tablet ve küçük dizüstü ekranlar */
@media (min-width: 901px) and (max-width: 1023px) {
  .hero {
    flex-direction: column;
    /* Alt alta */
    text-align: center;
    align-items: center;
    /* Ortala */
    justify-content: center;
    /* Ortala */
    gap: 20px;
  }

  .hero-text {
    max-width: 90%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 95%;
    margin: 0;
    text-align: center;
  }

}


/* Ekran geniş */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    /* Alt alta */
    text-align: center;
    align-items: center;
    /* Ortala */
    justify-content: center;
    /* Ortala */
    margin-top: 50px;

  }

  .hero-text {
    max-width: 90%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 95%;
    margin: 0;
    text-align: center;
  }

}


/* Mobil ekranlar */
@media (max-width: 600px) {
  .hero {
    padding: 10px;
    margin-top: 50px;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 95%;
    margin: 0;
    text-align: center;
  }

}



/* Özellik kartları */
.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

body.dark .feature-card {
  background: #2c2c3e;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.testimonial {
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

.slider {
  overflow: hidden;
  margin: auto;
}

.slide-track {
  display: flex;
  width: calc(250px * 10);
  /* slide sayısı kadar */
  animation: scroll 20s linear infinite;
}

.slide {
  flex: 0 0 300px;
  margin: 0 10px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feedback {
  margin-top: 10px;
  font-size: 1.2rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* yarısı kadar kaydır */
}



body.dark .testimonial {
  background: #2c2c3e;
}



@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ====== Counters & stats ====== */
.stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  
}
body.dark .stat{
    background: #2c2c3e;
}
.stat {

  background: var(--card);
  padding: 18px;
  margin: 5px;
  border-radius: 12px;
  min-width: 180px;
  box-shadow: var(--shadow);
  text-align: center
}

.stat h3 {
  margin: 0;
  font-size: 20px
}

.stat p {
  margin: 8px 0 0;
  color: var(--muted)
}


/* ====== How it works ====== */
.how {
  display: grid;
  gap: 12px;
  margin: 36px 0
}

.step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
  padding: 18px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center
}

.step .num {
  background: var(--accent);
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800
}

.faq {
  max-width: 700px;      /* kutunun genişliği */
  margin: 0 auto;        /* ortalama */
  padding: 20px;         /* kenarlardan nefes aldır */
  text-align: left;      /* iç metin sola hizalı */
}

.faq h3 {
  text-align: center;    /* sadece başlığı ortala */
  margin-bottom: 16px;
}

.faq .q {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq .q summary {
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}


.q[open] {
  box-shadow: var(--shadow)
}

footer {
  margin-top: 60px;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: #555;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

  transition: all 0.3s ease;
}

body.dark footer {
  background: #2c2c3e;
  color: #ccc;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.4);
}

footer p {
  margin: 0;
  font-weight: 500;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  color: inherit;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #f8f9fa;
  transform: scale(1.1);
}

.cta-aux {
  font-size: 1.1rem;
  font-weight: 500;
  color: #475569; /* açık tema için gri-mavi */
  text-align: center;
  margin-bottom: 10px;
}

body.dark .cta-aux {
  color: #e2e8f0; /* koyu temada açık gri */
}

.controls {
  display: flex;
  gap: 10px;
  justify-content: center; /* ortala */
}

.icon-btn {
  background: #2563eb;        /* mavi */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;              /* ikon + yazı yan yana */
  align-items: center;        /* dikey ortalama */
  gap: 6px;                   /* ikon ile yazı arası boşluk */
}

.icon-btn:hover {
  background: #1d4ed8;        /* hover’da koyu mavi */
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(0);
}
.cta-aux{font-size:12px;color:var(--muted);margin-top:8px}
body.dark .icon-btn {
  background: #38bdf8;        /* açık mavi */
  color: #0f172a;             /* koyu yazı */
}

body.dark .icon-btn:hover {
  background: #0ea5e9;        /* hover’da turkuaz */
}

/*random sağ alt baloncuklar*/
#liveBubbles {
  position: fixed;
  bottom: 20px; right: 20px;
  display: flex; flex-direction: column;
  gap: 10px; max-width: 260px;
  z-index: 999;
}
.live-bubble {
  display: flex; align-items: center;
  background: #fff; padding: 10px 14px;
  border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: .9rem; line-height: 1.3;
  opacity: 1; transform: translateY(0);
  transition: opacity .35s, transform .35s;
}
.live-bubble.fade-out {
  opacity: 0; transform: translateY(6px) scale(.96);
}
.live-bubble .emoji { margin-right: 8px; }
