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

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: #555;
  --color-primary: #1a73e8;
  --color-primary-dark: #1558b0;
  --color-border: #e0e0e0;
  --color-surface: #f8f9fa;
  --color-footer-bg: #1a1a2e;
  --color-footer-text: #ccc;
  --max-width: 960px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── Header ──────────────────────────────────── */
.site-header {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.site-header nav a {
  color: #ccc;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}
.site-header nav a:hover { color: #fff; }

/* ── Main Content ────────────────────────────── */
.page-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}
.page-content h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.page-content .last-updated {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.page-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
}
.page-content ul, .page-content ol { padding-left: 1.5rem; }
.page-content li { margin-bottom: 0.35rem; }

/* ── Hero (home page) ────────────────────────── */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}
.hero h1 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.hero p { font-size: 1.1rem; color: #ccc; max-width: 600px; margin: 0 auto 2rem; }
.hero .cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}
.hero .cta-btn:hover { background: var(--color-primary-dark); text-decoration: none; }

/* ── Trust Bar ───────────────────────────────── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
  max-width: 200px;
}
.trust-item .trust-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-item h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.8rem; color: var(--color-text-muted); }

/* ── Features Grid ───────────────────────────── */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.features h2 { text-align: center; margin-bottom: 2rem; font-size: 1.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ── Contact Page ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
.contact-info h3 { font-size: 1rem; margin-bottom: 0.5rem; margin-top: 1.25rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--color-text-muted); font-size: 0.95rem; }
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  margin-top: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
}
.contact-form button:hover { background: var(--color-primary-dark); }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.8rem;
}
.site-footer a { color: #aaa; margin: 0 0.5rem; }
.site-footer a:hover { color: #fff; }
.footer-links { margin-bottom: 0.5rem; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 0.75rem; text-align: center; }
  .site-header nav a { margin-left: 0; margin-right: 1rem; }
  .trust-bar { gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
}
