:root {
  --bg-primary: #080b12;
  --bg-secondary: #0e1322;
  --bg-card: rgba(18, 24, 41, 0.75);
  --bg-card-hover: rgba(24, 32, 56, 0.85);
  --border-color: rgba(99, 102, 241, 0.18);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7928ca;
  --accent-violet: #8b5cf6;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --glow-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
  --glass-blur: blur(14px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 15% 10%, rgba(121, 40, 202, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
    var(--bg-primary);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Background Cyber Grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Nav & Language */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), #4f46e5);
  color: #fff;
  box-shadow: 0 2px 10px rgba(121, 40, 202, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 60%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Badges strip */
.badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-badge strong {
  color: var(--text-main);
}

/* Quick Action Bar / Verification URLs */
.quick-url-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-url-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-url-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
}

.quick-url-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.url-copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.url-copy-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.url-copy-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.url-copy-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* Navigation Tabs */
.sticky-tabs {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: rgba(8, 11, 18, 0.9);
  backdrop-filter: var(--glass-blur);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 6px;
  margin-bottom: 36px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.tab-link {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.5), rgba(0, 242, 254, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Sections */
.policy-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 40px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease;
}

.policy-section:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.section-anchor-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.section-anchor-link:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.05);
}

/* Articles and Content */
.article-block {
  margin-bottom: 28px;
}

.article-block:last-child {
  margin-bottom: 0;
}

.article-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 16px;
  background: var(--accent-cyan);
  border-radius: 3px;
}

.article-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.article-list {
  list-style: none;
  margin: 12px 0;
  padding-left: 8px;
}

.article-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.article-list li::before {
  content: "▹";
  position: absolute;
  left: 6px;
  color: var(--accent-cyan);
  font-weight: bold;
}

.article-list li strong {
  color: var(--text-main);
}

/* Callout Box */
.callout {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 18px 0;
}

.callout.alert {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: var(--accent-red);
}

.callout.success {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--accent-green);
}

.callout-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  vertical-align: top;
}

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

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.contact-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.contact-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-link {
  margin-top: auto;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.contact-card-link:hover {
  text-decoration: underline;
  gap: 10px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px;
  margin-top: 60px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .policy-section {
    padding: 24px 18px;
  }
  
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-actions {
    justify-content: center;
  }
  
  .sticky-tabs {
    top: 10px;
  }
}
