/* CyberAir LLC — site stylesheet */

:root {
  --navy-950: #060b16;
  --navy-900: #0a1628;
  --navy-800: #0f2039;
  --navy-700: #16304f;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --teal-400: #2dd4bf;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1160px;
  --shadow: 0 10px 30px -12px rgba(10, 22, 40, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-700);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.footer-mark {
  width: 48px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--slate-200);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--white); text-decoration: none; }

.nav-links a.active { color: var(--teal-400); }

.nav-cta {
  background: var(--blue-500);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--blue-400); text-decoration: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy-700);
  color: var(--white);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-800), var(--navy-950) 65%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.eyebrow {
  display: inline-block;
  color: var(--teal-400);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 { color: var(--white); max-width: 780px; }

.hero p.lead {
  color: var(--slate-400);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-400); text-decoration: none; }

.btn-outline {
  border-color: var(--slate-600);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); text-decoration: none; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Banner (symposium callout) ---------- */

.banner {
  background: linear-gradient(90deg, #0d2847, #123a63);
  border-top: 1px solid var(--navy-700);
  border-bottom: 1px solid var(--navy-700);
  color: var(--white);
  padding: 16px 0;
}

.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-text { font-size: 0.95rem; }
.banner-text strong { color: var(--teal-400); }
.banner a.btn { padding: 8px 18px; font-size: 0.85rem; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.alt { background: var(--slate-50); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--blue-500); }
.section-head p { color: var(--slate-600); font-size: 1.05rem; }

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(59,130,246,0.1);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-600); margin: 0; font-size: 0.96rem; }

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-900);
}
.stat .label {
  color: var(--slate-600);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* Timeline (engagements) */

.timeline {
  border-left: 2px solid var(--slate-200);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-500);
}

.timeline-item .tag {
  display: inline-block;
  background: rgba(45,212,191,0.12);
  color: #0f766e;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-item h3 { margin-bottom: 6px; }
.timeline-item .meta { color: var(--slate-400); font-size: 0.88rem; margin-bottom: 8px; }

.timeline-item.with-photo {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.timeline-item.with-photo .timeline-photo {
  flex: 0 0 220px;
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}
.timeline-item.with-photo .timeline-content { flex: 1; min-width: 0; }

@media (max-width: 720px) {
  .timeline-item.with-photo { flex-direction: column; }
  .timeline-item.with-photo .timeline-photo { width: 100%; flex-basis: auto; height: 180px; }
}

/* News / event page */

.event-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
}

.event-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  color: var(--slate-200);
  font-size: 0.95rem;
}

.event-meta strong { color: var(--teal-400); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pill-list li {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--slate-700);
}

/* Founder / About */

.founder-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow);
}

.founder-name { margin-bottom: 2px; }
.founder-title { color: var(--blue-500); font-weight: 600; margin-bottom: 18px; }

/* Testimonials */

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-quote {
  color: var(--navy-900);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue-500);
  margin-bottom: 6px;
}

.testimonial-text {
  color: var(--slate-700);
  font-size: 0.98rem;
  font-style: italic;
  margin: 0 0 16px;
  flex: 1;
}

.testimonial-attribution {
  font-size: 0.85rem;
  color: var(--slate-400);
  font-weight: 600;
  border-top: 1px solid var(--slate-200);
  padding-top: 12px;
}

.testimonial-attribution strong { color: var(--navy-900); display: block; font-size: 0.9rem; }

/* Contact */

.contact-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.contact-card h2 { color: var(--white); }
.contact-card p { color: var(--slate-400); }
.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-400);
}

/* Footer */

.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 44px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-links a { color: var(--slate-400); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--navy-800); padding-top: 20px; }

/* Responsive */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .founder-wrap { grid-template-columns: 1fr; }
  .founder-photo { width: 160px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 64px 0 56px; }
  section { padding: 52px 0; }
  .banner .container { flex-direction: column; align-items: flex-start; }
}

.nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--navy-900);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--navy-700);
}
