/* Blog base — isolated design tokens (legacy site vars)
   Replaces /assets/css/style.css dependency for /blog/ pages */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-dark); color: var(--text-primary); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

:root {
  /* Typography */
  --font-heading: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Backgrounds */
  --bg-dark:        #07060d;
  --secondary-dark: #0d0b1a;
  --card-dark:      #13101f;

  /* Text */
  --text-primary:   #F5F3FF;
  --text-secondary: #9B98AC;
  --text-muted:     #6B6878;

  /* Accents */
  --accent-blue:    #7B2FBE;
  --accent-cyan:    #A855F7;
  --accent-gradient: linear-gradient(135deg, #7B2FBE 0%, #A855F7 100%);

  /* Borders & Effects */
  --border-subtle:     rgba(168,85,247,0.12);
  --glow-blue:         0 8px 32px rgba(123,47,190,0.18);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Navbar (standalone for blog) */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(7,6,13,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(168,85,247,0.18);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-logo img { display: block; }
.navbar-menu { display: flex; align-items: center; gap: 28px; }
.navbar-menu a { font-size: 0.85rem; font-weight: 500; color: #9B98AC; transition: color 0.2s; }
.navbar-menu a:hover { color: #F5F3FF; }
.navbar-cta {
  font-size: 0.82rem; font-weight: 600; color: #fff; background: #7B2FBE;
  padding: 8px 18px; border-radius: 6px; transition: opacity 0.2s; white-space: nowrap;
}
.navbar-cta:hover { opacity: 0.88; }

/* Lang switch */
.lang-switch { display: flex; gap: 6px; }
.lang-btn {
  font-family: var(--font-mono, monospace); font-size: 0.72rem; font-weight: 600;
  color: #9B98AC; padding: 5px 12px; border-radius: 5px;
  letter-spacing: 0.05em; transition: all 0.2s ease;
}
.lang-btn:hover { color: #F5F3FF; background: rgba(168,85,247,0.15); }
.lang-btn.active { color: #fff; background: #A855F7; }

/* Headings */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-family: var(--font-heading); font-weight: 700; }
h2 { font-family: var(--font-heading); font-weight: 700; }
h3 { font-family: var(--font-heading); font-weight: 600; }

/* Base form inputs (admin needs password too) */
input[type="text"], input[type="password"], input[type="email"],
select, textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  border-radius: 8px; color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent-blue); }
select option { background: var(--secondary-dark); }

/* Footer minimal */
.site-footer {
  background: #07060d; border-top: 1px solid rgba(168,85,247,0.12);
  padding: 40px 0; color: #9B98AC; text-align: center; font-size: 0.82rem;
}
