@font-face {
  font-family: 'Billiball';
  src: url('../assets/fonts/billiball.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Baloo';
  src: url('../assets/fonts/baloo.ttf') format('truetype');
  font-weight: 400 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0d1040;
  overflow-x: hidden;
}

a {
  color: #26d0c4;
  text-decoration: none;
}

a:hover {
  color: #6fe3da;
}

[hidden], .is-hidden {
  display: none !important;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  font-family: Baloo, Nunito, system-ui, sans-serif;
  color: #eef4f5;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #0d1040 url('../assets/images/background.svg') center / cover no-repeat;
}

.main-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(80px, 11vw, 140px);
  padding: clamp(40px, 7vw, 80px) 20px 32px;
}

/* 01 Hero */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  width: 100%;
  max-width: 1080px;
}

.hero-content {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

.hero-description {
  margin: 0;
  max-width: 560px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  color: #eef4f5;
  text-wrap: pretty;
}

/* Download Block (Shared Hero & Section 03) */
.download-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.qr-box {
  width: 132px;
  height: 132px;
  flex: none;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 32px -18px rgba(0,0,0,0.95);
}

.qr-box img {
  display: block;
  width: 100%;
  height: 100%;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 260px);
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: clamp(52px, 8vh, 62px);
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eef0 100%);
  color: #0a1a21;
  box-shadow: 0 16px 32px -18px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.9);
  color: #0a1a21;
}

.store-btn:active {
  transform: translateY(1px);
}

.store-btn-icon {
  width: 24px;
  height: 24px;
  flex: none;
  object-fit: contain;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-btn-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5c7580;
}

.store-btn-title {
  font-size: clamp(16px, 2.3vh, 19px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: inherit;
}

.scan-hint {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #a9c0c8;
}

/* Phone Frame & Video */
.phone-frame {
  position: relative;
  flex: none;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 46px;
  background: #0b0e1f;
  box-shadow: 0 0 0 3px #363F66, 0 0 0 6px #182367, 0 50px 90px -40px rgba(0,0,0,0.9);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #05060f;
}

.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #000000;
  z-index: 2;
}

.sound-toggle-btn {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD84D 0%, #F0B400 100%);
  box-shadow: 0 3px 0 rgba(0,0,0,0.32);
  font-family: Billiball, Baloo, sans-serif;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #4A2B26;
  cursor: pointer;
  white-space: nowrap;
  z-index: 2;
}

/* 02 Features */
.features-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1080px;
}

.section-title {
  margin: 0;
  font-family: Billiball, Baloo, sans-serif;
  font-weight: normal;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
  -webkit-text-stroke: 8px #182367;
  paint-order: stroke fill;
  text-align: center;
  text-wrap: balance;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 316px), 1fr));
  gap: clamp(10px, 2vw, 16px);
  width: 100%;
}

.features-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
}

.feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(8px, 1.2vw, 12px) clamp(8px, 1.2vw, 12px) clamp(16px, 2vw, 24px);
  border-radius: 20px;
  background: #363F66;
  box-shadow: 0 4px 0 rgba(0,0,0,0.32);
}

.feature-card:hover {
  background: linear-gradient(180deg, #363F66 0%, #47B5E2 100%);
}

.feature-shot-frame {
  width: 100%;
  aspect-ratio: 375 / 812;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #182367;
  overflow: hidden;
}

.feature-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(2px, 0.8vw, 10px);
}

.feature-title {
  margin: 0;
  font-family: Billiball, Baloo, sans-serif;
  font-weight: normal;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #ffffff;
  -webkit-text-stroke: 0.21em #182367;
  paint-order: stroke fill;
}

.feature-text {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  color: #F4E8C2;
  text-wrap: pretty;
}

/* 03 Download */
.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

/* 04 Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  padding-top: 28px;
  border-top: 1px solid #24485a;
  text-align: center;
}

.social-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid #24485a;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  font-family: Billiball, Baloo, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #eef4f5;
}

.social-pill:hover {
  border-color: #26d0c4;
  color: #ffffff;
}

.social-pill img {
  width: 18px;
  height: 18px;
  flex: none;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 15px;
  font-weight: 600;
}

.copyright {
  margin: 0;
  font-size: 13px;
  color: #a9c0c8;
}

