/* ============================================
   SECURITY BOX - COMPONENTS
   ============================================ */

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-2xl);
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(204, 27, 27, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red-bright);
  line-height: 1.3;
}

/* logo-sub removed from markup; keeping rule hidden in case it's referenced */
.logo-sub {
  display: none;
}

/* small cube icon before logo text */
.nav-logo-img {
  /* make logo larger so it's visually aligned with the text and more prominent */
  width: 40px;
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Navigation menu */
.nav-center {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  height: 72px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-body);
  position: relative;
}

.nav-item > a:hover {
  color: var(--white);
}

.nav-item > a .arr {
  font-size: 7px;
  transition: transform 0.3s ease;
}

.nav-item:hover > a .arr {
  transform: rotate(180deg);
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-item:hover > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 72px;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(204, 27, 27, 0.18);
  min-width: 260px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 1px;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.dropdown a:hover {
  color: var(--white);
  background: rgba(204, 27, 27, 0.08);
  border-left-color: var(--red-bright);
  padding-left: 24px;
}

.dropdown a .di {
  font-size: 15px;
}

/* CTA Button */
.nav-cta {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red-bright);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--red);
  color: white;
  box-shadow: 0 0 20px var(--red-glow);
}

/* TICKER */
.ticker {
  margin-top: 72px;
  background: rgba(120, 0, 0, 0.35);
  padding: 9px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(204, 27, 27, 0.18);
}

.ticker-inner {
  display: flex;
  gap: 80px;
  animation: ticker-scroll 25s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.7);
}

.ticker-item::before {
  content: '◆';
  font-size: 5px;
  color: var(--red-bright);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* BUTTONS */
.btn-primary {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  padding: 15px 32px;
  background: var(--red);
  color: white;
  border: none;
  text-transform: uppercase;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 0 30px var(--red-glow);
}

.btn-ghost {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  font-weight: 600;
  font-family: var(--font-body);
  background: none;
  border: none;
}

.btn-ghost::before {
  content: '▶';
  color: var(--red-bright);
  font-size: 8px;
  transition: transform 0.3s ease;
}

.btn-ghost:hover {
  color: white;
}

.btn-ghost:hover::before {
  transform: translateX(4px);
}

/* CARDS */
.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
  border-color: rgba(204, 27, 27, 0.3);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--red-bright);
  line-height: 1;
}

.stat-num sup {
  font-size: 16px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 7px;
  font-weight: 500;
  font-family: var(--font-body);
}

/* SERVICE CARDS */
.service-card {
  background: var(--bg2);
  padding: 42px 34px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-bright);
  transition: width 0.4s ease;
}

.service-card:hover {
  background: #efefef;
  transform: translateY(-3px);
}

.service-card:hover::before {
  width: 100%;
}

.svc-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: rgba(204, 27, 27, 0.055);
  line-height: 1;
}

.svc-icon {
  font-size: 30px;
  margin-bottom: 18px;
}

.svc-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.svc-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 300;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red-bright);
  text-transform: uppercase;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-card:hover .svc-link {
  gap: 14px;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(204, 27, 27, 0.1);
  padding: 34px var(--spacing-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--red-bright);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--red-bright);
}
