/* ========================================
   DiGer Link Gate - TikTok → App Store
   Mobile-first design
   ======================================== */

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  padding-bottom: 120px; /* CTA固定分 */
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 48px 24px 0;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -60%;
  left: -30%;
  right: -30%;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, #6C5CE7 0%, #6C5CE740 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #A29BFE;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #A29BFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 500;
  color: #ffffffcc;
  margin-bottom: 32px;
}

/* ========================================
   Mockup
   ======================================== */
.mockup-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-bottom: 24px;
}

.mockup-wrapper {
  position: relative;
  width: 260px;
  max-width: 70vw;
  animation: float 3s ease-in-out infinite;
}

.mockup-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 24px 48px rgba(108, 92, 231, 0.3));
}

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

/* ========================================
   Features
   ======================================== */
.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 20px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff0a;
  border: 1px solid #ffffff12;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s;
}

.feature-card:active {
  transform: scale(0.98);
  background: #ffffff14;
}

.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6C5CE71a;
  border-radius: 12px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 13px;
  color: #ffffff88;
  line-height: 1.4;
}

/* ========================================
   Screenshots
   ======================================== */
.screenshots {
  padding: 32px 0 24px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffffcc;
}

.screenshot-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-img {
  width: 200px;
  height: auto;
  border-radius: 20px;
  flex-shrink: 0;
  scroll-snap-align: center;
  border: 1px solid #ffffff12;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ========================================
   CTA Fixed Footer
   ======================================== */
.cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, #0a0a0a 60%, transparent);
  z-index: 100;
  text-align: center;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 16px 24px;
  background: linear-gradient(135deg, #6C5CE7, #A29BFE);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.apple-icon {
  flex-shrink: 0;
}

.cta-note {
  font-size: 12px;
  color: #ffffff55;
  margin-top: 8px;
}

/* ========================================
   Bottom Note
   ======================================== */
.bottom-note {
  padding: 16px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.bottom-note p {
  font-size: 11px;
  color: #ffffff44;
  line-height: 1.6;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 480px) {
  .hero-title {
    font-size: 72px;
  }

  .mockup-wrapper {
    width: 300px;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto;
  }

  .feature-card {
    flex: 1;
    min-width: 180px;
    flex-direction: column;
    text-align: center;
  }

  .screenshot-img {
    width: 240px;
  }
}
