/* ReductrAI Static Pages - Light Theme */

:root {
  /* Colors - Light Theme (matching main site) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --border-light: #e5e7eb;
  --accent-primary: #7c3aed;
  --accent-primary-dark: #6d28d9;
  --accent-primary-glow: rgba(124, 58, 237, 0.1);
  --accent-teal: #14b8a6;
  --accent-amber: #f59e0b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header - Dark style */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { width: 32px; height: 32px; }

.logo span {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active { color: white; }

.header-cta {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-primary:hover {
  background: var(--accent-primary-dark);
}

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

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.subtitle, .updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

p {
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

ul {
  margin: 16px 0;
  padding-left: 24px;
}

li {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.9375rem;
}

strong { color: var(--text-primary); }

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

/* Highlight Boxes */
.highlight-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}

.highlight-box.green,
.highlight-box.success {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.3);
}

.highlight-box.orange,
.highlight-box.info {
  background: var(--accent-primary-glow);
  border-color: rgba(124, 58, 237, 0.3);
}

.highlight-box p { margin-bottom: 12px; }
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box ul { margin-bottom: 0; }
.highlight-box li:last-child { margin-bottom: 0; }

/* Security-specific styles */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.security-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.security-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-card h4 i { color: var(--accent-primary); }

.security-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.compliance-list { margin: 24px 0; }

.compliance-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.compliance-item:last-child { border-bottom: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent-teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 100px;
  justify-content: center;
}

.compliance-item span:last-child {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-box {
  background: var(--accent-primary-glow);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.contact-box h3 {
  color: var(--accent-primary);
  margin: 0 0 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-box p { margin-bottom: 0; }

/* Blog styles */
.blog-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.blog-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

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

.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.blog-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-card-tag {
  background: var(--accent-primary-glow);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 60px;
  background: var(--bg-secondary);
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .security-grid { grid-template-columns: 1fr; }
  .compliance-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }
  .nav { display: none; }
  .container, .blog-container { padding: 48px 16px 60px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.125rem; }
  .blog-card { padding: 24px; }
}
