/* ==========================================================================
   İBRAHİM ANLİ FIGHT CLUB — Mobil Uygulama Sayfası Özel Stilleri
   Sade, kompakt, üye odaklı ve tam responsive tasarım.
   ========================================================================== */

.app-page header {
  overflow: visible;
}

/* ---------- HERO BÖLÜMÜ ---------- */
.app-hero {
  background: linear-gradient(180deg, #f6f6f6 0%, #ffffff 100%);
  position: relative;
  padding-top: 1rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.app-hero__container {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
}

.app-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.app-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(229, 57, 53, 0.25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.app-badge-pill i {
  font-size: 0.95rem;
}

.app-hero__title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  letter-spacing: -0.4px;
}

.app-hero__title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.app-hero__description {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 1.4rem;
  max-width: 460px;
}

/* ---------- İNDİRME BUTONLARI ---------- */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #0f1012;
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  border: 2px solid #22252a;
  cursor: pointer;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(229, 57, 53, 0.2);
  border-color: var(--primary-color);
}

.btn-store--apple {
  background: #000000;
  border-color: #2b2b2b;
}

.btn-store--google {
  background: #151619;
  border-color: #2a2c30;
}

.btn-store__icon {
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.btn-store__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store__subtitle {
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #a0a0a0;
  line-height: 1.1;
}

.btn-store__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  color: #ffffff;
}

/* ---------- IPHONE MOCKUP ALANI (KÜÇÜK & KUSURSUZ ORANLI) ---------- */
.app-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.app-mockup-glow {
  position: absolute;
  width: 240px;
  height: 340px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.14) 0%, rgba(229, 57, 53, 0) 70%);
  filter: blur(35px);
  z-index: 1;
}

.phone-mockup-container {
  position: relative;
  max-width: 230px !important;
  width: 230px !important;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.phone-mockup-container:hover {
  transform: translateY(-3px);
}

.phone-mockup-img {
  width: 230px !important;
  max-width: 230px !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.16));
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 5;
  border: 1px solid #edf0f5;
  animation: floatAnim 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge--left {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge--right {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---------- ÖNE ÇIKAN ÖZELLİKLER (6 KART - 3x2 GRID) ---------- */
.features-section {
  background-color: #ffffff;
  padding: 2.5rem 1rem;
}

.features-section .section__header {
  font-size: 1.8rem;
  line-height: 2.3rem;
  margin-bottom: 0.35rem;
}

.features-section .section__description {
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-box {
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-box:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.08);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  transition: all 0.25s ease;
}

.feature-box:hover .feature-icon-box {
  background: var(--primary-color);
  color: #ffffff;
}

.feature-box h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.feature-box p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.45;
}

/* ---------- 3 ADIMDA BAŞLA ---------- */
.steps-section {
  background-color: #f6f6f6;
  padding: 2.5rem 1rem;
}

.steps-section .section__header {
  font-size: 1.8rem;
  line-height: 2.3rem;
  margin-bottom: 0.35rem;
}

.steps-section .section__description {
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.step-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.35rem 1.1rem;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s;
}

.step-card:hover {
  transform: translateY(-3px);
}

.step-number {
  width: 34px;
  height: 34px;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  box-shadow: 0 3px 8px rgba(229, 57, 53, 0.3);
}

.step-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.step-card p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.45;
}

/* ---------- ALT ÇAĞRI BANNER ---------- */
.app-cta-banner {
  background: linear-gradient(135deg, #16171a 0%, #0a0b0d 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  margin: 1.25rem auto 2.5rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.app-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.2) 0%, rgba(229, 57, 53, 0) 70%);
  filter: blur(35px);
  pointer-events: none;
}

.app-cta-banner h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.app-cta-banner p {
  font-size: 0.9rem;
  color: #c0c4cc;
  max-width: 480px;
  margin: 0 auto 1.4rem auto;
  line-height: 1.45;
}

.app-cta-banner .download-buttons {
  justify-content: center;
}

/* ---------- FOOTER (4 KOLON) ---------- */
footer {
  background-color: var(--background-color-1);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: 3rem 1.75rem;
}

.footer__col h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__links {
  display: grid;
  gap: 0.7rem;
}

.footer__links a {
  color: var(--extra-light);
  font-size: 0.88rem;
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links li span {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.branch {
  display: grid;
  gap: 0.85rem;
}

.branch a {
  color: var(--extra-light);
  font-size: 0.86rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.branch a span {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 2px;
}

.branch a:hover {
  color: var(--primary-color);
}

.footer__bar {
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(50, 86, 95, 0.2);
}

.footer__logo img {
  max-width: 120px;
}

.footer__bar p {
  font-size: 0.85rem;
  color: var(--extra-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background-color: var(--extra-light);
  border-radius: 50%;
  font-size: 0.95rem;
  transition: 0.25s;
}

.footer__socials a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ---------- MODAL ---------- */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.custom-modal.show {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 380px;
  width: 100%;
  padding: 1.6rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  position: relative;
  animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
  width: 48px;
  height: 48px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary-color);
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem auto;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.modal-text {
  font-size: 0.86rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.modal-close-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: 0.2s;
}

.modal-close-btn:hover {
  background: var(--primary-color);
}

/* ---------- RESPONSIVE / MOBIL UYUMLULUK ---------- */
@media (max-width: 1024px) {
  .app-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.8rem;
  }

  .app-hero__content {
    align-items: center;
    text-align: center;
  }

  .app-hero__title {
    font-size: 1.9rem;
  }

  .download-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .branch a {
    justify-content: center;
  }

  .footer__bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .app-hero {
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .app-hero__title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .app-hero__description {
    font-size: 0.86rem;
  }

  .download-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-store {
    width: 100%;
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }

  .phone-mockup-container {
    max-width: 180px !important;
    width: 180px !important;
  }

  .phone-mockup-img {
    max-width: 180px !important;
  }

  .app-cta-banner {
    padding: 1.8rem 1rem;
    border-radius: 14px;
  }

  .app-cta-banner h2 {
    font-size: 1.35rem;
  }
}
