/* BLAAC LLC - Professional Design System */
:root {
  --deep-navy: #0b1424;
  --dark-blue: #13203d;
  --midnight: #162544;
  --coral: #f04a2e;
  --coral-bright: #ff5a3d;
  --coral-deep: #d63e24;
  --teal: #0ea5a9;
  --teal-bright: #14c5ca;
  --teal-deep: #0b8a8e;
  --gold: #e2a93b;
  --gold-bright: #f0bb4e;
  --light-bg: #f5f6fa;
  --surface: #ffffff;
  --surface-alt: #eef1f8;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #788296;
  --text-light: #94a3b8;
  --text-on-dark: #e2e8f0;
  --border: #dce1eb;
  --border-light: #eaeef5;
  --shadow-sm: 0 1px 2px rgba(11, 20, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 20, 36, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 20, 36, 0.12);
  --shadow-xl: 0 24px 64px rgba(11, 20, 36, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--teal-deep); }

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

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

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--deep-navy);
  letter-spacing: -0.02em;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--teal) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--deep-navy);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--coral);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: var(--deep-navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(240, 74, 46, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 169, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(240, 74, 46, 0.12);
  border: 1px solid rgba(240, 74, 46, 0.25);
  border-radius: 100px;
  color: var(--coral-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--coral-bright);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--coral-bright), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--text-on-dark);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0.85;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 74, 46, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
}

.hero-card {
  position: absolute;
  width: 100%;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card-1 {
  top: 0;
  right: 0;
  z-index: 3;
}

.hero-card-2 {
  top: 40px;
  right: 30px;
  z-index: 2;
  opacity: 0.7;
}

.hero-card-3 {
  top: 80px;
  right: 60px;
  z-index: 1;
  opacity: 0.4;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.hci-teal { background: rgba(14, 165, 169, 0.12); color: var(--teal); }
.hci-coral { background: rgba(240, 74, 46, 0.12); color: var(--coral); }
.hci-gold { background: rgba(226, 169, 59, 0.12); color: var(--gold); }

.hero-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-metric-row {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.hero-metric {
  text-align: left;
}

.hero-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep-navy);
}

.hero-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Trust Bar ─── */
.trust-bar {
  padding: 40px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.trust-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.trust-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Services ─── */
.services {
  background: var(--surface);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  padding: 36px 28px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s ease;
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
}

/* ─── Capabilities ─── */
.capabilities {
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.capabilities::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 169, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.capabilities .container {
  position: relative;
  z-index: 1;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 64px;
}

.capabilities-header .section-label { color: var(--coral-bright); }
.capabilities-header .section-label::before { background: var(--coral-bright); }
.capabilities-header .section-title { color: #ffffff; }
.capabilities-header .section-subtitle { color: var(--text-on-dark); margin: 0 auto; opacity: 0.8; }

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

.capability-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.capability-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.capability-marker {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}

.cm-coral { background: var(--coral); box-shadow: 0 0 12px rgba(240, 74, 46, 0.5); }
.cm-teal { background: var(--teal); box-shadow: 0 0 12px rgba(14, 165, 169, 0.5); }
.cm-gold { background: var(--gold); box-shadow: 0 0 12px rgba(226, 169, 59, 0.5); }

.capability-content h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.capability-content p {
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── Process ─── */
.process {
  background: var(--surface);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-subtitle { margin: 0 auto; }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px auto;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
  border-color: var(--coral);
  color: var(--coral);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(240, 74, 46, 0.08);
}

.process-step-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── CTA ─── */
.cta {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--dark-blue) 50%, #0b1e3a 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 74, 46, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.cta p {
  color: var(--text-on-dark);
  opacity: 0.8;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta .btn-primary {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.cta .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(240, 74, 46, 0.4);
}

/* ─── Footer ─── */
.footer {
  background: var(--deep-navy);
  padding: 72px 0 32px;
  color: var(--text-on-dark);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-about {
  color: var(--text-on-dark);
  opacity: 0.65;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-contact li svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-on-dark);
  opacity: 0.6;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--coral-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-on-dark);
  opacity: 0.4;
  font-size: 0.82rem;
}

/* ─── Page Header (privacy/terms) ─── */
.page-header {
  padding: 140px 0 64px;
  background: var(--deep-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 169, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  color: #ffffff;
  margin-bottom: 12px;
}

.page-header .section-label { color: var(--coral-bright); }
.page-header .section-label::before { background: var(--coral-bright); }

.page-header p {
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Legal Content ─── */
.legal-content {
  padding: 72px 0 96px;
  background: var(--surface);
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

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

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-content li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-primary);
}

.last-updated {
  display: inline-block;
  padding: 8px 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 48px;
  font-size: 0.95rem;
}

.back-home:hover {
  color: var(--teal-deep);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-stack { height: 320px; max-width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1.2rem; }

  .nav-toggle { display: flex; }

  .hero-card-stack { height: 260px; }
  .hero-card-2, .hero-card-3 { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
