:root {
  --bg: #0b1014;
  --bg-alt: #111921;
  --text: #f5f7fa;
  --muted: #a3b0c2;
  --accent: #1fb3a5;
  --accent-soft: rgba(31, 179, 165, 0.15);
  --border: #233242;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111927 0, #05070a 55%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* Header / Brand */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

/* Nav */

.nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.nav a {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--muted);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.nav a:hover {
  border-color: rgba(163, 176, 194, 0.4);
  background: rgba(7, 11, 18, 0.8);
  color: var(--text);
}

.nav a.active {
  background: var(--accent-soft);
  border-color: rgba(31, 179, 165, 0.7);
  color: var(--accent);
}

/* Layout */

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 840px) {
  .main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cards */

.card {
  background: linear-gradient(145deg, #101a24, #05080d);
  border-radius: 24px;
  padding: 24px 22px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(31, 179, 165, 0.25),
    transparent 60%
  );
  opacity: 0.7;
  pointer-events: none;
}

.card.card-secondary {
  background: rgba(6, 10, 17, 0.9);
  box-shadow: none;
}

/* Pills / tags */

.tag-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(163, 176, 194, 0.2);
  font-size: 0.75rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 18, 0.8);
}

/* Hero text */

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.hero-highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 22px;
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #031015;
  box-shadow: 0 14px 30px rgba(5, 255, 210, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(1, 209, 170, 0.35);
}

.btn-ghost {
  background: rgba(5, 9, 16, 0.8);
  color: var(--muted);
  border-color: rgba(129, 143, 162, 0.4);
}

.btn-ghost:hover {
  background: rgba(12, 19, 30, 0.95);
}

/* Text blocks */

.section-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-subheading {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-body {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-body p + p {
  margin-top: 10px;
}

/* Lists */

.list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.list li + li {
  margin-top: 4px;
}

/* Pill rows */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(128, 146, 167, 0.4);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Contact block */

.contact-block {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(10, 18, 26, 0.9);
  border: 1px solid rgba(63, 88, 114, 0.7);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-email {
  font-weight: 500;
}

/* Page titles */

.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.page-intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Footer */

footer {
  margin-top: 32px;
  border-top: 1px solid rgba(33, 45, 61, 0.9);
  padding-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Utility */

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}