/* ============================================
   FlowTrader AI - Website Styles
   Dark Mode Trading Design
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12151b;
  --bg-card: #1a1d23;
  --bg-card-hover: #22262e;
  --accent: #4ed4ac;
  --accent-dark: #3bb892;
  --accent-glow: rgba(78, 212, 172, .15);
  --accent-glow-strong: rgba(78, 212, 172, .25);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #7a8ba0;
  --border: rgba(255,255,255,.06);
  --border-accent: rgba(78,212,172,.2);
  --red: #ef4444;
  --orange: #f59e0b;
  --blue: #3b82f6;
  --purple: #a855f7;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.6);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #6ee8c0; }

/* ─── Accessibility: Focus indicators ─── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Accessibility: Skip to main content ─── */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
  background: var(--accent); color: #0a0c10; font-weight: 700; padding: 12px 24px;
  border-radius: 0 0 8px 0; z-index: 10000; text-decoration: none; font-size: 1rem;
}
.skip-link:focus { position: fixed; left: 0; top: 0; width: auto; height: auto; overflow: visible; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,12,16,.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { background: rgba(10,12,16,.95); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 72px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800; color: var(--text-primary);
  letter-spacing: -.03em;
}
.nav-logo span { color: var(--accent); }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; white-space: nowrap; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,.05); }

.nav-cta, a.nav-cta, a.nav-cta:visited {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 10px;
  background: var(--accent); color: #0a0c10 !important; font-weight: 700; font-size: .85rem;
  transition: var(--transition); border: none; cursor: pointer; white-space: nowrap;
}
a.nav-cta:hover { background: #6ee8c0; color: #0a0c10 !important; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow-strong); }

/* ─── Accessibility: Social media hover via CSS ─── */
.social-link { color: var(--text-muted); transition: var(--transition); }
.social-instagram:hover, .social-instagram:focus-visible { color: #E1306C; }
.social-facebook:hover, .social-facebook:focus-visible { color: #1877F2; }
.social-youtube:hover, .social-youtube:focus-visible { color: #FF0000; }

/* ─── Language Switcher ─── */
.lang-switcher-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px;
  background: transparent; color: var(--text-secondary); font-weight: 600; font-size: .8rem;
  border: 1px solid rgba(255,255,255,.1); cursor: pointer; font-family: var(--font);
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn:focus-visible { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--text-primary); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 6px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 4px; min-width: 140px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 100;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: block; width: 100%; text-align: left;
  padding: 8px 14px; border-radius: 6px; border: none;
  background: transparent; color: var(--text-secondary); font-size: .85rem;
  cursor: pointer; font-family: var(--font); transition: var(--transition);
}
.lang-option:hover, .lang-option:focus-visible { background: rgba(255,255,255,.06); color: var(--text-primary); }
.lang-option.active { color: var(--accent); font-weight: 600; }

/* Hide Google Translate bar */
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }

.nav-login, a.nav-login, a.nav-login:visited {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 10px;
  background: transparent; color: var(--text-primary) !important; font-weight: 600; font-size: .85rem;
  transition: var(--transition); border: 1px solid rgba(255,255,255,.15); cursor: pointer; white-space: nowrap;
}
a.nav-login:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 968px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; padding: 16px 24px; gap: 4px;
    background: rgba(10,12,16,.98); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 50% 30%, var(--accent-glow) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: .4; transform: scale(1); }
  100% { opacity: .7; transform: scale(1.1); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-accent);
  margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.8;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); border: none; text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #0a0c10;
  box-shadow: 0 2px 20px var(--accent-glow);
}
.btn-primary:hover { background: #6ee8c0; color: #0a0c10; transform: translateY(-2px); box-shadow: 0 6px 30px var(--accent-glow-strong); }

.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.btn-sm { padding: 10px 20px; font-size: .875rem; border-radius: 10px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-secondary); max-width: 640px; font-size: 1.1rem; line-height: 1.7; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }

.section-alt { background: var(--bg-secondary); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0;
  transition: var(--transition);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow); color: var(--accent); font-size: 1.4rem; margin-bottom: 20px;
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: .95rem; line-height: 1.7; }

/* Card grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 968px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Pain Points Section ---------- */
.pain-card {
  background: linear-gradient(135deg, rgba(239,68,68,.06), rgba(239,68,68,.02));
  border: 1px solid rgba(239,68,68,.12); border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.pain-card:hover { border-color: rgba(239,68,68,.25); transform: translateY(-2px); }
.pain-card .pain-icon { font-size: 1.6rem; margin-bottom: 12px; }
.pain-card h3 { font-size: 1.1rem; color: #fca5a5; margin-bottom: 8px; }
.pain-card p { color: var(--text-secondary); font-size: .9rem; }

/* ---------- Feature Showcase ---------- */
.feature-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.feature-visual {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; min-height: 360px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.feature-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0; transition: var(--transition);
}
.feature-visual:hover::after { opacity: 1; }

.feature-text h2 { margin-bottom: 16px; }
.feature-text p { color: var(--text-secondary); margin-bottom: 24px; font-size: 1.05rem; }
.feature-text .feature-list { list-style: none; }
.feature-text .feature-list li {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
  color: var(--text-secondary); font-size: .95rem;
}
.feature-text .feature-list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; margin-top: 2px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 968px) {
  .feature-showcase, .feature-showcase.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
}

/* ---------- Stats ---------- */
.stat-card {
  text-align: center; padding: 32px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat-label { color: var(--text-secondary); font-size: .9rem; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative;
}
.testimonial-card .quote { font-size: 1.05rem; font-style: italic; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-glow); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent); font-size: .9rem;
}
.testimonial-card .stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card .author-name { font-weight: 600; }
.testimonial-card .author-role { font-size: .85rem; color: var(--text-muted); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-glow), rgba(59,130,246,.08));
  border: 1px solid var(--border-accent); border-radius: var(--radius-lg);
  padding: 64px 48px; text-align: center; margin: 0 24px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-secondary); font-size: .9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text-muted);
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-accent); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: var(--bg-card); border: none; color: var(--text-primary);
  font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left;
  font-family: var(--font); transition: var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question .arrow { transition: var(--transition); color: var(--accent); font-size: 1.2rem; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-secondary); font-size: .95rem; line-height: 1.7; }

/* ---------- Quiz Specific ---------- */
.quiz-container { max-width: 700px; margin: 0 auto; }
.quiz-progress { height: 4px; background: var(--bg-card); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width .5s ease; }
.quiz-question-num { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.quiz-question { font-size: 1.3rem; font-weight: 700; margin-bottom: 28px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: var(--transition);
  font-size: .95rem; color: var(--text-secondary); text-align: left;
}
.quiz-option:hover { border-color: var(--accent); color: var(--text-primary); background: var(--bg-card-hover); }
.quiz-option.selected { border-color: var(--accent); background: var(--accent-glow); color: var(--text-primary); }

/* Quiz Result */
.quiz-result { text-align: center; }
.quiz-result-icon { font-size: 3rem; margin-bottom: 16px; }
.quiz-result-type { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.quiz-result-desc { color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }

/* ---------- Calculator ---------- */
.calc-form { max-width: 600px; margin: 0 auto; }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.calc-field input, .calc-field select {
  width: 100%; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary); font-size: 1rem;
  font-family: var(--font); transition: var(--transition); outline: none;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.calc-field input::placeholder { color: var(--text-muted); }
.calc-field select option { background: var(--bg-card); color: var(--text-primary); }

.calc-result {
  background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(239,68,68,.02));
  border: 1px solid rgba(239,68,68,.15); border-radius: var(--radius-lg);
  padding: 32px; margin-top: 32px; text-align: center;
}
.calc-result h3 { color: #fca5a5; margin-bottom: 8px; }
.calc-result .amount { font-size: 2.5rem; font-weight: 800; color: var(--red); }
.calc-result p { color: var(--text-secondary); margin-top: 12px; font-size: .95rem; }

/* ---------- Blog/Content Pages ---------- */
.page-hero {
  padding: 140px 0 60px; text-align: center; position: relative;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { color: var(--text-secondary); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.content-body { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.content-body h2 { margin: 48px 0 16px; }
.content-body h3 { margin: 32px 0 12px; }
.content-body p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; }
.content-body ul, .content-body ol { color: var(--text-secondary); margin: 0 0 20px 24px; }
.content-body li { margin-bottom: 8px; }
.content-body blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px; margin: 24px 0;
  background: var(--accent-glow); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-primary); font-style: italic;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: center; position: relative;
}
.pricing-card.featured { border-color: var(--accent); }
.pricing-card.featured::before {
  content: 'Beliebt'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0c10; padding: 4px 16px; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
}
.pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--accent); }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.pricing-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; }

/* ---------- Comparison Table ---------- */
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--bg-card);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
}
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--bg-secondary); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.compare-table .highlight { background: rgba(78,212,172,.05); }
.compare-table .check { color: var(--accent); font-weight: 700; }
.compare-table .cross { color: var(--text-muted); }

/* ---------- Tag/Badge ---------- */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: .75rem; font-weight: 600;
  background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-accent);
}
.tag-red { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.2); }
.tag-blue { background: rgba(59,130,246,.1); color: #93bbfc; border-color: rgba(59,130,246,.2); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); display: block; color: inherit; text-decoration: none;
  position: relative;
}
.blog-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.blog-card:hover { border-color: var(--border-accent); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(78,212,172,.15), var(--shadow); color: inherit; }
.blog-card:hover::after { opacity: 1; }
.blog-card-img {
  height: 180px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; transition: var(--transition); position: relative; overflow: hidden;
}
.blog-card-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 70%);
  opacity: 0; transition: var(--transition);
}
.blog-card:hover .blog-card-img { background: var(--bg-card-hover); }
.blog-card:hover .blog-card-img::before { opacity: 1; }
.blog-card-body { padding: 24px; }
.blog-card-body .tag { margin-bottom: 12px; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); transition: var(--transition); }
.blog-card:hover .blog-card-body h3 { color: var(--accent); }
.blog-card-body h3 a { color: inherit; pointer-events: none; }
.blog-card-body p { color: var(--text-secondary); font-size: .9rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* Smooth page transitions */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   VISUAL ENHANCEMENTS - Animations & Glows
   ============================================ */

/* ---------- Enhanced Card Hover Glows ---------- */
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(78,212,172,.12), 0 2px 8px rgba(0,0,0,.4);
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(78,212,172,.06), transparent 70%);
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* ---------- Floating Orbs Background ---------- */
.hero::after {
  content: ''; position: absolute; width: 400px; height: 400px;
  border-radius: 50%; background: radial-gradient(circle, rgba(78,212,172,.05) 0%, transparent 70%);
  bottom: -100px; right: -100px; animation: floatOrb 12s ease-in-out infinite;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, -20px) scale(1.05); }
  66% { transform: translate(20px, 10px) scale(.95); }
}

/* ---------- Page Hero Glow ---------- */
.page-hero {
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(78,212,172,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Section Label Shimmer ---------- */
.section-label {
  position: relative; overflow: hidden;
}
.section-label::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(78,212,172,.3), transparent);
  animation: shimmerLabel 4s ease-in-out infinite;
}
@keyframes shimmerLabel {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* ---------- Animated Accent Dot ---------- */
.hero-badge::before {
  animation: pulseDot 1.5s ease-in-out infinite !important;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78,212,172,.7); }
  50% { box-shadow: 0 0 0 6px rgba(78,212,172,0); }
}

/* ---------- CTA Section Glow ---------- */
.cta-section {
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,212,172,.07) 0%, transparent 70%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { transform: translateX(-50%) scale(1); opacity: .5; }
  100% { transform: translateX(-50%) scale(1.3); opacity: 1; }
}

/* ---------- Btn Primary Pulse ---------- */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .6s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* ---------- Pricing Card Featured Glow ---------- */
.pricing-card.featured {
  box-shadow: 0 0 40px rgba(78,212,172,.15);
  animation: pricingGlow 3s ease-in-out infinite alternate;
}
@keyframes pricingGlow {
  0% { box-shadow: 0 0 20px rgba(78,212,172,.1); }
  100% { box-shadow: 0 0 50px rgba(78,212,172,.25); }
}

/* ---------- Stat Card Hover ---------- */
.stat-card {
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(78,212,172,.1);
}
.stat-number {
  background: linear-gradient(135deg, var(--accent), #6ee8c0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---------- Testimonial Card Hover ---------- */
.testimonial-card {
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(78,212,172,.08);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; right: 20px;
  font-size: 4rem; color: var(--accent); opacity: .15; line-height: 1;
  font-family: Georgia, serif;
}

/* ---------- FAQ hover glow ---------- */
.faq-item:hover { border-color: var(--border-accent); box-shadow: 0 4px 20px rgba(78,212,172,.06); }
.faq-item.open { border-color: var(--border-accent); box-shadow: 0 4px 20px rgba(78,212,172,.1); }

/* ---------- Tag bounce on hover ---------- */
.tag { transition: var(--transition); }
.tag:hover { transform: scale(1.05); }

/* ---------- Nav Logo glow on hover ---------- */
.nav-logo:hover { color: var(--text-primary); }
.nav-logo svg rect { transition: var(--transition); }
.nav-logo:hover svg rect { fill-opacity: .3; }

/* ---------- Scroll-triggered stagger animation ---------- */
.grid-3 .card:nth-child(1), .grid-3 .blog-card:nth-child(1) { transition-delay: 0s; }
.grid-3 .card:nth-child(2), .grid-3 .blog-card:nth-child(2) { transition-delay: .1s; }
.grid-3 .card:nth-child(3), .grid-3 .blog-card:nth-child(3) { transition-delay: .2s; }

/* ---------- Background grid pattern ---------- */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(78,212,172,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,212,172,.015) 1px, transparent 1px);
  background-size: 60px 60px;
}
body > * { position: relative; z-index: 1; }

/* ---------- Glowing border on focus/active ---------- */
.quiz-option:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* ---------- Page load fade-in ---------- */
@keyframes pageLoad {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: pageLoad .8s ease both; }
.hero-content h1 { animation: pageLoad .8s .1s ease both; }
.hero-content .hero-sub { animation: pageLoad .8s .2s ease both; }
.hero-content .hero-ctas { animation: pageLoad .8s .3s ease both; }

/* ---------- Feature visual glow ---------- */
.feature-visual {
  box-shadow: inset 0 0 40px rgba(78,212,172,.03);
  transition: var(--transition);
}
.feature-visual:hover {
  border-color: var(--border-accent);
  box-shadow: inset 0 0 60px rgba(78,212,172,.06), 0 8px 40px rgba(78,212,172,.08);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================
   CONTENT VISUAL COMPONENTS
   Info-Boxen, Studie-Karten, Glossar-Nav etc.
   ============================================ */

/* ---------- Info Box ---------- */
.info-box {
  padding: 24px 28px; border-radius: var(--radius); margin: 28px 0;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-glow), rgba(78,212,172,.03));
}
.info-box.info-blue {
  border-left-color: var(--blue);
  background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(59,130,246,.03));
}
.info-box.info-red {
  border-left-color: var(--red);
  background: linear-gradient(135deg, rgba(239,68,68,.1), rgba(239,68,68,.03));
}
.info-box.info-orange {
  border-left-color: var(--orange);
  background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(245,158,11,.03));
}
.info-box.info-purple {
  border-left-color: var(--purple);
  background: linear-gradient(135deg, rgba(168,85,247,.1), rgba(168,85,247,.03));
}
.info-box h4 {
  font-size: 1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.info-box p { margin-bottom: 0; }
.info-box p + p { margin-top: 8px; }

/* ---------- Study Card ---------- */
.study-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin: 28px 0; position: relative; overflow: hidden;
  transition: var(--transition);
}
.study-card:hover { border-color: var(--border-accent); box-shadow: 0 4px 20px rgba(78,212,172,.08); }
.study-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.study-card .study-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.study-card .study-meta .tag { font-size: .7rem; }
.study-card h3 { font-size: 1.15rem; margin: 0 0 12px; }
.study-card p { font-size: .95rem; }

/* ---------- Key Stat Inline ---------- */
.key-stat {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-weight: 800; color: var(--accent); font-size: 1.3rem;
}
.key-stat small { font-size: .85rem; font-weight: 500; color: var(--text-secondary); }

/* ---------- Stat Row ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px; margin: 28px 0;
}
.stat-row .stat-card { padding: 20px 16px; }
.stat-row .stat-number { font-size: 2rem; }
.stat-row .stat-label { font-size: .8rem; }

/* ---------- Quote Card ---------- */
.quote-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 32px; margin: 28px 0; position: relative;
}
.quote-card::before {
  content: '\201C'; position: absolute; top: 8px; left: 16px;
  font-size: 4rem; color: var(--accent); opacity: .15; line-height: 1; font-family: Georgia, serif;
}
.quote-card p { font-style: italic; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; }
.quote-card .quote-author { font-style: normal; font-size: .85rem; color: var(--accent); font-weight: 600; }

/* ---------- Step List ---------- */
.step-list { list-style: none; margin: 28px 0; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps; position: relative; padding: 20px 20px 20px 64px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; transition: var(--transition);
}
.step-list li:hover { border-color: var(--border-accent); }
.step-list li::before {
  content: counter(steps); position: absolute; left: 16px; top: 18px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
}
.step-list li strong { display: block; color: var(--text-primary); margin-bottom: 4px; }

/* ---------- Glossar Nav ---------- */
.glossar-nav {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 16px 20px; margin: 0 0 32px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: sticky; top: 80px; z-index: 50;
}
.glossar-nav a {
  padding: 6px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600;
  color: var(--text-secondary); border: 1px solid var(--border); transition: var(--transition);
}
.glossar-nav a:hover, .glossar-nav a.active {
  color: var(--accent); border-color: var(--accent); background: var(--accent-glow);
}

/* ---------- Book Card ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin: 32px 0; }
.book-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.book-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.book-card .book-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.book-card .book-title { font-size: .95rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.book-card .book-subtitle { font-size: .8rem; color: var(--text-secondary); margin-bottom: 8px; flex: 1; }
.book-card .book-cta {
  font-size: .8rem; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 4px;
}

/* ---------- Related Links Section ---------- */
.related-links {
  margin: 48px 0 0; padding: 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.related-links h3 {
  font-size: 1rem; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.related-links ul { list-style: none; margin: 0; padding: 0; }
.related-links li { margin-bottom: 8px; }
.related-links a {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 8px; color: var(--text-secondary); transition: var(--transition);
  font-size: .95rem;
}
.related-links a:hover { background: var(--accent-glow); color: var(--accent); }
.related-links a::after { content: '\2192'; margin-left: auto; opacity: .5; }

/* ---------- Transparency Banner ---------- */
.transparency-banner {
  padding: 20px 24px; margin: 28px 0;
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(168,85,247,.05));
  border: 1px solid rgba(59,130,246,.15); border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 12px; font-size: .9rem;
}
.transparency-banner .icon { font-size: 1.4rem; flex-shrink: 0; }
.transparency-banner p { color: var(--text-secondary); margin: 0; }
.transparency-banner strong { color: var(--text-primary); }

/* ---------- Content Body Enhancements ---------- */
.content-body .content-wide {
  max-width: 100%; margin-left: -60px; margin-right: -60px; width: calc(100% + 120px);
}
@media (max-width: 968px) {
  .content-body .content-wide { margin-left: 0; margin-right: 0; width: 100%; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .book-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .glossar-nav { gap: 4px; }
  .glossar-nav a { padding: 4px 10px; font-size: .8rem; }
}
