/* ============================================================
   AngelS Lab — tradingangel.de
   Global Stylesheet
   ============================================================ */

/* 1. DESIGN TOKENS
   ============================================================ */
:root {
  --bg:         #0a0a18;
  --bg-mid:     #0f0f22;
  --bg-card:    #13132a;
  --gold:       #f0a500;
  --gold-dim:   rgba(240, 165, 0, 0.15);
  --gold-glow:  rgba(240, 165, 0, 0.25);
  --gold-hover: #ffc72c;
  --text:       #ffffff;
  --text-muted: #9999bb;
  --border:     rgba(240, 165, 0, 0.14);
  --border-dim: rgba(255, 255, 255, 0.07);
  --radius:     10px;
  --radius-lg:  18px;
  --max-w:      1120px;
  --nav-h:      68px;
  --font-body:  system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head:  Georgia, 'Times New Roman', serif;
  --shadow:     0 4px 32px rgba(0, 0, 0, 0.5);
}

/* 2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1.05rem; color: var(--text-muted); }

.text-gold    { color: var(--gold); }
.text-white   { color: var(--text); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* 4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
.section-dark { background: var(--bg); }
.section-mid  { background: var(--bg-mid); }

/* 5. NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10, 10, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn-nav {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-links .btn-nav:hover { background: var(--gold-hover); color: #000; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.05rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-dim);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* 6. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  border-radius: 8px;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: #000;
  padding: 16px 40px;
  font-size: 1.1rem;
}
.btn-primary:hover {
  background: var(--gold-hover);
  box-shadow: 0 0 30px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 14px 36px;
  font-size: 1rem;
}
.btn-outline:hover {
  background: var(--gold-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-dim);
  padding: 12px 28px;
  font-size: 0.95rem;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); }

.btn-lg { padding: 20px 52px; font-size: 1.2rem; }

/* 7. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(240, 165, 0, 0.35);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* 8. BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* 9. DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  margin: 0;
  border: none;
}

/* 10. STAT STRIP
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-card);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* 11. CHECK LIST
   ============================================================ */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 12. PRICE TAG
   ============================================================ */
.price-display {
  text-align: center;
  margin: 32px 0;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 13. FOOTER
   ============================================================ */
footer {
  background: #06060f;
  border-top: 1px solid var(--border-dim);
  padding: 40px 0 28px;
  text-align: center;
}
footer .footer-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
footer .footer-logo span { color: var(--gold); }
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
footer .footer-links a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--gold); }
footer .footer-copy {
  font-size: 0.82rem;
  color: #445;
}

/* 14. SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s;
}

/* 15. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 16. PAGE TOP OFFSET (for fixed nav)
   ============================================================ */
main { padding-top: var(--nav-h); }

/* 17. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .btn-primary, .btn-outline { padding: 14px 28px; font-size: 1rem; }
  .card { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 3rem; }
}
