/* ================================
   PREMIUM MILITARY DESIGN SYSTEM
   Defense Industry Standards
================================ */
:root {
  /* Layout */
  --gutter: 32px;
  --content-max: 1140px;
  --section-gap: 120px;
  --section-gapb: 80px;
  --hero-gap: 140px;
  --hero-gapb: 80px;

  /* Military Color Palette - Premium */
  --bg-primary: #0d0f12;
  --bg-secondary: #151820;
  --bg-tertiary: #1a1f2b;
  --bg-card: rgba(26, 31, 43, 0.7);
  --bg-card-hover: rgba(31, 37, 50, 0.85);

  /* Borders */
  --border-primary: #1f2530;
  --border-accent: rgba(139, 172, 145, 0.25);
  --border-glow: rgba(139, 172, 145, 0.4);

  /* Text */
  --text-primary: #f0f2f5;
  --text-secondary: #b8bfc9;
  --text-muted: #7a8290;
  --text-dim: #5a6270;

  /* Military Accent Colors */
  --army-green: #8bac91;
  --army-green-dark: #6a8a70;
  --army-olive: #9ca87f;
  --army-tan: #c9b896;
  --army-gold: #d4b483;
  --army-camo: #4a5a4e;

  /* Functional Colors */
  --accent-primary: var(--army-green);
  --accent-secondary: var(--army-gold);
  --accent-glow: rgba(139, 172, 145, 0.12);
  --accent-glow-strong: rgba(139, 172, 145, 0.25);

  /* Shadows - Military Grade */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.7);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ================================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Premium Tactical Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 172, 145, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 172, 145, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Subtle radial gradient overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(139, 172, 145, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
  z-index: 1;
}

/* ================================
   TYPOGRAPHY - MILITARY PRECISION
================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Sans", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ================================
   NAVBAR - COMMAND CENTER
================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--border-primary);
  background: rgba(13, 15, 18, 0.98);
  backdrop-filter: blur(16px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-primary) 50%,
      transparent 100%);
  opacity: 0.4;
}

/* Logo - Military Branding */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform var(--transition-base);
  cursor: pointer;
}

.logo:hover {
  transform: translateX(3px);
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1.15) contrast(1.1);
  transition: all var(--transition-base);
}

.logo:hover img {
  filter: invert(1) brightness(1.3) contrast(1.15) drop-shadow(0 0 12px rgba(139, 172, 145, 0.5));
}

.logo span {
  font-family: "Share Tech Mono", "IBM Plex Mono", monospace;
  font-size: 21px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(139, 172, 145, 0.15);
  font-weight: 500;
}

/* Navigation - Tactical Menu */
nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
  padding: 8px 4px;
  transition: color var(--transition-base);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  transition: height var(--transition-base);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width var(--transition-base);
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::before {
  height: 100%;
}

nav a:hover::after {
  width: 100%;
}

/* ================================
   HERO - MISSION STATEMENT
================================ */
.hero {
  padding-top: var(--hero-gap);
  padding-bottom: var(--hero-gapb);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--content-max);
  position: relative;
  margin: 0 auto;
}

/* Military Corner Brackets - Premium */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2.5px solid var(--accent-primary);
  opacity: 0.4;
  transition: all var(--transition-slow);
}

.hero::before {
  top: calc(var(--hero-gap) - 20px);
  left: calc(var(--gutter) - 10px);
  border-right: none;
  border-bottom: none;
  box-shadow: -2px -2px 20px rgba(139, 172, 145, 0.1);
}

.hero::after {
  bottom: calc(var(--hero-gapb) - 20px);
  right: calc(var(--gutter) - 10px);
  border-left: none;
  border-top: none;
  box-shadow: 2px 2px 20px rgba(139, 172, 145, 0.1);
}

.hero:hover::before,
.hero:hover::after {
  opacity: 0.7;
  border-color: var(--accent-secondary);
}

/* Hero Title - Command Presence */
.hero h1 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 800px;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg,
      #ffffff 0%,
      #e8eaed 40%,
      var(--army-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.hero h1::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

/* Hero Description */
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   SECTIONS - STRATEGIC LAYOUT
================================ */
.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gapb);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
}

.section h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 36px;
  max-width: 800px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 20px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.section p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 800px;
  line-height: 1.8;
}

.section p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ================================
   SCOUT PRODUCT - TACTICAL SHOWCASE
================================ */
.scout-overview {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gapb);
  overflow-x: hidden;
  position: relative;
}

.scout-title {
  font-family: "Share Tech Mono", monospace;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
  padding-left: var(--gutter);
  letter-spacing: 4px;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.scout-title::before {
  content: "//";
  position: absolute;
  left: 0;
  top: -5px;
  color: var(--accent-primary);
  font-size: 32px;
  text-shadow: 0 0 20px var(--accent-glow-strong);
}

.scout-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: var(--gutter);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.scout-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Scout Content - Left Column */
.scout-content {
  padding-top: 12px;
}

.scout-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.75;
  font-weight: 500;
}

/* Feature Points - Military Precision */
.scout-points {
  list-style: none;
  margin-top: 32px;
}

.scout-points li {
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 32px;
  line-height: 1.7;
  transition: all var(--transition-base);
  border-left: 2px solid transparent;
  padding-top: 4px;
  padding-bottom: 4px;
}

.scout-points li:hover {
  transform: translateX(6px);
  color: var(--text-primary);
  border-left-color: var(--accent-primary);
  background: var(--accent-glow);
  padding-left: 36px;
}

.scout-points li::before {
  content: "▸";
  position: absolute;
  left: 8px;
  color: var(--accent-primary);
  font-size: 18px;
  transition: all var(--transition-base);
  text-shadow: 0 0 10px var(--accent-glow);
}

.scout-points li:hover::before {
  color: var(--accent-secondary);
  transform: translateX(4px);
  text-shadow: 0 0 15px var(--accent-glow-strong);
}

/* Scout Media - Right Column */
.scout-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-accent);
  transition: all var(--transition-base);
}

.scout-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--border-glow);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition-base);
}

.scout-media:hover::before {
  opacity: 1;
}

.scout-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 40px var(--accent-glow-strong);
}

.scout-media video {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.92) contrast(1.08);
  transition: filter var(--transition-base);
}

.scout-media:hover video {
  filter: brightness(1) contrast(1.12);
}

/* ================================
   MARKET TILES - TACTICAL GRID
================================ */
.market-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

/* Market Tile - Premium Card */
.market-tile {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

/* Top accent line */
.market-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* Corner bracket */
.market-tile::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--accent-primary);
  border-right: 2px solid var(--accent-primary);
  opacity: 0.2;
  transition: all var(--transition-base);
}

.market-tile:hover::before {
  opacity: 1;
}

.market-tile:hover::after {
  opacity: 0.6;
  transform: translate(2px, -2px);
}

.market-tile:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow:
    var(--shadow-xl),
    0 0 40px var(--accent-glow-strong);
}

/* Market Tile Headings */
.market-tile h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  font-family: "IBM Plex Sans", sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1.5px;
}

/* Market Subtitle */
.market-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

/* Market List */
.market-list {
  list-style: none;
  margin-bottom: 0;
}

.market-list li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.65;
  position: relative;
  padding-left: 22px;
  transition: all var(--transition-fast);
}

.market-list li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.market-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 10px;
  top: 6px;
}

/* ================================
   CONTACT - COMMAND CENTER
================================ */
.contact-section {
  display: flex;
  justify-content: center;
}

.contact-card {
  max-width: 100%;
  width: 100%;
  padding: 56px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

/* Top gradient line */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-primary) 30%,
      var(--accent-secondary) 70%,
      transparent 100%);
}

/* Corner brackets */
.contact-card::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
  opacity: 0.3;
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow:
    var(--shadow-xl),
    0 0 50px var(--accent-glow-strong);
}

.contact-card:hover::after {
  opacity: 0.6;
  transform: translate(-2px, 2px);
}

.contact-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.contact-card h2::after {
  display: none;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* Contact Email - Tactical Link */
.contact-email {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  display: inline-block;
  margin-top: 12px;
  position: relative;
  padding-bottom: 4px;
}

.contact-email::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width var(--transition-base);
}

.contact-email:hover {
  color: var(--accent-secondary);
  transform: translateX(6px);
  text-shadow: 0 0 25px rgba(212, 180, 131, 0.4);
}

.contact-email:hover::after {
  width: 100%;
}

/* LinkedIn Corner Badge */
.linkedin-corner {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(139, 172, 145, 0.1);
  border: 2px solid var(--border-accent);
  opacity: 0.9;
  transition: all var(--transition-base);
}

.linkedin-corner:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.08);
  background: rgba(139, 172, 145, 0.18);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 28px rgba(139, 172, 145, 0.25);
}

.linkedin-corner img {
  width: 28px;
  height: 28px;
  transition: transform var(--transition-base);
}

.linkedin-corner:hover img {
  transform: scale(1.15);
}

/* ================================
   FOOTER - BASE COMMAND
================================ */
.footer {
  padding: 60px var(--gutter);
  border-top: 1px solid var(--border-primary);
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  position: relative;
  margin-top: 60px;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-primary) 50%,
      transparent 100%);
  opacity: 0.5;
}

/* ================================
   RESPONSIVE - TACTICAL MOBILE
================================ */
@media (max-width: 1024px) {
  :root {
    --gutter: 28px;
    --section-gap: 90px;
    --section-gapb: 60px;
  }

  .scout-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .market-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --section-gap: 70px;
    --section-gapb: 50px;
    --hero-gap: 90px;
    --hero-gapb: 50px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--gutter);
  }

  .logo img {
    height: 40px;
  }

  .logo span {
    font-size: 18px;
  }

  nav {
    gap: 28px;
  }

  nav a {
    font-size: 12px;
  }

  .hero::before,
  .hero::after {
    width: 35px;
    height: 35px;
  }

  .hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
  }

  .hero h1::after {
    width: 60px;
    height: 3px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .section h2::after {
    width: 50px;
    height: 3px;
  }

  .section p {
    font-size: 16px;
  }

  .scout-title {
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 2.5px;
  }

  .scout-title::before {
    font-size: 24px;
  }

  .scout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .scout-subtitle {
    font-size: 16px;
  }

  .scout-points li {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .market-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .market-tile {
    padding: 32px 28px;
  }

  .contact-card {
    padding: 40px 28px;
  }

  .linkedin-corner {
    width: 50px;
    height: 50px;
    top: 24px;
    right: 24px;
  }

  .linkedin-corner img {
    width: 24px;
    height: 24px;
  }

  .contact-email {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }

  .section h2 {
    font-size: 28px;
  }

  .scout-title {
    font-size: 26px;
    letter-spacing: 2px;
  }

  .market-tile h3 {
    font-size: 16px;
  }
}

/* ================================
   SMOOTH PERFORMANCE
================================ */
* {
  transition-property: background-color, border-color, color, transform, opacity, box-shadow;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}