/* PRO3000 – Hybrid Matrix + Modern Design */

/* === FONTS === */
@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2/Exo2-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2/Exo2-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('/fonts/exo2/Exo2-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* === BASE === */
:root {
  --green: #00ff41;
  --green-dim: rgba(0,255,65,0.6);
  --green-glow: rgba(0,255,65,0.15);
  --green-subtle: rgba(0,255,65,0.08);
  --green-border: rgba(0,255,65,0.25);
  --bg: #030712;
  --bg-card: #0a0f1a;
  --text: #d1d5db;
  --text-dim: #9ca3af;
  --text-muted: #6b7280;
}

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  min-height: 100vh;
  line-height: 1.7;
}

/* Headings: Monospace for Matrix feel */
h1, h2, h3, h4 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text);
  font-weight: 700;
}

/* === AMBIENT BACKGROUND === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,65,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,200,50,0.06) 0%, transparent 50%);
  filter: blur(80px);
  animation: ambientMove 12s infinite alternate ease-in-out;
  z-index: -2;
}
@keyframes ambientMove {
  0% { transform: translate(-3%,-3%) scale(1); }
  100% { transform: translate(3%,3%) scale(1.03); }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,65,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,65,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* === UTILITY === */
.hidden { display: none !important; }

/* === MATRIX GLOW === */
.matrix-glow {
  color: var(--green);
  text-shadow: 0 0 4px var(--green), 0 0 8px rgba(0,255,65,0.3);
}
.cursor-blink::after {
  content: '_';
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* === NAVIGATION === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(3,7,18,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--green-border);
}
.topbar-logo {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 6px var(--green);
  text-decoration: none;
}
.topbar-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.topbar-nav a {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
.topbar-nav a:hover {
  color: var(--green);
  text-shadow: 0 0 6px rgba(0,255,65,0.4);
}
.topbar-lang {
  display: flex;
  gap: 0.5rem;
}
.topbar-lang button {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.topbar-lang button:hover,
.topbar-lang button.active {
  color: var(--green);
  border-color: var(--green-border);
  text-shadow: 0 0 4px rgba(0,255,65,0.3);
}

/* === HERO === */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto;
}

/* === SECTIONS === */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 1rem;
}
.section-title p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.card:hover {
  border-color: var(--green-border);
  box-shadow: 0 0 25px var(--green-glow), 0 0 50px rgba(0,255,65,0.05);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 0.75rem;
  color: var(--green);
}
.card p {
  font-size: 15px;
  color: var(--text-dim);
}
.card-number {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--green-dim);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0,255,65,0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0,255,65,0.5);
  transform: scale(1.03);
}
.btn-secondary {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--green-border);
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--green);
  box-shadow: 0 0 10px rgba(0,255,65,0.2);
}

/* === DIVIDER === */
.divider {
  border: none;
  border-top: 1px solid rgba(0,255,65,0.12);
  margin: 0;
}

/* === ARTICLE CARDS (Wissen listing) === */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
}
.article-card:hover {
  border-color: var(--green-border);
  box-shadow: 0 0 30px var(--green-glow);
  transform: translateY(-2px);
}
.article-card .tag {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  padding: 4px 10px;
  border: 1px solid var(--green-border);
  border-radius: 4px;
  width: fit-content;
}
.article-card .title {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  line-height: 1.4;
}
.article-card:hover .title { color: var(--green); }
.article-card .teaser {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.article-card .meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* === FILTER BUTTONS === */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2rem;
  max-width: 1100px;
  margin: 0.5rem auto 2rem;
}
.filter-btn {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--green);
  border-color: var(--green-border);
  background: var(--green-subtle);
  box-shadow: 0 0 8px rgba(0,255,65,0.15);
}

/* === ARTICLE BODY === */
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.article-header { margin-bottom: 3rem; }
.article-header h1 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.3;
  margin: 1.25rem 0;
  text-shadow: 0 0 15px rgba(0,255,65,0.1);
}
.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-body {
  font-size: 18px;
  line-height: 1.8;
}
.article-body h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}
.article-body h3 {
  font-size: clamp(17px, 2.5vw, 21px);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(0,255,65,0.3);
}
.article-body p { margin-bottom: 1.25rem; }
.article-body a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,65,0.3);
  transition: border-color 0.2s;
}
.article-body a:hover { border-bottom-color: var(--green); }
.article-body ul, .article-body ol { margin: 1.25rem 0; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body li::marker { color: var(--green); }
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--green);
  background: var(--green-subtle);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dim);
}
.article-body code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: rgba(0,255,65,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green);
}
.article-body pre {
  background: #010311;
  border: 1px solid rgba(0,255,65,0.15);
  border-radius: 10px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}
.article-body pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  color: var(--text);
}
.article-body strong { color: #f3f4f6; }

/* === ARTICLE CTA === */
.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--green-border);
  background: var(--green-subtle);
  text-align: center;
}
.article-cta h3 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}
.article-cta p { color: var(--text-dim); margin-bottom: 1.5rem; }

/* === RELATED === */
.related-articles {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.related-articles h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  border-left: none;
  padding-left: 0;
}
.related-list { display: flex; flex-direction: column; gap: 1rem; }
.related-list a {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
}
.related-list a:hover {
  border-color: var(--green-border);
  color: var(--green);
  box-shadow: 0 0 10px rgba(0,255,65,0.1);
}

/* === FASTFIX BADGE === */
.fastfix-badge {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 14px;
}
.fastfix-badge a {
  color: #00ffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  transition: border-color 0.2s;
}
.fastfix-badge a:hover { border-bottom-color: #00ffff; }

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
}
.site-footer a:hover { color: var(--green); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .topbar { padding: 0.75rem 1rem; }
  .topbar-nav { display: none; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero p { font-size: 16px; }
  .section { padding: 3rem 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; padding: 0 1rem 2rem; }
  .filters { padding: 0 1rem; }
  .article-container { padding: 0 1rem 3rem; }
  .article-body { font-size: 16px; }
}
