/* ══════════════════════════════════════════════════════════
   The Digital Guardian — Landing Page (Light Theme)
   ══════════════════════════════════════════════════════════ */

:root {
  --blue: #4A90E2;
  --blue-deep: #3A7BC8;
  --blue-dark: #2E6AAF;
  --blue-soft: #EBF4FD;
  --green: #34C759;
  --purple: #8B7FD4;

  --bg: #FAFBFC;
  --bg-soft: #F4F6F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;

  --ink: #1D1D1F;
  --grey: #6E6E73;
  --grey-dim: #AEAEB2;

  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.10);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(74, 144, 226, 0.12);
  --shadow-lg: 0 16px 48px rgba(74, 144, 226, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--blue-deep); }

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--ink);
  text-decoration: none; letter-spacing: -0.02em;
}

.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  color: var(--grey); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--blue) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
  box-shadow: 0 2px 12px rgba(74, 144, 226, 0.35);
}

.nav-cta:hover { background: var(--blue-deep) !important; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(74, 144, 226, 0.14), transparent 60%),
    radial-gradient(700px 400px at 10% 20%, rgba(52, 199, 89, 0.08), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  padding: 96px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue-deep);
  border: 1px solid rgba(74, 144, 226, 0.2);
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero p.sub {
  font-size: clamp(16px, 2.2vw, 19px); color: var(--grey);
  max-width: 620px; margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.35);
}

.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 6px 28px rgba(74, 144, 226, 0.45); }

.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.btn-ghost:hover { background: var(--bg-soft); border-color: rgba(74, 144, 226, 0.25); }

.hero-shield {
  margin: 56px auto 0; width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 8px 24px rgba(74, 144, 226, 0.25));
}

.hero-shield img { width: 100%; height: 100%; object-fit: contain; }

/* ── Stats bar ──────────────────────────────────────────── */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: -36px auto 0; position: relative; z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 20px; max-width: 880px;
}

.stat { text-align: center; }
.stat .num {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--blue-deep);
}
.stat .lbl { font-size: 12px; color: var(--grey); font-weight: 600; margin-top: 4px; }

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

/* ── Sections ───────────────────────────────────────────── */

section { padding: 96px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px;
  color: var(--ink);
}

.section-head p { color: var(--grey); font-size: 16px; }

/* ── Features ───────────────────────────────────────────── */

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 144, 226, 0.2);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  background: var(--blue-soft);
  border: 1px solid rgba(74, 144, 226, 0.15);
}

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; color: var(--ink); }
.feature-card p { font-size: 14px; color: var(--grey); line-height: 1.6; }

/* ── App Screenshots ────────────────────────────────────── */

.app-preview {
  position: relative;
  overflow: hidden;
  background: #0A0E1A;
  padding-top: 96px;
  padding-bottom: 104px;
}

.app-preview .eyebrow { color: #5CC8FF; }
.app-preview .section-head h2 { color: #F5F7FA; }
.app-preview .section-head p { color: rgba(245, 247, 250, 0.6); }

.app-preview-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.app-preview-glow-red {
  width: 520px; height: 520px;
  top: -120px; left: 8%;
  background: radial-gradient(circle, #ff2d2d, transparent 70%);
}

.app-preview-glow-green {
  width: 520px; height: 520px;
  bottom: -160px; right: 6%;
  background: radial-gradient(circle, #00e676, transparent 70%);
}

.showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; max-width: 280px; }
}

.showcase-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.showcase-glow {
  position: absolute;
  top: 4%;
  width: 190px; height: 190px;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.showcase-glow-red { background: radial-gradient(circle, #ff3b3b, transparent 72%); }
.showcase-glow-green { background: radial-gradient(circle, #00e676, transparent 72%); }
.showcase-glow-blue { background: radial-gradient(circle, #35c8ff, transparent 72%); opacity: 0.4; }

.phone-mock {
  position: relative;
  z-index: 1;
  width: 192px;
  background: linear-gradient(155deg, #2e313a 0%, #14151a 60%);
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.showcase-item:hover .phone-mock { transform: translateY(-6px); }

.phone-mock-notch {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 13px;
  background: #0c0d10;
  border-radius: 999px;
  z-index: 2;
}

.phone-mock-screen {
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 1024 / 1536;
}

.phone-mock-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: top;
}

.showcase-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px 18px 20px;
}

.showcase-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.showcase-tag-red { color: #ff8080; background: rgba(255, 59, 59, 0.14); border: 1px solid rgba(255, 59, 59, 0.28); }
.showcase-tag-green { color: #7dffb0; background: rgba(0, 230, 118, 0.14); border: 1px solid rgba(0, 230, 118, 0.28); }
.showcase-tag-blue { color: #8fdcff; background: rgba(53, 200, 255, 0.14); border: 1px solid rgba(53, 200, 255, 0.28); }

.showcase-caption h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #F5F7FA;
  margin-bottom: 6px;
}

.showcase-caption p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 247, 250, 0.55);
}

/* ── Steps ──────────────────────────────────────────────── */

.steps { background: #fff; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 800px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.step-card p { font-size: 14px; color: var(--grey); }

/* ── Pricing / Plans ────────────────────────────────────── */

.plans-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 880px; margin: 0 auto; align-items: stretch;
}

@media (max-width: 800px) { .plans-grid { grid-template-columns: 1fr; } }

.plan {
  border-radius: 24px; padding: 36px 32px;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.plan.pro {
  background:
    radial-gradient(600px 300px at 80% -20%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(160deg, #3A7BC8 0%, #4A90E2 55%, #5BA3F5 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}

.plan-flag {
  position: absolute; top: 20px; right: -34px; transform: rotate(38deg);
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 44px;
}

.plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.plan.pro .plan-name { color: rgba(255, 255, 255, 0.75); }

.plan-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; color: var(--ink); }
.plan.pro .plan-title { color: #fff; }

.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan-price .old { font-size: 16px; text-decoration: line-through; color: var(--grey-dim); }
.plan.pro .plan-price .old { color: rgba(255, 255, 255, 0.5); }
.plan-price .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan.pro .plan-price .amount { color: #fff; }
.plan-price .per { font-size: 14px; color: var(--grey); font-weight: 600; }
.plan.pro .plan-price .per { color: rgba(255, 255, 255, 0.75); }

.plan-permonth {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 24px;
  background: var(--blue-soft); color: var(--blue-deep); align-self: flex-start;
  border: 1px solid rgba(74, 144, 226, 0.15);
}

.plan.pro .plan-permonth { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: rgba(255,255,255,0.25); }

.plan ul { list-style: none; flex: 1; margin-bottom: 28px; }

.plan li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; padding: 7px 0; font-weight: 500;
  color: var(--grey);
}

.plan.pro li { color: rgba(255, 255, 255, 0.92); }

.plan li .check { color: var(--green); font-weight: 800; flex-shrink: 0; }
.plan li .cross { color: var(--grey-dim); font-weight: 800; flex-shrink: 0; }
.plan li.muted { opacity: 0.55; }

.plan .btn { justify-content: center; width: 100%; }

.plan.pro .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.plan.pro .btn-primary:hover { background: #F0F7FF; }

.plans-note {
  text-align: center; margin-top: 28px; color: var(--grey); font-size: 13px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ── DSGVO band ─────────────────────────────────────────── */

.dsgvo {
  background:
    radial-gradient(900px 460px at 20% 0%, rgba(74, 144, 226, 0.08), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dsgvo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 800px) { .dsgvo-grid { grid-template-columns: 1fr; } }

.dsgvo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dsgvo-card:hover { border-color: rgba(74, 144, 226, 0.2); box-shadow: var(--shadow-md); }

.dsgvo-card .feature-icon { background: var(--blue-soft); border-color: rgba(74, 144, 226, 0.15); }
.dsgvo-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.dsgvo-card p { font-size: 13.5px; color: var(--grey); line-height: 1.6; }

.dsgvo-link { display: inline-flex; margin-top: 36px; }

/* ── FAQ ────────────────────────────────────────────────── */

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border); border-radius: 16px;
  margin-bottom: 12px; background: var(--bg-card); overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: rgba(74, 144, 226, 0.25); }

.faq-item summary {
  cursor: pointer; padding: 20px 24px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--blue);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .answer {
  padding: 0 24px 20px; font-size: 14px; color: var(--grey);
  line-height: 1.65;
}

.faq-item .answer strong { color: var(--ink); }

/* ── CTA ────────────────────────────────────────────────── */

.cta {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(74, 144, 226, 0.1), transparent 65%),
    #fff;
  border-top: 1px solid var(--border);
}

.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ink); }
.cta p { color: var(--grey); margin-bottom: 32px; font-size: 16px; }

/* ── Footer ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0; background: var(--bg-soft);
}

.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.footer-brand img { width: 26px; height: 26px; border-radius: 6px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a { color: var(--grey); text-decoration: none; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

.footer-copy { font-size: 12px; color: var(--grey-dim); width: 100%; text-align: center; margin-top: 8px; }

/* ── Legal pages (Datenschutz / Impressum) ──────────────── */

.legal-page { padding: 64px 0 88px; max-width: 760px; margin: 0 auto; }

.legal-page h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--ink); }

.legal-meta {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 36px;
}

.legal-page h2 {
  font-size: 19px; font-weight: 700; margin: 36px 0 12px; letter-spacing: -0.01em; color: var(--ink);
}

.legal-page p, .legal-page li { font-size: 14.5px; color: var(--grey); margin-bottom: 10px; line-height: 1.65; }

.legal-page ul { padding-left: 22px; margin-bottom: 14px; }

.legal-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 24px; margin: 14px 0; box-shadow: var(--shadow);
}

.legal-card p { margin-bottom: 4px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-deep); font-weight: 600; font-size: 14px;
  text-decoration: none; margin-bottom: 28px;
}
