/* styles.css — Swarm Shield Brand Theme */

:root {
  --bg: #030712;
  --bg-soft: #020617;
  --card: #020617;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.15);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2933;
  --danger: #f97316;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 75%, #000 100%);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* NAV */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 36px;
  width: auto;
  border-radius: 999px;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

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

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

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.btn-primary, .btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #020617;
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* HERO CARD / ART */

.hero-card {
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.2), transparent 60%),
              linear-gradient(to bottom right, #020617, #020617);
  border-radius: 1.4rem;
  border: 1px solid #0f172a;
  padding: 1.4rem;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.9);
}

.hero-card img {
  width: 100%;
  border-radius: 1rem;
}

/* SECTIONS */

.section {
  padding: 2.2rem 0 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.4rem;
  gap: 1rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

/* GRID CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.1rem 1.15rem;
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

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

/* FOOTER */

footer {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
