/* ===== Arc Collective Design System ===== */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111;
  --border: #1a1a1a;
  --border-light: #2a2a2a;
  --text: #e8e8e8;
  --text-sec: #888;
  --text-muted: #555;
  --gold-1: #e8d5b0;
  --gold-2: #c9a96e;
  --gold-3: #b8956a;
  --gold-4: #d4af78;
  --max-w: 1200px;
  --side-pad: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
section { padding: 96px 0; }
.divider { height: 1px; background: var(--border); }

/* ===== Typography ===== */
.gold-text {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SVG Gradient (hidden) ===== */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-lockup svg { flex-shrink: 0; }
.logo-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  color: var(--text-sec);
  transition: color 0.2s;
  font-weight: 400;
}
.nav-link:hover { color: var(--text); }
.nav-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.nav-lang a { transition: color 0.2s; }
.nav-lang a:hover { color: var(--text-sec); }
.nav-lang .active { color: var(--gold-2); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 80px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero .subtitle {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-sec);
  font-weight: 400;
  max-width: 500px;
  line-height: 1.6;
}
.hero .cta-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}
.hero .cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== Stats Bar ===== */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-sec);
  font-weight: 400;
}
.stats-inner .dot {
  color: var(--text-muted);
  font-size: 11px;
  user-select: none;
}
.stats-inner .stat-highlight {
  font-weight: 500;
  color: var(--gold-2);
}

/* ===== What We Do ===== */
.what-we-do { padding: 96px 0; }
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 500;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.two-col .col-num {
  font-size: 13px;
  color: var(--gold-2);
  font-weight: 500;
  margin-bottom: 12px;
}
.two-col h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.3;
}
.two-col p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
}
.what-we-do .tagline {
  margin-top: 56px;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== Client Categories ===== */
.client-categories { padding: 96px 0; }
.category-list { margin-top: 0; }
.category-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
  cursor: pointer;
}
.category-item:first-child { border-top: 1px solid var(--border); }
.category-item:hover { opacity: 0.7; }
.category-left { flex: 1; min-width: 0; }
.category-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.category-desc {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.5;
}
.category-arrow {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 24px;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}
.category-item:hover .category-arrow {
  transform: translateX(3px);
  color: var(--text-sec);
}

/* ===== Deployed Solutions ===== */
.solutions { padding: 96px 0; }
.solution-card {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.solution-card:first-of-type { border-top: 1px solid var(--border); }
.solution-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.solution-industry {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.solution-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 20px;
}
.solution-grid dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  font-weight: 500;
  margin-bottom: 8px;
}
.solution-grid dd {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}
.solution-link {
  display: inline-block;
  font-size: 14px;
  color: var(--gold-2);
  font-weight: 500;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.solution-link:hover { opacity: 0.7; }

/* ===== Why Arc ===== */
.why-arc { padding: 96px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px 64px;
}
.why-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ===== Team ===== */
.team { padding: 96px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--border-light);
  filter: grayscale(0.2);
  transition: filter 0.3s;
}
.team-card:hover .team-photo { filter: grayscale(0); }
.team-name {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--gold-2);
  margin-bottom: 8px;
  font-weight: 400;
}
.team-bio {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-sec);
  margin-bottom: 40px;
  line-height: 1.6;
}
.cta-section .cta-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}
.cta-section .cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.cta-email {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-sec);
}
.cta-email a {
  color: var(--gold-2);
  transition: opacity 0.2s;
}
.cta-email a:hover { opacity: 0.7; }

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-inner a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-inner a:hover { color: var(--text-sec); }
.footer-dot {
  font-size: 11px;
  user-select: none;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.visible {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root { --side-pad: 32px; }
  .hero h1 { font-size: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (max-width: 600px) {
  :root { --side-pad: 20px; }
  .hero { padding: 120px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 40px var(--side-pad);
    gap: 28px;
    z-index: 99;
  }
  .nav-links.open .nav-link { font-size: 20px; }
  .nav-toggle { display: block; }
  .stats-inner { flex-direction: column; gap: 8px; text-align: center; }
  .stats-inner .dot { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .category-name { font-size: 17px; }
  .solution-industry { font-size: 18px; }
  .cta-section h2 { font-size: 28px; }
}
