/* ============================================================
   Were Your Hope LLC — Professional Systems Design
   Color Palette: Deep Navy + Electric Blue + Cyan + Amber
   ============================================================ */

:root {
  --bg-primary: #080D18;
  --bg-secondary: #0F172A;
  --bg-card: #111C30;
  --bg-elevated: #162240;
  --border-subtle: #1E293B;
  --border-accent: #253552;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --accent-blue: #2563EB;
  --accent-blue-bright: #3B82F6;
  --accent-cyan: #06B6D4;
  --accent-amber: #F59E0B;
  --gradient-blue: linear-gradient(135deg, #2563EB, #06B6D4);
  --gradient-amber: linear-gradient(135deg, #F59E0B, #F97316);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.6);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-blue-bright);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-cyan);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  background-color: rgba(15, 23, 42, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

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

.nav-links a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background-color: var(--bg-elevated);
}

.nav-links a.nav-cta {
  background: var(--gradient-blue);
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
}

.nav-links a.nav-cta:hover {
  opacity: 0.9;
  color: #fff;
  background: var(--gradient-blue);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition);
  display: block;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  position: relative;
}

.hero h1 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
  border-color: var(--accent-blue-bright);
  color: var(--accent-blue-bright);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 4px;
}

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

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent-blue-bright);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   APPROACH / PROCESS
   ============================================================ */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.approach-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
}

.approach-number {
  width: 44px;
  height: 44px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 auto 16px;
}

.approach-card h4 {
  margin-bottom: 8px;
}

.approach-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

@media (max-width: 640px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLIENTS / TRUST
   ============================================================ */

.trust-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.trust-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
}

.trust-card .trust-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.trust-card .trust-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.trust-card .trust-role {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
}

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

/* ============================================================
   CTA
   ============================================================ */

.cta-section {
  text-align: center;
  padding: 100px 24px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  max-width: 700px;
  margin: 0 auto 16px;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-about h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE HERO (LEGAL PAGES)
   ============================================================ */

.page-hero {
  padding: 120px 24px 60px;
  text-align: center;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   LEGAL CONTENT
   ============================================================ */

.legal-content {
  padding: 60px 0 80px;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content .highlight-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-blue-bright);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px;
  margin: 24px 0;
}

.legal-content .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue-bright);
}

.contact-detail h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue-bright);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   ANIMATION
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 16px 80px;
  }
  .section {
    padding: 70px 0;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
