/* ===== mydefencecard.live - Military Grade Security Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0b0a;
  --bg-secondary: #0f1110;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);
  --olive: #5b6e3a;
  --olive-light: #7a9650;
  --olive-dark: #3d4a26;
  --olive-glow: rgba(91, 110, 58, 0.25);
  --silver: #8899a8;
  --silver-light: #b0c0d0;
  --silver-dark: #5a6a78;
  --white: #e8e8e8;
  --text-primary: #d0d8e0;
  --text-secondary: #788898;
  --alert-red: #cc3333;
  --alert-green: #33cc66;
  --gradient-hero: linear-gradient(135deg, #0a0b0a 0%, #121510 30%, #0a0b0a 70%);
  --gradient-olive: linear-gradient(135deg, #5b6e3a, #7a9650);
  --gradient-tactical: linear-gradient(135deg, #5b6e3a, #3d4a26);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --shadow-olive: 0 0 40px rgba(91, 110, 58, 0.12);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --border-military: 1px solid rgba(255, 255, 255, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Camouflage Background ===== */
.camo-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.camo-bg::before {
  content: '';
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: 
    radial-gradient(ellipse at 15% 25%, rgba(91, 110, 58, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 45%, rgba(91, 110, 58, 0.02) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 75%, rgba(136, 153, 168, 0.015) 0%, transparent 40%);
  animation: camoShift 15s ease-in-out infinite;
}

@keyframes camoShift {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.05) rotate(2deg); opacity: 1; }
}

.camo-pattern {
  position: absolute;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(91, 110, 58, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 70% 20%, rgba(91, 110, 58, 0.02) 0%, transparent 25%),
    radial-gradient(circle at 20% 80%, rgba(136, 153, 168, 0.02) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(91, 110, 58, 0.015) 0%, transparent 20%);
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 11, 10, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(10, 11, 10, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-tactical);
  border: 1px solid rgba(91, 110, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-main);
}

.logo-text span { color: var(--olive); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  background: var(--gradient-tactical);
  color: var(--white) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  border: 1px solid rgba(91, 110, 58, 0.3);
  transition: var(--transition);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--olive-light); transform: translateY(-2px); }

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(91, 110, 58, 0.1);
  border: 1px solid rgba(91, 110, 58, 0.2);
  font-size: 11px;
  color: var(--olive-light);
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-badge .mil-symbol {
  font-size: 14px;
  animation: symbolPulse 2s ease-in-out infinite;
}

@keyframes symbolPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.hero h1 .olive-text { color: var(--olive-light); }
.hero h1 .silver-text { color: var(--silver); }

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 28px;
  background: var(--gradient-tactical);
  color: var(--white);
  border: 1px solid rgba(91, 110, 58, 0.3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-olive);
}

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--olive);
  color: var(--olive-light);
  transform: translateY(-2px);
}

/* ===== Hero Visual ===== */
.hero-visual {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 480px;
  height: 480px;
}

.defence-shield {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.defence-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: defenceRing 6s ease-in-out infinite;
}

.defence-ring:nth-child(1) { width: 100%; height: 100%; border-color: rgba(91, 110, 58, 0.1); animation-delay: 0s; }
.defence-ring:nth-child(2) { width: 80%; height: 80%; border-color: rgba(91, 110, 58, 0.08); animation-delay: 1s; }
.defence-ring:nth-child(3) { width: 60%; height: 60%; border-color: rgba(136, 153, 168, 0.06); animation-delay: 2s; }

@keyframes defenceRing {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.6; }
}

.defence-icon {
  position: relative;
  z-index: 2;
  font-size: 72px;
  animation: defencePulse 4s ease-in-out infinite;
}

@keyframes defencePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(91, 110, 58, 0.2)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(91, 110, 58, 0.4)); }
}

.mil-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.mil-element {
  position: absolute;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: milFloat 7s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
}

.mil-element:nth-child(1) { top: 8%; right: 10%; animation-delay: 0s; border-color: rgba(91, 110, 58, 0.2); }
.mil-element:nth-child(2) { top: 32%; left: 0%; animation-delay: 1.5s; }
.mil-element:nth-child(3) { bottom: 28%; right: 5%; animation-delay: 3s; border-color: rgba(91, 110, 58, 0.15); }
.mil-element:nth-child(4) { bottom: 8%; left: 12%; animation-delay: 4.5s; }
.mil-element:nth-child(5) { top: 55%; left: 25%; animation-delay: 2s; }

@keyframes milFloat {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-12px); opacity: 1; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 26px;
  font-weight: 800;
  color: var(--olive-light);
  font-family: var(--font-mono);
}

.stat-item .label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header .tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(91, 110, 58, 0.08);
  border: 1px solid rgba(91, 110, 58, 0.15);
  font-size: 11px;
  color: var(--olive-light);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-header h2 .olive-text { color: var(--olive-light); }
.section-header h2 .silver-text { color: var(--silver); }

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-tactical);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(91, 110, 58, 0.03);
  border-color: rgba(91, 110, 58, 0.15);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(91, 110, 58, 0.08);
  border: 1px solid rgba(91, 110, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Command Center Dashboard ===== */
.command-dashboard {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.command-header {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.command-header .status {
  color: var(--alert-green);
}

.command-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}

.command-cell {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.command-cell .cell-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.command-cell .cell-value {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--olive-light);
}

.command-cell .cell-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== Timeline ===== */
.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: rgba(91, 110, 58, 0.15);
  background: rgba(91, 110, 58, 0.03);
}

.timeline-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--olive-light);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Footer ===== */
footer {
  padding: 50px 40px 36px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 12px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--olive-light);
}

.footer-bottom {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom a {
  color: var(--olive-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== Page Header ===== */
.page-header {
  padding: 160px 40px 70px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 70px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--olive);
  background: rgba(91, 110, 58, 0.05);
}

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

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

/* ===== Content Section ===== */
.content-section {
  padding: 70px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 26px;
  margin: 36px 0 16px;
  color: var(--olive-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--white);
}

.content-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.content-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.disclaimer-box {
  padding: 24px;
  background: rgba(91, 110, 58, 0.05);
  border: 1px solid rgba(91, 110, 58, 0.12);
  margin: 32px 0;
}

.disclaimer-box h3 {
  color: var(--olive-light);
  margin-top: 0;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-visual { width: 380px; height: 380px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 11, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .hero { flex-direction: column; padding: 100px 20px 60px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-visual { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 300px; margin-top: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .section-header h2 { font-size: 28px; }
  .page-header { padding: 120px 20px 50px; }
  .page-header h1 { font-size: 32px; }
  .contact-section { padding: 40px 20px; }
  .content-section { padding: 40px 20px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .command-body { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
