:root {
  /* Backgrounds - Nice Grey Theme */
  --bg-page: #E8E9ED;
  --bg-card: #FFFFFF;
  --bg-section: #F5F6F8;
  
  /* Text - High Contrast for Grey Background */
  --text-primary: #1A1A2E;
  --text-body: #2D2D44;
  --text-secondary: #5A5A6E;
  --text-muted: #8A8A9E;
  
  /* Borders - Subtle */
  --border-light: rgba(139, 92, 246, 0.15);
  --border-medium: rgba(139, 92, 246, 0.3);
  --border-strong: rgba(139, 92, 246, 0.5);
  
  /* BRAND COLORS - Purple Accent System */
  --accent-primary: #8B5CF6;
  --accent-strong: #7C3AED;
  --accent-text: #6D28D9;
  --accent-wash: rgba(139, 92, 246, 0.1);
  --accent-neon: #A78BFA;

  /* Gradients */
  --gradient-hero: radial-gradient(at 50% 50%, hsla(270,100%,85%,0.3) 0px, transparent 50%), 
                   radial-gradient(at 80% 20%, hsla(260,100%,80%,0.25) 0px, transparent 50%);
  --gradient-button: linear-gradient(135deg, var(--accent-primary), var(--accent-strong));
}

/* Typography */
.heading-1 { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 800; 
  font-size: clamp(2.5rem, 6vw, 5rem); 
  line-height: 0.95; 
  letter-spacing: -0.03em; 
  color: var(--text-primary);
  text-transform: uppercase;
}

.heading-2 { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 700; 
  font-size: clamp(2rem, 4.5vw, 3.5rem); 
  line-height: 1; 
  letter-spacing: -0.02em; 
  color: var(--text-primary);
}

.heading-3 { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 600; 
  font-size: clamp(1.25rem, 3vw, 1.75rem); 
  line-height: 1.2; 
  letter-spacing: -0.01em; 
  color: var(--text-primary);
}

.body-large { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 400; 
  font-size: clamp(1.125rem, 2.5vw, 1.35rem); 
  line-height: 1.6; 
  color: var(--text-body); 
}

.body-medium { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 400; 
  font-size: clamp(1rem, 2vw, 1.125rem); 
  line-height: 1.5; 
  color: var(--text-body); 
}

.body-small { 
  font-family: system-ui, -apple-system, sans-serif; 
  font-weight: 400; 
  font-size: 0.875rem; 
  line-height: 1.5; 
  color: var(--text-secondary); 
}

/* Buttons */
.btn-primary {
  background: var(--gradient-button) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(139, 92, 246, 0.5) !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 2px solid var(--border-medium) !important;
  border-radius: 8px !important;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--accent-wash) !important;
  border-color: var(--accent-primary) !important;
}

/* Navigation */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
  height: 5.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  background: var(--accent-wash);
  color: var(--accent-text);
}

/* Hero Section */
.hero-section {
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Cards */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
  border-color: var(--accent-primary);
}

.product-card-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.product-card-description {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Grid Layout */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Spacing */
.pad-xs { padding: 0.5rem; }
.pad-sm { padding: 1rem; }
.pad-md { padding: 2rem; }
.pad-lg { padding: 3rem; }
.pad-xl { padding: 4rem; }
.pad-2xl { padding: 5rem 1rem; }

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.logo-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-neon), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-header {
    padding: 1rem;
  }

  .hero-section {
    padding: 5rem 1rem 3rem;
    min-height: 90vh;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .pad-2xl {
    padding: 3rem 1rem;
  }
}

@media (min-width: 1024px) {
  .ai-grid {
    gap: 2.5rem;
  }
}

/* Global Styles */
body {
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-page);
  color: var(--text-body);
}

.App {
  min-height: 100vh;
  background: var(--bg-page);
}

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

html {
  scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Rich blog content (WYSIWYG output) */
.blog-html { color: var(--text-secondary); line-height: 1.8; font-size: 1.05rem; }
.blog-html h2 { font-size: 1.75rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--text-primary); }
.blog-html h3 { font-size: 1.35rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: var(--text-primary); }
.blog-html p { margin-bottom: 1.25rem; }
.blog-html a { color: var(--accent-text); text-decoration: underline; }
.blog-html img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem 0; display: block; }
.blog-html ul, .blog-html ol { margin: 0 0 1.25rem 1.5rem; }
.blog-html li { margin-bottom: 0.5rem; }
.blog-html blockquote { border-left: 4px solid var(--accent-primary); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--text-muted); }
.blog-html strong { color: var(--text-primary); }
