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

:root {
  --bg: #f8f9fa;
  --fg: #1a1a2e;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --muted: #6b7280;
  --radius: 12px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; width: 100%; }

.hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 64px 0 48px; text-align: center; }
.hero-small { padding: 40px 0 32px; }
.hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.hero .subtitle { font-size: 1.25rem; opacity: 0.9; margin-bottom: 8px; }
.hero .description { font-size: 1rem; opacity: 0.75; }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding: 48px 0; }

.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.badge { display: inline-block; background: #d1fae5; color: #065f46; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start; }

.card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 16px; flex: 1; }

.features { list-style: none; margin-bottom: 24px; }
.features li { padding: 4px 0; padding-left: 20px; position: relative; font-size: 0.9rem; }
.features li::before { content: '✓'; position: absolute; left: 0; color: #059669; font-weight: 700; }

.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; text-align: center; transition: background 0.2s; border: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }

footer { margin-top: auto; background: var(--fg); color: #fff; padding: 24px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #93c5fd; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }

.legal { padding: 48px 0; max-width: 800px; }
.legal section { margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--fg); }
.legal p, .legal ul { color: var(--muted); margin-bottom: 8px; }
.legal ul { padding-left: 24px; }
.legal li { margin-bottom: 4px; }

.back-link { margin-top: 32px; }
.back-link a { color: var(--accent); text-decoration: none; font-weight: 500; }
.back-link a:hover { text-decoration: underline; }

.cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--fg); color: #fff; padding: 16px 24px; align-items: center; justify-content: center; gap: 16px; z-index: 100; flex-wrap: wrap; }
.cookie-banner p { font-size: 0.9rem; }
.cookie-banner a { color: #93c5fd; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .tools { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
}
