/* Bravo Claims - Professional Tech-Military Aesthetic */

:root {
  --navy-primary: #00205B;
  --navy-dark: #001840;
  --navy-light: #003580;
  --delta-red: #DA291C;
  --delta-dark: #B81F15;
  --accent: #66FCF1;
  --accent-dark: #45B7AC;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --bg-dark: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header - Military-Inspired Command Bar */
.header {
  background: linear-gradient(135deg, #003580 0%, #004ba0 100%);
  border-bottom: 3px solid var(--delta-red);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 20px 20px;
  transition: all 0.2s;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--delta-red);
}

/* Hamburger Menu - Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 64px);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 99;
  overflow-y: auto;
}

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

.mobile-menu-content {
  padding: 24px 0;
}

.mobile-menu-item {
  display: block;
  padding: 16px 24px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.mobile-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--delta-red);
}

/* Mobile Menu Backdrop */
.mobile-menu::before {
  content: '';
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active::before {
  opacity: 1;
  visibility: visible;
}

/* Hero - Command Center */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 45%, rgba(218, 41, 28, 0.03) 50%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(102, 252, 241, 0.03) 50%, transparent 55%);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-workflow {
  font-size: 0.95rem;
  margin-bottom: 32px;
  opacity: 0.75;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.hero-search {
  max-width: 700px;
  margin: 0 auto 32px;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.search-container:focus-within {
  box-shadow: 0 6px 30px rgba(218, 41, 28, 0.25);
}

.search-input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--text);
  background: transparent;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-btn {
  padding: 18px 28px;
  background: var(--delta-red);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--delta-dark);
}

.search-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.search-examples {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.example-label {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 600;
}

.example-query {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.example-query:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-note {
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 400;
}

.hero-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  transition: border-color 0.2s;
}

.hero-note a:hover {
  border-bottom-color: transparent;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin: -32px 0 48px 0;
  font-weight: 500;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-primary);
  border-radius: 8px;
  padding: 40px 32px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--delta-red);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 32, 91, 0.3);
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 16px;
  color: var(--navy-primary);
  letter-spacing: -0.25px;
}

.step-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Buttons - Tactical Design */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--delta-red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--delta-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-primary);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1rem;
}

/* Tools Grid - Mission Brief Cards */
.tools {
  padding: 80px 0;
  background: var(--bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
  color: var(--navy-primary);
  letter-spacing: -0.5px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy-primary);
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--delta-red);
  transition: height 0.3s ease;
}

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

.tool-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--delta-red);
}

.tool-icon {
  width: 16px;
  height: 16px;
  margin-bottom: 12px;
  color: var(--delta-red);
  opacity: 0.5;
  flex-shrink: 0;
}

.tool-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.tool-card:hover .tool-icon {
  opacity: 0.8;
}

.tool-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-primary);
  letter-spacing: -0.25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.beta-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 6px;
  background: var(--accent);
  color: var(--navy-primary);
  border-radius: 2px;
  vertical-align: middle;
}

.tool-card p {
  margin-bottom: 16px;
  flex-grow: 1;
  color: var(--text-light);
  line-height: 1.6;
}

.tool-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Features Section - Technical Specs */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 12px;
  color: var(--navy-primary);
  opacity: 0.4;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.feature h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-primary);
  letter-spacing: -0.25px;
}

.feature p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Testimonials - Field Reports */
.testimonials {
  padding: 80px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--delta-red);
  padding: 32px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 4rem;
  color: var(--line);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Donate Section - Support Operations */
.donate {
  padding: 80px 0;
  background: var(--navy-primary);
  position: relative;
  overflow: hidden;
}

.donate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 45%, rgba(218, 41, 28, 0.05) 50%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(102, 252, 241, 0.05) 50%, transparent 55%);
  background-size: 60px 60px;
}

.donate-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--delta-red);
  padding: 56px 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.donate-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--navy-primary);
  letter-spacing: -0.5px;
}

.donate-card p {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
  color: var(--text-light);
}

.donate-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donate-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

/* Footer - Command Center Base */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 56px 0 32px;
  border-top: 3px solid var(--delta-red);
}

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

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.7;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.2s;
  font-weight: 500;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-bottom strong {
  color: var(--accent);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-search {
    max-width: 100%;
  }

  .search-input {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .search-btn {
    padding: 16px 24px;
  }

  .example-query {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-card {
    padding: 40px 24px 24px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section-title {
    font-size: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .donate-card {
    padding: 40px 32px;
  }

  .floating-donate-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .floating-donate-btn::after {
    display: none;
  }

  .floating-donate-btn::before {
    display: none;
  }
}

/* Floating Donation Button */
.floating-donate-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--delta-red), #c72515);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(218, 41, 28, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  animation: pulse-subtle 3s ease-in-out infinite;
}

.floating-donate-btn::after {
  content: attr(title);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--navy-dark);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-donate-btn::before {
  content: '';
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--navy-dark);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-donate-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(218, 41, 28, 0.5);
  animation: none;
}

.floating-donate-btn:hover::after,
.floating-donate-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(218, 41, 28, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(218, 41, 28, 0.4);
  }
}
