/* ==========================================================================
   ArhiZen - Modern Archival Records & Storage
   Identity Sheet Implementation
   Palette: Archive White (#F2F0EB), Graphite (#8A9099), Slate Edge (#2B3038),
            Vault Black (#14171C), Canvas Background (#0B0D10)
   Fonts: Jost (Sans-serif) & IBM Plex Mono (Monospace)
   ========================================================================== */

:root {
  --az-canvas: #0b0d10;
  --az-vault: #14171c;
  --az-vault-card: #14171c;
  --az-vault-elevated: #1a1e25;
  --az-slate: #2b3038;
  --az-slate-light: #3b424d;
  --az-slate-subtle: rgba(43, 48, 56, 0.4);
  --az-graphite: #8a9099;
  --az-graphite-light: #b0b5bd;
  --az-white: #f2f0eb;
  --az-emerald: #10b981;
  --az-emerald-glow: rgba(16, 185, 129, 0.15);

  --font-jost: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition-base: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--az-canvas);
  color: var(--az-white);
  font-family: var(--font-jost);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Architectural Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(43, 48, 56, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 48, 56, 0.25) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 80%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 80%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* Typography Helpers & Tracking */
.font-mono {
  font-family: var(--font-mono);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--az-graphite);
}

.mono-tag-light {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--az-white);
}

.brand-tracking {
  letter-spacing: 0.15em;
}

.heading-display {
  font-family: var(--font-jost);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--az-white);
}

.heading-section {
  font-family: var(--font-jost);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--az-white);
}

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

.text-white-soft {
  color: var(--az-white) !important;
}

/* Navbar */
.az-navbar {
  background-color: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--az-slate);
  padding: 18px 0;
  transition: var(--transition-base);
  z-index: 1030;
}

.az-navbar.scrolled {
  padding: 12px 0;
  background-color: rgba(11, 13, 16, 0.96);
  border-bottom-color: rgba(138, 144, 153, 0.3);
}

/* Brand Lockup */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--az-white);
  transition: var(--transition-base);
}

.brand-lockup:hover {
  color: var(--az-white);
  opacity: 0.92;
}

.brand-mark-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark-svg {
  width: 100%;
  height: auto;
  display: block;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1;
  color: var(--az-white);
}

.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--az-graphite);
  margin-top: 5px;
}

/* Live Status Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 23, 28, 0.8);
  border: 1px solid var(--az-slate);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--az-graphite);
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--az-emerald);
  box-shadow: 0 0 10px var(--az-emerald);
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--az-emerald);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Custom Buttons (Zero Form - Direct Action) */
.btn-az {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-az-primary {
  background-color: var(--az-white);
  color: var(--az-vault);
  border-color: var(--az-white);
}

.btn-az-primary:hover,
.btn-az-primary:focus {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 240, 235, 0.15);
}

.btn-az-outline {
  background-color: transparent;
  color: var(--az-white);
  border-color: var(--az-slate);
}

.btn-az-outline:hover,
.btn-az-outline:focus {
  background-color: var(--az-vault-elevated);
  color: var(--az-white);
  border-color: var(--az-graphite);
  transform: translateY(-2px);
}

.btn-az-sm {
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.btn-az-lg {
  padding: 16px 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
}

/* Subtle Copy Helper Button */
.btn-copy-helper {
  background: transparent;
  border: none;
  color: var(--az-graphite);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-copy-helper:hover {
  color: var(--az-white);
}

/* Card Containers */
.az-card {
  background-color: var(--az-vault);
  border: 1px solid var(--az-slate);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  position: relative;
}

.az-card:hover {
  border-color: var(--az-graphite);
  background-color: var(--az-vault-elevated);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.az-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--az-slate);
}

.az-card-number {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--az-graphite);
  font-weight: 500;
}

.az-card-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(43, 48, 56, 0.4);
  border: 1px solid var(--az-slate);
  color: var(--az-white);
  font-size: 16px;
}

.az-card-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--az-white);
  line-height: 1.3;
}

.az-card-body {
  color: var(--az-graphite);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.az-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(43, 48, 56, 0.8);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.az-pill-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--az-graphite);
  background-color: rgba(11, 13, 16, 0.7);
  border: 1px solid var(--az-slate);
  padding: 3px 8px;
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 96px;
  position: relative;
}

.hero-tag-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 28px;
}

.hero-lead-1 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--az-white);
  margin-bottom: 16px;
}

.hero-lead-2 {
  font-size: 16px;
  line-height: 1.65;
  color: var(--az-graphite);
  margin-bottom: 36px;
  max-width: 620px;
}

/* Hero Contact Card */
.hero-contact-card {
  background: var(--az-vault);
  border: 1px solid var(--az-slate);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--az-white), transparent);
}

.contact-card-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--az-white);
}

.contact-card-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--az-graphite);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* Vault Graphics Widget */
.vault-visual-card {
  background: var(--az-vault);
  border: 1px solid var(--az-slate);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.vault-geometric-silhouette {
  width: 180px;
  height: 180px;
  transform: rotate(45deg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(138, 144, 153, 0.2);
  margin-bottom: 36px;
  background: #0f1216;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: var(--transition-base);
}

.vault-visual-card:hover .vault-geometric-silhouette {
  border-color: var(--az-white);
  transform: rotate(45deg) scale(1.03);
}

.vault-bars-container {
  position: absolute;
  left: -54px;
  top: -54px;
  width: 288px;
  height: 288px;
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.vault-bar {
  height: 46px;
  background: var(--az-white);
  transition: var(--transition-base);
}

.vault-visual-card:hover .vault-bar {
  background: #ffffff;
}

.vault-metadata {
  width: 100%;
  border-top: 1px solid var(--az-slate);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Section Common Styles */
.section-wrapper {
  padding: 88px 0;
  border-top: 1px solid var(--az-slate);
  position: relative;
}

.section-header-block {
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

/* Regional Section */
.region-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.region-item {
  background-color: var(--az-vault);
  border: 1px solid var(--az-slate);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
}

.region-item:hover {
  border-color: var(--az-graphite);
  background-color: var(--az-vault-elevated);
  transform: translateY(-2px);
}

.region-item.highlight-hub {
  border-color: var(--az-white);
  background-color: #181d24;
}

.region-name {
  font-family: var(--font-jost);
  font-size: 18px;
  font-weight: 500;
  color: var(--az-white);
}

.region-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--az-graphite);
  text-transform: uppercase;
}

.region-item.highlight-hub .region-tag {
  color: var(--az-white);
  background: var(--az-slate);
  padding: 2px 6px;
}

/* DepoZen Affiliation Section */
.depozen-banner {
  background-color: var(--az-vault);
  border: 1px solid var(--az-slate);
  padding: 48px 40px;
  position: relative;
}

.depozen-link {
  color: var(--az-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--az-slate);
  transition: var(--transition-base);
}

.depozen-link:hover {
  color: var(--az-white);
  border-bottom-color: var(--az-white);
  transform: translateX(4px);
}

/* Final CTA Section */
.final-cta-section {
  padding: 96px 0;
  border-top: 1px solid var(--az-slate);
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.4) 0%, rgba(11, 13, 16, 0.9) 100%);
}

.cta-box {
  border: 1px solid var(--az-slate);
  background-color: var(--az-vault);
  padding: 56px 44px;
  text-align: center;
  position: relative;
}

.cta-tagline-slogan {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--az-slate);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--az-graphite);
}

/* Footer */
.az-footer {
  border-top: 1px solid var(--az-slate);
  background-color: var(--az-canvas);
  padding: 48px 0 36px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(43, 48, 56, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--az-graphite);
}

/* Toast Feedback */
.az-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--az-vault);
  border: 1px solid var(--az-white);
  color: var(--az-white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1080;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.az-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hover Helpers */
.hover-white {
  transition: var(--transition-base);
}
.hover-white:hover {
  color: var(--az-white) !important;
}

/* Responsive Utilities */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .vault-visual-card {
    min-height: 320px;
    padding: 32px;
    margin-top: 32px;
  }
  .vault-geometric-silhouette {
    width: 140px;
    height: 140px;
  }
  .vault-bars-container {
    left: -42px;
    top: -42px;
    width: 224px;
    height: 224px;
    gap: 16px;
  }
  .vault-bar {
    height: 36px;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .depozen-banner {
    padding: 36px 24px;
  }
}

@media (max-width: 575.98px) {
  .brand-descriptor {
    display: none;
  }
  .hero-contact-card {
    padding: 24px 18px;
  }
  .btn-az {
    width: 100%;
  }
  .contact-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .az-card {
    padding: 24px 20px;
  }
}
