/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: #03040f;
  color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
}



/* ========== ANIMATED PRIMARY BUTTON ========== */
.btn.primary {
  background: linear-gradient(90deg, #8b5cf6, #4869ec);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(139,92,246,0.6);
  animation: pulseGlow 2.5s infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Glow pulse */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(139,92,246,0.6);
  }
  70% {
    box-shadow: 0 0 20px 10px rgba(236,72,153,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236,72,153,0);
  }
}

/* Hover lift */
.btn.primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(139,92,246,0.45);
}

/* Click feedback */
.btn.primary:active {
  transform: scale(0.97);
}

/* Shine effect */
.btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition: left 0.6s ease;
}

.btn.primary:hover::before {
  left: 120%;
}

/* ========== SECONDARY BUTTON SOFT HOVER ========== */
.btn.secondary {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn.secondary:hover {
  background: #374151;
  transform: translateY(-1px);
}







/*.btn.primary {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  color: #fff;
}

.btn.secondary {
  background: #1f2937;
  color: #e5e7eb;
}*/

/* ========== FIRST HERO ========== */
.app-hero {
  padding: clamp(24px, 6vw, 72px);
  background:
    linear-gradient(
      90deg,
      rgba(3,4,15,.95),
      rgba(3,4,15,.35)
    ),
    url("banner_defiCall.png") center / cover no-repeat;
}

.app-info {
  max-width: 720px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.app-title {
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
}

.developer {
  color: #4ade80;
  font-weight: 600;
  margin-top: 4px;
}

.subtext {
  color: #9ca3af;
  font-size: 14px;
  margin: 14px 0 22px;
}

.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.stat strong {
  display: block;
  font-size: 16px;
}

.stat span {
  font-size: 13px;
  color: #9ca3af;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.download-info {
  font-size: 13px;
  color: #9ca3af;
}

/* ========== SECOND HERO ========== */
.hero {
  position: relative;
  padding: clamp(60px, 12vw, 120px) 20px;
  background: radial-gradient(circle at top, #1b2b6b, #03040f);
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: radial-gradient(circle, rgba(139,92,246,.45), transparent);
  filter: blur(140px);
  top: -120px;
}

.hero-content {
  max-width: 820px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(28px, 7vw, 60px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.word {
  background: linear-gradient(120deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #cbd5f5;
  margin-bottom: 32px;
}



/* ========== PROGRESS BAR ========== */
.progress-wrapper {
  margin-top: 16px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-text {
  margin-top: 6px;
  font-size: 13px;
  color: #c7d2fe;
  text-align: center;
}







.word {
  background: linear-gradient(120deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== ORBIT SECTION ===== */
.orbit-section {
    position: relative;
    /* padding: clamp(138px, 14vw, 160px) 5px; */
    background: radial-gradient(circle at center, #1b2b6b, #0a1052);
    overflow: hidden;
    padding: 20px;
    padding-bottom: 180px;
    margin-bottom: 0px;
}

.orbit-title {
  text-align: center;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  margin-top: 100px;
}

.orbit-sub {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 10px;
}

/* Glow background */
.orbit-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(139,92,246,.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(236,72,153,.35), transparent 60%);
  filter: blur(160px);
  pointer-events: none;
}

/* Stage */
.orbit-stage {
  position: relative;
  width: 460px;
  height: 460px;
  margin: auto;
  perspective: 1400px;
}

/* Ring */
.orbit-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: orbitRotate 18s linear infinite;
}

.orbit-stage:hover .orbit-ring {
  animation-play-state: paused;
}

/* Phone body */
.orbit-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 340px;
  border-radius: 32px;
  background: linear-gradient(180deg, #1f2937, #020617);
  transform-style: preserve-3d;
  box-shadow:
    0 35px 70px rgba(0,0,0,.8),
    inset 0 0 0 3px #111827;
  overflow: hidden;
}



/* ===== ABOUT THIS APP ===== */
.about-section {
  padding: clamp(60px, 10vw, 110px) 20px;
  background: radial-gradient(circle at top, #1b2b6b, #03040f);
}

.about-card {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(180deg, #0f1225, #020617);
  border-radius: 22px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.about-title {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
}

.about-sub {
  color: #9ca3af;
  margin-bottom: 24px;
  font-size: 15px;
}

.about-text {
  color: #cbd5f5;
  line-height: 1.8;
  font-size: 15px;
}

/* Feature list */
.about-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature {
  background: #0b1022;
  padding: 18px;
  border-radius: 14px;
}

.feature strong {
  display: block;
  margin-bottom: 6px;
}

.feature span {
  color: #9ca3af;
  font-size: 14px;
}






/* Glow */
.orbit-phone::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 36px;
  background: linear-gradient(120deg, #8b5cf6, #ec4899);
  opacity: .35;
  filter: blur(20px);
  z-index: -1;
}

/* Screen */
.orbit-screen {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.orbit-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Notch */
.orbit-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 5;
}

/* Animation */
@keyframes orbitRotate {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* Mobile */
@media (max-width: 640px) {
  .orbit-stage {
    width: 300px;
    height: 300px;
  }

  .orbit-phone {
    width: 120px;
    height: 240px;
  }
}




/* ========== POPUP ========== */
#downloadPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-box {
  background: #0f1225;
  padding: 24px;
  border-radius: 14px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.popup-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ========== MOBILE FIXES ========== */
@media (max-width: 640px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .app-info {
    text-align: center;
  }

  .stats {
    justify-content: center;
    text-align: center;
  }

  /* ===== DATA SAFETY ===== */
  .data-safety {
    padding: clamp(60px, 10vw, 110px) 20px;
    background: #03040f;
  }

  .data-card {
    max-width: 900px;
    margin: auto;
    background: linear-gradient(180deg, #0f1225, #020617);
    border-radius: 22px;
    padding: clamp(24px, 5vw, 44px);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
  }

  .data-title {
    font-size: clamp(24px, 5vw, 38px);
    font-weight: 900;
    margin-bottom: 12px;
  }

  .data-sub {
    color: #9ca3af;
    margin-bottom: 28px;
  }

  .data-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }

  .data-item {
    background: #0b1022;
    padding: 18px;
    border-radius: 14px;
  }

  .data-item strong {
    display: block;
    margin-bottom: 6px;
  }

  .data-item span {
    color: #9ca3af;
    font-size: 14px;
  }


}
