/* ========================================
   Bold AI Design System
   Dark, minimal, premium European aesthetic
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */

:root {
  /* Colors - Primary */
  --bold-black: #0a0a0a;
  --bold-white: #fafafa;
  --pure-black: #000000;
  --pure-white: #ffffff;
  
  /* Colors - Secondary */
  --steel-grey: #666666;
  --light-grey: #e5e5e5;
  --dark-grey: #1a1a1a;
  
  /* Colors - Accents */
  --signal-blue: #3b82f6;
  --signal-green: #22c55e;
  --signal-red: #ef4444;
  --signal-amber: #f59e0b;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes */
  --text-display: clamp(48px, 6vw, 72px);
  --text-h1: clamp(36px, 5vw, 48px);
  --text-h2: clamp(24px, 4vw, 32px);
  --text-h3: clamp(20px, 3vw, 24px);
  --text-body-large: 18px;
  --text-body: 16px;
  --text-body-small: 14px;
  --text-caption: 12px;
  
  /* Font Weights */
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --line-display: 1.1;
  --line-h1: 1.2;
  --line-h2: 1.3;
  --line-h3: 1.4;
  --line-body: 1.6;
  --line-small: 1.5;
  --line-caption: 1.4;
  
  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Breakpoints for JS/custom properties */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--font-regular);
  line-height: var(--line-body);
  color: var(--bold-white);
  background-color: var(--bold-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

.text-display {
  font-size: var(--text-display);
  font-weight: var(--font-bold);
  line-height: var(--line-display);
  letter-spacing: -0.02em;
}

.text-h1 {
  font-size: var(--text-h1);
  font-weight: var(--font-bold);
  line-height: var(--line-h1);
  letter-spacing: -0.02em;
}

.text-h2 {
  font-size: var(--text-h2);
  font-weight: var(--font-semibold);
  line-height: var(--line-h2);
  letter-spacing: -0.01em;
}

.text-h3 {
  font-size: var(--text-h3);
  font-weight: var(--font-semibold);
  line-height: var(--line-h3);
}

.text-body-large {
  font-size: var(--text-body-large);
  line-height: var(--line-body);
}

.text-body {
  font-size: var(--text-body);
  line-height: var(--line-body);
}

.text-body-small {
  font-size: var(--text-body-small);
  line-height: var(--line-small);
}

.text-caption {
  font-size: var(--text-caption);
  font-weight: var(--font-medium);
  line-height: var(--line-caption);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Color variants */
.text-steel { color: var(--steel-grey); }
.text-blue { color: var(--signal-blue); }
.text-green { color: var(--signal-green); }
.text-red { color: var(--signal-red); }
.text-amber { color: var(--signal-amber); }

/* ========================================
   LAYOUT SYSTEM
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-24) 0;
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 767px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ========================================
   COMPONENT SYSTEM
   ======================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-body);
  font-weight: var(--font-medium);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--light-grey);
  border-color: var(--light-grey);
}

.btn-secondary {
  color: var(--bold-white);
  background-color: transparent;
  border-color: var(--bold-white);
}

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

.btn-ghost {
  color: var(--bold-white);
  background-color: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--dark-grey);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-body-large);
}

/* Cards */
.card {
  background-color: var(--dark-grey);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-body {
  margin-bottom: var(--space-4);
}

.card-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-8);
}

.nav-links a {
  color: var(--bold-white);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--signal-blue);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Mobile menu toggle */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--bold-white);
  font-size: 24px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: var(--space-24) 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Service Cards */
.service-card {
  position: relative;
  height: 100%;
}

.service-card .card-header .text-h3 {
  margin-bottom: var(--space-2);
}

.service-price {
  font-size: var(--text-body-large);
  font-weight: var(--font-semibold);
  color: var(--signal-blue);
  margin-bottom: var(--space-3);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-6);
}

.service-features li {
  padding: var(--space-1) 0;
  padding-left: var(--space-6);
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--signal-green);
  font-weight: var(--font-bold);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-16) 0 var(--space-8) 0;
  margin-top: var(--space-24);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-section h3 {
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--steel-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--bold-white);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--steel-grey);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Spacing */
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Responsive visibility */
@media (max-width: 767px) {
  .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
  .hidden-desktop { display: none; }
}

/* Max widths */
.max-w-prose {
  max-width: 65ch;
}

.max-w-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Aspect ratios */
.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ========================================
   FOCUS & ACCESSIBILITY
   ======================================== */

/* Focus styles */
*:focus {
  outline: 2px solid var(--signal-blue);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .nav,
  .footer,
  .btn {
    display: none;
  }
}