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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", sans-serif;
  background: linear-gradient(180deg, #F0FDF4 0%, #F9FAFB 100%);
  color: #111827;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}

.hero {
  text-align: center;
  padding: 32px 0 48px;
}
.brand {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #10B981, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  color: #6B7280;
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto;
}

.apps {
  margin-bottom: 48px;
}
.apps h2 {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 16px;
  text-align: center;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: white;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-info {
  flex: 1;
  min-width: 0;
}
.app-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-info p {
  font-size: 14px;
  color: #6B7280;
}
.card-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.card-btn {
  background: #F3F4F6;
  color: #111827;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.card-btn:hover { background: #E5E7EB; }
.card-btn-disabled {
  background: #F9FAFB;
  color: #9CA3AF;
  cursor: not-allowed;
}
.btn-ios {
  background: #111827;
  color: white;
}
.btn-ios:hover { background: #000; }
.btn-secondary {
  display: inline-block;
  background: white;
  color: #10B981;
  border: 1px solid #10B981;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.btn-secondary:hover { background: #ECFDF5; }

.cta {
  text-align: center;
  margin-bottom: 64px;
}
.btn {
  display: inline-block;
  background: #10B981;
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: #059669; }
.btn-android { background: #10B981; }
.btn-android:hover { background: #059669; }
.btn-play { background: #4285F4; }
.btn-play:hover { background: #3367D6; }
.btn-disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
}
.btn-disabled:hover { background: #E5E7EB; }

.page-header {
  margin-bottom: 32px;
}
.back-link {
  display: inline-block;
  color: #6B7280;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 16px;
}
.back-link:hover { color: #111827; }
.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.subtitle {
  color: #6B7280;
  font-size: 14px;
}

.download-list { margin-bottom: 48px; }
.download-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.app-meta h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-meta p {
  font-size: 14px;
  color: #6B7280;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.card-actions .btn {
  padding: 12px 20px;
  font-size: 14px;
  flex: 1;
  text-align: center;
  min-width: 140px;
}

.install-guide {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 48px;
}
.install-guide h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.install-guide ol {
  padding-left: 20px;
  font-size: 14px;
  color: #374151;
}
.install-guide ol li { margin-bottom: 8px; }
.install-guide .note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
  font-size: 13px;
  color: #6B7280;
}

footer {
  text-align: center;
  color: #9CA3AF;
  font-size: 13px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}
footer p { margin-bottom: 4px; }
footer a {
  color: #6B7280;
  text-decoration: none;
}
footer a:hover { color: #111827; }

@media (max-width: 480px) {
  .container { padding: 32px 16px; }
  .brand { font-size: 32px; }
  .card-actions .btn { min-width: 0; }
}
