/* ============================================
   Vuk Labs — Design System
   ============================================
   Type scale: 1.333 (perfect fourth)
   Base: 16px
   Spacing: 8px grid
   Colors: near-black bg, warm stone accents
   ============================================ */

:root {
  /* Color — dark foundation, warm accents */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #16161a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #ededef;
  --text-secondary: #8b8b8e;
  --text-tertiary: #5a5a5d;

  --accent: #c8a060;
  --accent-dim: rgba(200, 160, 96, 0.15);

  /* Type scale — perfect fourth (1.333) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.333rem;   /* ~21px */
  --text-xl: 1.777rem;   /* ~28px */
  --text-2xl: 2.369rem;  /* ~38px */
  --text-3xl: 3.157rem;  /* ~50px */

  /* Spacing — 8px grid */
  --space-1: 0.5rem;     /* 8px */
  --space-2: 1rem;       /* 16px */
  --space-3: 1.5rem;     /* 24px */
  --space-4: 2rem;       /* 32px */
  --space-6: 3rem;       /* 48px */
  --space-8: 4rem;       /* 64px */
  --space-12: 6rem;      /* 96px */
  --space-16: 8rem;      /* 128px */

  /* Layout */
  --max-width: 64rem;    /* 1024px */
  --nav-height: 4rem;
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--text-primary);
  transition: color 0.2s;
}

.logo:hover {
  color: var(--accent);
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: var(--space-4);
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

/* ---- Hero ---- */
.hero {
  padding: calc(var(--nav-height) + var(--space-16)) var(--space-4) var(--space-16);
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-3);
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 36rem;
  margin: 0 auto var(--space-6);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(200, 160, 96, 0.25);
}

.btn-primary:hover {
  background: rgba(200, 160, 96, 0.25);
  border-color: rgba(200, 160, 96, 0.4);
}

/* ---- Divider ---- */
.divider {
  padding: 0 var(--space-4);
}

.divider-line {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* ---- Sections ---- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-12) var(--space-4);
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-3);
}

.section-inner h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

/* ---- Philosophy ---- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-4);
  transition: border-color 0.2s;
}

.philosophy-card:hover {
  border-color: var(--border-hover);
}

.philosophy-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.philosophy-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Coming Soon ---- */
.coming-soon .section-inner {
  text-align: center;
}

.coming-soon-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto var(--space-6);
  line-height: 1.5;
}

.app-store-badge {
  color: var(--text-tertiary);
}

/* ---- Contact ---- */
.contact .section-inner {
  text-align: center;
}

.contact-info a {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-lg);
  color: var(--accent);
  transition: opacity 0.2s;
}

.contact-info a:hover {
  opacity: 0.8;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.footer-location {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .section-inner h2 {
    font-size: var(--text-xl);
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

  .section-inner {
    padding: var(--space-8) var(--space-4);
  }

  .coming-soon-sub {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-xl);
  }

  .nav-links {
    gap: var(--space-2);
  }
}
