/* Appmarkt — shared styles (mobile-first) */
:root {
  --ink: #14141f;
  --muted: #5b5b70;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --accent: #5b4cf0;
  --accent-dark: #4638c9;
  --accent-soft: #eeecfd;
  --border: #e6e6f0;
  --success: #17a673;
  --radius: 14px;
  --maxw: 1060px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo .mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent), #9b6cff);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem; font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 1rem; transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn.secondary {
  background: var(--accent-soft); color: var(--accent-dark);
}
.btn.secondary:hover { background: #e2defc; }
.btn.small { padding: 9px 18px; font-size: .9rem; }
.btn.block { display: block; width: 100%; }

/* Hero */
.hero { padding: 64px 0 56px; text-align: center; }
.hero .eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.12;
  letter-spacing: -.03em; font-weight: 800; margin-bottom: 18px;
}
.hero .sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--muted);
  max-width: 640px; margin: 0 auto 30px;
}
.hero .cta-row { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero .cta-note { font-size: .85rem; color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.02em;
  font-weight: 800; margin-bottom: 14px;
}
.section-sub { color: var(--muted); max-width: 620px; margin-bottom: 34px; }

/* Value grid */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .95rem; }

/* Visual mock */
.visual {
  margin: 44px auto 0; max-width: 520px;
  background: linear-gradient(160deg, #1d1b33, #37307a);
  border-radius: 20px; padding: 26px; color: #fff; text-align: left;
  box-shadow: 0 24px 60px -24px rgba(70, 56, 201, .45);
}
.visual .vh { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.visual .vh .dot { width: 10px; height: 10px; border-radius: 50%; background: #9b6cff; }
.visual .vh span { font-size: .8rem; opacity: .75; letter-spacing: .05em; text-transform: uppercase; }
.visual .line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.16); margin-bottom: 12px; }
.visual .line.w60 { width: 60%; }
.visual .line.w80 { width: 80%; }
.visual .line.hl { background: linear-gradient(90deg, #7c6cf5, #b18cff); width: 72%; }
.visual .badge {
  display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px;
}

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Product page */
.product-layout { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 16px 40px -24px rgba(20,20,31,.18);
}
.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 20px 0; }
.price-card ul li {
  padding: 8px 0 8px 30px; position: relative; font-size: .96rem;
}
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--success); font-weight: 800;
}
.terms-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.trust {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border);
  display: grid; gap: 10px; font-size: .88rem; color: var(--muted);
}
.trust div { display: flex; gap: 10px; align-items: flex-start; }
.trust .t-ico { flex: none; }

/* FAQ */
details {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px;
  margin-bottom: 12px; background: #fff;
}
details summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* Legal pages */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #333344; font-size: .97rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }

/* Success page */
.success-box {
  max-width: 640px; margin: 60px auto; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 44px 30px;
}
.success-box .check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: #e7f8f1; color: var(--success); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.result-panel {
  text-align: left; background: var(--bg-soft); border-radius: 14px;
  padding: 22px; margin: 26px 0; border: 1px solid var(--border);
}
.result-panel h3 { margin-bottom: 8px; }
.result-panel p { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer {
  background: #14141f; color: #b9b9c9; padding: 44px 0 30px; margin-top: 40px;
  font-size: .9rem;
}
.site-footer .cols { display: grid; gap: 26px; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer a { color: #b9b9c9; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal-line {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid #2a2a3a;
  font-size: .82rem; color: #8a8a9d;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 18px 50px -18px rgba(20,20,31,.35);
  display: none; gap: 14px; flex-direction: column;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: .88rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Desktop */
@media (min-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .product-layout { grid-template-columns: 1.2fr .9fr; }
  .hero { padding: 90px 0 72px; }
  .hero .cta-row { flex-direction: row; justify-content: center; }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .cookie-banner { flex-direction: row; align-items: center; max-width: 720px; left: auto; }
  .cookie-actions { flex: none; }
}
