/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --danger: #ef4444;
  --background: #ffffff;
  --foreground: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #f9fafb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

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

a:hover {
  text-decoration: underline;
}

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

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
}

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

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

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .emoji {
  font-size: 4rem;
  margin-bottom: 24px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--card-bg);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--background);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* How it works */
.how-it-works {
  padding: 80px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--muted);
}

/* Warning Box */
.warning-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 24px;
  margin: 48px 0;
}

.warning-box h3 {
  color: #92400e;
  margin-bottom: 8px;
}

.warning-box p {
  color: #92400e;
}

/* Legal Pages */
.legal {
  padding: 60px 0;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal .effective-date {
  color: var(--muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal p {
  margin-bottom: 16px;
}

.legal ul, .legal ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.legal th, .legal td {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
}

.legal th {
  background: var(--card-bg);
  font-weight: 600;
}

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

footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

footer nav {
  justify-content: center;
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .hero .emoji {
    font-size: 3rem;
  }

  header .container {
    flex-direction: column;
    gap: 12px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
