:root {
  --bg-dark: #07051a;
  --bg-gradient: radial-gradient(circle at 20% 20%, rgba(87, 61, 233, 0.25), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(13, 203, 240, 0.25), transparent 40%),
    linear-gradient(180deg, #050312 0%, #0a061f 70%, #03010c 100%);
  --accent: #5d7efc;
  --accent-strong: #37d0ff;
  --accent-soft: rgba(93, 126, 252, 0.2);
  --text-primary: #f7f7fb;
  --text-muted: rgba(247, 247, 251, 0.75);
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1200px;
}

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

body {
  font-family: 'Space Grotesk', 'Sora', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(7, 5, 26, 0.78);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08rem;
}

.logo a {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.95rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #01010a;
  font-weight: 600;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.hero h1,
.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  margin: 1rem 0;
  line-height: 1.15;
}

.hero p,
.page-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(93, 126, 252, 0.35), rgba(55, 208, 255, 0.2));
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

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

.card {
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.cta {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-strong);
  font-weight: 500;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.timeline-item::before {
  content: '';
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  display: inline-block;
}

.timeline-content {
  flex: 1;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-info ul {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
  color: var(--text-muted);
}

form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: grid;
  gap: 1rem;
}

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

input,
textarea,
button {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(5, 5, 20, 0.6);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

footer a {
  color: var(--accent-strong);
}

.page-hero {
  margin-bottom: 3rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(93, 126, 252, 0.16), rgba(55, 208, 255, 0.16));
  display: grid;
  gap: 1rem;
}

.page-header {
  margin-bottom: 3rem;
}

.page-header .badge {
  margin-bottom: 1rem;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
}

.feature-list li {
  list-style: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

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

.stat {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.callout {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(93, 126, 252, 0.18), rgba(55, 208, 255, 0.18));
}

.callout h3 {
  margin-bottom: 0.6rem;
}

.callout p {
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.list-dash {
  list-style: none;
  color: var(--text-muted);
}

.list-dash li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.list-dash li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--accent-strong);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}

.tab.active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(93, 126, 252, 0.25), rgba(55, 208, 255, 0.25));
}

.case-studies {
  display: grid;
  gap: 2rem;
}

.case-study {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 1rem;
}

.case-study h3 {
  font-size: 1.45rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.resource-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.7rem;
}

.resource-card span {
  font-size: 0.85rem;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card p {
  color: var(--text-muted);
}

.download-link {
  color: var(--accent-strong);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.4rem;
}

.map-placeholder {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 280px;
  background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80') center/cover;
  filter: grayscale(0.3);
}

.cta-bar {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #03030c;
  font-weight: 600;
}

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

.team-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.team-card h4 {
  margin-bottom: 0.3rem;
}

.team-card p {
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
  }

  main {
    padding: 3rem 1.2rem 4rem;
  }

  .card {
    padding: 1.5rem;
  }
}
