﻿/* ===========================================
   BRAVADO SOLUTIONS â€” PREMIUM DARK THEME
   Tactical. Strategic. Cutting-Edge.
   =========================================== */

/* === ROOT VARIABLES === */
:root {
  /* Colors */
  --primary-black: #000000;
  --secondary-black: #0a0a0a;
  --tertiary-black: #111111;
  --dark-gray: #1a1a1a;
  --accent-silver: #e8e8e8;
  --mid-silver: #b8b8b8;
  --dark-silver: #888888;
  --pure-white: #ffffff;
  --accent-silver2: #c0c0c0;
  --accent-silver2-light: #e0e0e0;
  --accent-silver2-dark: #878787;
  --success-green: #4ade80;

  /* Typography */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows & Glows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.8);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.9);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.95);
  --glow-white: 0 0 30px rgba(232, 232, 232, 0.3);
  --glow-silver: 0 0 20px rgba(184, 184, 184, 0.25);
  --glow-silver2: 0 0 30px rgba(200, 200, 200, 0.4);
  --glow-gold-strong: 0 0 60px rgba(200, 200, 200, 0.25);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--primary-black);
  color: var(--accent-silver);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === CURSOR GLOW === */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 200, 200, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: top 0.06s linear, left 0.06s linear;
  mix-blend-mode: screen;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--mid-silver);
}

a {
  color: var(--accent-silver);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover { color: var(--pure-white); }

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.grid { display: grid; gap: var(--spacing-md); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(200, 200, 200, 0.08);
  transition: all var(--transition-normal);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-silver2-light), transparent);
  transition: width 0.6s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(200, 200, 200, 0.12);
}

.navbar.scrolled::after {
  width: 100%;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pure-white);
  transition: all var(--transition-normal);
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(200, 200, 200, 0.3));
  transition: all var(--transition-normal);
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(200, 200, 200, 0.7));
  transform: scale(1.05);
}

.nav-brand {
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--pure-white) 0%, var(--accent-silver2-light) 60%, var(--mid-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  position: relative;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-silver);
  padding: 0.5rem 0;
  transition: all var(--transition-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-silver2), var(--accent-silver2-light));
  transition: width var(--transition-normal);
  box-shadow: 0 0 8px rgba(192, 192, 192, 0.6);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--pure-white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--accent-silver);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.nav-toggle:hover span { background: var(--accent-silver2); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(24px);
    padding: 2rem;
    border-left: 1px solid rgba(192, 192, 192, 0.15);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
    width: 280px;
    height: calc(100vh - 70px);
    gap: 1.5rem;
    transition: right var(--transition-normal);
  }

  .nav-menu.active { right: 0; }
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
  background: var(--primary-black);
}

/* Animated tactical grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 200, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 200, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
}

/* Atmospheric glow orbs */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(200, 200, 200, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(200, 200, 200, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes gridShift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

@keyframes orbPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 4.5rem;
  animation: fadeInUp 0.9s var(--transition-normal) backwards;
}

.hero-logo {
  margin-bottom: var(--spacing-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-logo img {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(200, 200, 200, 0.35)) drop-shadow(0 0 60px rgba(200, 200, 200, 0.12));
  transition: all var(--transition-slow);
}

.hero-logo img:hover {
  filter: drop-shadow(0 0 50px rgba(200, 200, 200, 0.6));
  transform: scale(1.03);
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-silver2);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.hero-title {
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--pure-white) 0%, var(--accent-silver) 50%, var(--mid-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--mid-silver);
  margin-bottom: var(--spacing-lg);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

/* === STATS BAR === */
.stats-bar {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  flex: 1;
  min-width: 130px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(192, 192, 192, 0.1);
  transition: background var(--transition-normal);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(192, 192, 192, 0.05);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-silver2);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-silver);
  font-weight: 500;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-silver);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-silver2), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
}

/* Ripple on all buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 320px;
  height: 320px;
}

/* Silver primary button */
.btn-primary, .btn-gold, .btn-silver {
  background: linear-gradient(135deg, var(--accent-silver2-dark) 0%, var(--accent-silver2) 50%, var(--accent-silver2-light) 100%);
  background-size: 200% auto;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Shine sweep on hover */
.btn-primary::after, .btn-gold::after, .btn-silver::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}

.btn-primary:hover::after, .btn-gold:hover::after, .btn-silver:hover::after {
  left: 150%;
}

.btn-primary:hover, .btn-gold:hover, .btn-silver:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(192, 192, 192, 0.5);
  color: #000;
}

/* Secondary outline button */
.btn-secondary {
  background: transparent;
  color: var(--accent-silver);
  border: 1.5px solid rgba(192, 192, 192, 0.4);
}

.btn-secondary:hover {
  border-color: var(--accent-silver2);
  color: var(--accent-silver2);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.2), inset 0 0 20px rgba(192, 192, 192, 0.04);
  transform: translateY(-3px);
}

/* === SECTIONS === */
section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-silver2);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-silver2));
  opacity: 0.5;
}

.section-label::after {
  background: linear-gradient(90deg, var(--accent-silver2), transparent);
}

.section-title { margin-bottom: var(--spacing-md); }

.section-description {
  font-size: 1.125rem;
  color: var(--mid-silver);
  line-height: 1.8;
}

/* === CARDS === */
.card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.5) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192, 192, 192, 0.08);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Silver left accent bar */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent-silver2), transparent);
  transition: height 0.4s ease;
}

/* Shimmer sweep */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.04), transparent);
  transition: left 0.6s ease;
}

.card:hover::before { height: 100%; }
.card:hover::after { left: 100%; }

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 192, 192, 0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(192, 192, 192, 0.1),
    0 0 40px rgba(192, 192, 192, 0.08);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.04) 0%, rgba(0,0,0,0.5) 100%);
}

.card-icon {
  margin-bottom: var(--spacing-sm);
  display: block;
}

.card-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--accent-silver2);
  stroke-width: 1.5;
  fill: none;
}

.service-display-icon {
  margin-bottom: 1.25rem;
}

.service-display-icon svg {
  width: 5.5rem;
  height: 5.5rem;
  stroke: var(--accent-silver2);
  stroke-width: 1;
  fill: none;
}

.contact-icon-inline svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--accent-silver2);
  stroke-width: 2;
  fill: none;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--pure-white);
}

.card-description {
  color: var(--mid-silver);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

/* === FORMS === */
.form-group { margin-bottom: var(--spacing-md); }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--accent-silver);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(192, 192, 192, 0.03);
  border: 1px solid rgba(192, 192, 192, 0.12);
  border-radius: var(--radius-sm);
  color: var(--accent-silver);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--dark-silver);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-silver2);
  background: rgba(192, 192, 192, 0.05);
  box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.12), 0 0 20px rgba(192, 192, 192, 0.08);
}

select.form-input option {
  background: #111;
  color: var(--accent-silver);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* === FOOTER === */
.footer {
  background: var(--secondary-black);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--accent-silver2), var(--mid-silver), transparent) 1;
  padding: var(--spacing-lg) 0 var(--spacing-md);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-silver2-dark) 30%, var(--accent-silver2) 50%, var(--accent-silver2-dark) 70%, transparent 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  font-size: 0.8rem;
  margin-bottom: var(--spacing-sm);
  color: var(--accent-silver2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.6rem; }

.footer-section a {
  color: var(--dark-silver);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-section a:hover { color: var(--accent-silver2); }

.footer-section p { font-size: 0.9rem; }

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(192, 192, 192, 0.06);
  color: var(--dark-silver);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* === REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay utilities */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* === SILVER SHINE TEXT === */
@keyframes silverShine {
  0%   { background-position: -250% center; }
  70%  { background-position: 250% center; }
  100% { background-position: 250% center; }
}

.text-silver-shine {
  background: linear-gradient(90deg,
    #909090 0%,
    #c0c0c0 30%,
    #ffffff 50%,
    #c0c0c0 70%,
    #909090 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: silverShine 2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }

  .hero { min-height: 90vh; }
  .hero-logo img { height: 120px; }
  .hero-cta { flex-direction: column; }

  .btn { width: 100%; text-align: center; }

  .stats-bar { border-radius: 0; }
  .stat-item { min-width: 100px; padding: 1rem; }
  .stat-number { font-size: 1.4rem; }

  #cursor-glow { display: none; }
}