:root {
  --primary: #0a0e1a;
  --secondary: #111827;
  --accent: #d4af37;
  --accent-light: #f4d03f;
  --text-light: #f8fafc;
  --text-dark: #030712;
  --glass: rgba(212, 175, 55, 0.04);
  --glass-border: rgba(212, 175, 55, 0.12);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Navbar: Asymmetric Split-Level Nav (#14) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--accent));
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Hero: Visual Aura Orbit Stack (#17) - Locksmith Enhanced */
.hero {
  min-height: 120vh;
  display: flex;
  align-items: center;
  padding: 150px 0;
  position: relative;
  background: var(--primary);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--primary) 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: 'SECURITY SYSTEM ACTIVE';
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 3px;
  opacity: 0.5;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 50%, #b8860b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.4em;
  letter-spacing: 15px;
  margin-top: 10px;
  background: none;
  -webkit-text-fill-color: var(--accent);
  opacity: 0.95;
}

.hero-label {
  color: var(--accent);
  letter-spacing: 5px;
  margin-bottom: 25px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-desc {
  font-size: 1.2rem;
  color: #9ca3af;
  max-width: 550px;
  margin-bottom: 50px;
  line-height: 1.8;
  border-left: 2px solid var(--accent);
  padding-left: 30px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aura-orbit {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}

.aura-orbit::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
}

.hero-card {
  width: 420px;
  height: 550px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 50px 100px rgba(0,0,0,0.8);
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--primary) 0%, transparent 100%);
  opacity: 0.4;
}

.hero-card-small {
  position: absolute;
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  border: 2px solid var(--accent);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.1);
  background-color: var(--secondary);
}

.hero-card-small:nth-child(3) {
  top: -60px;
  right: -40px;
  animation: float 8s ease-in-out infinite;
}

.hero-card-small:nth-child(4) {
  bottom: -60px;
  left: -40px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -20px); }
}

/* About: Geometric Mask About (#16) */
.about {
  padding: 150px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-image {
  position: relative;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.about-stats h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.about-stats p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Services: Holographic Radial Cluster (#14) */
.services {
  padding: 150px 0;
  background: var(--secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 3.5rem;
}

.section-title p {
  color: var(--accent);
  letter-spacing: 4px;
  font-weight: 800;
  font-size: 0.9rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: var(--transition);
}

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

.service-card:hover {
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-15px);
}

/* Detail Section: Geometric Glass Mask (#22) */
.detail-section {
  padding: 150px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.detail-image {
  position: relative;
}

.detail-image::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--accent);
  z-index: -1;
}

/* Areas Section: Neon Data-Grid Module (#2) */
.areas {
  padding: 150px 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.area-tag {
  padding: 25px;
  background: var(--secondary);
  border: 1px solid var(--glass-border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
  overflow: hidden;
}

.area-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: 0.8s;
}

.area-tag:hover::before {
  transform: translateX(100%);
}

.area-tag:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(212, 175, 55, 0.1);
}

.area-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.33); opacity: 1; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.area-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* FAQ: Modular Glass Tiles (#1) */
.faq {
  padding: 150px 0;
  background: var(--secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.faq-tile {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 40px;
  transition: var(--transition);
}

.faq-tile:hover {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.05);
}

.faq-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

/* Contact: Split Diagnostic Hub (#1) */
.contact-section {
  padding: 150px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--secondary);
  border: 1px solid var(--glass-border);
}

.contact-info {
  padding: 80px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Footer: Isometric Data Footer (#14) */
footer {
  padding: 100px 0 50px;
  background: #030712;
  transform: skewY(-2deg);
  margin-top: 100px;
}

.footer-content {
  transform: skewY(2deg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 40px;
}

.footer-address {
  font-size: 1.1rem;
  color: #9ca3af;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

.copyright {
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 120px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 50px;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 20px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 50px;
  }
  .aura-orbit {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
  }
  .hero-card {
    width: 100%;
    max-width: 300px;
    height: 400px;
  }
  .hero-card-small {
    width: 120px;
    height: 120px;
  }
  .hero-card-small:nth-child(3) {
    top: -30px;
    right: -10px;
  }
  .hero-card-small:nth-child(4) {
    bottom: -30px;
    left: -10px;
  }
  .about-grid {
    gap: 50px;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-content {
    text-align: center;
  }
  .about-content h2 {
    font-size: 2.2rem;
  }
  .section-title {
    text-align: center !important;
  }
  .about-grid, .services-grid, .detail-grid, .faq-grid, .contact-card {
    grid-template-columns: 1fr !important;
  }
  .contact-info {
    padding: 40px 20px;
  }
  .nav-links { display: none; }
  .hero h1 { font-size: 3rem; }
  .about-image { clip-path: none; }
}

@media (max-width: 768px) {
  .section-title h2 { font-size: 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .services-grid { gap: 20px; }
  .faq-grid { gap: 15px; }
  .area-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

