/* ── Barmio landing page ─────────────────────────────────────────────────────
   Standalone stylesheet (the app's style.css is NOT loaded here).
   Dark navy + teal/green, matching the app's dark theme so the real
   screenshots blend in. Slovak-first, EN via the small toggle in the nav. */

:root {
  --bg:        #0b1020;
  --bg-2:      #0f1630;
  --surface:   #151d38;
  --surface-2: #1b2547;
  --border:    rgba(255, 255, 255, .09);
  --text:      #eef2ff;
  --muted:     #9aa7c7;
  --faint:     #6b7799;
  --green:     #22c55e;
  --green-2:   #16a34a;
  --teal:      #2dd4bf;
  --radius:    16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.ld-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ld-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 197, 94, .35); }
.ld-btn-sm    { padding: 9px 18px; font-size: .9rem; border-radius: 10px; box-shadow: none; }
.ld-btn-block { display: block; text-align: center; }
.ld-btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background .15s ease;
}
.ld-btn-outline:hover { background: rgba(255, 255, 255, .09); }
.ld-btn-ghost { color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 10px; }
.ld-btn-ghost:hover { color: var(--text); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.ld-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ld-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ld-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.ld-nav-links { display: flex; gap: 22px; margin-left: 8px; }
.ld-nav-links a { color: var(--muted); font-weight: 600; font-size: .92rem; }
.ld-nav-links a:hover { color: var(--text); }
.ld-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ld-lang {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.ld-lang:hover { color: var(--text); border-color: var(--muted); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ld-hero {
  position: relative;
  padding: 88px 24px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(45, 212, 191, .14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 8%, rgba(59, 130, 246, .10), transparent 60%),
    var(--bg);
}
.ld-hero-inner { max-width: 780px; margin: 0 auto; }
.ld-badge {
  display: inline-block;
  border: 1px solid rgba(34, 197, 94, .35);
  background: rgba(34, 197, 94, .10);
  color: #86efac;
  font-weight: 600;
  font-size: .88rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.ld-hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -.02em;
}
.ld-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 60%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ld-hero-sub {
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.13rem;
}
.ld-hero-ctas { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ld-hero-note { margin-top: 18px; color: var(--faint); font-size: .88rem; }

.ld-hero-shot { max-width: 1020px; margin: 60px auto -2px; }
.ld-browser {
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 -10px 80px rgba(45, 212, 191, .12), 0 0 60px rgba(0, 0, 0, .5);
}
.ld-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.ld-browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ld-browser-bar i {
  font-style: normal;
  margin: 0 auto;
  color: var(--faint);
  font-size: .74rem;
  background: rgba(255, 255, 255, .05);
  padding: 2px 34px;
  border-radius: 6px;
}

/* ── Trust strip ────────────────────────────────────────────────────────── */
.ld-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ld-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ld-strip-item { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--muted); font-weight: 600; font-size: .92rem; }
.ld-strip-item b { font-size: 1.1rem; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.ld-section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; padding: 0 24px; }
.ld-tag {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.ld-section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.ld-section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ── Feature blocks ─────────────────────────────────────────────────────── */
.ld-features { padding: 96px 0 40px; }
.ld-feature {
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.ld-feature-rev .ld-feature-text { order: 2; }
.ld-feature-rev .ld-feature-shot { order: 1; }
.ld-feature-icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.ld-feature-text h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.ld-feature-text > p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.ld-feature-text ul { margin-top: 18px; list-style: none; }
.ld-feature-text li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: .97rem;
}
.ld-feature-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .15);
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.ld-feature-shot { display: flex; justify-content: center; }
.ld-phone {
  width: min(290px, 78vw);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 50px rgba(45, 212, 191, .07);
}
.ld-phone img { border-radius: 26px; }

/* ── Module grid ────────────────────────────────────────────────────────── */
.ld-grid {
  max-width: 1020px;
  margin: 60px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ld-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.ld-card:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, .35); }
.ld-card b { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.ld-card h4 { font-size: 1.05rem; font-weight: 750; margin-bottom: 7px; }
.ld-card p { color: var(--muted); font-size: .92rem; }

/* ── How it works ───────────────────────────────────────────────────────── */
.ld-how { padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ld-steps {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ld-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.ld-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #05261a;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.ld-step h4 { font-size: 1.08rem; font-weight: 750; margin-bottom: 8px; }
.ld-step p { color: var(--muted); font-size: .94rem; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.ld-pricing { padding: 96px 24px; }
.ld-price-card {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(34, 197, 94, .4);
  border-radius: 20px;
  padding: 44px 36px 32px;
  box-shadow: 0 20px 70px rgba(34, 197, 94, .10);
}
.ld-price-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.ld-price-num { font-size: 3.4rem; font-weight: 850; text-align: center; letter-spacing: -.02em; }
.ld-price-num sup { font-size: 1.6rem; font-weight: 700; vertical-align: super; margin-right: 2px; }
.ld-price-num sub { font-size: 1rem; font-weight: 600; color: var(--muted); vertical-align: baseline; }
.ld-price-desc { text-align: center; color: var(--muted); margin: 6px 0 24px; font-size: .97rem; }
.ld-price-list { list-style: none; margin-bottom: 28px; }
.ld-price-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.ld-price-list li:last-child { border-bottom: none; }
.ld-price-list li::before { content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.ld-price-note { text-align: center; color: var(--faint); font-size: .84rem; margin-top: 14px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.ld-faq { padding: 40px 24px 96px; }
.ld-faq-list { max-width: 720px; margin: 0 auto; }
.ld-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ld-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 650;
  font-size: 1rem;
  position: relative;
}
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 600;
  transition: transform .2s ease;
}
.ld-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ld-faq details p { padding: 0 22px 18px; color: var(--muted); font-size: .95rem; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.ld-cta {
  text-align: center;
  padding: 88px 24px;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(34, 197, 94, .16), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.ld-cta h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.015em; }
.ld-cta p { color: var(--muted); margin: 14px auto 30px; max-width: 520px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ld-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 56px 24px 32px; }
.ld-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.ld-footer-brand p { color: var(--faint); font-size: .9rem; margin-top: 12px; }
.ld-footer-col h5 {
  color: var(--faint);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.ld-footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 9px; }
.ld-footer-col a:hover { color: var(--text); }
.ld-footer-copy { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 44px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ld-grid  { grid-template-columns: repeat(2, 1fr); }
  .ld-steps { grid-template-columns: 1fr; }
  .ld-feature { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
  .ld-feature-rev .ld-feature-text { order: 1; }
  .ld-feature-rev .ld-feature-shot { order: 2; }
  .ld-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ld-nav-links { display: none; }
  .ld-btn-ghost { display: none; }
  .ld-hero { padding-top: 56px; }
  .ld-strip-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ld-strip-item { justify-content: flex-start; }
  .ld-grid { grid-template-columns: 1fr; }
  .ld-hero-ctas .ld-btn-primary, .ld-hero-ctas .ld-btn-outline { width: 100%; text-align: center; }
  .ld-price-card { padding: 40px 24px 28px; }
}
