:root {
  --bg: #0b1220;
  --bg-soft: #101b2e;
  --card: #131f33;
  --text: #eef3ff;
  --muted: #b7c2da;
  --primary: #29b6f6;
  --primary-strong: #1a9fe0;
  --accent: #7c4dff;
  --success: #2dd4bf;
  --shadow: 0 18px 40px rgba(5, 10, 20, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

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

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #111d35, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #0b1220;
  box-shadow: 0 12px 30px rgba(41, 182, 246, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.media-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 12px;
}

.media-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 70px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

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

.card {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 180px;
}

.card h3 {
  margin-bottom: 10px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(41, 182, 246, 0.15);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

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

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

.blog-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card .media-wrap {
  aspect-ratio: 1 / 1;
}

.blog-card .content {
  padding: 16px;
}

.blog-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 18, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow);
  max-height: 80vh;
  overflow: auto;
}

.modal-close {
  float: right;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.footer {
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.15);
  color: #cbb8ff;
  font-weight: 600;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(41, 182, 246, 0.15), rgba(124, 77, 255, 0.18));
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 14px;
}

.table thead {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal {
  display: grid;
  gap: 18px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(8, 12, 24, 0.95);
    position: absolute;
    right: 4%;
    top: 62px;
    padding: 16px;
    border-radius: var(--radius-md);
    width: 220px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
