/* TopForm Website Styles */
:root {
  --primary: #10B981;
  --primary-muted: #34D399;
  --background: #0F172A;
  --surface: #1E293B;
  --surface-light: #334155;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --border: #475569;
  --error: #EF4444;
  --success: #22C55E;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-muted);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  padding: 60px 0 80px;
}

.features h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 40px;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA */
.cta {
  padding: 60px 0 80px;
  text-align: center;
}

.cta h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.store-badge:hover {
  background: var(--surface-light);
  border-color: var(--primary);
  color: var(--text);
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--primary);
}

/* Privacy page */
.privacy-page {
  padding: 48px 0 80px;
}

.privacy-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.privacy-page .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.privacy-page p,
.privacy-page ul {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.privacy-page ul {
  padding-left: 24px;
}

.privacy-page li {
  margin-bottom: 8px;
}

.privacy-page .contact {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.privacy-page .contact a {
  font-weight: 500;
}
