@import url('/site-nav.css');

:root {
  --bg:       #0d1117;
  --bg2:      #161b22;
  --bg3:      #21262d;
  --border:   #30363d;
  --border-glow: rgba(88, 166, 255, 0.3);
  
  /* Brand colors */
  --accent:   #f78166;
  --green:    #3fb950;
  --blue:     #58a6ff;
  --purple:   #8a63f7;
  --yellow:   #f1c40f;
  --red:      #f85149;
  
  /* Text colors */
  --text:     #e6edf3;
  --text2:    #8b949e;
  --text3:    #484f58;
  
  /* Typography */
  --mono:     'JetBrains Mono', monospace;
  --ui:       'Sora', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

body.light-theme, html.light-theme {
  --bg:       #f6f8fa;
  --bg2:      #ffffff;
  --bg3:      #eaeef2;
  --border:   #d0d7de;
  --accent:   #fd8c73;
  --green:    #1a7f37;
  --blue:     #0969da;
  --red:      #cf222e;
  --text:     #24292f;
  --text2:    #57606a;
  --text3:    #8c959f;
  --border-glow: rgba(9, 105, 218, 0.3);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

/* Core layouts */
.page-content {
  flex: 1;
  padding: 48px 24px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn 0.4s ease-out;
}

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

header.header.site-nav-replaced {
  display: none !important;
}

.header {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 18px;
}

.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(88,166,255,0.2);
  transition: transform 0.3s;
}

.brand-link:hover .brand-logo {
  transform: rotate(-5deg) scale(1.05);
}

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

.nav-link {
  color: var(--text2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--ui);
  transition: color 0.2s, transform 0.2s;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  width: 100%;
  background: var(--blue);
}

.cta-btn {
  background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--ui);
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(88,166,255,0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88,166,255,0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Breadcrumb navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text2);
  margin-bottom: 40px;
  font-family: var(--ui);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--text);
  text-decoration: underline;
}

.breadcrumb span {
  opacity: 0.4;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 64px;
}

.hero-section h1 {
  font-family: var(--ui);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(120deg, var(--text) 40%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section .subtitle {
  font-size: 17px;
  color: var(--text2);
  max-width: 720px;
  margin: 0 auto;
}

/* Section Headings */
.section-title {
  font-family: var(--ui);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 56px 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title span {
  font-size: 26px;
}

/* Standard Premium Card Styles */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(88, 166, 255, 0.06);
  transform: translateY(-3px);
}

.card h2, .card h3 {
  font-family: var(--ui);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p {
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Card grids */
.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* Detailed List Card block */
.full-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  transition: border-color 0.3s;
}

.full-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.full-card h2 {
  font-family: var(--ui);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.list-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  list-style: none;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text2);
  font-size: 14px;
}

.item-icon {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.item-text strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  font-family: var(--ui);
  margin-bottom: 4px;
}

/* Features Grid Page Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(88, 166, 255, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(88,166,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
}

/* Tutorials / Guides specific lists */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.guide-card {
  display: block;
  text-decoration: none;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: inherit;
}

.guide-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  border-radius: 16px 16px 0 0;
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.guide-icon {
  font-size: 30px;
  line-height: 1;
}

.guide-card h3 {
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.guide-card p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 66px;
}

.guide-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}

.guide-card:hover .guide-link {
  gap: 8px;
}

/* Languages badges grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.lang-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-badge:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  background: rgba(88, 166, 255, 0.08);
}

/* Contact page grid & styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.contact-details {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  height: fit-content;
}

.contact-details h2 {
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  font-size: 22px;
  color: var(--blue);
  line-height: 1;
  margin-top: 2px;
}

.info-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  margin-bottom: 4px;
  font-family: var(--ui);
}

.info-value {
  font-size: 15px;
  color: var(--text);
  word-break: break-all;
}

.info-value a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.info-value a:hover {
  text-decoration: underline;
}

.contact-form-container {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.contact-form-container h2 {
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  font-family: var(--ui);
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
  color: #fff;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(88,166,255,0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88,166,255,0.4);
}

/* Privacy Page Box Container styling */
.privacy-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
}

.privacy-card h2 {
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 10px;
}

.privacy-card h2:first-of-type {
  margin-top: 0;
}

.privacy-card p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.privacy-card ul {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-card li {
  font-size: 14.5px;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.privacy-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  margin-top: 1px;
}

.privacy-card a {
  color: var(--blue);
  text-decoration: none;
}

.privacy-card a:hover {
  text-decoration: underline;
}

/* ── About & Legal page enhancements ── */
.page-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.stat-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.stat-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.stat-item strong {
  display: block;
  font-family: var(--ui);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stat-item span {
  font-size: 13px;
  color: var(--text2);
  font-weight: 600;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.trust-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}

.founder-section {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.06) 0%, rgba(108, 61, 232, 0.04) 100%);
  border-color: rgba(88, 166, 255, 0.28) !important;
}

.founder-layout {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.founder-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(88, 166, 255, 0.18);
}

.founder-info {
  flex: 1;
  min-width: 280px;
}

.founder-info h3 {
  font-family: var(--ui);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.founder-role {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.founder-info p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founder-links a {
  text-decoration: none;
}

.page-cta-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08) 0%, rgba(63, 185, 80, 0.06) 100%);
  border: 1px solid rgba(88, 166, 255, 0.25);
  border-radius: 20px;
  padding: 48px 32px;
  margin-top: 16px;
}

.page-cta-banner h2 {
  font-family: var(--ui);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.page-cta-banner p {
  color: var(--text2);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.page-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #238636, #2ea043);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(35, 134, 54, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 134, 54, 0.45);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.policy-meta-item {
  font-size: 13px;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
}

.policy-meta-item strong {
  color: var(--text);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  color: var(--text2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.15s;
}

.legal-toc a:last-child {
  border-bottom: none;
}

.legal-toc a:hover {
  color: var(--blue);
}

.privacy-card h2 {
  scroll-margin-top: 96px;
}

.contact-box {
  background: rgba(88, 166, 255, 0.06);
  border: 1px solid rgba(88, 166, 255, 0.22);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

.contact-box h3 {
  font-family: var(--ui);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 8px !important;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
}

.footer {
  background: linear-gradient(180deg, #0d121c 0%, #07090e 100%);
  border-top: 1px solid var(--border);
  position: relative;
  margin-top: 80px;
}

.footer-accent {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(108,61,232,0.8) 30%, rgba(88,166,255,1.0) 50%, rgba(63,185,80,0.8) 70%, transparent 100%);
}

.footer-banner {
  background: linear-gradient(135deg, rgba(108,61,232,0.2) 0%, rgba(88,166,255,0.12) 100%);
  border-bottom: 1px solid rgba(108,61,232,0.25);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.banner-title {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--ui);
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(108,61,232,0.25);
  border: 1px solid rgba(108,61,232,0.5);
  border-radius: 999px;
  padding: 6px 18px;
  transition: all 0.25s;
}

.banner-badge:hover {
  background: rgba(108,61,232,0.4);
  border-color: #9f75ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108,61,232,0.4);
}

.badge-icon {
  font-size: 15px;
}

.badge-text {
  font-size: 13px;
  font-weight: 800;
  color: #c4b5fd;
  letter-spacing: 0.2px;
  font-family: var(--ui);
}

.badge-arrow {
  font-size: 11px;
  color: rgba(196,181,253,0.9);
  font-weight: 700;
}

.footer-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 0 16px rgba(88,166,255,0.4);
}

.footer-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  font-family: var(--ui);
}

.brand-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.85;
  max-width: 240px;
}

.col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-family: var(--ui);
}

.lang-title {
  color: #58a6ff;
  border-bottom: 1px solid rgba(88,166,255,0.35);
}

.prod-title {
  color: #3fb950;
  border-bottom: 1px solid rgba(63,185,80,0.35);
}

.legal-title {
  color: #f0a500;
  border-bottom: 1px solid rgba(240,165,0,0.35);
}

.footer-contact-line {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-contact-line a {
  color: #58a6ff;
  text-decoration: none;
}

.footer-contact-line a:hover {
  text-decoration: underline;
}

.bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.bottom-right a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.18s;
}

.bottom-right a:hover {
  color: #58a6ff;
}

.bottom-right .divider {
  color: rgba(255,255,255,0.25);
}

.col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.col-list a {
  font-size: 13.5px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.18s;
}

.col-list a:hover {
  color: #58a6ff;
}

.balanju-card {
  background: linear-gradient(135deg, rgba(108,61,232,0.18) 0%, rgba(108,61,232,0.06) 100%);
  border: 1px solid rgba(108,61,232,0.35);
  border-radius: 16px;
  padding: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 14px;
  font-weight: 800;
  color: #c4b5fd;
  letter-spacing: -0.2px;
  font-family: var(--ui);
}

.card-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.75;
  margin: 0 0 18px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  background: rgba(108,61,232,0.35);
  border: 1px solid rgba(108,61,232,0.6);
  border-radius: 999px;
  padding: 7px 18px;
  transition: all 0.2s;
  font-family: var(--ui);
}

.card-btn:hover {
  background: rgba(108,61,232,0.5);
  box-shadow: 0 4px 16px rgba(108,61,232,0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #cbd5e1;
}

.bottom-left .divider {
  color: rgba(255,255,255,0.3);
}

/* Steps block */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  transition: border-color 0.3s;
}

.step-card:hover {
  border-color: var(--border-glow);
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--ui);
  color: rgba(88,166,255,0.15);
  position: absolute;
  top: 16px;
  right: 16px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Responsive constraints */
@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .footer-banner {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }
  .page-content {
    padding: 32px 16px;
  }
}
