/* ==========================
   File: assets/css/style.css
   ========================== */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: #bbb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
}

.logo-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand {
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 30;
}

.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
}

.text-muted {
  color: var(--muted) !important;
}

/* ==========================
   CAD-style animated background
   ========================== */
#cad-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65; /* higher opacity for more presence */
  background-color: #000; /* deep black for contrast */
  overflow: hidden;
}

#cad-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 48px, rgba(0, 180, 255, 0.08) 49px),
    linear-gradient(90deg, transparent 48px, rgba(0, 180, 255, 0.08) 49px);
  background-size: 50px 50px;
  animation: cadGridMove 30s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0,180,255,0.1));
}


@keyframes cadGridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 50px 50px, 50px 50px; }
}

/* SVG overlay lines */
#cad-background svg {
  width: 100%;
  height: 100%;
}

/* ==========================
   Typography tweaks
   ========================== */
.lead {
  color: var(--fg);
  opacity: 0.9;
}

blockquote {
  border-left: 3px solid rgba(255, 255, 255, 0.08);
  padding-left: 1rem;
  font-style: italic;
  line-height: 1.6;
}

/* ==========================
   Responsive tweaks
   ========================== */
@media (max-width: 767px) {
  .hero {
    padding: 3rem 1rem;
  }
  .brand {
    font-size: 1rem;
  }
}

/* ==========================
   Accessibility focus
   ========================== */
a:focus {
  outline: 3px solid rgba(255, 255, 255, 0.12);
  outline-offset: 2px;
}
