:root {
  --bg: #020617;
  --surface: #0f172a;
  --surface-highlight: #1e293b;
  --border: rgba(148, 163, 184, 0.1);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.5);
  --success: #22c55e;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Security Deterrents */
body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.08), transparent 25%);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout */
.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 16px 0;
  position: relative;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-wrap:hover {
  opacity: 0.8;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 16px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.logo-text-main {
  font-size: 18px;
  font-weight: 700;
}

.logo-text-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-link {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.pill-cta {
  background: var(--text);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.pill-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 60px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to bottom right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(56, 189, 248, 0.05);
}

/* Filters */
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tag:hover {
  background: var(--surface-highlight);
  color: var(--text);
}

.tag.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f172a;
  font-weight: 600;
}

/* Table */
.table-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

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

.resource-table th {
  text-align: left;
  padding: 20px 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
}

.resource-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  height: 79px;
}

.resource-table tr:last-child td {
  border-bottom: none;
}

.resource-row {
  transition: var(--transition);
  height: 79px;
}

.resource-row:hover {
  background: rgba(56, 189, 248, 0.05);
}

.resource-row:hover td {
  border-color: rgba(56, 189, 248, 0.2);
}

.resource-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}

.resource-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px;
}

.value-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  white-space: nowrap;
}

.tags-cell {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.desc-cell {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 400px;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.apply-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-highlight);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: #0f172a;
  transform: translateY(-2px);
}

/* About Page Specifics */
.about-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  backdrop-filter: blur(10px);
  margin-top: 40px;
}

.about-img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

.about-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-content strong {
  color: var(--text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .resource-table thead {
    display: none;
  }

  .resource-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  .resource-table td {
    display: block;
    padding: 8px 0;
    border: none;
    text-align: left;
  }

  .resource-logo {
    width: 32px;
    height: 32px;
  }
}