/* ═══════════════════════════════════════════════════════════
   EVE Industry Tool – Website Stylesheet
   Aesthetic: Industrial / Sci-Fi Terminal
   Fonts: Rajdhani (display) + Source Code Pro (mono) + Lato (body)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Source+Code+Pro:wght@400;600&family=Lato:wght@300;400;700&display=swap');

/* ─── Variablen ──────────────────────────────────────────── */
:root {
  --bg:         #07090f;
  --bg2:        #0c1018;
  --bg3:        #111827;
  --panel:      #131c2e;
  --border:     #1e2d47;
  --border2:    #243550;
  --text:       #b8c8e0;
  --text-dim:   #4d6180;
  --text-bright:#e8f0fc;
  --accent:     #3a9bdc;
  --accent2:    #5bb8f5;
  --gold:       #c8920a;
  --gold2:      #f0b429;
  --green:      #27a66c;
  --red:        #e04545;
  --glow:       rgba(58,155,220,0.15);
  --glow-gold:  rgba(200,146,10,0.2);

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Lato', sans-serif;
  --font-mono:    'Source Code Pro', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* Scan-line Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--text-bright); }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: 0.04em; color: var(--text-bright); }
code, pre { font-family: var(--font-mono); }
img { max-width: 100%; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ─── Navigation ─────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-logo .logo-icon {
  width: 28px; height: 28px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

.nav-logo span.accent { color: var(--accent2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text-bright); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--accent2); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.4rem 1.1rem !important;
  box-shadow: 0 0 12px var(--glow);
}
.nav-cta:hover { background: var(--accent2) !important; color: #07090f !important; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(58,155,220,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,146,10,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,45,71,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,45,71,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid var(--border2);
  background: rgba(58,155,220,0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-tag::before { content: '◈'; }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 .line1 { display: block; color: var(--text-bright); }
.hero h1 .line2 {
  display: block;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat .value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent2);
}
.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(58,155,220,0.3);
}
.btn-primary:hover {
  background: var(--accent2);
  color: #07090f;
  box-shadow: 0 0 30px rgba(91,184,245,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(58,155,220,0.05);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-gold);
}
.btn-gold:hover {
  background: var(--gold2);
  color: #07090f;
  box-shadow: 0 0 30px rgba(240,180,41,0.5);
  transform: translateY(-1px);
}

/* ─── Section Headers ────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg2); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ─── Feature Cards ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--panel); }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--text-bright);
}

.feature-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

/* ─── Plans / Pricing ────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.plan-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(58,155,220,0.12);
}
.plan-featured:hover {
  box-shadow: 0 0 40px rgba(58,155,220,0.2);
}

.plan-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 0 0 4px 4px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}
.plan-price .unit { font-size: 1rem; color: var(--accent2); margin-left: 0.25rem; }
.plan-period { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.25rem; }

.plan-divider { border: none; border-top: 1px solid var(--border); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text);
}
.plan-features li::before { content: '◆'; color: var(--accent); font-size: 0.5rem; margin-top: 0.4rem; flex-shrink: 0; }
.plan-features li.dim { color: var(--text-dim); }
.plan-features li.dim::before { color: var(--border2); }

/* ─── Download Section ───────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s;
}
.download-card:hover { border-color: var(--border2); }

.download-card .os-icon {
  font-size: 1.8rem;
}
.download-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.download-card p { font-size: 0.85rem; color: var(--text-dim); flex: 1; }
.download-card .note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 0.5rem;
  background: rgba(0,0,0,0.3);
  border-left: 2px solid var(--border2);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1px; }

details.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
}
details.faq-item + details.faq-item { border-top: none; }

details.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
details.faq-item summary:hover { background: rgba(255,255,255,0.02); }
details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* ─── Changelog ──────────────────────────────────────────── */
.changelog-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.changelog-entry:last-child { border-bottom: none; }

.changelog-meta { padding-top: 0.2rem; }
.changelog-version {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent2);
}
.changelog-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}
.changelog-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(39,166,108,0.15);
  color: var(--green);
  border: 1px solid rgba(39,166,108,0.3);
  border-radius: 2px;
}

.changelog-content h3 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 1rem 0 0.5rem;
}
.changelog-content h3:first-child { margin-top: 0; }
.changelog-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.changelog-content li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
}
.changelog-content li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--accent);
}

/* ─── ISK Payment Box ────────────────────────────────────── */
.isk-box {
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.isk-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
}
.isk-box h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--gold2);
}
.isk-steps { list-style: none; counter-reset: steps; display: flex; flex-direction: column; gap: 0.75rem; }
.isk-steps li {
  counter-increment: steps;
  padding-left: 2.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
}
.isk-steps li::before {
  content: counter(steps);
  position: absolute; left: 0;
  width: 1.6rem; height: 1.6rem;
  background: var(--gold);
  color: #07090f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  top: 0.1rem;
}

/* ─── Alert / Legal Note ─────────────────────────────────── */
.legal-note {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--border2);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ─── Support Form ───────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.support-option {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.support-option h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.support-option p { font-size: 0.875rem; color: var(--text-dim); flex: 1; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,155,220,0.1);
}
.form-group select option { background: var(--bg3); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text-bright); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom .ccp-notice {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #2a3a50;
}

/* ─── Page Header (Innen-Seiten) ─────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.page-header .section-label { margin-bottom: 0.5rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
.page-header p { color: var(--text-dim); margin-top: 0.75rem; max-width: 580px; }

/* ─── Utility ────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-accent { color: var(--accent2); }
.text-gold { color: var(--gold2); }
.text-dim { color: var(--text-dim); }
.text-mono { font-family: var(--font-mono); }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.tag-blue { background: rgba(58,155,220,0.12); color: var(--accent2); border: 1px solid rgba(58,155,220,0.25); }
.tag-green { background: rgba(39,166,108,0.12); color: var(--green); border: 1px solid rgba(39,166,108,0.25); }
.tag-gold { background: rgba(200,146,10,0.12); color: var(--gold2); border: 1px solid rgba(200,146,10,0.25); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .changelog-entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .support-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
