/* ══════════════════════════════════════════════════════════════
   ORFI Landing Page — v1.0
   Design: premium SaaS, mobile-first, not a Bootstrap demo
   ══════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --ld-dark:        #0B1120;
  --ld-dark-2:      #162444;
  --ld-dark-3:      #1E2F52;
  --ld-blue:        #2563EB;
  --ld-blue-hover:  #1D4ED8;
  --ld-blue-glow:   rgba(37, 99, 235, .18);
  --ld-blue-light:  #EFF6FF;
  --ld-text:        #0F172A;
  --ld-muted:       #64748B;
  --ld-border:      #E2E8F0;
  --ld-white:       #FFFFFF;
  --ld-surface:     #F8FAFC;
  --ld-surface-2:   #F1F5F9;
  --ld-green:       #10B981;
  --ld-red:         #EF4444;
  --ld-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ld-mono:        'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --ld-r:           12px;
  --ld-r-lg:        20px;
  --ld-r-xl:        28px;
  --ld-shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --ld-shadow-md:   0 4px 12px rgba(0,0,0,.1), 0 12px 32px rgba(0,0,0,.08);
  --ld-shadow-lg:   0 8px 32px rgba(0,0,0,.14), 0 24px 64px rgba(0,0,0,.1);
}

/* ── Base reset ─────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ld-body {
  font-family: var(--ld-font);
  color: var(--ld-text);
  background: var(--ld-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography helpers ─────────────────────────────────────── */
.ld-display {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.ld-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.ld-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.ld-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--ld-muted);
}
.ld-text-muted { color: var(--ld-muted); }
.ld-text-white { color: var(--ld-white); }
.ld-text-white-70 { color: rgba(255,255,255,.7); }
.ld-blue-text { color: var(--ld-blue); }

/* Gradient highlight on words */
.ld-gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────── */
.ld-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--ld-font);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.ld-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: var(--ld-white);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 2px 8px rgba(37,99,235,.25);
}
.ld-btn-primary:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  border-color: transparent;
  color: var(--ld-white);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}
.ld-btn-ghost {
  background: transparent;
  color: var(--ld-white);
  border-color: rgba(255,255,255,.3);
}
.ld-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: var(--ld-white);
}
.ld-btn-outline {
  background: transparent;
  color: var(--ld-blue);
  border-color: var(--ld-blue);
}
.ld-btn-outline:hover {
  background: var(--ld-blue);
  color: var(--ld-white);
}
.ld-btn-lg {
  padding: .9rem 2.25rem;
  font-size: 1rem;
  border-radius: 10px;
}
.ld-btn-sm {
  padding: .5rem 1.125rem;
  font-size: .875rem;
  border-radius: 7px;
}

/* ── Navigation ─────────────────────────────────────────────── */
.ld-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ld-border);
  padding: .875rem 0;
  transition: box-shadow .2s ease;
}
.ld-nav.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
}
.ld-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ld-nav-logo img { height: 32px; display: block; }
.ld-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ld-nav-links a {
  display: block;
  padding: .5rem .875rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ld-muted);
  text-decoration: none;
  border-radius: 7px;
  transition: color .15s, background .15s;
}
.ld-nav-links a:hover {
  color: var(--ld-text);
  background: var(--ld-surface);
}
.ld-nav-actions {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-left: auto;
}
.ld-nav-login {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ld-text);
  text-decoration: none;
  padding: .45rem .9rem;
  border-radius: 7px;
  border: 1.5px solid var(--ld-border);
  transition: color .15s, background .15s, border-color .15s;
}
.ld-nav-login:hover {
  color: var(--ld-blue);
  border-color: #BFDBFE;
  background: var(--ld-blue-light);
}

/* Mobile nav toggle */
.ld-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--ld-surface);
  border: 1.5px solid var(--ld-border);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  color: var(--ld-text);
  transition: background .15s, border-color .15s;
}
.ld-nav-toggle:hover { background: var(--ld-surface-2); border-color: #CBD5E1; }

/* Mobile nav — full-page overlay + slide-down panel */
.ld-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,17,32,.5);
  z-index: 998;
  opacity: 0;
  transition: opacity .25s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.ld-nav-overlay.open { display: block; opacity: 1; }

.ld-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ld-white);
  z-index: 999;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ld-nav-panel.open { transform: translateY(0); }

.ld-nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ld-border);
}
.ld-nav-panel-head img { height: 28px; }
.ld-nav-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ld-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ld-text);
  font-size: 1.25rem;
  transition: background .15s;
}
.ld-nav-panel-close:hover { background: var(--ld-surface-2); }

.ld-nav-panel-links { padding: .625rem 1rem; }
.ld-nav-panel-link {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .8125rem .75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ld-text);
  text-decoration: none;
  border-radius: 12px;
  transition: background .15s;
}
.ld-nav-panel-link:hover,
.ld-nav-panel-link:active { background: var(--ld-surface); }
.ld-nav-panel-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ld-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--ld-blue);
  flex-shrink: 0;
}

.ld-nav-panel-footer {
  padding: .875rem 1.25rem 1.5rem;
  border-top: 1px solid var(--ld-border);
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.ld-nav-panel-footer .ld-btn { justify-content: center; }
.ld-nav-panel-login {
  display: block;
  text-align: center;
  padding: .75rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ld-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.ld-nav-panel-login:hover { background: var(--ld-surface); color: var(--ld-text); }

/* ── Section shells ─────────────────────────────────────────── */
.ld-section {
  padding: 96px 0;
}
.ld-section-sm { padding: 64px 0; }
.ld-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ld-section-label {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--ld-blue-light);
  color: var(--ld-blue);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3125rem .75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.ld-section-header { max-width: 680px; margin-bottom: 3.5rem; }
.ld-section-header.centered { text-align: center; margin: 0 auto 3.5rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.ld-hero {
  background: var(--ld-dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.ld-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(109,40,217,.12) 0%, transparent 60%);
  pointer-events: none;
}
.ld-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ld-hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93C5FD;
  font-size: .8125rem;
  font-weight: 600;
  padding: .3125rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.ld-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ld-white);
  margin-bottom: 1.25rem;
}
.ld-hero-lead {
  font-size: clamp(.975rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.25rem;
  max-width: 520px;
}
.ld-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ld-hero-note {
  margin-top: 1.25rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: .375rem;
}

/* ── App Mockup ─────────────────────────────────────────────── */
.ld-mockup-wrap {
  position: relative;
}
.ld-mockup {
  background: #1A2236;
  border-radius: var(--ld-r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
}
.ld-mockup-bar {
  background: #111827;
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ld-mockup-dots { display: flex; gap: .375rem; }
.ld-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ld-mockup-dots span:nth-child(1) { background: #EF4444; }
.ld-mockup-dots span:nth-child(2) { background: #F59E0B; }
.ld-mockup-dots span:nth-child(3) { background: #10B981; }
.ld-mockup-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 5px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-family: var(--ld-mono);
  color: rgba(255,255,255,.4);
  text-align: center;
}
.ld-mockup-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 340px;
}
.ld-mockup-pane {
  padding: 1.25rem;
  border-right: 1px solid rgba(255,255,255,.06);
}
.ld-mockup-pane:last-child { border-right: none; }
.ld-mockup-pane-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: .875rem;
}
.ld-mockup-inquiry {
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  font-family: var(--ld-mono);
}
.ld-mockup-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .625rem .75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  margin-bottom: .5rem;
}
.ld-mockup-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,.2);
  border: 1.5px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 9px;
  color: #10B981;
  font-weight: 700;
}
.ld-mockup-item-name {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
}
.ld-mockup-item-sub {
  font-size: .6875rem;
  color: rgba(255,255,255,.35);
  margin-top: 1px;
}
.ld-mockup-price {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 700;
  color: #60A5FA;
  white-space: nowrap;
  flex-shrink: 0;
}
.ld-mockup-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: .625rem 0;
}
.ld-mockup-total {
  display: flex;
  justify-content: space-between;
  padding: .5rem .75rem;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 8px;
  margin-top: .25rem;
}
.ld-mockup-total-label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.ld-mockup-total-value {
  font-size: .875rem;
  font-weight: 800;
  color: #93C5FD;
}
.ld-mockup-suggest {
  margin-top: .625rem;
  padding: .5rem .75rem;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 8px;
  font-size: .6875rem;
  color: #FCD34D;
  line-height: 1.5;
}
.ld-mockup-suggest strong { color: #FDE68A; }

/* Floating badge on mockup */
.ld-mockup-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ld-green);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(16,185,129,.4);
  white-space: nowrap;
}

/* ── Problem section ────────────────────────────────────────── */
.ld-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ld-pain-card {
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: var(--ld-r);
  padding: 1.375rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  transition: border-color .2s, box-shadow .2s;
}
.ld-pain-card:hover {
  border-color: #FCA5A5;
  box-shadow: 0 4px 16px rgba(239,68,68,.08);
}
.ld-pain-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--ld-red);
}
.ld-pain-title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ld-text);
  line-height: 1.3;
}
.ld-pain-text {
  font-size: .875rem;
  font-weight: 400;
  color: var(--ld-text-light);
  line-height: 1.5;
}
.ld-problem-cta {
  position: relative;
  text-align: center;
  padding: 2.5rem 2.5rem;
  background: linear-gradient(135deg, #0D1B3E 0%, #0B1120 55%, #1A0B2E 100%);
  border-radius: var(--ld-r-xl);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 2.5rem;
  overflow: hidden;
}
.ld-problem-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.ld-problem-cta p {
  position: relative;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin: 0 0 .875rem;
  line-height: 1.65;
}
.ld-problem-cta-highlight {
  position: relative;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 60%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* ── How it works ───────────────────────────────────────────── */
.ld-bg-surface { background: var(--ld-surface); }
.ld-bg-dark    { background: var(--ld-dark); }

.ld-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.ld-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
}
.ld-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--ld-blue), rgba(37,99,235,.1));
  z-index: 0;
}
.ld-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ld-blue);
  color: var(--ld-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}
.ld-step-content {
  padding: 1rem 0 2.5rem;
}
.ld-step:last-child .ld-step-content { padding-bottom: 0; }
.ld-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .375rem;
  color: var(--ld-text);
}
.ld-step-desc {
  font-size: .9375rem;
  color: var(--ld-muted);
  line-height: 1.6;
}
.ld-step-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ld-green);
  background: rgba(16,185,129,.1);
  border-radius: 100px;
  padding: .2rem .6rem;
  margin-top: .5rem;
}

/* ── Demo section ───────────────────────────────────────────── */
.ld-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}
.ld-demo-panel {
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: var(--ld-r-lg);
  overflow: hidden;
  box-shadow: var(--ld-shadow);
}
.ld-demo-panel-header {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--ld-border);
  display: flex;
  align-items: center;
  gap: .625rem;
  background: var(--ld-surface);
}
.ld-demo-panel-header .ld-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ld-muted);
}
.ld-demo-panel-header .ld-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
}
.ld-demo-inquiry-body {
  padding: 1.5rem;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--ld-text);
  min-height: 260px;
}
.ld-demo-inquiry-body .from {
  font-size: .8125rem;
  color: var(--ld-muted);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--ld-border);
}
.ld-demo-results-body { padding: 1.25rem; min-height: 260px; }
.ld-demo-result-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6875rem .875rem;
  border-radius: 9px;
  margin-bottom: .5rem;
  background: var(--ld-surface);
  border: 1.5px solid var(--ld-border);
  transition: border-color .15s;
}
.ld-demo-result-item:hover { border-color: #BFDBFE; }
.ld-demo-result-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  border: 1.5px solid var(--ld-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  color: var(--ld-green);
  font-weight: 800;
  flex-shrink: 0;
}
.ld-demo-result-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ld-text);
  flex: 1;
}
.ld-demo-result-qty {
  font-size: .8125rem;
  color: var(--ld-muted);
}
.ld-demo-result-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ld-blue);
}
.ld-demo-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .875rem 1.125rem;
  background: var(--ld-blue-light);
  border: 1.5px solid #BFDBFE;
  border-radius: 9px;
  margin-top: .75rem;
}
.ld-demo-total-bar .label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ld-text);
}
.ld-demo-total-bar .value {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ld-blue);
}
.ld-demo-cenik-hint {
  margin-top: .75rem;
  padding: .75rem 1rem;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 9px;
  font-size: .8125rem;
  color: #92400E;
  line-height: 1.5;
}

/* ── Flywheel section ───────────────────────────────────────── */
.ld-flywheel {
  background: var(--ld-dark);
  position: relative;
  overflow: hidden;
}
.ld-flywheel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}
.ld-flywheel-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.ld-fw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}
.ld-fw-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37,99,235,.2);
  border: 1.5px solid rgba(37,99,235,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #93C5FD;
  margin-bottom: .75rem;
}
.ld-fw-label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}
.ld-fw-arrow {
  display: flex;
  align-items: center;
  color: rgba(37,99,235,.5);
  font-size: 1.25rem;
  padding: 0 .25rem;
  margin-bottom: 1.5rem;
}

/* ── Features grid ──────────────────────────────────────────── */
.ld-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ld-feature-card {
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: var(--ld-r);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ld-feature-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 4px 20px rgba(37,99,235,.1);
  transform: translateY(-2px);
}
.ld-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.ld-feature-title {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: .375rem;
  color: var(--ld-text);
}
.ld-feature-desc {
  font-size: .875rem;
  color: var(--ld-muted);
  line-height: 1.55;
  margin: 0;
}

/* Feature icon color variants */
.ld-fi-blue   { background: #EFF6FF; color: #2563EB; }
.ld-fi-purple { background: #F5F3FF; color: #7C3AED; }
.ld-fi-green  { background: #ECFDF5; color: #059669; }
.ld-fi-orange { background: #FFF7ED; color: #EA580C; }
.ld-fi-pink   { background: #FFF1F2; color: #E11D48; }
.ld-fi-teal   { background: #F0FDFA; color: #0D9488; }
.ld-fi-amber  { background: #FFFBEB; color: #D97706; }
.ld-fi-indigo { background: #EEF2FF; color: #4F46E5; }

/* ── For whom ───────────────────────────────────────────────── */
.ld-whom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.ld-whom-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: 100px;
  padding: .5625rem 1.125rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ld-text);
  transition: border-color .15s, box-shadow .15s;
}
.ld-whom-pill:hover {
  border-color: var(--ld-blue);
  box-shadow: 0 2px 12px rgba(37,99,235,.12);
}
.ld-whom-pill i { color: var(--ld-blue); font-size: 1rem; }

/* ── Pricing ────────────────────────────────────────────────── */
.ld-price-payback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  padding: .85rem 1.25rem;
  background: rgba(37, 99, 235, .06);
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 12px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ld-text);
  text-align: center;
}
.ld-price-payback i {
  font-size: 1.2rem;
  color: var(--ld-blue);
  flex-shrink: 0;
}
.ld-price-payback strong { color: var(--ld-blue); font-weight: 700; }

.ld-interval-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  margin-bottom: 3rem;
}
.ld-interval-label {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ld-muted);
  cursor: pointer;
}
.ld-interval-label.active { color: var(--ld-text); font-weight: 700; }
.ld-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--ld-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s;
  border: none;
  outline: none;
}
.ld-toggle-switch.yearly { background: var(--ld-blue); }
.ld-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.ld-toggle-switch.yearly::after { transform: translateX(22px); }
.ld-savings-badge {
  background: rgba(16,185,129,.1);
  color: #059669;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
}

.ld-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ld-plan-card {
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: var(--ld-r-xl);
  padding: 2rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.ld-plan-card:hover { box-shadow: var(--ld-shadow-md); transform: translateY(-2px); }
.ld-plan-card.featured {
  background: var(--ld-dark);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--ld-blue), 0 28px 64px rgba(11,17,32,.45);
  transform: translateY(-6px);
}
.ld-plan-card.featured:hover { transform: translateY(-8px); }
.ld-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ld-blue) 0%, #7C3AED 100%);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,.4);
}
.ld-plan-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--ld-border);
}
.ld-plan-card.featured .ld-plan-header {
  border-bottom-color: rgba(255,255,255,.1);
}
.ld-plan-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ld-muted);
  margin-bottom: .25rem;
}
.ld-plan-card.featured .ld-plan-name { color: rgba(255,255,255,.55); }
.ld-plan-tagline {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ld-text);
  margin-bottom: 1rem;
}
.ld-plan-card.featured .ld-plan-tagline { color: #fff; }
.ld-plan-price-wrap { margin-bottom: 0; }
.ld-plan-price {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--ld-text);
  letter-spacing: -.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .125rem;
}
.ld-plan-card.featured .ld-plan-price { color: #fff; }
.ld-plan-price sup {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  margin-right: .25rem;
}
.ld-plan-price-period {
  font-size: .875rem;
  color: var(--ld-muted);
  font-weight: 400;
  margin-left: .375rem;
  letter-spacing: .01em;
}
.ld-plan-card.featured .ld-plan-price-period { color: rgba(255,255,255,.45); }
.ld-plan-price-yearly-note {
  font-size: .8125rem;
  color: var(--ld-muted);
  margin-top: .5rem;
}
.ld-plan-card.featured .ld-plan-price-yearly-note { color: rgba(255,255,255,.45); }
.ld-plan-ai {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--ld-blue-light);
  color: var(--ld-blue);
  font-size: .8125rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.ld-plan-card.featured .ld-plan-ai { background: rgba(37,99,235,.3); color: #93C5FD; }
.ld-plan-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
}
.ld-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  padding: .4375rem 0;
  border-bottom: 1px solid var(--ld-border);
  color: var(--ld-text);
  line-height: 1.4;
}
.ld-plan-card.featured .ld-plan-features li { border-bottom-color: rgba(255,255,255,.08); color: rgba(255,255,255,.88); }
.ld-plan-features li:last-child { border-bottom: none; }
.ld-plan-features li i.check { color: var(--ld-green); flex-shrink: 0; margin-top: 1px; }
.ld-plan-features li i.cross { color: #CBD5E1; flex-shrink: 0; margin-top: 1px; }
.ld-plan-features li.disabled { color: var(--ld-muted); }
.ld-plan-card.featured .ld-plan-features li i.check { color: #4ADE80; }
.ld-plan-card.featured .ld-plan-features li i.cross { color: rgba(255,255,255,.18); }
.ld-plan-card.featured .ld-plan-features li.disabled { color: rgba(255,255,255,.3); }

.ld-plan-cta { width: 100%; justify-content: center; margin-top: auto; }
.featured .ld-plan-cta {
  background: var(--ld-blue);
  color: white;
  border-color: var(--ld-blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}

/* ── Comparison / Pricing Table ─────────────────────────────── */
.ld-ct-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0 0;
  border-radius: var(--ld-r-xl);
  box-shadow: 0 4px 24px rgba(11,17,32,.10);
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
}
.ld-ct {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: fixed;
}
/* Header row */
.ld-ct thead th {
  vertical-align: top;
  padding: 1.5rem 1rem 1.25rem;
  border-bottom: 2px solid var(--ld-border);
}
.ld-ct-lbl-head { width: 160px; }
@media (min-width: 641px) {
  .ld-ct-lbl-head { width: 28%; }
}
.ld-ct-ph {
  text-align: center;
  border-left: 1px solid var(--ld-border);
  position: relative;
  padding-top: 1.75rem;
  vertical-align: bottom;
}
.ld-ct-ph.pop {
  background: var(--ld-blue-light);
  border-top: 3px solid var(--ld-blue);
  padding-top: 1.25rem;
}
.ld-ct-ph-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: linear-gradient(135deg, var(--ld-blue) 0%, #7C3AED 100%);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .5rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37,99,235,.4);
}
.ld-ct-ph-name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ld-muted);
  margin-bottom: .4rem;
}
.ld-ct-ph.pop .ld-ct-ph-name { color: var(--ld-blue); }
.ld-ct-ph-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ld-text);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.ld-ct-ph.pop .ld-ct-ph-price { color: var(--ld-text); }
.ld-ct-ph-period {
  font-size: .8rem;
  font-weight: 400;
  color: var(--ld-muted);
  letter-spacing: 0;
}
.ld-ct-ph.pop .ld-ct-ph-period { color: var(--ld-muted); }
.ld-ct-ph-ynote {
  font-size: .7rem;
  color: var(--ld-blue);
  margin-top: .2rem;
}
.ld-ct-ph.pop .ld-ct-ph-ynote { color: var(--ld-blue); }
.ld-ct-ph-tag {
  margin-top: .5rem;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--ld-muted);
  font-weight: 500;
}
.ld-ct-ph-tag.pop {
  color: var(--ld-blue);
  font-weight: 700;
}
.ld-ct-foot {
  padding: 0;
  border-top: 2px solid var(--ld-border);
  z-index: 1;
}
.ld-ct-foot .ld-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: 1.15rem .75rem;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 0;
}
.ld-ct-cta i { font-size: .95rem; }
.ld-ct tfoot .ld-ct-label {
  background: var(--ld-white);
}
/* Body rows */
.ld-ct tbody tr { transition: background .1s; }
.ld-ct tbody tr:nth-child(odd)  { background: var(--ld-white); }
.ld-ct tbody tr:nth-child(even) { background: var(--ld-surface); }
.ld-ct tbody td {
  padding: .7rem 1rem;
  font-size: .9375rem;
  border-top: 1px solid var(--ld-border);
}
.ld-ct-label {
  color: var(--ld-text);
  font-weight: 500;
  position: relative;
  padding-right: 1.4rem;
}
.ld-ct-val {
  text-align: center;
  border-left: 1px solid var(--ld-border);
}
/* Popular column — light blue tint on all body cells */
.ld-ct-val.pop { background: #eef4ff !important; }
/* AI analiz pill — ista oblika kot .ld-hero-label, prilagojena za svetlo ozadje */
.ld-ct-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.25);
  color: var(--ld-blue);
  font-size: .8125rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 100px;
  white-space: nowrap;
}
/* Icons & values */
.ld-ct-chk { color: var(--ld-green); font-size: 1.3rem; }
.ld-ct-dsh { color: #ef4444; font-size: 1.1rem; }
.ld-ct-num { font-weight: 700; color: var(--ld-text); }

/* Sticky first column on mobile */
@media (max-width: 640px) {
  .ld-ct-wrap {
    border-radius: 0;
    margin: 1.5rem -1.5rem 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 160px;
  }
  /* Manjši tekst + padding v vrsticah */
  .ld-ct-label { font-size: .8rem; }
  .ld-ct tbody td { padding: .5rem .7rem; font-size: .8rem; }
  .ld-ct thead th.ld-ct-ph { padding: .9rem .65rem .8rem; }
  .ld-ct-ph-price { font-size: 1.5rem; }
  .ld-ct-ai-pill { font-size: .75rem; padding: .2rem .55rem; }
  /* Snap: label stolpec + vsak plan stolpec ima snap točko */
  .ld-ct-lbl-head { scroll-snap-align: start; }
  .ld-ct-ph { scroll-snap-align: start; scroll-snap-stop: always; }
  /* Sticky levi stolpec */
  .ld-ct-lbl-head,
  .ld-ct-label {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 6px rgba(0,0,0,.06);
  }
  .ld-ct-lbl-head { background: var(--ld-white); }
  .ld-ct tbody tr:nth-child(odd)  .ld-ct-label { background: var(--ld-white); }
  .ld-ct tbody tr:nth-child(even) .ld-ct-label { background: var(--ld-surface); }
}

/* ── Feature info popup ──────────────────────────────────────── */
.ld-ct-info-btn {
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: .1rem;
  color: var(--ld-muted);
  font-size: .8rem;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
}
.ld-ct-info-btn:hover { color: var(--ld-blue); }


.ld-ct-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: min(340px, calc(100vw - 1.5rem));
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(11,17,32,.14);
  animation: ldPopupIn .16s ease;
}
.ld-ct-popup.is-open { display: block; }
@keyframes ldPopupIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ld-ct-popup-inner { padding: 1.25rem 1.4rem 1.4rem; }
.ld-ct-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.ld-ct-popup-icon-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 1;
  min-width: 0;
}
.ld-ct-popup-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ld-ct-popup-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ld-text);
  line-height: 1.3;
}
.ld-ct-popup-close {
  background: none;
  border: none;
  font-size: .95rem;
  color: var(--ld-muted);
  cursor: pointer;
  padding: .1rem;
  line-height: 1;
  flex-shrink: 0;
}
.ld-ct-popup-close:hover { color: var(--ld-text); }
.ld-ct-popup-desc {
  margin: 0;
  font-size: .875rem;
  color: var(--ld-muted);
  line-height: 1.65;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.ld-faq-list { max-width: 760px; margin: 0 auto; }
.ld-faq-item {
  border-bottom: 1px solid var(--ld-border);
}
.ld-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ld-text);
  gap: 1rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.ld-faq-q:hover { color: var(--ld-blue); }
.ld-faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ld-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: var(--ld-muted);
  transition: transform .2s, background .2s;
}
.ld-faq-item.open .ld-faq-chevron {
  transform: rotate(180deg);
  background: var(--ld-blue-light);
  color: var(--ld-blue);
}
.ld-faq-a {
  display: none;
  padding-bottom: 1.25rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ld-muted);
}
.ld-faq-item.open .ld-faq-a { display: block; }

/* ── Final CTA ──────────────────────────────────────────────── */
.ld-cta-section {
  background: var(--ld-dark);
  position: relative;
  overflow: hidden;
}
.ld-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.ld-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Footer ─────────────────────────────────────────────────── */
.ld-footer {
  background: #F8FAFC;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--ld-blue);
}
.ld-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ld-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ld-border);
}
.ld-footer-brand { max-width: 280px; }
.ld-footer-brand img { height: 40px; }
.ld-footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.22);
  color: #1d4ed8;
  font-size: .8125rem;
  font-weight: 600;
  padding: .3125rem .875rem;
  border-radius: 100px;
  margin-top: .875rem;
}
@media (min-width: 992px) {
  .ld-footer-brand img { height: 52px; }
}
.ld-footer-links {
  display: flex;
  gap: 2.75rem;
}
.ld-footer-links-col h6 {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 1rem;
}
.ld-footer-links-col a {
  display: block;
  font-size: .875rem;
  color: #475569;
  text-decoration: none;
  margin-bottom: .5rem;
  transition: color .15s;
}
.ld-footer-links-col a:hover { color: var(--ld-blue); }
.ld-footer-contact-item {
  display: flex !important;
  align-items: center;
  gap: .375rem;
}
.ld-footer-contact-item i {
  font-size: .8125rem;
  color: var(--ld-blue);
  flex-shrink: 0;
}
.ld-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .8125rem;
  color: #94a3b8;
}
.ld-footer-bottom-etrend {
  color: #94a3b8;
  text-decoration: none;
  transition: color .15s;
}
.ld-footer-bottom-etrend:hover { color: var(--ld-blue); }

/* ── Legal pages ──────────────────────────────────────────── */
.ld-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  color: var(--ld-text);
}
.ld-legal-back {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  color: var(--ld-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color .15s;
}
.ld-legal-back:hover { color: var(--ld-blue); }
.ld-legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ld-border);
}
.ld-legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ld-text);
  margin: 0 0 .375rem;
}
.ld-legal-date {
  color: var(--ld-muted);
  font-size: .875rem;
  margin: 0;
}
.ld-legal h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ld-text);
  margin: 2.25rem 0 .625rem;
  padding-top: .25rem;
  border-top: 1px solid var(--ld-border);
}
.ld-legal h2:first-of-type { border-top: none; margin-top: 0; }
.ld-legal p {
  font-size: .9375rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 .875rem;
}
.ld-legal ul {
  margin: .25rem 0 .875rem 1.25rem;
  padding: 0;
}
.ld-legal ul li {
  font-size: .9375rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: .3rem;
}
.ld-legal a { color: var(--ld-blue); text-decoration: none; }
.ld-legal a:hover { text-decoration: underline; }

/* ── Misc utils ─────────────────────────────────────────────── */
.ld-divider {
  border: none;
  border-top: 1.5px solid var(--ld-border);
  margin: 0;
}
.d-none { display: none !important; }

/* ── Feature detail cards (pricing explainer section) ───────── */
.ld-fdetail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
/* Desktop: icon on left spans all rows, content on right */
.ld-fdetail-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 1.25rem;
  background: var(--ld-white);
  border: 1.5px solid var(--ld-border);
  border-radius: var(--ld-r-lg);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
  align-items: start;
}
.ld-fdetail-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--ld-shadow);
}
.ld-fdetail-icon {
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  align-self: center;
}
.ld-fdetail-title {
  grid-column: 2;
  grid-row: 1;
  font-size: .9375rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: .375rem;
  color: var(--ld-text);
  line-height: 1.3;
  align-self: center;
}
.ld-fdetail-desc {
  grid-column: 1 / 3;
  grid-row: 2;
  font-size: .875rem;
  color: var(--ld-muted);
  line-height: 1.65;
  margin: 0;
  padding-top: .5rem;
  padding-bottom: .875rem;
}
.ld-fdetail-avail {
  grid-column: 1 / 3;
  grid-row: 3;
  display: flex;
  gap: .375rem;
  flex-wrap: wrap;
}
.ld-avail-pill {
  font-size: .6875rem;
  font-weight: 600;
  padding: .2rem .625rem;
  border-radius: 100px;
  letter-spacing: .02em;
}
.ld-avail-all      { background: rgba(16,185,129,.1);  color: #059669; }
.ld-avail-starter  { background: rgba(100,116,139,.1); color: #475569; }
.ld-avail-pro      { background: rgba(37,99,235,.1);   color: #1D4ED8; }
.ld-avail-business { background: rgba(124,58,237,.1);  color: #6D28D9; }

/* ── Feature tooltips (pricing section) ─────────────────────── */
.ld-feat-row {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  width: 100%;
}
.ld-feat-row i.check { color: var(--ld-green); flex-shrink: 0; margin-top: 2px; font-size: .875rem; }
.ld-feat-row i.cross { color: #CBD5E1; flex-shrink: 0; margin-top: 2px; font-size: .875rem; }
.ld-feat-name { flex: 1; }
.ld-feat-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ld-surface-2);
  color: var(--ld-muted);
  font-size: .6875rem;
  cursor: help;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background .15s, color .15s;
  border: none;
  padding: 0;
  font-family: var(--ld-font);
  font-weight: 700;
  line-height: 1;
}
.ld-feat-info:hover,
.ld-feat-info.active {
  background: var(--ld-blue-light);
  color: var(--ld-blue);
}
.ld-feat-info::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  background: #1E293B;
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  line-height: 1.55;
  padding: .625rem .875rem;
  border-radius: 9px;
  width: 230px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  font-weight: 400;
  text-align: left;
}
.ld-feat-info::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1E293B;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  z-index: 200;
}
.ld-feat-info:hover::after,
.ld-feat-info:hover::before,
.ld-feat-info.active::after,
.ld-feat-info.active::before {
  opacity: 1;
}
/* Prevent tooltip overflow on left edge */
.ld-plan-card:first-child .ld-feat-info::after { left: 0; transform: none; }
.ld-plan-card:first-child .ld-feat-info::before { left: 9px; transform: none; }
/* Prevent overflow on right edge */
.ld-plan-card:last-child .ld-feat-info::after { left: auto; right: 0; transform: none; }
.ld-plan-card:last-child .ld-feat-info::before { left: auto; right: 9px; transform: none; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Swipe carousel (mobile) ─────────────────────────────────── */
.ld-swipe-wrap {
  /* desktop: transparent passthrough */
}
.ld-swipe-inner { /* grid stays as-is on desktop */ }
/* Dot indikatorji za swipe carousel */
.ld-swipe-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: .375rem;
  margin-top: 1rem;
  min-height: 20px;
}
.ld-swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: var(--ld-border);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: width .2s ease, background .2s ease;
}
.ld-swipe-dot.active {
  width: 22px;
  background: var(--ld-blue);
}

/* ── Funkcije: desktop slider (puščice + horizontalni scroll) ──────── */
.ld-fdetail-slider { position: relative; }
.ld-fdetail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ld-border);
  background: var(--ld-white);
  color: var(--ld-ink);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ld-shadow);
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.ld-fdetail-arrow:hover { border-color: var(--ld-blue); color: var(--ld-blue); }
.ld-fdetail-prev { left: -18px; }
.ld-fdetail-next { right: -18px; }
.ld-fdetail-arrow[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.ld-fdetail-arrow[disabled]:hover { border-color: var(--ld-border); color: var(--ld-ink); }

@media (min-width: 641px) {
  .ld-fdetail-slider .ld-fdetail-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    scrollbar-width: none;
    padding: 10px 2px 16px;
  }
  .ld-fdetail-slider .ld-fdetail-grid::-webkit-scrollbar { display: none; }
  .ld-fdetail-slider .ld-fdetail-card {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
    scroll-snap-align: start;
  }
}
@media (min-width: 641px) and (max-width: 991px) {
  .ld-fdetail-slider .ld-fdetail-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 640px) {
  .ld-fdetail-arrow { display: none; }
}

@media (max-width: 991px) {
  .ld-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .ld-hero-lead { max-width: 100%; }
  .ld-hero-actions { justify-content: center; }
  .ld-hero-note { justify-content: center; }
  .ld-mockup-wrap { order: -1; }
  .ld-mockup-badge { left: 50%; transform: translateX(-50%); right: auto; bottom: -16px; }
  .ld-demo-grid { grid-template-columns: 1fr; }
  .ld-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .ld-nav-links { display: none; }
  .ld-nav-actions .ld-btn { display: none; }
  .ld-nav-toggle { display: flex; margin-left: 0; }
  .ld-nav-inner { gap: 0; }
  .ld-nav-inner { gap: 1rem; }
  .ld-footer-top { flex-direction: column; gap: 2rem; }
  .ld-footer-links { gap: 2rem; flex-wrap: wrap; }
  .ld-footer-links-col { min-width: 130px; }
}

@media (max-width: 640px) {
  /* General */
  .ld-section { padding: 64px 0; }
  .ld-hero { padding: 72px 0 60px; }

  /* Horizontal overflow fix */
  .ld-hero, .ld-flywheel, .ld-cta-section { overflow: hidden; }
  .ld-mockup-wrap { max-width: 100%; }
  .ld-mockup-badge {
    position: static;
    display: flex;
    justify-content: center;
    transform: none;
    margin: .75rem auto 0;
    font-size: .6875rem;
    width: fit-content;
  }

  /* Swipe carousel — aktiviraj na mobilniku */
  .ld-swipe-wrap {
    margin: 0 -1.5rem;
    overflow: hidden;
  }
  .ld-swipe-inner {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0 1.5rem 0.25rem;
  }
  .ld-swipe-inner::-webkit-scrollbar { display: none; }
  .ld-swipe-inner > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
    min-width: 0;
    max-width: 320px;
  }
  /* Plan kartice so širše — bolj kompaktne */
  .ld-plans-grid.ld-swipe-inner > * { flex: 0 0 88%; max-width: 360px; }
  /* Prostor za Najpopularnejši badge ki je absolutno pozicioniran */
  .ld-plans-grid.ld-swipe-inner { padding-top: 18px; }
  /* Dot indikatorji vidni na mobilniku */
  .ld-swipe-dots { display: flex; }

  /* fdetail card: ikona + naslov v isti vrstici na mobilniku */
  .ld-fdetail-card {
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto auto;
    padding: 1.125rem;
    column-gap: .75rem;
  }
  .ld-fdetail-icon {
    grid-column: 1;
    grid-row: 1; /* samo 1. vrstica, ne span */
    width: 42px;
    height: 42px;
    font-size: 1.125rem;
    border-radius: 11px;
    align-self: center;
  }
  .ld-fdetail-title {
    grid-column: 2;
    grid-row: 1;
    padding-bottom: 0;
    font-size: .875rem;
  }
  .ld-fdetail-desc {
    grid-column: 1 / 3; /* raztegni čez obe koloni */
    grid-row: 2;
    padding-top: .625rem;
    padding-bottom: .625rem;
    font-size: .8125rem;
  }
  .ld-fdetail-avail {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  /* Flywheel — skrij puščice, 3+3 wrap */
  .ld-fw-arrow { display: none; }
  .ld-flywheel-steps { column-gap: .75rem; row-gap: 1.5rem; justify-content: center; }
  .ld-fw-step { width: 100px; }

  /* Footer */
  .ld-footer-links { flex-direction: column; gap: 1.75rem; }
  .ld-footer-bottom { flex-direction: column; gap: .625rem; text-align: center; }
  .ld-footer-bottom-links { justify-content: center; }

  /* Hero: tekst pred mockupom na mobilnih */
  .ld-mockup-wrap { order: 0; }

  /* Hero mockup swipe — override ld-swipe-wrap defaults */
  .ld-hero-swipe { margin: 0; overflow: visible; }
  .ld-hero-swipe .ld-swipe-inner { padding: 0; gap: 0; }
  .ld-hero-swipe .ld-swipe-inner > * { flex: 0 0 100%; max-width: none; }
  .ld-mockup-body { min-height: 260px; }

  /* Feature cards: ikona + naslov v isti vrstici */
  .ld-feature-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: .75rem;
  }
  .ld-feature-card .ld-feature-icon {
    grid-column: 1; grid-row: 1;
    margin-bottom: 0;
    align-self: center;
  }
  .ld-feature-card .ld-feature-title {
    grid-column: 2; grid-row: 1;
    align-self: center;
    margin-bottom: 0;
  }
  .ld-feature-card .ld-feature-desc {
    grid-column: 1 / 3; grid-row: 2;
    margin-top: .625rem;
  }

  /* Demo sekcija: swipe */
  .ld-demo-grid.ld-swipe-inner > * { flex: 0 0 90%; max-width: none; }

  /* Whom — vertikalni auto-scroll */
  .ld-whom-scroll-wrap {
    height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  }
  .ld-whom-scroll-wrap .ld-whom-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: .5rem 0;
  }
  .ld-whom-scroll-wrap .ld-whom-pill {
    justify-content: flex-start;
  }

  /* Pain cards: ikona + naslov v isti vrstici */
  .ld-pain-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: .875rem;
    row-gap: 0;
  }
  .ld-pain-card .ld-pain-icon {
    grid-column: 1; grid-row: 1;
    align-self: center;
  }
  .ld-pain-card .ld-pain-title {
    grid-column: 2; grid-row: 1;
    align-self: center;
  }
  .ld-pain-card .ld-pain-text {
    grid-column: 1 / 3; grid-row: 2;
    margin-top: .5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ANYWHERE / ANYTIME — telefon mockup sekcija
   ══════════════════════════════════════════════════════════════ */

.ld-anywhere-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
}

.ld-anywhere-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ld-anywhere-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ld-anywhere-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ld-blue-light);
  border: 1px solid rgba(37,99,235,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ld-blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.ld-anywhere-list strong {
  display: block;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--ld-text);
  line-height: 1.3;
  margin-bottom: .1875rem;
}

.ld-anywhere-list span {
  font-size: .875rem;
  color: var(--ld-muted);
  line-height: 1.55;
}

/* ── Telefon okvir ──────────────────────────────────────────── */

.ld-phone-wrap {
  position: relative;
  padding: 0 24px 28px 0;
}

.ld-phone-wrap::before {
  content: '';
  position: absolute;
  inset: 10% 0 15% 10%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.13) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ld-phone {
  width: 234px;
  background: #1A2236;
  border-radius: 42px;
  border: 8px solid #0D1117;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 32px 80px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  position: relative;
}

.ld-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0D1117;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.ld-phone-screen { padding-top: 28px; }

.ld-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 18px 6px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}

.ld-phone-appbar {
  background: #111827;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ld-phone-appbar-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}

.ld-phone-appbar-sub {
  font-size: 10px;
  color: rgba(255,255,255,.32);
  margin-top: 2px;
}

.ld-phone-body { padding: 10px 10px 14px; }

.ld-phone-offer {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 7px;
}

.ld-phone-offer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.ld-phone-offer-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  line-height: 1.3;
}

.ld-phone-offer-amt {
  font-size: 11px;
  font-weight: 700;
  color: #60A5FA;
  white-space: nowrap;
  flex-shrink: 0;
}

.ld-phone-offer-meta {
  font-size: 9.5px;
  color: rgba(255,255,255,.28);
  margin: 2px 0 5px;
}

.ld-phone-offer-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}

.ld-phone-pill-ok    { background: rgba(16,185,129,.14); color: #34D399; }
.ld-phone-pill-sent  { background: rgba(37,99,235,.14);  color: #60A5FA; }
.ld-phone-pill-draft { background: rgba(255,255,255,.07); color: rgba(255,255,255,.38); }

.ld-phone-new-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 10px;
  padding: 9px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: .01em;
}

/* ── Lebdeči elementi ───────────────────────────────────────── */

.ld-phone-notif {
  position: absolute;
  top: 60px;
  right: 0;
  background: white;
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.06);
  white-space: nowrap;
  color: var(--ld-green);
  font-size: 15px;
}

.ld-phone-notif-title {
  font-size: 10px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.ld-phone-notif-sub {
  font-size: 9px;
  color: #6b7280;
  margin-top: 1px;
}

.ld-phone-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ld-blue);
  color: white;
  font-size: .6875rem;
  font-weight: 700;
  padding: .375rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  display: flex;
  align-items: center;
  gap: .375rem;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .ld-anywhere-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ld-phone-wrap {
    display: flex;
    justify-content: center;
    padding: 0 0 32px 0;
  }
  .ld-phone-notif { display: none; }
}

@media (max-width: 640px) {
  .ld-phone { width: 210px; }
}
