/* Q33N Platform - Main Styles */

:root {
  --color-primary: #6A0DAD;      /* Royal Purple */
  --color-secondary: #00D4FF;    /* Electric Blue */
  --color-accent: #D6B656;       /* Honey Gold */
  --color-text: #1A1A1A;
  --color-text-light: #666;
  --color-background: #FEFEFE;
  --color-background-alt: #F5F5F5;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-secondary);
}

code {
  font-family: var(--font-mono);
  background: var(--color-background-alt);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #2E3440;
  color: #D8DEE9;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid #E5E5E5;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--color-text);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.hero .cta {
  display: inline-flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #5A0D9D;
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: white;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Section Specific Styles */
.section-deia {
  --section-color: #2C5F2D;
}

.section-simdecisions {
  --section-color: #1E40AF;
}

.section-efemera {
  --section-color: #EA580C;
}

.section-deia h1,
.section-simdecisions h1,
.section-efemera h1 {
  color: var(--section-color);
}

/* Footer */
footer {
  background: var(--color-background-alt);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid #E5E5E5;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #E5E5E5;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-light); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
