/* BWAN Lab – styles.css */

:root {
  --bg:        #f0f4f9;
  --card:      #ffffff;
  --border:    #dde3ed;
  --text:      #0f172a;
  --muted:     #64748b;

  --navy:      #0f172a;
  --navy-deep: #080f1e;
  --navy-mid:  #1e2d4a;
  --blue:      #1d4ed8;
  --blue-lt:   #3b82f6;
  --blue-dim:  rgba(29,78,216,0.10);

  --orange:    #FF8200;
  --orange-dim: rgba(255,130,0,0.12);

  --white:     #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 48px;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.wordmark-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wordmark-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wordmark-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 2rem;
  transition: color 0.15s;
}
nav a:hover { color: var(--orange); }

/* ── Hero ── */
.hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

/* dot-grid background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* blue glow left */
.hero::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(29,78,216,0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-copy { max-width: 520px; flex-shrink: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255,130,0,0.35);
  border-radius: 100px;
  padding: 0.28rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ── Network SVG visual ── */
.hero-visual {
  flex: 0 0 auto;
  width: 340px;
  opacity: 0.72;
}

.hero-visual svg { display: block; width: 100%; height: auto; }

/* ── Section shared ── */
section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* ── About ── */
#about {
  background: var(--white);
  border-top: 1px solid var(--border);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-body {
  max-width: 700px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── Focus Areas ── */
#focus {
  background: var(--bg);
  border-top: 1px solid var(--border);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.focus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.focus-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(255,130,0,0.10);
}

.focus-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--orange-dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.38);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
footer a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    padding: 3.5rem 1.5rem;
    gap: 2.5rem;
  }
  .hero-copy { max-width: 100%; }
  .hero-visual { width: 100%; max-width: 320px; margin: 0 auto; }
  #about, #focus { min-height: auto; }
}

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

@media (max-width: 600px) {
  nav a { margin-left: 1rem; }
  .focus-grid { grid-template-columns: 1fr; }
}
