/* EVLädeQueue - Info-Website Styles */

:root {
  --color-bg: #f4f7f6;
  --color-surface: #ffffff;
  --color-surface-alt: #eef6f2;
  --color-border: #dbe6e2;
  --color-text: #12261f;
  --color-text-muted: #5c716a;
  --color-primary: #00b894;
  --color-primary-dark: #00966f;
  --color-primary-light: #d3f3e7;
  --color-accent: #0077ff;
  --shadow-md: 0 6px 20px rgba(18, 38, 31, 0.10);
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-main: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand { font-size: 1.3rem; font-weight: 700; }
.brand-icon { color: var(--color-primary); margin-right: 6px; }
.brand-accent { color: var(--color-primary); }

.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--color-text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--color-primary); }

.hero {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg));
  padding: 80px 24px;
}

.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-block;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 { font-size: 2.6rem; margin: 0 0 20px; }

.hero p { font-size: 1.1rem; color: var(--color-text-muted); max-width: 600px; margin: 0 auto 32px; }

.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 2rem; color: var(--color-primary-dark); }
.stat span { color: var(--color-text-muted); font-size: 0.9rem; }

.section { max-width: 1100px; margin: 0 auto; padding: 72px 24px; }
.section-alt { background: var(--color-surface-alt); max-width: none; }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section h2 { font-size: 2rem; margin-bottom: 12px; text-align: center; }
.section-intro { color: var(--color-text-muted); text-align: center; max-width: 700px; margin: 0 auto 40px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.info-card h3 { margin-top: 0; color: var(--color-primary-dark); }
.info-card p { color: var(--color-text-muted); margin-bottom: 0; }

.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 1.4rem; color: var(--color-primary-dark); margin-bottom: 8px; }
.feature-text p { color: var(--color-text-muted); }

.screenshot-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.screenshot-block.reverse { flex-direction: row-reverse; }
.screenshot-block img { flex: 1 1 560px; max-width: 560px; }
.screenshot-caption { flex: 1 1 300px; }
.screenshot-caption h4 { font-size: 1.3rem; color: var(--color-primary-dark); margin-bottom: 8px; }
.screenshot-caption p { color: var(--color-text-muted); }

.points-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.points-table th, .points-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.points-table th { color: var(--color-text-muted); font-size: 0.85rem; }
.points-value { font-weight: 700; color: var(--color-primary-dark); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.tech-card h3 { margin-top: 0; color: var(--color-accent); }
.tech-card p { color: var(--color-text-muted); margin-bottom: 0; }

.site-footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.jm-banner-wrapper {
  position: relative !important;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 54px;
  margin-top: 24px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .jm-banner-wrapper { height: 82px; }
}

.jm-banner-wrapper #JM_banner {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  height: 100%;
}

.jm-banner-wrapper #JM_content {
  height: 100% !important;
}

@media (max-width: 720px) {
  .feature-row, .feature-row.reverse, .screenshot-block, .screenshot-block.reverse {
    flex-direction: column;
  }
  .hero h1 { font-size: 2rem; }
}
