:root {
  --azm-bg: #000000;
  --azm-bg-elevated: #0d0d0d;
  --azm-bg-card: #141414;
  --azm-accent: #e84855;
  --azm-accent-hover: #ff5a67;
  --azm-text: #ffffff;
  --azm-text-muted: #a8a8a8;
  --azm-border: rgba(255, 255, 255, 0.12);
  --azm-font: 'Inter', system-ui, -apple-system, sans-serif;
  --azm-navbar-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body.azm-body {
  font-family: var(--azm-font);
  background-color: var(--azm-bg);
  color: var(--azm-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--azm-accent);
  color: #fff;
}
.skip-link:focus {
  top: 0;
}

/* Navbar */
.azm-navbar {
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--azm-border);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: background 0.3s ease;
}
.azm-navbar.scrolled {
  background: rgba(0, 0, 0, 0.98) !important;
}
.azm-logo {
  max-height: 38px;
  width: auto;
}
.azm-navbar .nav-link {
  color: var(--azm-text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: capitalize;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s;
}
.azm-navbar .nav-link:hover,
.azm-navbar .nav-link.active {
  color: var(--azm-accent) !important;
}
.azm-navbar .nav-link.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--azm-accent);
}
.azm-btn-outline {
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-azm-primary {
  background: var(--azm-accent);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 0;
  transition: background 0.2s, transform 0.2s;
}
.btn-azm-primary:hover {
  background: var(--azm-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.azm-hero {
  position: relative;
  background: var(--azm-bg);
  overflow: hidden;
}
.azm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 72, 85, 0.15), transparent 60%),
    url('../images/hero-pattern.svg') center/cover no-repeat;
  opacity: 0.6;
  pointer-events: none;
}
.azm-hero .container {
  position: relative;
  z-index: 1;
}
.azm-hero-home {
  min-height: calc(100vh - var(--azm-navbar-height));
  display: flex;
  align-items: center;
}
.azm-hero-tagline {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* Sections */
.azm-section {
  padding: 4rem 0;
}
.azm-section-alt {
  background: var(--azm-bg-elevated);
}
.azm-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--azm-text);
}

/* Service cards */
.azm-service-card {
  background: var(--azm-bg-card);
  border: 1px solid var(--azm-border) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.azm-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 72, 85, 0.4) !important;
  box-shadow: 0 12px 40px rgba(232, 72, 85, 0.12);
}
.azm-service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azm-accent);
  font-size: 1.75rem;
}

/* Stats */
.azm-stat-value {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--azm-accent);
  line-height: 1.1;
}

/* Tech tabs */
.azm-tech-tabs .nav-link {
  background: transparent;
  color: var(--azm-text-muted);
  border: 1px solid var(--azm-border);
  border-radius: 0;
  font-size: 0.85rem;
}
.azm-tech-tabs .nav-link.active {
  background: var(--azm-accent);
  border-color: var(--azm-accent);
  color: #fff;
}
.azm-tech-badge {
  background: var(--azm-bg-card);
  color: var(--azm-text);
  border: 1px solid var(--azm-border);
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Features list */
.azm-feature-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--azm-border);
  color: var(--azm-text);
}
.azm-feature-item i {
  color: var(--azm-accent);
  margin-right: 0.75rem;
}

/* Clients */
.azm-client-logo {
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.7;
  transition: opacity 0.3s, filter 0.3s;
  max-height: 48px;
  width: auto;
}
.azm-client-logo:hover {
  filter: none;
  opacity: 1;
}

/* About split */
.azm-about-visual {
  min-height: 320px;
  background: linear-gradient(135deg, #0a1628 0%, #1a0a14 100%);
  border: 1px solid var(--azm-border);
  position: relative;
  overflow: hidden;
}
.azm-about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/mesh-grid.svg') center/cover;
  opacity: 0.5;
}

/* Industry cards */
.azm-industry-card {
  background: var(--azm-bg-card);
  border: 1px solid var(--azm-border);
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.3s;
}
.azm-industry-card:hover {
  border-color: var(--azm-accent);
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--azm-accent);
  box-shadow: 0 0 0 0.2rem rgba(232, 72, 85, 0.25);
}
.azm-form-card {
  background: var(--azm-bg-card);
  border: 1px solid var(--azm-border);
  padding: 2rem;
}

/* Footer */
.azm-footer {
  background: #050505;
  margin-top: 0;
}
.azm-footer a:hover {
  color: var(--azm-accent) !important;
}
.azm-chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--azm-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1040;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(232, 72, 85, 0.4);
}
.azm-chat-fab:hover {
  color: #fff;
  transform: scale(1.05);
  background: var(--azm-accent-hover);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Video placeholder */
.azm-video-wrap {
  aspect-ratio: 16/9;
  background: var(--azm-bg-card);
  border: 1px solid var(--azm-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azm-text-muted);
}

/* Career benefits */
.azm-benefit-card {
  background: var(--azm-bg-card);
  border-left: 3px solid var(--azm-accent);
  padding: 1.25rem;
  height: 100%;
}

/* Legal pages */
.azm-legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  color: var(--azm-accent);
}
.azm-legal p {
  color: var(--azm-text-muted);
}

/* Members gate */
.azm-members-placeholder {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .azm-navbar .nav-link.active::before {
    display: none;
  }
  .azm-hero-home {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
