/* Versatechnik Engineering - custom styles */
:root {
  --navy: #0B1B3D;
  --navy-light: #142A5C;
  --navy-dark: #060F24;
  --yellow: #F5B800;
  --yellow-hover: #E0A800;
  --cyan: #38BDF8;
  --cyan-dark: #0284C7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--navy);
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Subtle tech background - restrained, no heavy glows */
.tech-bg {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

/* Top accent bar */
.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--cyan) 100%);
}

/* Cards */
.card {
  background: var(--navy-light);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 184, 0, 0.45);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--navy-light);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 184, 0, 0.5);
}
.link-card .icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--yellow-hover); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(245, 184, 0, 0.5);
}
.btn-outline:hover {
  background: rgba(245, 184, 0, 0.1);
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Navbar */
.navbar {
  backdrop-filter: blur(8px);
  background: rgba(11, 27, 61, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.nav-link {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--yellow); }

/* Section headings */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.accent-line {
  display: inline-block;
  width: 2.5rem;
  height: 3px;
  background: var(--yellow);
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* Footer */
footer a { transition: color 0.2s ease; }
footer a:hover { color: var(--yellow); }

/* Forms */
.input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--navy-dark);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.9rem;
}
.input:focus {
  outline: none;
  border-color: var(--yellow);
}

/* Placeholder badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Mobile nav */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* Utility */
.container-narrow { max-width: 72rem; margin-left: auto; margin-right: auto; }

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}