/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --bg-main: #050b17;
  --bg-section: #07132a;
  --text-main: #ffffff;
  --text-muted: #9fb0d1;
  --accent: #2f6bff;
}

/* ================= BODY ================= */
body {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  max-width: 100%;
}


#bt-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero, .section, .slider, footer, .modal, .reviews-section {
  position: relative;
  z-index: 1;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand {
  letter-spacing: 4px;
  font-size: 3.2rem;
}

.tagline {
  margin-top: 1rem;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

/* ================= BUTTONS ================= */
button {
  font: inherit;
  cursor: pointer;
}

/* ================= BASE ================= */
.btn-primary,
.btn-outline {
  position: relative;
  overflow: hidden;
  z-index: 0;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(.22,1,.36,1),
    color 0.35s ease;
}

/* ================= PRIMARY ================= */
.btn-primary {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 0.7rem 1.8rem;
}

/* ================= OUTLINE ================= */
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.7rem 1.8rem;
}

/* ================= CURTAIN LAYER ================= */
.btn-primary::before,
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}

/* curtain colors */
.btn-primary::before {
  background: #000000;
}

.btn-outline::before {
  background: #ffffff;
}

/* ================= HOVER ================= */
.btn-primary:hover::before,
.btn-outline:hover::before {
  transform: scaleX(1);
}

.btn-primary:hover {
  color: #ffffff;
  animation: jumpRight 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
}

.btn-outline:hover {
  color: #000000;
  animation: jumpRight 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* ================= JUMP ANIMATION ================= */
@keyframes jumpRight {
  0%   { transform: translateX(0) translateY(0); }
  60%  { transform: translateX(6px) translateY(-4px); }
  100% { transform: translateX(6px) translateY(-2px); }
}

/* ================= TOUCH SAFETY ================= */



/* ================= SECTIONS ================= */
.section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section h2 {
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
}

/* ================= SLIDER ================= */
.slider {
  max-width: 1100px;
  margin: 4rem auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* ================= NAV ================= */
.nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.nav button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.8rem;
}

/* ================= APK DETAILS ================= */
.apk-details {
  list-style: none;
  margin-top: 1.5rem;
}

.apk-details li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-brand {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5,11,23,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-section);
  padding: 2rem;
  width: 90%;
  max-width: 360px;
}

.modal-box h3 {
  margin-bottom: 1rem;
}

.modal-box input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  color: #fff;
  border: none;
  font-size: 1.5rem;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .brand {
    font-size: 2rem;
  }
}


/* ================= RESPONSIVE CORE FIXES ================= */

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}

/* Better text scaling across screens */
.brand {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.tagline {
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
}

/* Hero padding for very small devices */
.hero {
  padding: 2rem 1.25rem;
}

/* Buttons: better touch targets */
.btn-primary,
.btn-outline {
  min-height: 44px;
  min-width: 160px;
  touch-action: manipulation;
}

/* Disable jump animation on touch devices (prevents weird shifts) */



/* Sections scale better on large screens */
.section {
  max-width: min(900px, 92vw);
}

/* Slider images behave better on tall phones */
.slide img {
  max-height: 70vh;
}

/* Navigation buttons easier to tap */
.nav button {
  min-height: 40px;
  min-width: 44px;
}

/* Footer spacing fix on small devices */
.footer-links {
  flex-wrap: wrap;
  gap: 1rem;
}

/* ================= MODAL MOBILE FIX ================= */
.modal-box {
  max-height: 85vh;
  overflow-y: auto;
}

/* ================= SMALL DEVICES ================= */
@media (max-width: 480px) {
  .hero {
    min-height: calc(100vh - env(safe-area-inset-bottom));
  }

  .hero-actions {
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .section {
    margin: 3rem auto;
  }
}

/* ================= LARGE SCREENS ================= */
@media (min-width: 1400px) {
  body {
    font-size: 1.05rem;
  }

  .slider {
    max-width: 1200px;
  }
}


/* Reviews Section Styles */
.reviews-section {
  background: var(--bg-main);
  padding: 4rem 1rem;
}

.reviews-intro {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.3);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-text {
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  color: #3b82f6;
  font-size: 0.9rem;
}

.review-author span {
  color: #6b7280;
  font-size: 0.8rem;
}

.reviews-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
}

.stat-label {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}