:root {
  --bg: #050608;
  --card: #11131a;
  --card-hover: #1a1d29;
  --text: #ffffff;
  --muted: #8b949e;
  --accent: #00d2ff;
  --accent-glow: rgba(0, 210, 255, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #484f58;
}

header {
  padding: 32px 40px;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

main {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 210, 255, 0.2);
}

.extension-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.extension-header img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: #1c1e26;
  padding: 4px;
}

.extension-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 4px;
}

.section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.section:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.section h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
}

.section p, .section li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.section ul {
  padding-left: 0;
  list-style: none;
}

.section li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.section li::before {
  content: "→";
  color: var(--accent);
  margin-right: 12px;
  font-weight: bold;
}

.ext-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ext-item {
  background: var(--card-hover);
  padding: 20px;
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.ext-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--card);
}

.ext-item span {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

footer {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
  header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  nav {
    gap: 12px 20px;
    justify-content: flex-start;
    width: 100%;
  }

  .card {
    padding: 32px 24px;
  }

  .extension-header {
    flex-direction: column;
    text-align: center;
  }

  .ext-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 13px;
  }

  .extension-header h2 {
    font-size: 22px;
  }

  main {
    margin: 40px auto;
  }
}