@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --bg: #0a0a0c;
  --fg: #f0f0f2;
  --card: #111114;
  --border: #2a2a30;
  --muted: #6b6b78;
  --muted-fg: #8a8a95;
  --amber: #F5A623;
  --amber-glow: rgba(245, 166, 35, 0.3);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 2px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Container */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,12,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-fg); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.mobile-toggle { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--border); padding: 1.5rem; gap: 1rem; }
}

/* Section labels */
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-label .diamond { width: 8px; height: 8px; border: 1px solid var(--amber); transform: rotate(45deg); }
.section-label span { font-family: var(--font-mono); font-size: 11px; color: var(--amber); letter-spacing: 0.2em; text-transform: uppercase; }
.section-label .line { flex: 1; height: 1px; background: rgba(245,166,35,0.15); }

/* Panel cards */
.panel { border: 1px solid var(--border); background: var(--card); position: relative; padding: 24px; }
.panel::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: rgba(245,166,35,0.4); }
.panel:hover { border-color: rgba(245,166,35,0.3); }

/* Bracket frame */
.bracket-frame { position: relative; }
.bracket-frame::before, .bracket-frame::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: rgba(245,166,35,0.5); border-style: solid; }
.bracket-frame::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.bracket-frame::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--amber); color: #000; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: rgba(245,166,35,0.9); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid var(--border); color: var(--fg); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: transparent; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* Grid overlay */
.grid-overlay { position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(var(--amber) 1px, transparent 1px), linear-gradient(90deg, var(--amber) 1px, transparent 1px); background-size: 80px 80px; }

/* Amber line */
.amber-line { height: 1px; background: linear-gradient(90deg, transparent, var(--amber-glow), transparent); }

/* Footer */
.footer { background: #000; border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer h4 { font-family: var(--font-heading); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted-fg); font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; color: var(--muted-fg); font-size: 14px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.4) 60%, transparent); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent, var(--bg)); }
.hero-content { position: relative; z-index: 10; }

/* Page hero (sub-pages) */
.page-hero { position: relative; padding: 120px 0 80px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(10,10,12,0.9), var(--bg)); }
.page-hero-content { position: relative; z-index: 10; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats-grid .stat-value { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--amber); }
.stats-grid .stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--muted-fg); letter-spacing: 0.2em; text-transform: uppercase; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Icon box */
.icon-box { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(245,166,35,0.2); background: rgba(245,166,35,0.05); margin-bottom: 16px; }
.icon-box svg { color: var(--amber); }

/* Form */
.form-input { width: 100%; padding: 12px 16px; background: rgba(17,17,20,0.5); border: 1px solid var(--border); color: var(--fg); font-size: 14px; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--amber); outline: none; }
.form-input::placeholder { color: var(--muted-fg); }
.form-label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted-fg); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
