/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0C0C0E;
  --surface: #141416;
  --gold: #F5C518;
  --gold-dark: #D4A843;
  --text: #E6E6E6;
  --text-dim: #9CA3AF;
  --text-muted: #6B7280;
  --border: #2A2A2E;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.trust {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-large {
  font-size: 1.25rem;
  padding: 18px 48px;
}

/* --- Screenshots --- */
.screenshots {
  padding: 40px 0 60px;
  overflow-x: hidden;
}

.phone-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-frame {
  width: 220px;
  height: 440px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Features --- */
.features {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --- Download CTA --- */
.download {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.download h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.download-meta {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.install-steps {
  max-width: 360px;
  margin: 28px auto 0;
  text-align: left;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.install-steps ol {
  margin-top: 8px;
  padding-left: 20px;
}

.install-steps li {
  margin-bottom: 6px;
}

.ios-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Footer --- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Legal Pages --- */
.legal {
  padding: 60px 24px 80px;
  max-width: 680px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin: 28px 0 12px;
}

.legal p, .legal li {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal ul, .legal ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--gold);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.back-link:hover {
  text-decoration: underline;
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .hero { padding: 60px 0 40px; min-height: auto; }
  .phone-row { gap: 16px; }
  .phone-frame { width: 160px; height: 320px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-card { padding: 20px 16px; }
  .btn-primary { padding: 14px 32px; font-size: 1rem; }
  .btn-large { padding: 16px 36px; font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .phone-row { flex-direction: column; align-items: center; }
  .phone-frame { width: 200px; height: 400px; }
  .feature-grid { grid-template-columns: 1fr; }
}
