/* ===== Variables ===== */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --accent: #34a853;
  --text: #202124;
  --text-secondary: #5f6368;
  --text-light: #80868b;
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --border: #dadce0;
  --shadow: 0 1px 3px rgba(60,64,67,0.12), 0 1px 2px rgba(60,64,67,0.08);
  --shadow-lg: 0 4px 16px rgba(60,64,67,0.15), 0 2px 6px rgba(60,64,67,0.1);
  --radius: 12px;
  --max-width: 1100px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.site-logo svg { stroke: var(--primary); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Tools ===== */
.tools-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.tools-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.tool-category { margin-bottom: 2rem; }
.tool-category h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tool-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  text-decoration: none;
}
.tool-card.featured { border-left: 4px solid var(--primary); }
.tool-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.tool-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.tool-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}
.tool-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* ===== Features ===== */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  text-align: center;
}
.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Disclaimer ===== */
.disclaimer-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.disclaimer-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.disclaimer-box h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.disclaimer-box p { font-size: 0.9rem; color: var(--text-secondary); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-brand svg { stroke: var(--primary); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--primary); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Legal Pages ===== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.legal-page h1 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.legal-page p, .legal-page ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.legal-page ul {
  padding-left: 1.5rem;
}
.legal-page li { margin-bottom: 0.4rem; }
.legal-page a { color: var(--primary); }
.legal-page .last-updated {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .tool-card { flex-direction: column; gap: 1rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}
