/* ==========================================================================
   AuraAccel — Landingpage Styles
   Gleiche Palette wie die App (siehe auraaccel/tailwind.config.js):
     base-950 #07070c · base-900 #0b0b12 · base-800 #12121c
     base-700 #1a1a28 · base-600 #242438
     neon-purple #a855f7 · neon-purple2 #7c3aed
     neon-cyan   #22d3ee · neon-cyan2   #06b6d4
   ========================================================================== */

:root {
  --base-950: #07070c;
  --base-900: #0b0b12;
  --base-800: #12121c;
  --base-700: #1a1a28;
  --base-600: #242438;
  --neon-purple: #a855f7;
  --neon-purple2: #7c3aed;
  --neon-cyan: #22d3ee;
  --neon-cyan2: #06b6d4;
  --text-primary: #e2e8f0;
  --text-muted: #94a3b8;
  --border-soft: rgba(255, 255, 255, 0.08);
  --neon-gradient: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 100%);
  --glow: 0 0 20px rgba(168, 85, 247, 0.35), 0 0 40px rgba(34, 211, 238, 0.15);
  --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ---- Scrollbar ausblenden, Scrollen bleibt voll funktionsfähig ----
   Gleiche Technik wie in der App selbst (src/styles.css `.no-scrollbar`):
   nur die OS-Scrollbar-Grafik wird nicht gezeichnet, Mausrad/Trackpad/
   Tastatur-Scrolling funktioniert unverändert. */
html,
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* alter Edge/IE */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge (Chromium) */
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(168, 85, 247, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 100% 10%, rgba(34, 211, 238, 0.08), transparent),
    var(--base-950);
  color: var(--text-primary);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.gradient-text {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 14px;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  color: #fff;
  background: var(--neon-gradient);
  box-shadow: var(--glow);
}
.btn-primary:hover {
  filter: brightness(1.1);
}
.btn-secondary {
  color: var(--text-primary);
  background: var(--base-700);
  border-color: var(--border-soft);
}
.btn-secondary:hover {
  background: var(--base-600);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
  box-shadow: none;
  pointer-events: none;
}
.btn-lg {
  padding: 18px 38px;
  font-size: 16.5px;
  border-radius: 16px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 12, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: var(--glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  cursor: pointer;
}

/* ---- Language switcher ---- */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: var(--base-800);
  border: 1px solid transparent;
  color: var(--text-primary);
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-btn:hover {
  background: var(--base-700);
}
.lang-btn svg:first-child {
  color: var(--neon-cyan);
}
.lang-menu {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  width: 160px;
  border-radius: 14px;
  background: var(--base-800);
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  z-index: 60;
}
.lang-menu.is-open {
  display: block;
}
.lang-option {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}
.lang-option.is-active {
  color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.08);
}

/* ---- RTL (Arabic) ----
   Flexbox reverses main-axis order automatically once `dir="rtl"` is set
   on <html>, so the nav/footer/safety-list layouts mirror correctly with
   no extra rules. Only what the browser can't infer on its own — the
   Arabic-appropriate font — needs to be set explicitly here. */
[lang="ar"] body {
  font-family: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

/* ---- Status banner (Killswitch) ---- */
#status-banner {
  display: none;
  border-bottom: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}
#status-banner.is-visible {
  display: block;
}
#status-banner.is-maintenance {
  border-bottom-color: rgba(250, 204, 21, 0.35);
  background: rgba(113, 63, 18, 0.35);
  color: #fde68a;
}
#status-banner .container {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Hero ---- */
.hero {
  padding-top: 104px;
  padding-bottom: 64px;
  text-align: center;
}
.hero .eyebrow {
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  max-width: 880px;
  margin: 0 auto;
}
.hero p.lead {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-mock {
  margin: 72px auto 0;
  max-width: 920px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--base-800), var(--base-900));
  box-shadow: 0 30px 80px -30px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 10px;
}
.hero-mock-inner {
  border-radius: 16px;
  background: var(--base-950);
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero-mock-stat {
  text-align: left;
}
.hero-mock-stat .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.hero-mock-stat .value {
  font-size: 26px;
  font-weight: 700;
  margin-top: 6px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, monospace;
  color: var(--neon-cyan);
}
.hero-mock-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--base-700);
  margin-top: 14px;
  overflow: hidden;
}
.hero-mock-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--neon-gradient);
}

/* ---- Section headings ---- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-top: 16px;
}
.section-head p {
  margin-top: 14px;
  font-size: 16px;
}

/* ---- Glass card (identisch zur App: .glass-card) ---- */
.glass-card {
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: rgba(18, 18, 28, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 28px;
}

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  color: var(--neon-purple);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  color: var(--text-primary);
}
.feature-card p {
  margin-top: 10px;
  font-size: 14.5px;
}

/* ---- Safety section ---- */
.safety {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05) 40%, transparent);
}
.safety-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.safety-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.safety-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.safety-list .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.safety-list strong {
  color: var(--text-primary);
  display: block;
  font-size: 15px;
}
.safety-list span {
  color: var(--text-muted);
  font-size: 14px;
}
.safety-card {
  position: sticky;
  top: 110px;
}
.safety-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 14px;
}
.safety-card h3 {
  font-size: 20px;
  color: var(--text-primary);
}
.safety-card p {
  margin-top: 12px;
  font-size: 14px;
}
.safety-disclaimer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-soft);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---- Steps (Wie es funktioniert) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card .step-number {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--neon-purple);
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card h3 {
  font-size: 16.5px;
  color: var(--text-primary);
}
.step-card p {
  margin-top: 8px;
  font-size: 14px;
}

/* ---- Download ---- */
.download-card {
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(180deg, var(--base-800), var(--base-900));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--glow);
}
.download-card h2 {
  font-size: clamp(26px, 4vw, 34px);
}
.download-card p {
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.download-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.download-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
}
.dot.is-offline {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.8);
}
.dot.is-maintenance {
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
}
#download-offline-note {
  display: none;
  margin-top: 18px;
  font-size: 13.5px;
  color: #fecaca;
}
#download-offline-note.is-visible {
  display: block;
}

/* ---- FAQ ---- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(18, 18, 28, 0.4);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .chevron {
  transition: transform 0.2s ease;
  color: var(--neon-cyan);
  flex-shrink: 0;
}
.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}
.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-links a {
  text-decoration: none;
  color: inherit;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: #5b5b6e;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .safety-card {
    position: static;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .hero-mock-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
}
