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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Home Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(55, 93, 175, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
}

.logo-img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(55, 93, 175, 0.25);
  margin-bottom: 24px;
}

.app-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #375daf;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 24px;
}

.hero-title .gold {
  background: linear-gradient(135deg, #d4af37, #c0862a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 28px;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 220px;
  border: 2px solid;
}

.store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store-btn-apple {
  background: #1a1a2e;
  color: #ffffff;
  border-color: #1a1a2e;
}

.store-btn-google {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #e2e8f0;
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-btn-text .small {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 500;
}

.store-btn-text .large {
  font-size: 18px;
  font-weight: 700;
}

.store-btn-google .small {
  color: #64748b;
}

/* Footer */
.footer {
  border-top: 1px solid #e8ecf1;
  background: rgba(255, 255, 255, 0.6);
  padding: 24px 20px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: #64748b;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #375daf;
}

/* Legal Pages */
.legal-page {
  flex: 1;
  padding: 64px 20px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.legal-badge .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-badge .icon-wrap.blue {
  background: rgba(55, 93, 175, 0.1);
  color: #375daf;
}

.legal-badge .icon-wrap.gold {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

.legal-badge span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #375daf;
}

.legal-badge .gold-text {
  color: #d4af37;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.1;
}

.legal-content .last-updated {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  color: #475569;
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content a {
  color: #375daf;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 640px) {
  .store-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-title {
    font-size: 4.5rem;
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-heading {
    font-size: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-content h1 {
    font-size: 2rem;
  }
}
