/* SeeAgain.AI — Shared Stylesheet */

:root {
  --blue: #1a4d8f;
  --blue-lt: #e8f0fb;
  --blue-dk: #12365f;
  --green: #1a7f5a;
  --green-lt: #e6f5ef;
  --amber: #b35c00;
  --red: #c0392b;
  --text: #1a1a2e;
  --text-lt: #3a3a52;
  --muted: #5a6070;
  --border: #d8dce8;
  --bg: #f7f8fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.10);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cardo', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dk); }

img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.site-logo img { width: 36px; height: 36px; border-radius: 8px; }
.site-logo:hover { color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-lt);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--blue); }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-brand span { font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-funding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.footer-funding img { height: 24px; width: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.3em 0.7em;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue { background: var(--blue-lt); color: var(--blue); }
.badge-green { background: var(--green-lt); color: var(--green); }

/* Step indicator */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.85rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
