:root {
  --primary: #00C2FF;
  --primary-glow: rgba(0, 194, 255, 0.25);
  --secondary: #E273A8;
  --bg-color: #0A0E17;
  --surface-card: #101826;
  --surface-card-hover: #131E30;
  --border-color: #182030;
  --text-main: #FFFFFF;
  --text-muted: #8A95A5;
  --text-light: #5A6678;
  --success: #00CC66;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(0, 194, 255, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

a, button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

button {
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 20% 10%, rgba(0, 194, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(226, 115, 168, 0.05) 0%, transparent 40%);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* Top Navbar */
.navbar {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 100;
  padding: 16px 24px;
}

.nav-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: default;
  user-select: none;
  margin: 0 auto;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px var(--primary-glow);
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(16, 24, 38, 0.6);
  transition: all 0.25s ease;
}

.nav-back-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 194, 255, 0.08);
}

/* Container */
.container {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Header */
.doc-header {
  text-align: center;
  margin-bottom: 36px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.doc-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 10px;
}

.doc-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Metadata Row */
.metadata-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.meta-item strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Cards & Content */
.content-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}

.content-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
}

.content-card.intro-card {
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.05), var(--surface-card));
  font-size: 15px;
  line-height: 1.8;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 194, 255, 0.15);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
  margin-bottom: 14px;
}

ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

ul li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-size: 10px;
  top: 2px;
}

ul li strong {
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--primary);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email-btn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.doc-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .doc-title {
    font-size: 28px;
  }
  .content-card {
    padding: 22px 20px;
  }
  .metadata-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
