/* SUPLEX - MINIMALIST SWISS DESIGN SYSTEM */
/* Inspired by Josef Müller-Brockmann */

:root {
  --bg: #FFFFFF;
  --text: #0a0a0a;
  --accent: #FFE135;
  --grid-unit: 8px;
  --max-width: 1400px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* SWISS GRID SYSTEM */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: calc(var(--grid-unit) * 4);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--grid-unit) * 6);
}

.grid-tight {
  gap: calc(var(--grid-unit) * 2);
}

/* TYPOGRAPHY - KERNING OPTIMIZED */
.display-mega {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.display-xl {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.display-lg {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-sm {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.body-md {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.body-sm {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.label {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.number-display {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* KERNING PAIRS - SAND TEST OPTIMIZED */
.kern-tight { letter-spacing: -0.05em; }
.kern-normal { letter-spacing: 0; }
.kern-wide { letter-spacing: 0.05em; }

.word-suplex { letter-spacing: -0.02em; }
.word-simple { letter-spacing: -0.01em; }
.word-automation { letter-spacing: -0.015em; }
.word-outreach { letter-spacing: -0.01em; }
.word-streamlined { letter-spacing: -0.02em; }

/* LAYOUT UTILITIES */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.offset-1 { grid-column-start: 2; }
.offset-2 { grid-column-start: 3; }
.offset-3 { grid-column-start: 4; }
.offset-4 { grid-column-start: 5; }
.offset-6 { grid-column-start: 7; }

/* SPACING */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: calc(var(--grid-unit) * 2); }
.mt-2 { margin-top: calc(var(--grid-unit) * 4); }
.mt-3 { margin-top: calc(var(--grid-unit) * 6); }
.mt-4 { margin-top: calc(var(--grid-unit) * 8); }
.mt-5 { margin-top: calc(var(--grid-unit) * 12); }
.mt-6 { margin-top: calc(var(--grid-unit) * 16); }
.mt-7 { margin-top: calc(var(--grid-unit) * 24); }
.mt-8 { margin-top: calc(var(--grid-unit) * 32); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: calc(var(--grid-unit) * 2); }
.mb-2 { margin-bottom: calc(var(--grid-unit) * 4); }
.mb-3 { margin-bottom: calc(var(--grid-unit) * 6); }
.mb-4 { margin-bottom: calc(var(--grid-unit) * 8); }
.mb-5 { margin-bottom: calc(var(--grid-unit) * 12); }
.mb-6 { margin-bottom: calc(var(--grid-unit) * 16); }

.pt-1 { padding-top: calc(var(--grid-unit) * 2); }
.pt-2 { padding-top: calc(var(--grid-unit) * 4); }
.pt-3 { padding-top: calc(var(--grid-unit) * 6); }
.pt-4 { padding-top: calc(var(--grid-unit) * 8); }
.pt-5 { padding-top: calc(var(--grid-unit) * 12); }
.pt-6 { padding-top: calc(var(--grid-unit) * 16); }
.pt-7 { padding-top: calc(var(--grid-unit) * 24); }
.pt-8 { padding-top: calc(var(--grid-unit) * 32); }

.pb-1 { padding-bottom: calc(var(--grid-unit) * 2); }
.pb-2 { padding-bottom: calc(var(--grid-unit) * 4); }
.pb-3 { padding-bottom: calc(var(--grid-unit) * 6); }
.pb-4 { padding-bottom: calc(var(--grid-unit) * 8); }
.pb-5 { padding-bottom: calc(var(--grid-unit) * 12); }
.pb-6 { padding-bottom: calc(var(--grid-unit) * 16); }

/* ACCENT BLOCK */
.accent-block {
  background: var(--accent);
  display: inline-block;
  padding: 0 0.2em;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
}

/* COMPONENTS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 20px 40px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary::after {
  content: '→';
  font-family: 'JetBrains Mono', monospace;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--text);
  padding: 20px 40px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
}

/* DATA DISPLAY */
.data-row {
  display: flex;
  align-items: baseline;
  gap: calc(var(--grid-unit) * 2);
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  padding: calc(var(--grid-unit) * 3) 0;
}

.data-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  min-width: 80px;
}

.data-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: calc(var(--grid-unit) * 3) calc(var(--grid-unit) * 6);
  background: var(--bg);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: calc(var(--grid-unit) * 6);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--grid-unit) * 12) 0;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--grid-unit) * 6);
  width: 100%;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.1);
  margin-top: calc(var(--grid-unit) * 8);
}

.feature-cell {
  background: var(--bg);
  padding: calc(var(--grid-unit) * 6);
}

.feature-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: calc(var(--grid-unit) * 4);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: calc(var(--grid-unit) * 2);
}

.feature-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.7);
}

/* STATS SECTION */
.stats-section {
  padding: calc(var(--grid-unit) * 16) 0;
}

.stat-item {
  border-top: 2px solid var(--text);
  padding-top: calc(var(--grid-unit) * 3);
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: calc(var(--grid-unit) * 2);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA SECTION */
.cta-section {
  background: var(--accent);
  padding: calc(var(--grid-unit) * 20) 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: calc(var(--grid-unit) * 6);
}

/* FOOTER */
.footer {
  padding: calc(var(--grid-unit) * 8) 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: calc(var(--grid-unit) * 8);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--grid-unit) * 6);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: calc(var(--grid-unit) * 2);
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.6);
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: calc(var(--grid-unit) * 4);
}

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

.footer-links li {
  margin-bottom: calc(var(--grid-unit) * 2);
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(10, 10, 10, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: calc(var(--grid-unit) * 8) auto 0;
  padding: calc(var(--grid-unit) * 4) calc(var(--grid-unit) * 6) 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(10, 10, 10, 0.5);
}

/* UTILITY CLASSES */
.text-accent { color: var(--accent); }
.bg-accent { background: var(--accent); }
.text-muted { color: rgba(10, 10, 10, 0.6); }
.text-subtle { color: rgba(10, 10, 10, 0.4); }

.border-top { border-top: 1px solid rgba(10, 10, 10, 0.1); }
.border-bottom { border-bottom: 1px solid rgba(10, 10, 10, 0.1); }

/* ASYMMETRIC LAYOUTS */
.asymmetric-left {
  grid-column: 1 / 8;
}

.asymmetric-right {
  grid-column: 6 / 13;
}

.asymmetric-narrow {
  grid-column: 3 / 11;
}

/* VISUAL ELEMENTS */
.grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(to right, var(--text) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .asymmetric-left,
  .asymmetric-right,
  .asymmetric-narrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .grid {
    padding: 0 calc(var(--grid-unit) * 3);
  }
  
  .nav {
    padding: calc(var(--grid-unit) * 2) calc(var(--grid-unit) * 3);
  }
  
  .hero-content {
    padding: 0 calc(var(--grid-unit) * 3);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--grid-unit) * 6);
  }
  
  .nav-links {
    display: none;
  }
  
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    grid-column: 1 / -1;
  }
}

/* PRINT STYLES */
@media print {
  .nav, .grid-lines { display: none; }
  body { font-size: 12pt; }
  .hero { min-height: auto; padding: 40pt 0; }
}
