/* ═══════════════════════════════════════════════════════════════
   INFINITA marketing site — full-width, responsive, animated
   ═══════════════════════════════════════════════════════════════ */

:root {
  --accent:         #4FA8DA;
  --accent-2:       #2E86B8;
  --accent-3:       #6366F1;
  --accent-grad:    linear-gradient(135deg, #4FA8DA 0%, #2E86B8 55%, #6366F1 100%);
  --accent-soft:    rgba(79,168,218,.14);
  --ink:            #0F172A;
  --ink-2:          #334155;
  --ink-3:          #64748B;
  --ink-4:          #94A3B8;
  --line:           #E2E8F0;
  --line-2:         #CBD5E1;
  --card:           #FFFFFF;
  --page:           #F8FAFC;
  --page-2:         #FFFFFF;
  --radius:         14px;
  --radius-lg:      22px;
  --shadow-soft:    0 1px 3px rgba(15,23,42,.05), 0 4px 20px rgba(15,23,42,.04);
  --shadow-lift:    0 20px 50px rgba(15,23,42,.12), 0 2px 8px rgba(15,23,42,.06);
  --shadow-glow:    0 0 0 1px var(--accent-soft), 0 20px 60px color-mix(in srgb, var(--accent) 20%, transparent);
}

[data-palette="euro"] {
  --accent:         #6366F1;
  --accent-2:       #8B5CF6;
  --accent-3:       #4FA8DA;
  --accent-grad:    linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --accent-soft:    rgba(99,102,241,.14);
}

[data-theme="dark"] {
  --ink:            rgba(255,255,255,.94);
  --ink-2:          rgba(255,255,255,.76);
  --ink-3:          rgba(255,255,255,.52);
  --ink-4:          rgba(255,255,255,.36);
  --line:           #1E3050;
  --line-2:         #2A4065;
  --card:           #121A2B;
  --page:           #0B1120;
  --page-2:         #0F172A;
  --accent-soft:    rgba(79,168,218,.18);
  --shadow-soft:    0 1px 3px rgba(0,0,0,.3), 0 4px 20px rgba(0,0,0,.2);
  --shadow-lift:    0 20px 50px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; background: var(--page); color: var(--ink-2); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #fff; }

/* ─── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .47s; }

.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent); opacity: .7; }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.section-sub { font-size: 17px; color: var(--ink-3); margin: 0; line-height: 1.55; text-wrap: pretty; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .wrap { padding: 0 20px; } }

/* ─── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-weight: 600; border: none; border-radius: 12px; padding: 11px 20px; font-size: 14px; cursor: pointer; transition: all .25s cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); position: relative; overflow: hidden; }
.btn-primary::before { content:''; position:absolute; inset:0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-secondary { background: var(--card); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }

/* ─── Nav ────────────────────────────────────────────────── */
.nav-wrap { position: sticky; top: 14px; z-index: 80; padding: 0 32px; transition: padding .25s; }
.nav-wrap.is-scrolled { padding: 0 16px; }
.nav { max-width: 1400px; margin: 0 auto; padding: 10px 12px 10px 20px; background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--line); border-radius: 9999px; display: flex; align-items: center; gap: 16px; box-shadow: 0 6px 30px rgba(15,23,42,.06); transition: background .3s, box-shadow .3s, padding .25s; }
.nav-wrap.is-scrolled .nav { background: color-mix(in srgb, var(--card) 55%, transparent); box-shadow: 0 8px 40px rgba(15,23,42,.1); }
.nav-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.nav-mark { width: 30px; height: 30px; object-fit: contain; }
.nav-mark-spin { animation: slow-spin 14s linear infinite; transform-origin: 50% 50%; }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.nav-brand-text { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: .06em; }
.nav-wordmark { height: 22px; width: auto; object-fit: contain; display: block; }
[data-theme="dark"] .nav-wordmark { filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); border-radius: 9999px; transition: all .18s; }
.nav-links a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; background: color-mix(in srgb, var(--page) 80%, transparent); border: 1px solid var(--line); border-radius: 9999px; padding: 2px; }
.seg button { background: transparent; border: none; color: var(--ink-3); font-family: inherit; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 9999px; cursor: pointer; letter-spacing: .06em; }
.seg button.on { background: var(--ink); color: var(--card); }
.icon-btn { background: transparent; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--ink-2); font-size: 14px; transition: all .15s; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 1000px) { .nav-links { display: none; } }
@media (max-width: 700px) { .nav-wrap { padding: 0 16px; } .nav { padding: 8px 8px 8px 14px; } .nav-actions .seg, .nav-actions .icon-btn { display: none; } }

/* ─── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 90px 32px 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-orb-1 { width: 640px; height: 640px; background: var(--accent); top: -240px; left: -140px; opacity: .45; animation: orb-1 18s ease-in-out infinite; }
.hero-orb-2 { width: 580px; height: 580px; background: var(--accent-3); bottom: -260px; right: -160px; opacity: .35; animation: orb-2 22s ease-in-out infinite; }
.hero-orb-3 { width: 400px; height: 400px; background: #D2E000; top: 40%; left: 40%; opacity: .12; animation: orb-3 28s ease-in-out infinite; }
@keyframes orb-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes orb-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-30px) scale(1.08); } }
@keyframes orb-3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,-60px) scale(1.2); } }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .4; mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%); }

.hero-inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 1100px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 28px; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .7; } }

.hero-title { font-size: clamp(46px, 6.2vw, 96px); font-weight: 800; line-height: .96; letter-spacing: -0.04em; color: var(--ink); margin: 0 0 28px; text-wrap: balance; }
.hero-title-1 { display: block; }
.hero-title-2 { display: block; background: var(--accent-grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 8s ease-in-out infinite; }
@keyframes grad-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-sub { font-size: 19px; color: var(--ink-3); line-height: 1.55; max-width: 600px; margin: 0 0 36px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-mini-stats { display: flex; gap: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mini-stat-v { font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; line-height: 1; }
.mini-stat-l { font-size: 12px; color: var(--ink-3); margin-top: 6px; max-width: 160px; }

/* Hero right — animated infinity + product card */
.hero-right { position: relative; min-height: 520px; }
.hero-infinity { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-infinity svg { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.inf-path { fill: none; stroke: var(--accent); stroke-width: 42; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 20px 40px rgba(79,168,218,.35)); }
.inf-trace { fill: none; stroke: url(#inf-gradient); stroke-width: 42; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: inf-draw 4s cubic-bezier(.4,0,.2,1) forwards, inf-pulse 6s ease-in-out 4s infinite; }
@keyframes inf-draw { to { stroke-dashoffset: 0; } }
@keyframes inf-pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.inf-particle { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); }

.hero-card { position: absolute; right: 0; bottom: 20px; width: 340px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); overflow: hidden; animation: card-float 6s ease-in-out infinite; }
@media (max-width: 1100px) { .hero-card { right: 50%; transform: translateX(50%); } }
@media (max-width: 600px) { .hero-card { position: relative; right: auto; bottom: auto; transform: none; margin: 24px auto 0; } .hero-right { min-height: 380px; } }
@keyframes card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-card-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: color-mix(in srgb, var(--page) 70%, transparent); border-bottom: 1px solid var(--line); }
.hero-card-top .dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-top .title { margin-left: 10px; font-size: 11px; font-weight: 600; color: var(--ink-3); font-family: var(--font-mono); }
.hero-card-body { padding: 16px; }
.hcb-step { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; margin-bottom: 4px; font-size: 13px; color: var(--ink-2); transition: all .2s; }
.hcb-step.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.hcb-ring { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--ink-3); background: var(--card); flex-shrink: 0; }
.hcb-ring.done { background: #10B981; color: #fff; border-color: #10B981; }
.hcb-ring.current { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hcb-text { flex: 1; }
.hcb-pc { font-size: 11px; font-family: var(--font-mono); color: var(--ink-3); }
.hcb-ai { margin-top: 10px; padding: 12px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 12%, transparent)); border-radius: 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--accent); font-weight: 600; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.hcb-ai-spark { font-size: 14px; }
.hcb-ai-dots { margin-left: auto; display: inline-flex; gap: 4px; }
.hcb-ai-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: ai-pulse 1.3s infinite; }
.hcb-ai-dots i:nth-child(2) { animation-delay: .2s; }
.hcb-ai-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes ai-pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Marquee of partner/program logos */
.marquee { position: relative; padding: 40px 0; border-block: 1px solid var(--line); background: var(--page-2); overflow: hidden; }
.marquee-inner { display: flex; gap: 64px; animation: mq 40s linear infinite; width: max-content; }
.marquee-inner span { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--ink-4); letter-spacing: .04em; white-space: nowrap; }
.marquee-inner span i { color: var(--accent); margin-right: 6px; font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── Audiences ──────────────────────────────────────────── */
.audiences { padding: 120px 32px; }
.audiences-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.aud-card { position: relative; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s cubic-bezier(.2,.8,.2,1); }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.aud-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.aud-card:hover::before { transform: scaleX(1); }
.aud-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: all .3s; }
.aud-card:hover .aud-icon { background: var(--accent-grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.aud-icon svg { width: 28px; height: 28px; }
.aud-name { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -.01em; }
.aud-body { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0 0 20px; }
.aud-kpi { padding-top: 18px; border-top: 1px solid var(--line); }
.aud-kpi-v { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; line-height: 1; }
.aud-kpi-l { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* ─── Hub ────────────────────────────────────────────────── */
.hub { padding: 120px 32px; position: relative; overflow: hidden; }
.hub-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 1000px) { .hub-inner { grid-template-columns: 1fr; gap: 48px; } }
.hub-title { font-size: clamp(40px, 5vw, 72px); font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.035em; line-height: 1; background: var(--accent-grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 8s ease-in-out infinite; }
.hub-sub { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.hub-body { font-size: 16px; color: var(--ink-3); line-height: 1.7; margin-bottom: 24px; }
.hub-list { list-style: none; padding: 0; margin: 0 0 8px; }
.hub-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.hub-check { color: var(--accent); font-weight: 800; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.hub-diagram { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.hub-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 0 12px color-mix(in srgb, var(--card) 60%, transparent); z-index: 3; animation: core-pulse 4s ease-in-out infinite; }
@keyframes core-pulse { 0%,100% { box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 0 12px color-mix(in srgb, var(--card) 60%, transparent), 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); } 50% { box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 0 12px color-mix(in srgb, var(--card) 60%, transparent), 0 0 0 20px transparent; } }
.hub-core-mark { width: 80px; height: auto; }
.hub-core-title { font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-top: 10px; }
.hub-sat { position: absolute; top: 50%; left: 50%; padding: 12px 18px; background: var(--card); border: 1.5px solid; border-radius: 9999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; box-shadow: 0 8px 20px rgba(15,23,42,.08); z-index: 2; transition: all .3s; }
.hub-sat:hover { transform: translate(var(--tx), var(--ty)) scale(1.08) !important; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hub-orbit { stroke: var(--line-2); stroke-dasharray: 3 5; fill: none; animation: orbit-rotate 60s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
.hub-line { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 200; stroke-dashoffset: 200; animation: line-draw 3s cubic-bezier(.4,0,.2,1) forwards; opacity: .4; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }

/* ─── Modules ────────────────────────────────────────────── */
.modules { padding: 120px 32px; background: var(--page-2); border-block: 1px solid var(--line); }
.modules-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.module-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; overflow: hidden; transition: all .3s cubic-bezier(.2,.8,.2,1); }
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.module-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, var(--m-color), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.module-card:hover::after { opacity: .08; }
.module-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--m-color); }
.module-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 40px; letter-spacing: .12em; }
.module-name { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: .04em; }
.module-tag { font-size: 13.5px; font-weight: 600; color: var(--m-color); margin: 0 0 14px; }
.module-body { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 0 0 20px; }
.module-step { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; background: color-mix(in srgb, var(--m-color) 12%, transparent); color: var(--m-color); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: 9999px; margin-bottom: 14px; }
.module-step-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--m-color); animation: pulse-dot 2s infinite; }
.module-link { display: inline-block; font-size: 13px; font-weight: 600; color: var(--m-color); padding-top: 14px; border-top: 1px solid var(--line); transition: gap .2s; }

/* ─── Process 7 ──────────────────────────────────────────── */
.process { padding: 120px 32px; }
.process-inner { max-width: 1400px; margin: 0 auto; }
.process-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; }
@media (max-width: 1100px) { .process-rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .process-rail { grid-template-columns: repeat(2, 1fr); } }
.process-step { position: relative; padding: 20px 10px; text-align: center; transition: transform .3s; }
.process-step:hover { transform: translateY(-4px); }
.process-ring { position: relative; width: 68px; height: 68px; margin: 0 auto 14px; }
.process-ring svg { width: 100%; height: 100%; }
.process-ring-track { stroke: var(--line); }
.process-ring-prog { stroke-dasharray: 100.5; stroke-dashoffset: 100.5; transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1); }
.process-step.in .process-ring-prog { stroke-dashoffset: var(--dashoffset); }
.process-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: var(--s-color); }
.process-name { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.process-desc { font-size: 11.5px; color: var(--ink-3); line-height: 1.45; }

/* ─── Impact charts ──────────────────────────────────────── */
.impact { padding: 120px 32px; background: var(--page-2); border-block: 1px solid var(--line); }
.impact-inner { max-width: 1400px; margin: 0 auto; }
.impact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 56px; }
@media (max-width: 1000px) { .impact-grid { grid-template-columns: 1fr; } }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); }
.chart-title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px; }
.chart-bar-row { display: flex; gap: 24px; align-items: flex-end; min-height: 240px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.chart-bar { width: 100%; max-width: 40px; background: var(--accent-grad); border-radius: 8px 8px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 1.4s cubic-bezier(.4,0,.2,1); position: relative; }
.chart-card.in .chart-bar { transform: scaleY(1); }
.chart-bar:hover::after { content: attr(data-v) ' M€'; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding: 4px 8px; background: var(--ink); color: var(--card); font-size: 11px; font-weight: 700; border-radius: 6px; white-space: nowrap; margin-bottom: 6px; font-family: var(--font-mono); }
.chart-bar-label { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); }

.donut-row { display: flex; align-items: center; gap: 24px; }
@media (max-width: 600px) { .donut-row { flex-direction: column; } }
.donut { width: 180px; height: 180px; flex-shrink: 0; }
.donut circle { transition: stroke-dasharray 1.5s cubic-bezier(.4,0,.2,1); }
.donut-legend { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.donut-legend-item { display: flex; align-items: center; gap: 10px; }
.donut-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.donut-label { flex: 1; color: var(--ink-2); }
.donut-val { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }

.success-card { background: var(--accent-grad); color: #fff; border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-glow); }
.success-card::before { content: ''; position: absolute; inset: -50%; background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 60%); animation: orb-1 12s ease-in-out infinite; }
.success-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 20px; position: relative; }
.success-value { font-size: 100px; font-weight: 800; letter-spacing: -0.04em; line-height: .9; position: relative; display: flex; align-items: baseline; }
.success-value span { font-size: 60px; }
.success-sub { font-size: 13px; opacity: .85; margin-top: 10px; position: relative; }

/* ─── Stats (dark band) ──────────────────────────────────── */
.stats { padding: 100px 32px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 50%), radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--accent-3) 30%, transparent), transparent 50%); }
[data-theme="dark"] .stats { background: var(--page-2); border-block: 1px solid var(--line); }
.stats-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.stats-head { text-align: center; margin-bottom: 64px; }
.stats-head .eyebrow { color: var(--accent); }
.stats-title { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat-cell { text-align: center; padding: 32px 16px; position: relative; }
.stat-cell + .stat-cell::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.12); }
.stat-v { font-size: clamp(52px, 6vw, 84px); font-weight: 800; letter-spacing: -0.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 14px; line-height: 1.4; }

/* ─── News preview ───────────────────────────────────────── */
.news { padding: 120px 32px; }
.news-inner { max-width: 1400px; margin: 0 auto; }
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.news-head-left { max-width: 680px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: all .3s; position: relative; overflow: hidden; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; font-family: var(--font-mono); color: var(--ink-3); margin-bottom: 16px; }
.news-tag { padding: 4px 10px; background: var(--accent-soft); color: var(--accent); border-radius: 9999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.news-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 12px; line-height: 1.3; letter-spacing: -.01em; }
.news-excerpt { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 0 0 16px; }
.news-src { font-size: 11px; color: var(--ink-4); font-family: var(--font-mono); padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.news-src .arrow { color: var(--accent); font-weight: 800; }

/* News list (sub-page) */
.news-list { display: grid; gap: 12px; }
.news-item { display: block; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; text-decoration: none; }
.news-item:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow-soft); }
.news-item .news-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; font-family: var(--font-mono); color: var(--ink-3); margin-bottom: 10px; flex-wrap: wrap; }
.news-item .news-source { padding: 3px 10px; background: var(--accent-soft); color: var(--accent); border-radius: 9999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.news-item .news-category { color: var(--ink-3); }
.news-item .news-date { color: var(--ink-4); margin-left: auto; }
.news-item .news-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.3; letter-spacing: -.01em; }
.news-item .news-summary { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 0; }

/* Ticker variants */
.ticker-news { background: linear-gradient(90deg, #1e3a5f, #2a4d75); }
.ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 14%, transparent)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 9999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ai-badge .spark { font-size: 12px; }

/* ─── Tenders ────────────────────────────────────────────── */
.tenders { padding: 120px 32px; background: var(--page-2); border-block: 1px solid var(--line); }
.tenders-inner { max-width: 1400px; margin: 0 auto; }
.tenders-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 32px; justify-content: center; }
.tenders-filter { padding: 8px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 9999px; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; font-family: inherit; }
.tenders-filter:hover { border-color: var(--accent); color: var(--accent); }
.tenders-filter.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.tenders-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.tender { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s ease; text-decoration: none; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.tender:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lift); }
.tender:hover .tender-stripe { transform: scaleX(1); }
.tender.HORIZON { border-left: 4px solid #4338CA; }
.tender.ERASMUS { border-left: 4px solid #B45309; }
.tender.LIFE { border-left: 4px solid #047857; }
.tender.CERV { border-left: 4px solid #B91C1C; }
.tender.DIGITAL { border-left: 4px solid #1D4ED8; }
.tender.CREATIVE { border-left: 4px solid #BE185D; }
.tender.INTERREG { border-left: 4px solid #0E7490; }
.tender.COAL { border-left: 4px solid #4B5563; }
.tender.CEF { border-left: 4px solid #7C3AED; }
.tender.EIT { border-left: 4px solid #0369A1; }
.tender.SLO { border-left: 4px solid #5B21B6; }
.tender.GENERIC { border-left: 4px solid #6B7280; }
.tender.SMP { border-left: 4px solid #D97706; }
.tender.JUSTICE { border-left: 4px solid #7F1D1D; }
.tender.DEFENCE { border-left: 4px solid #14532D; }
.tender.INNO { border-left: 4px solid #0F766E; }
.tender.EFSA { border-left: 4px solid #65A30D; }
.tender.ECHA { border-left: 4px solid #2563EB; }
.tender.FSR { border-left: 4px solid #525252; }
.tender.EU4H { border-left: 4px solid #DB2777; }
.tender.AMIF { border-left: 4px solid #9333EA; }
.tender.ISF { border-left: 4px solid #CA8A04; }
.tender.ESF { border-left: 4px solid #0891B2; }
.tender.EDU { border-left: 4px solid #EA580C; }
.tender.MIGR { border-left: 4px solid #4F46E5; }
.tender.source-ec { border-left: 4px solid #003399; }
.tender.source-pol { border-left: 4px solid #DC2626; }
.tender.source-eur { border-left: 4px solid #059669; }
.tender.source-con { border-left: 4px solid #1E3A8A; }
.tender.source-ep { border-left: 4px solid #2563EB; }
.tender.source-euo { border-left: 4px solid #D97706; }
.tender.source-bbc { border-left: 4px solid #B91C1C; }
.tender.source-enw { border-left: 4px solid #0891B2; }
.tender.source-generic { border-left: 4px solid #6B7280; }
.tender-body { padding: 22px 24px 18px; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.tender-stripe { height: 3px; width: 100%; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.tender-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.tender-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 6px; line-height: 1; }
.tender-badge--prog.HORIZON { background: #EEF2FF; color: #4338CA; }
.tender-badge--prog.INTERREG { background: #ECFEFF; color: #0E7490; }
.tender-badge--prog.LIFE { background: #ECFDF5; color: #047857; }
.tender-badge--prog.ERASMUS { background: #FFFBEB; color: #B45309; }
.tender-badge--prog.SLO { background: #F5F3FF; color: #5B21B6; }
.tender-badge--prog.CERV { background: #FEF2F2; color: #B91C1C; }
.tender-badge--prog.DIGITAL { background: #EFF6FF; color: #1D4ED8; }
.tender-badge--prog.CREATIVE { background: #FDF2F8; color: #BE185D; }
.tender-badge--prog.COAL { background: #F3F4F6; color: #4B5563; }
.tender-badge--prog.CEF { background: #F5F3FF; color: #7C3AED; }
.tender-badge--prog.EIT { background: #E0F2FE; color: #0369A1; }
.tender-badge--prog.GENERIC { background: #F3F4F6; color: #6B7280; }
.tender-badge--prog.SMP { background: #FEF3C7; color: #D97706; }
.tender-badge--prog.JUSTICE { background: #FEE2E2; color: #7F1D1D; }
.tender-badge--prog.DEFENCE { background: #DCFCE7; color: #14532D; }
.tender-badge--prog.INNO { background: #CCFBF1; color: #0F766E; }
.tender-badge--prog.EFSA { background: #ECFCCB; color: #65A30D; }
.tender-badge--prog.ECHA { background: #DBEAFE; color: #2563EB; }
.tender-badge--prog.FSR { background: #F5F5F5; color: #525252; }
.tender-badge--prog.EU4H { background: #FCE7F3; color: #DB2777; }
.tender-badge--prog.AMIF { background: #F3E8FF; color: #9333EA; }
.tender-badge--prog.ISF { background: #FEF9C3; color: #CA8A04; }
.tender-badge--prog.ESF { background: #CFFAFE; color: #0891B2; }
.tender-badge--prog.EDU { background: #FFEDD5; color: #EA580C; }
.tender-badge--prog.MIGR { background: #E0E7FF; color: #4F46E5; }
.tender-badge--source.source-ec { background: #E0E7FF; color: #003399; }
.tender-badge--source.source-pol { background: #FEE2E2; color: #DC2626; }
.tender-badge--source.source-eur { background: #D1FAE5; color: #059669; }
.tender-badge--source.source-con { background: #DBEAFE; color: #1E3A8A; }
.tender-badge--source.source-ep { background: #EFF6FF; color: #2563EB; }
.tender-badge--source.source-euo { background: #FEF3C7; color: #D97706; }
.tender-badge--source.source-bbc { background: #FEE2E2; color: #B91C1C; }
.tender-badge--source.source-enw { background: #CFFAFE; color: #0891B2; }
.tender-badge--source.source-generic { background: #F3F4F6; color: #6B7280; }
.tender-badge--source { background: var(--page-2); color: var(--ink-3); }
.tender-badge--days { background: var(--page); color: var(--ink-2); }
.tender-badge--days.is-urgent { background: #FEF2F2; color: #B91C1C; }
.tender-badge--days.is-soon { background: #FFFBEB; color: #B45309; }
[data-theme="dark"] .tender-badge--prog { background: rgba(255,255,255,.08); color: var(--accent); }
.tender-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tender:hover .tender-title { color: var(--accent-2); }
.tender-desc { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1 1 auto; }
.tender-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.tender-footer-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); margin: 0 0 4px; }
.tender-footer-value { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0; }
.tender-footer-value.is-urgent { color: #EF4444; }
@media (max-width: 700px) { .tenders-list { grid-template-columns: 1fr; } }

/* ─── Bio ────────────────────────────────────────────────── */
.bio { padding: 120px 32px; }
.bio-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; }
@media (max-width: 800px) { .bio-inner { grid-template-columns: 1fr; text-align: center; } .bio-left { margin: 0 auto; } }
.bio-photo { width: 260px; height: 320px; border-radius: 20px; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 30%, transparent); position: relative; overflow: hidden; }
.bio-photo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%); }
.bio-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bio-initials { font-size: 96px; font-weight: 800; color: #fff; letter-spacing: -.03em; position: relative; z-index: 2; }
.bio-quote { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.3; color: var(--ink); margin: 8px 0 22px; letter-spacing: -0.02em; text-wrap: balance; }
.bio-quote::before { content: '"'; color: var(--accent); font-size: 2em; font-family: Georgia, serif; line-height: 0; vertical-align: -0.2em; margin-right: 6px; }
.bio-body { font-size: 15.5px; color: var(--ink-3); line-height: 1.75; margin: 0 0 24px; }
.bio-sign { padding-top: 18px; border-top: 1px solid var(--line); }
.bio-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.bio-role { font-size: 13px; color: var(--ink-3); margin-top: 3px; }

/* ─── Contact ────────────────────────────────────────────── */
.contact { padding: 120px 32px; background: var(--page-2); border-block: 1px solid var(--line); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-details > div { display: flex; flex-direction: column; }
.contact-details strong { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contact-details a, .contact-details span { font-size: 16px; color: var(--ink); font-weight: 600; }
.contact-form { background: var(--card); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-form label { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; margin-top: 6px; background: var(--page); color: var(--ink); outline: none; transition: all .2s; text-transform: none; letter-spacing: normal; font-weight: 400; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-consent { flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-weight: 500 !important; color: var(--ink-3) !important; font-size: 12px !important; text-transform: none !important; letter-spacing: normal !important; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { background: #0B1120; color: rgba(255,255,255,.65); padding: 80px 32px 28px; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, var(--accent-soft), transparent 70%); opacity: .3; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 3fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { height: 36px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); margin: 16px 0 0; line-height: 1.6; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #fff; text-transform: uppercase; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bar { max-width: 1400px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 16px; position: relative; }

/* ─── Tweaks panel ───────────────────────────────────────── */
.tweaks { position: fixed; right: 20px; bottom: 20px; z-index: 200; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px rgba(15,23,42,.25); width: 300px; padding: 20px; font-family: var(--font-sans); display: none; }
.tweaks.open { display: block; animation: tweaks-in .3s cubic-bezier(.2,.8,.2,1); }
@keyframes tweaks-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.tweaks h4 { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--ink); text-transform: uppercase; }
.tweaks-row { margin-bottom: 16px; }
.tweaks-label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: block; }
.tweaks-seg { display: flex; gap: 4px; background: var(--page); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tweaks-seg button { flex: 1; background: transparent; border: none; font-family: inherit; font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 7px 4px; border-radius: 7px; cursor: pointer; transition: all .15s; }
.tweaks-seg button.on { background: var(--accent); color: #fff; }


/* ═══════════════════════════════════════════════════════════════
   EXTENSIONS v3 — Process 6, AppShowcase, Modules foundation
   ═══════════════════════════════════════════════════════════════ */

/* ─── Process 6 elementov ─────────────────────────────────── */
.process6 { padding: 120px 32px; background: var(--page-2); position: relative; overflow: hidden; }
.process6::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 10%, var(--accent-soft), transparent 40%), radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--accent-3) 10%, transparent), transparent 50%); pointer-events: none; }
.process6-inner { max-width: 1400px; margin: 0 auto; position: relative; }

.p6-rail { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 40px 0 32px; }
.p6-chip { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .2s; position: relative; }
.p6-chip:hover { border-color: var(--c); color: var(--ink); transform: translateY(-1px); }
.p6-chip.on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 35%, transparent); }
.p6-chip-n { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 3px 7px; border-radius: 5px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.p6-chip.on .p6-chip-n { background: rgba(255,255,255,.22); color: #fff; }

.p6-stage { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; animation: p6-fade .4s cubic-bezier(.2,.8,.2,1); }
@keyframes p6-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .p6-stage { grid-template-columns: 1fr; } }

.p6-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); overflow: hidden; }
.p6-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c); }
.p6-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--c); opacity: .06; }
.p6-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.p6-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); }
.p6-tag { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.p6-name { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 12px; color: var(--ink); line-height: 1.08; }
.p6-short { font-size: 18px; font-weight: 600; color: var(--ink-2); line-height: 1.4; margin: 0 0 18px; max-width: 560px; }
.p6-desc { font-size: 15px; line-height: 1.75; color: var(--ink-3); margin: 0 0 22px; max-width: 620px; }
.p6-eu { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: var(--page); border-left: 3px solid var(--c); border-radius: 0 10px 10px 0; margin-bottom: 24px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.p6-eu-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; margin-top: 6px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent); }
.p6-outputs-head { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.p6-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p6-out-chip { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 8px; background: color-mix(in srgb, var(--c) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); color: var(--ink); }

.p6-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.p6-mini { position: relative; padding: 16px; padding-right: 50px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); cursor: pointer; text-align: left; font-family: inherit; transition: all .2s; overflow: hidden; }
.p6-mini:hover { border-color: var(--c); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.p6-mini.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, var(--card)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.p6-mini-n { font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--c); }
.p6-mini-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.2; }
.p6-mini-tag { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; margin-top: 4px; }
.p6-mini-arc { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; }

.p6-note { display: flex; gap: 12px; align-items: flex-start; max-width: 900px; margin: 32px auto 0; padding: 18px 22px; background: color-mix(in srgb, var(--accent) 4%, var(--card)); border: 1px dashed var(--line-2); border-radius: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.p6-note-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-style: normal; }

/* ─── Modules foundation ─────────────────────────────────── */
.modules { padding: 120px 32px; }
.mod-stage { max-width: 1400px; margin: 56px auto 0; position: relative; }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 0; position: relative; z-index: 2; }
@media (max-width: 1000px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .mod-grid { grid-template-columns: 1fr; } }

.mod-card { position: relative; padding: 28px 26px 60px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: none; transition: all .3s; overflow: hidden; isolation: isolate; }
.mod-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c); }
.mod-card::after { content: ''; position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity .3s; z-index: -1; }
.mod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--c); }
.mod-card:hover::after { opacity: 1; }
.mod-card-head { display: flex; justify-content: space-between; align-items: center; }
.mod-num { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--ink-3); }
.mod-icon { font-size: 22px; color: var(--c); }
.mod-name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 6px; line-height: 1.05; }
.mod-tag { font-size: 13px; font-weight: 700; color: var(--c); margin-bottom: 14px; }
.mod-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-3); margin: 0 0 16px; }
.mod-foot { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.mod-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.mod-connector { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); width: 2px; height: 30px; background: linear-gradient(to bottom, var(--c), transparent); opacity: .5; }

.mod-foundation { margin-top: 0; background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%); color: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 40px 32px; position: relative; overflow: hidden; }
.mod-foundation::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(79,168,218,.2), transparent 60%); pointer-events: none; }
.mod-foundation::after { content: 'InterventionLogic'; position: absolute; right: -40px; bottom: -60px; font-size: 180px; font-weight: 900; color: rgba(255,255,255,.03); letter-spacing: -.05em; white-space: nowrap; }
.mod-found-inner { position: relative; display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; align-items: center; max-width: 1400px; margin: 0 auto; }
@media (max-width: 900px) { .mod-found-inner { grid-template-columns: 1fr; gap: 24px; } }
.mod-found-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.mod-found-title { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.mod-found-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; font-weight: 500; }
.mod-found-right { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-found-pill { font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.mod-found-pill span { font-family: var(--font-mono); font-size: 10px; font-weight: 800; color: var(--accent); letter-spacing: .06em; }

/* ─── AppShowcase ────────────────────────────────────────── */
.app-show { padding: 120px 32px; background: var(--page-2); }
.app-show-inner { max-width: 1400px; margin: 0 auto; }
.app-show-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin-top: 48px; align-items: start; }
@media (max-width: 1000px) { .app-show-grid { grid-template-columns: 1fr; } }

.app-show-tabs { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1000px) { .app-show-tabs { flex-direction: row; overflow-x: auto; } .app-show-tab { min-width: 200px; } }
.app-show-tab { padding: 14px 18px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; cursor: pointer; text-align: left; font-family: inherit; transition: all .2s; }
.app-show-tab:hover { border-color: var(--accent); transform: translateX(2px); }
.app-show-tab.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); box-shadow: 0 0 0 3px var(--accent-soft); }
.app-show-tab-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.app-show-tab-c { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.5; }

.app-show-window { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); animation: p6-fade .4s; }
.app-show-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--page); border-bottom: 1px solid var(--line); }
.app-show-chrome .dot { width: 11px; height: 11px; border-radius: 50%; }
.app-show-chrome .dot.r { background: #FF5F57; }
.app-show-chrome .dot.y { background: #FEBC2E; }
.app-show-chrome .dot.g { background: #28C840; }
.app-show-url { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.app-show-canvas { padding: 28px; min-height: 460px; background: linear-gradient(180deg, var(--page) 0%, var(--card) 100%); }
.app-show-cap { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--card); font-size: 13px; color: var(--ink-3); }
.app-show-cap strong { color: var(--ink); font-weight: 700; }

/* ─── Shot: Dashboard ─────────────────────────────────────── */
.shot-dashboard { display: flex; flex-direction: column; gap: 20px; font-family: var(--font-sans); }
.shot-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.shot-breadcrumb { font-size: 11px; font-weight: 600; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .02em; }
.shot-avatars { display: flex; }
.shot-avatars span { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-grad); border: 2px solid var(--card); margin-left: -6px; }
.shot-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot-kpi { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; border-left: 3px solid var(--c); }
.shot-kpi-n { font-size: 24px; font-weight: 800; color: var(--c); letter-spacing: -.02em; }
.shot-kpi-l { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.shot-progress { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.shot-prog-row { display: grid; grid-template-columns: 120px 1fr 40px; gap: 12px; align-items: center; font-size: 12px; }
.shot-prog-n { font-weight: 600; color: var(--ink-2); }
.shot-prog-track { height: 8px; background: var(--page); border-radius: 4px; overflow: hidden; }
.shot-prog-fill { height: 100%; border-radius: 4px; transition: width 1s; }
.shot-prog-v { font-weight: 700; color: var(--ink); font-family: var(--font-mono); font-size: 11px; text-align: right; }

/* ─── Shot: Sidebar ──────────────────────────────────────── */
.shot-sidebar { background: var(--card); padding: 0; max-width: 440px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.shot-sb-head { padding: 14px 18px; background: var(--page); font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.shot-sb-item { display: grid; grid-template-columns: 32px 1fr 24px; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: start; }
.shot-sb-n { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: var(--page); color: var(--ink-3); font-family: var(--font-mono); }
.shot-sb-done .shot-sb-n { background: #43A047; color: #fff; }
.shot-sb-active .shot-sb-n { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.shot-sb-t { font-size: 13px; font-weight: 600; color: var(--ink); }
.shot-sb-active .shot-sb-t { font-weight: 700; color: var(--accent); }
.shot-sb-todo .shot-sb-t { color: var(--ink-3); }
.shot-sb-sub { margin-top: 6px; }
.shot-sb-subrow { font-size: 11px; color: var(--ink-3); padding: 2px 0; }
.shot-sb-state { font-size: 14px; color: #43A047; text-align: right; }
.shot-sb-active .shot-sb-state { color: var(--accent); }

/* ─── Shot: Gantt ────────────────────────────────────────── */
.shot-gantt { font-size: 11px; }
.shot-g-head { display: flex; justify-content: space-between; margin-bottom: 10px; padding: 8px 0; }
.shot-g-title { font-weight: 700; color: var(--ink); }
.shot-g-axis { display: flex; gap: 42px; font-family: var(--font-mono); color: var(--ink-3); font-size: 10px; }
.shot-g-rows { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.shot-g-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; padding: 4px 0; }
.shot-g-row.thin .shot-g-n { padding-left: 12px; color: var(--ink-3); font-weight: 500; }
.shot-g-n { font-size: 11px; color: var(--ink); font-weight: 700; }
.shot-g-track { position: relative; height: 18px; background: var(--page); border-radius: 4px; }
.shot-g-row.thin .shot-g-track { height: 10px; }
.shot-g-bar { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; opacity: .9; }
.shot-g-row.thin .shot-g-bar { opacity: .5; }
.shot-g-ms { position: absolute; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%) rotate(45deg); border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--ink); }

/* ─── Shot: Finance ──────────────────────────────────────── */
.shot-finance { display: flex; flex-direction: column; gap: 16px; }
.shot-f-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.shot-f-total strong { color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.shot-f-rows { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.shot-f-row { display: grid; grid-template-columns: 130px 1fr 90px; gap: 12px; align-items: center; font-size: 12px; }
.shot-f-n { font-weight: 600; color: var(--ink); }
.shot-f-track { height: 14px; background: var(--page); border-radius: 4px; overflow: hidden; }
.shot-f-track > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; }
.shot-f-v { font-family: var(--font-mono); font-weight: 700; color: var(--ink); text-align: right; font-size: 11px; }
.shot-f-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.shot-f-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shot-f-cat-bar { width: 30px; height: 80px; background: var(--page); border-radius: 4px; display: flex; align-items: flex-end; overflow: hidden; }
.shot-f-cat-bar > div { width: 100%; border-radius: 4px; transition: height 1s; }
.shot-f-cat-l { font-size: 11px; font-weight: 600; color: var(--ink); }
.shot-f-cat-p { font-size: 10px; font-family: var(--font-mono); color: var(--ink-3); }

/* ─── Shot: PERT ─────────────────────────────────────────── */
.shot-pert { display: flex; flex-direction: column; gap: 12px; }
.shot-p-title { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.shot-pert svg { width: 100%; height: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }

/* ─── Shot: Editor ───────────────────────────────────────── */
.shot-editor { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot-e-tabs { display: flex; border-bottom: 1px solid var(--line); }
.shot-e-tabs span { padding: 12px 20px; font-size: 12px; font-weight: 600; color: var(--ink-3); border-right: 1px solid var(--line); }
.shot-e-tabs span.on { background: var(--card); color: var(--accent); border-bottom: 2px solid var(--accent); margin-bottom: -1px; }
.shot-e-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.shot-e-line { height: 12px; background: var(--page); border-radius: 3px; }
.shot-e-line.highlight { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 25%, transparent), var(--accent-soft)); }
.shot-e-ai { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: color-mix(in srgb, var(--accent) 8%, transparent); border-top: 1px solid var(--line); }
.shot-e-ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.shot-e-ai-text { flex: 1; font-size: 12px; color: var(--ink-2); }
.shot-e-ai button { background: var(--accent); color: #fff; border: none; padding: 6px 14px; border-radius: 7px; font-size: 11px; font-weight: 700; font-family: inherit; cursor: pointer; }

/* Hide legacy .process styles when .process6 exists */
.process { display: none; }


/* ═══════════════════════════════════════════════════════════════
   EXTENSIONS v4 — Hub2 (6 orbital circles), real screenshots
   ═══════════════════════════════════════════════════════════════ */

/* Hide legacy hub styling by not using .hub anymore */
.hub { display: none; }

.hub2 { padding: 140px 32px 120px; position: relative; overflow: hidden; }
.hub2::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 50%),
  radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--accent-3) 14%, transparent), transparent 55%);
  pointer-events: none; }
.hub2-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; position: relative; }
@media (max-width: 1100px) { .hub2-inner { grid-template-columns: 1fr; } }

.hub2-head { max-width: 540px; }
.hub2-title { font-size: clamp(48px, 7vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -0.035em; margin: 10px 0 14px; background: linear-gradient(135deg, #4FA8DA 0%, #6366F1 55%, #8B5CF6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub2-sub { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.01em; }
.hub2-body { font-size: 15.5px; line-height: 1.75; color: var(--ink-3); margin: 0; }

/* Stage right side: diagram + detail panel */
.hub2-stage { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.hub2-diagram { position: relative; width: 620px; height: 620px; max-width: 100%; aspect-ratio: 1; }
@media (max-width: 680px) { .hub2-diagram { width: 100%; height: auto; transform: scale(.75); transform-origin: top center; } }

.hub2-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub2-ring { fill: none; stroke: var(--line); stroke-width: 1; opacity: .6; stroke-dasharray: 3 5; }
.hub2-ring-outer { animation: hub2-rot 80s linear infinite; transform-origin: center; }
.hub2-ring-mid   { animation: hub2-rot 60s linear infinite reverse; transform-origin: center; opacity: .9; stroke-dasharray: none; }
.hub2-ring-inner { animation: hub2-rot 40s linear infinite; transform-origin: center; opacity: .4; }
@keyframes hub2-rot { to { transform: rotate(360deg); } }

.hub2-line { stroke-width: 1; opacity: .25; stroke-dasharray: 2 4; transition: all .3s; }
.hub2-line.on { opacity: 1; stroke-width: 2; stroke-dasharray: none; filter: drop-shadow(0 0 6px currentColor); }

/* Core (center) */
.hub2-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 220px; height: 220px; border: none; padding: 0; background: none; cursor: pointer; font-family: inherit; z-index: 5; }
.hub2-core-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); animation: hub2-rot 30s linear infinite; }
.hub2-core-inner { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #6EC6EE 0%, #4FA8DA 35%, #2E86B8 70%, #1E5E87 100%); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 1px rgba(255,255,255,.1) inset; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; transition: transform .3s; }
.hub2-core:hover .hub2-core-inner { transform: scale(1.04); }
.hub2-core.on .hub2-core-inner { box-shadow: 0 30px 100px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 0 3px rgba(255,255,255,.15) inset; }
.hub2-core-logo svg { width: 82px; height: auto; margin-bottom: 6px; opacity: .95; }
.hub2-core-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.hub2-core-sub { font-size: 11px; color: rgba(255,255,255,.72); letter-spacing: .06em; margin-top: 6px; font-weight: 600; }

/* Orbit nodes — each is a clickable circle */
.hub2-node { position: absolute; top: 50%; left: 50%; width: 110px; height: 110px; padding: 0; border: none; background: none; cursor: pointer; font-family: inherit; z-index: 4; animation: hub2-pop .6s cubic-bezier(.2,.9,.3,1.3) backwards; animation-delay: var(--delay); }
@keyframes hub2-pop { from { opacity: 0; transform: translate(calc(-50% + 0px), calc(-50% + 0px)) scale(.3); } to { opacity: 1; } }

.hub2-node-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--card); border: 2px solid var(--line); box-shadow: 0 10px 25px rgba(15,23,42,.08); transition: all .3s cubic-bezier(.2,.8,.2,1); }
.hub2-node:hover .hub2-node-ring { transform: scale(1.08); border-color: var(--c); box-shadow: 0 15px 35px color-mix(in srgb, var(--c) 25%, transparent); }
.hub2-node.on .hub2-node-ring { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--card)); box-shadow: 0 15px 40px color-mix(in srgb, var(--c) 40%, transparent), 0 0 0 6px color-mix(in srgb, var(--c) 20%, transparent); transform: scale(1.12); }
.hub2-node-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hub2-node-icon svg { width: 40px; height: 40px; transition: transform .3s; }
.hub2-node:hover .hub2-node-icon svg, .hub2-node.on .hub2-node-icon svg { transform: scale(1.1); }
.hub2-node-num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 40%, transparent); }
.hub2-node-label { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); opacity: 0; transition: opacity .2s; }
.hub2-node:hover .hub2-node-label, .hub2-node.on .hub2-node-label { opacity: 1; }

/* Detail panel below diagram */
.hub2-detail { width: 100%; max-width: 620px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-soft); transition: all .3s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.hub2-detail.on { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: 0 20px 50px color-mix(in srgb, var(--c) 15%, transparent); }
.hub2-detail.on::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c); }
.hub2-detail-hint { display: flex; align-items: center; gap: 12px; padding: 8px 4px; color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
.hub2-detail-hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; flex-shrink: 0; }

.hub2-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.hub2-detail-icon { width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hub2-detail-icon svg { width: 30px; height: 30px; }
.hub2-detail-num { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--c); }
.hub2-detail-name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; margin-top: 2px; }
.hub2-detail-close { margin-left: auto; background: var(--page); border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; font-size: 20px; color: var(--ink-3); cursor: pointer; font-family: inherit; line-height: 1; }
.hub2-detail-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hub2-detail-body { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }
.hub2-detail-stat { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 18px; border-radius: 12px; background: color-mix(in srgb, var(--c) 6%, var(--page)); border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); }
.hub2-detail-stat-v { font-size: 22px; font-weight: 800; color: var(--c); font-family: var(--font-mono); letter-spacing: -.01em; }
.hub2-detail-stat-l { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }

/* ─── AppShowcase — real screenshots ─────────────────────── */
/* ENOTNA VELIKOST predogleda: okvir stalnega razmerja (16:10 kot posnetki aplikacije),
   slika se vanj vpne z object-fit: contain — vsi zasloni so enako veliki, nič raztegnjenega.
   (npr. ozek "sidebar.png" 282x1400 se prikaže centriran, ne čez celo višino.) */
.app-show-canvas {
  padding: 0 !important; min-height: auto !important;
  aspect-ratio: 16 / 10;
  background: var(--page) !important; cursor: zoom-in; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.app-show-img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.app-show-canvas:hover .app-show-img { transform: scale(1.02); }
.app-show-overlay { position: absolute; top: 16px; right: 16px; padding: 7px 12px; background: rgba(15,23,42,.85); color: #fff; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .25s; }
.app-show-canvas:hover .app-show-overlay { opacity: 1; }
.app-show-zoom { margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 6px; width: 24px; height: 24px; font-size: 14px; line-height: 1; color: var(--ink-3); cursor: pointer; font-family: inherit; font-weight: 700; }
.app-show-zoom:hover { color: var(--accent); border-color: var(--accent); }

.app-show-tab { display: flex !important; gap: 10px !important; align-items: flex-start !important; padding: 12px 14px !important; }
.app-show-tab-n { font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: 3px 7px; border-radius: 5px; flex-shrink: 0; margin-top: 2px; }
.app-show-tab-col { display: flex; flex-direction: column; flex: 1; }

/* Lightbox */
.app-show-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; cursor: zoom-out; animation: hub2-fade .25s; }
@keyframes hub2-fade { from { opacity: 0; } to { opacity: 1; } }
.app-show-lightbox img { max-width: 95%; max-height: 85vh; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.5); cursor: default; }
.app-show-lightbox-close { position: fixed; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 20px; cursor: pointer; font-family: inherit; }
.app-show-lightbox-close:hover { background: rgba(255,255,255,.2); }
.app-show-lightbox-cap { color: #fff; font-size: 14px; font-weight: 600; margin-top: 16px; letter-spacing: .02em; }


/* ═══════════════════════════════════════════════════════════════
   AppTour — prelet skozi 6 korakov (prave slike aplikacije)
   ═══════════════════════════════════════════════════════════════ */
.tour { padding: 120px 32px; background: linear-gradient(180deg, var(--page-2) 0%, var(--page) 100%); position: relative; overflow: hidden; }
.tour::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse at 20% 0%, var(--accent-soft), transparent 50%), radial-gradient(ellipse at 90% 100%, color-mix(in srgb, var(--accent-3) 6%, transparent), transparent 50%); pointer-events: none; }
.tour-inner { max-width: 1400px; margin: 0 auto; position: relative; }

.tour-layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; margin-top: 56px; align-items: flex-start; }
@media (max-width: 1100px) { .tour-layout { grid-template-columns: 1fr; } }

/* ── Stepper na levi ───────────────────────────────────── */
.tour-steps { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1100px) { .tour-steps { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; } .tour-step { min-width: 220px; } }

.tour-step { display: grid; grid-template-columns: 44px 1fr 16px; gap: 14px; align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-family: inherit; text-align: left; position: relative; overflow: hidden; transition: all .25s cubic-bezier(.2,.8,.2,1); }
.tour-step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0; transition: opacity .2s; }
.tour-step:hover { transform: translateX(2px); border-color: var(--c); }
.tour-step:hover::before { opacity: .4; }
.tour-step.on { background: color-mix(in srgb, var(--c) 6%, var(--card)); border-color: var(--c); box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 14%, transparent); }
.tour-step.on::before { opacity: 1; }
.tour-step-n { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 800; font-size: 14px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); border: 2px solid transparent; transition: all .2s; }
.tour-step.on .tour-step-n { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.tour-step-name { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.tour-step-count { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-top: 3px; letter-spacing: .02em; }
.tour-step-arrow { color: var(--ink-3); font-size: 14px; transition: all .2s; opacity: 0; }
.tour-step:hover .tour-step-arrow, .tour-step.on .tour-step-arrow { opacity: 1; color: var(--c); transform: translateX(2px); }

/* ── Panel na desni ────────────────────────────────────── */
.tour-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lift); animation: tour-panel-in .4s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
@keyframes tour-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tour-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--c) 0%, transparent 100%); }

.tour-panel-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tour-panel-n { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--c); }
.tour-panel-name { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 6px 0 8px; line-height: 1.1; }
.tour-panel-lead { font-size: 16px; font-weight: 500; color: var(--ink-2); margin: 0; max-width: 640px; line-height: 1.5; }
.tour-panel-deco { opacity: .9; }
.tour-panel-body { font-size: 14.5px; line-height: 1.7; color: var(--ink-3); margin: 0 0 28px; max-width: 760px; }

/* ── Shots ──────────────────────────────────────────────── */
.tour-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
@media (max-width: 700px) { .tour-shots { grid-template-columns: 1fr; } }
/* Korak z ENIM samim zaslonom: enaka velikost kot v mreži (ne čez celo širino),
   centriran — širina = točno en stolpec 2-kolonskega rastra (50% minus pol razmika). */
.tour-shots:has(.tour-shot:only-child) { grid-template-columns: 1fr; justify-items: center; }
.tour-shots:has(.tour-shot:only-child) .tour-shot { width: 100%; max-width: calc(50% - 10px); }
@media (max-width: 700px) { .tour-shots:has(.tour-shot:only-child) .tour-shot { max-width: 100%; } }

.tour-shot { display: flex; flex-direction: column; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; animation: shot-in .5s both; animation-delay: var(--d); }
@keyframes shot-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tour-shot-frame { position: relative; background: var(--page); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: all .25s; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.tour-shot:hover .tour-shot-frame { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 16px 40px color-mix(in srgb, var(--c) 18%, transparent), 0 0 0 3px color-mix(in srgb, var(--c) 10%, transparent); }
.tour-shot-chrome { display: flex; gap: 5px; padding: 8px 12px; background: var(--page); border-bottom: 1px solid var(--line); }
.tour-shot-chrome span { width: 9px; height: 9px; border-radius: 50%; }
.tour-shot-chrome span:nth-child(1) { background: #FF5F57; }
.tour-shot-chrome span:nth-child(2) { background: #FEBC2E; }
.tour-shot-chrome span:nth-child(3) { background: #28C840; }
.tour-shot-frame img { width: 100%; height: auto; display: block; }
.tour-shot-zoom { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transition: opacity .2s; backdrop-filter: blur(4px); }
.tour-shot:hover .tour-shot-zoom { opacity: 1; }
.tour-shot-meta { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 4px 0; align-items: start; }
.tour-shot-meta:has(> div:only-child) { grid-template-columns: 1fr; }
.tour-shot-num { font-family: var(--font-mono); font-size: 11px; font-weight: 800; color: var(--c); letter-spacing: .08em; padding: 7px 0; border-top: 2px solid var(--c); text-align: center; }
.tour-shot-title { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.tour-shot-caption { font-size: 12.5px; line-height: 1.55; color: var(--ink-3); margin-top: 4px; }

/* ── Nav med koraki ─────────────────────────────────────── */
.tour-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.tour-nav-btn { font-family: inherit; font-size: 13.5px; font-weight: 600; padding: 10px 18px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; cursor: pointer; transition: all .2s; }
.tour-nav-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateX(-2px); }
.tour-nav-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.tour-nav-btn.primary:hover:not(:disabled) { transform: translateX(2px); background: var(--accent-2); }
.tour-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.tour-nav-dots { display: flex; gap: 6px; }
.tour-nav-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: all .2s; }
.tour-nav-dots span:hover { background: var(--ink-3); transform: scale(1.2); }
.tour-nav-dots span.on { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Extra sekcija ──────────────────────────────────────── */
.tour-extra { margin-top: 80px; padding-top: 60px; border-top: 1px dashed var(--line-2); }
.tour-extra-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.tour-extra-head .eyebrow { color: var(--accent); }
.tour-extra-head h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; color: var(--ink); margin: 10px 0 12px; letter-spacing: -0.02em; }
.tour-extra-head p { font-size: 15px; color: var(--ink-3); line-height: 1.65; margin: 0; }
.tour-extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tour-extra-grid { grid-template-columns: 1fr; } }

/* ── Lightbox ──────────────────────────────────────────── */
.tour-lightbox { position: fixed; inset: 0; background: rgba(10, 15, 25, .92); backdrop-filter: blur(8px); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 60px; animation: lb-in .25s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.tour-lb-close { position: fixed; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 1001; }
.tour-lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.tour-lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: 32px; font-weight: 300; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 1001; }
.tour-lb-nav.prev { left: 24px; }
.tour-lb-nav.next { right: 24px; }
.tour-lb-nav:hover:not(:disabled) { background: rgba(255,255,255,.18); transform: translateY(-50%) scale(1.05); }
.tour-lb-nav:disabled { opacity: .3; cursor: not-allowed; }
.tour-lb-fig { max-width: min(1400px, 95vw); max-height: 85vh; margin: 0; display: flex; flex-direction: column; gap: 16px; animation: lb-zoom .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.tour-lb-fig img { max-width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.tour-lb-fig figcaption { color: #fff; text-align: center; }
.tour-lb-title { font-size: 18px; font-weight: 700; }
.tour-lb-caption { font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 4px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.tour-lb-counter { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); margin-top: 8px; letter-spacing: .12em; }

/* Legacy .app-show hidden when .tour present */
.app-show:has(~ .tour), .tour ~ .app-show { display: none; }

/* ═══════════════════════════════════════════════════════════════
   POLICIES + TICKERS
   ═══════════════════════════════════════════════════════════════ */
.policies { padding: 120px 32px; background: var(--page-2); border-block: 1px solid var(--line); }
.policies-inner { max-width: 1400px; margin: 0 auto; }
.policies-list { display: grid; gap: 10px; }
.policy { display: block; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; }
.policy:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow-soft); }
.policy-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.policy-source { font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 6px; }
.policy-type { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--page); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); }
.policy-status { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--page); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); }
.policy-status.proposed { color: #B45309; background: #FFFBEB; border-color: #FDE68A; }
.policy-status.adopted { color: #047857; background: #ECFDF5; border-color: #A7F3D0; }
.policy-status.in-force { color: #1D4ED8; background: #EFF6FF; border-color: #BFDBFE; }
.policy-status.published { color: #4338CA; background: #EEF2FF; border-color: #C7D2FE; }
.policy-status.rejected { color: #B91C1C; background: #FEF2F2; border-color: #FECACA; }
.policy-area-tag { font-size: 10px; font-weight: 600; color: var(--ink-4); }
.policy-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.policy-summary { font-size: 13px; color: var(--ink-3); line-height: 1.55; margin-bottom: 12px; }
.policy-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.policy-institution { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.policy-date { font-size: 11px; font-family: var(--font-mono); color: var(--ink-4); }
@media (max-width: 700px) { .policy-foot { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ─── Policy area cards ─────────────────────────────────── */
.policy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
@media (max-width: 780px) { .policy-grid { grid-template-columns: 1fr; } }

.policy-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: all .25s ease; display: flex; flex-direction: column; gap: 16px; }
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent-2); }

.policy-card-head { display: flex; flex-direction: column; gap: 10px; }
.policy-card-title { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.policy-card-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }

.policy-card-subareas { display: flex; flex-direction: column; gap: 8px; }
.policy-card-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.policy-sub-list { display: flex; flex-wrap: wrap; gap: 6px; }
.policy-sub-badge { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--page); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 999px; }

.policy-card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.policy-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; text-decoration: none; transition: all .2s; border: 1px solid transparent; }
.policy-link:hover { transform: translateY(-1px); }
.policy-link--ec { background: #003399; color: #fff; }
.policy-link--ec:hover { background: #002b80; }
.policy-link--eurlex { background: #0F4C81; color: #fff; }
.policy-link--eurlex:hover { background: #0a3a63; }
.policy-link--ep { background: #0066B3; color: #fff; }
.policy-link--ep:hover { background: #005290; }
.policy-link--book { background: #F4A261; color: #1a1a1a; }
.policy-link--book:hover { background: #e08c3e; }

[data-theme="dark"] .policy-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .policy-sub-badge { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--ink-4); }

/* ─── Tickers ────────────────────────────────────────────── */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--page); display: flex; align-items: center; }
.ticker-label { flex-shrink: 0; padding: 10px 18px; background: var(--accent-grad); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; z-index: 2; }
.ticker-track { display: flex; gap: 48px; align-items: center; animation: ticker-scroll 120s linear infinite; width: max-content; padding: 10px 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.ticker-item:hover { color: var(--accent); }
.ticker-dot { color: var(--accent); font-size: 8px; }
.ticker-title { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.ticker-meta { font-size: 10px; font-family: var(--font-mono); color: var(--ink-4); font-weight: 500; letter-spacing: .02em; }
.ticker-loading { color: var(--ink-4); font-family: var(--font-mono); padding-left: 16px; }

/* Dark theme overrides for tickers + policies */
[data-theme="dark"] .policy-status.proposed { background: rgba(180,83,9,.15); color: #FBBF24; border-color: rgba(180,83,9,.35); }
[data-theme="dark"] .policy-status.adopted { background: rgba(4,120,87,.15); color: #34D399; border-color: rgba(4,120,87,.35); }
[data-theme="dark"] .policy-status.in-force { background: rgba(29,78,216,.15); color: #60A5FA; border-color: rgba(29,78,216,.35); }
[data-theme="dark"] .policy-status.published { background: rgba(67,56,202,.15); color: #A5B4FC; border-color: rgba(67,56,202,.35); }
[data-theme="dark"] .policy-status.rejected { background: rgba(185,28,28,.15); color: #F87171; border-color: rgba(185,28,28,.35); }


/* ═══════════════════════════════════════════════════════════════
   HeroV2 — Mission Control (bombastičen)
   ═══════════════════════════════════════════════════════════════ */
.hero2 { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 40px 32px 60px; background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%); overflow: hidden; }
[data-theme=dark] .hero2 { background: linear-gradient(180deg, #0B1120 0%, #1E293B 100%); }
[data-palette=euro] .hero2 { background: linear-gradient(180deg, #0B1120 0%, #142850 100%); color: #fff; }

.hero2-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero2-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: hero2-drift 20s ease-in-out infinite; }
.hero2-glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, #4FA8DA, transparent 70%); top: -100px; left: -80px; }
.hero2-glow-2 { width: 450px; height: 450px; background: radial-gradient(circle, #8B5CF6, transparent 70%); top: 30%; right: -100px; animation-delay: -8s; }
.hero2-glow-3 { width: 600px; height: 380px; background: radial-gradient(circle, #6366F1, transparent 70%); bottom: -150px; left: 30%; animation-delay: -14s; opacity: .35; }
@keyframes hero2-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 50px) scale(.95); } }
.hero2-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(79, 168, 218, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 168, 218, .06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); }
.hero2-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(79, 168, 218, .03) 3px, rgba(79, 168, 218, .03) 4px); pointer-events: none; }

.hero2-inner { position: relative; max-width: 1400px; margin: 0 auto; width: 100%; z-index: 2; }

/* TOP BAR */
.hero2-topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: rgba(255,255,255,.65); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; margin-bottom: 56px; font-size: 12px; font-weight: 600; flex-wrap: wrap; gap: 12px; }
[data-theme=dark] .hero2-topbar, [data-palette=euro] .hero2-topbar { background: rgba(11, 17, 32, .55); border-color: rgba(79, 168, 218, .25); color: #fff; }
.hero2-badge { display: flex; align-items: center; gap: 8px; letter-spacing: .12em; color: var(--ink-2); font-size: 11px; text-transform: uppercase; }
[data-palette=euro] .hero2-badge, [data-theme=dark] .hero2-badge { color: rgba(255,255,255,.8); }
.hero2-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); animation: pulse 2.4s infinite; }
.hero2-status { display: flex; align-items: center; gap: 14px; }
.hero2-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 800; font-size: 10px; letter-spacing: .12em; color: #10B981; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, #10B981 12%, transparent); }
.hero2-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; animation: pulse 1.5s infinite; }
.hero2-status-txt { color: var(--ink-3); font-size: 12px; font-weight: 500; }
[data-palette=euro] .hero2-status-txt, [data-theme=dark] .hero2-status-txt { color: rgba(255,255,255,.7); }
.hero2-status-txt strong { color: var(--ink); font-family: var(--font-mono); font-weight: 800; }
[data-palette=euro] .hero2-status-txt strong, [data-theme=dark] .hero2-status-txt strong { color: #fff; }

/* GLAVNA KOMPOZICIJA */
.hero2-main { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; margin-bottom: 56px; }
@media (max-width: 1050px) { .hero2-main { grid-template-columns: 1fr; gap: 40px; } }

/* Naslov */
.hero2-title { font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: -0.035em; margin: 0 0 20px; font-size: clamp(52px, 7vw, 108px); color: var(--ink); }
[data-palette=euro] .hero2-title, [data-theme=dark] .hero2-title { color: #fff; }
.hero2-title-1 { display: block; }
.hero2-title-2 { display: block; background: linear-gradient(120deg, #4FA8DA 0%, #6366F1 50%, #8B5CF6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-2); max-width: 540px; line-height: 1.6; margin: 0 0 32px; }
[data-palette=euro] .hero2-sub, [data-theme=dark] .hero2-sub { color: rgba(255,255,255,.8); }
.hero2-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* CONSOLE */
.hero2-console { position: relative; aspect-ratio: 1/1; max-width: 560px; width: 100%; margin: 0 auto; }
.hero2-console-svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(79, 168, 218, .25)); }
.hero2-ring-rot { transform-origin: center; animation: ring-rotate 90s linear infinite; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
.hero2-node-halo { animation: node-pulse 3s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: center; transform-box: fill-box; transition: opacity .2s ease; }
@keyframes node-pulse { 0%, 100% { opacity: .18; r: 28; } 50% { opacity: .35; r: 32; } }

/* Hero node hover — highlight node + draw solid connector line */
.hero2-node { transition: transform .2s ease; }
.hero2-node:focus { outline: none; }
.hero2-node.is-active .hero2-node-halo { animation-play-state: paused; opacity: .4 !important; }
.hero2-link-active { filter: drop-shadow(0 0 6px currentColor); }
.hero2-core-label { animation: core-label-in .18s ease-out; }
@keyframes core-label-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Telemetry oznake */
.hero2-tele { position: absolute; display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); border: 1px solid rgba(79, 168, 218, .25); border-radius: 10px; padding: 7px 11px; font-family: var(--font-mono); font-size: 10px; animation: tele-float 4s ease-in-out infinite; }
[data-palette=euro] .hero2-tele, [data-theme=dark] .hero2-tele { background: rgba(11, 17, 32, .65); border-color: rgba(79, 168, 218, .3); }
.hero2-tele-l { font-weight: 800; letter-spacing: .14em; color: var(--ink-3); font-size: 9px; }
.hero2-tele-v { font-weight: 800; color: var(--accent); font-size: 12px; letter-spacing: .02em; }
[data-palette=euro] .hero2-tele-v, [data-theme=dark] .hero2-tele-v { color: #4FA8DA; }
.hero2-tele-tl { top: 4%; left: 0; animation-delay: 0s; }
.hero2-tele-tr { top: 12%; right: 0; animation-delay: -1s; }
.hero2-tele-bl { bottom: 12%; left: 2%; animation-delay: -2s; }
.hero2-tele-br { bottom: 6%; right: 0; animation-delay: -3s; }
@keyframes tele-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* VELIKE ŠTEVILKE SPODAJ */
.hero2-bigstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: color-mix(in srgb, var(--line) 80%, transparent); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(8px); }
[data-palette=euro] .hero2-bigstats, [data-theme=dark] .hero2-bigstats { background: rgba(79, 168, 218, .15); border-color: rgba(79, 168, 218, .25); }
@media (max-width: 900px) { .hero2-bigstats { grid-template-columns: repeat(2, 1fr); } }
.hero2-bigstat { padding: 24px 22px; background: rgba(255, 255, 255, .92); display: flex; flex-direction: column; gap: 6px; position: relative; transition: all .3s; }
[data-palette=euro] .hero2-bigstat, [data-theme=dark] .hero2-bigstat { background: rgba(11, 17, 32, .78); }
.hero2-bigstat::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, #4FA8DA, #8B5CF6); transition: width .4s; }
.hero2-bigstat:hover { background: rgba(255,255,255,1); transform: translateY(-2px); }
[data-palette=euro] .hero2-bigstat:hover, [data-theme=dark] .hero2-bigstat:hover { background: rgba(11, 17, 32, .95); }
.hero2-bigstat:hover::before { width: 100%; }
.hero2-bigstat-v { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(120deg, #4FA8DA 0%, #6366F1 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-bigstat-l { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }
[data-palette=euro] .hero2-bigstat-l, [data-theme=dark] .hero2-bigstat-l { color: #fff; }
.hero2-bigstat-sub { font-size: 11.5px; font-weight: 500; color: var(--ink-3); line-height: 1.4; }
[data-palette=euro] .hero2-bigstat-sub, [data-theme=dark] .hero2-bigstat-sub { color: rgba(255,255,255,.6); }

/* Skrij staro .hero */
.hero { display: none; }

/* ═══════════════════════════════════════════════════════════════
   EU PROGRAMS TABLE (zamenjava za "Podatki ki oblikujejo prijave")
   ═══════════════════════════════════════════════════════════════ */
.eu-progs { padding: 120px 32px; background: var(--page-2); }
.eu-progs-inner { max-width: 1400px; margin: 0 auto; }
.eu-progs-table { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.eu-progs-thead { display: grid; grid-template-columns: 180px 1fr 140px 1.3fr; gap: 20px; padding: 18px 28px; background: var(--page); border-bottom: 2px solid var(--line); font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 900px) { .eu-progs-thead { display: none; } }
.eu-progs-row { display: grid; grid-template-columns: 180px 1fr 140px 1.3fr; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--line); align-items: center; transition: background .2s; position: relative; }
.eu-progs-row:last-child { border-bottom: none; }
.eu-progs-row:hover { background: color-mix(in srgb, var(--accent) 3%, transparent); }
.eu-progs-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
@media (max-width: 900px) { .eu-progs-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 22px; } }
.eu-progs-name { display: flex; flex-direction: column; gap: 4px; }
.eu-progs-name-t { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.eu-progs-name-s { font-size: 11px; font-family: var(--font-mono); color: var(--c); font-weight: 700; letter-spacing: .06em; }
.eu-progs-desc { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.eu-progs-budget { font-family: var(--font-mono); font-size: 15px; font-weight: 800; color: var(--ink); text-align: right; }
@media (max-width: 900px) { .eu-progs-budget { text-align: left; } }
.eu-progs-budget-s { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 600; color: var(--ink-3); margin-top: 2px; letter-spacing: .06em; }
.eu-progs-for { display: flex; flex-wrap: wrap; gap: 5px; }
.eu-progs-for span { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c); white-space: nowrap; }
.eu-progs-note { margin-top: 22px; padding: 14px 20px; background: color-mix(in srgb, var(--accent) 5%, transparent); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.eu-progs-note strong { color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════════════
   Library (refactor Extra sekcije pod AppTour)
   ═══════════════════════════════════════════════════════════════ */
.tour-library { margin-top: 80px; padding: 50px; background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%); border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden; }
.tour-library::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse at top right, rgba(79,168,218,.25), transparent 60%); pointer-events: none; }
.tour-library-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .tour-library-inner { grid-template-columns: 1fr; } }
.tour-library-txt .eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.tour-library-txt h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 14px; line-height: 1.1; }
.tour-library-txt p { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.75); margin: 0 0 20px; }
.tour-library-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.tour-library-chain .tlc-step { padding: 4px 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; }
.tour-library-chain .tlc-arrow { color: rgba(255,255,255,.3); }
.tour-library-chain .tlc-final { padding: 4px 9px; background: var(--accent); color: #fff; border-radius: 6px; border: 1px solid var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.tour-library-shot { background: var(--card); color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); cursor: pointer; transition: transform .3s; }
.tour-library-shot:hover { transform: scale(1.01) translateY(-2px); }
.tour-library-shot-chrome { display: flex; gap: 5px; padding: 10px 14px; background: var(--page); border-bottom: 1px solid var(--line); }
.tour-library-shot-chrome span { width: 10px; height: 10px; border-radius: 50%; }
.tour-library-shot-chrome span:nth-child(1) { background: #FF5F57; }
.tour-library-shot-chrome span:nth-child(2) { background: #FEBC2E; }
.tour-library-shot-chrome span:nth-child(3) { background: #28C840; }
.tour-library-shot img { width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════════════════════════
   Scroll-to-top button
   ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, color .2s, border-color .2s;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 20%, transparent);
}

/* ── Custom Section (user-defined content blocks) ─────────────────── */
.custom-section { padding: 100px 32px; }
.custom-section__inner { max-width: 860px; margin: 0 auto; }
.custom-section__title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.custom-section__body { font-size: 17px; color: var(--ink-3); line-height: 1.65; margin: 0 0 32px; max-width: 700px; text-wrap: pretty; }
.custom-section__cta-wrap { margin-top: 8px; }
@media (max-width: 640px) { .custom-section { padding: 72px 20px; } }


/* ── Naročilo na tedenski pregled: slide-in kartica (SubscribeSlideIn.jsx) ── */
.nls-card {
  position: fixed; right: 18px; bottom: 74px; z-index: 1200; /* nad gumbom ↑ */
  width: min(340px, calc(100vw - 36px));
  background: var(--card, #fff); color: var(--ink, #0F172A);
  border: 1px solid var(--line, rgba(15,23,42,.1)); border-radius: 14px;
  box-shadow: 0 18px 50px -12px rgba(2,6,23,.35);
  padding: 18px 18px 14px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}
.nls-card.nls-in { opacity: 1; transform: translateY(0); }
.nls-close {
  position: absolute; top: 8px; right: 10px; border: 0; background: none;
  color: var(--ink-dim, #64748B); font-size: 14px; cursor: pointer; padding: 4px;
}
.nls-close:hover { color: var(--ink, #0F172A); }
.nls-title { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 6px; }
.nls-body { font-size: 13px; line-height: 1.5; color: var(--ink-dim, #475569); margin-bottom: 10px; }
.nls-form { display: flex; gap: 8px; }
.nls-input {
  flex: 1; min-width: 0; padding: 9px 11px; font: inherit; font-size: 13px;
  border: 1px solid var(--line, rgba(15,23,42,.15)); border-radius: 9px;
  background: var(--page-2, #fff); color: var(--ink, #0F172A); outline: none;
}
.nls-input:focus { border-color: var(--accent, #4FA8DA); }
.nls-btn {
  padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  border: 0; border-radius: 9px; background: var(--accent, #4FA8DA); color: #fff;
}
.nls-btn:hover { filter: brightness(1.06); }
.nls-lang { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 12px; color: var(--ink-dim, #64748B); }
.nls-lang-btn {
  padding: 2px 9px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  border: 1px solid var(--line, rgba(15,23,42,.15)); border-radius: 999px;
  background: transparent; color: var(--ink-dim, #64748B);
}
.nls-lang-btn.on { background: var(--accent, #4FA8DA); border-color: var(--accent, #4FA8DA); color: #fff; }
.nls-fine { margin-top: 9px; font-size: 11px; line-height: 1.45; color: var(--ink-dim, #94A3B8); }
.nls-fine a { color: var(--accent, #4FA8DA); }
.nls-done { font-size: 13.5px; line-height: 1.55; color: var(--ink, #0F172A); padding: 6px 0 4px; }
.nls-err { margin-top: 8px; font-size: 12px; color: #EF4444; }
/* kljukica za prijavo v obrazcu Sodelujmo */
.nl-optin { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 2px; font-size: 12.5px; line-height: 1.5; color: var(--ink-dim, #64748B); cursor: pointer; }
.nl-optin input { margin-top: 3px; accent-color: var(--accent, #4FA8DA); }

/* ── IL UVOD: Kaj je intervencijska logika (.ilintro) + CTA pas (.ilcta) ── */
.ilintro { padding: 96px 22px 64px; background: var(--page, #F8FAFC); }
.ilintro-inner { max-width: 1160px; margin: 0 auto; }
.ilintro-head { max-width: 840px; margin: 0 auto; text-align: center; }
.ilintro-lead { font-size: 17px; line-height: 1.7; color: var(--ink, #0F172A); margin: 18px 0 12px; font-weight: 500; }
.ilintro-why { font-size: 15px; line-height: 1.7; color: var(--ink-dim, #475569); margin: 0 0 38px; }
.ilintro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ilintro-card {
  background: var(--card, #fff); border: 1px solid var(--line, rgba(15,23,42,.08));
  border-top: 3px solid var(--accent, #4FA8DA); border-radius: 14px; padding: 20px 20px 16px;
  box-shadow: 0 8px 26px -18px rgba(2,6,23,.25);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* hover kot pri karticah razpisov/novic: dvig + poudarjen rob (barvni vrh ostane) */
.ilintro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift, 0 18px 44px -18px rgba(2,6,23,.35));
  border-color: var(--accent, #4FA8DA);
}
.ilintro-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ilintro-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; color: #fff;
  font: 800 12px/30px var(--font-mono, ui-monospace, monospace); text-align: center; letter-spacing: .04em;
}
.ilintro-card h3 { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink, #0F172A); }
.ilintro-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-dim, #475569); margin: 0 0 10px; }
.ilintro-tip {
  font-size: 12px; line-height: 1.55; color: var(--ink-dim, #64748B); margin: 0;
  background: var(--page, #F8FAFC); border-left: 3px solid var(--accent-soft, rgba(79,168,218,.35));
  padding: 8px 10px; border-radius: 0 8px 8px 0;
}
.ilintro-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; text-align: center; }
.ilintro-bridge { font-size: 14px; font-weight: 600; color: var(--ink-dim, #475569); margin: 0; }
@media (max-width: 980px) { .ilintro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ilintro-grid { grid-template-columns: 1fr; } .ilintro { padding: 64px 18px 48px; } }

.ilcta { padding: 26px 22px; }
.ilcta-inner {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; background: var(--ink, #0F172A); color: #fff;
  border-radius: 18px; padding: 26px 30px;
}
.ilcta-txt h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.ilcta-txt p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.75); }

/* ── AppShowcase ANATOMIJA: en posnetek + barvni obroči (.app-anat-*) ── */
.app-anat-tab { border-left: 3px solid transparent; }
.app-anat-tab.on, .app-anat-tab:hover { border-left-color: var(--c); }
.app-anat-tab .app-anat-dot {
  background: var(--c) !important; color: #fff !important;
  border-color: transparent !important;
}
.app-anat-hint { font-size: 12px; color: var(--ink-3, #64748B); margin: 10px 4px 0; line-height: 1.5; }
.app-anat-canvas { position: relative; }
.app-anat-ring {
  position: absolute; border: 3px solid var(--c); border-radius: 10px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 25%, transparent);
  cursor: pointer; transition: opacity .25s ease, box-shadow .25s ease, background .25s ease;
  opacity: .55;
}
.app-anat-ring.on {
  opacity: 1;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent),
              0 0 26px color-mix(in srgb, var(--c) 45%, transparent);
  z-index: 3;
}
.app-anat-ring.dim { opacity: .18; }
.app-anat-ring-tag {
  position: absolute; top: -11px; left: 10px;
  background: var(--c); color: #fff; border-radius: 999px;
  font: 800 10px/1 var(--font-mono, ui-monospace, monospace);
  padding: 4px 8px; letter-spacing: .05em;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.app-anat-cap-idle { color: var(--ink-3, #64748B); }

/* ── DELAVNICE (WorkshopsSection): mozaik malih barvnih ploščic + filtri zgoraj ── */
.ws { padding: 96px 24px; }
.ws-inner { max-width: 1160px; margin: 0 auto; }
.ws-state { text-align: center; color: var(--ink-3); padding: 24px 0; }
.ws-cta-top { margin-top: 26px; }
.ws-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }

/* filtrirna vrstica nad mozaikom — polna širina mozaika */
.ws-filterbar { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 26px; }
.ws-fbar-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ws-search { flex: 1 1 220px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9999px; font-family: inherit; font-size: 13px; background: var(--card); color: var(--ink); outline: none; }
.ws-search:focus { border-color: var(--accent); }
.ws-sel { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9999px; font-family: inherit; font-size: 13px; background: var(--card); color: var(--ink); cursor: pointer; }
.ws-pricebox { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 9999px; padding: 7px 14px; background: var(--card); white-space: nowrap; }
.ws-pricebox strong { color: var(--ink); }
.ws-range { width: 120px; accent-color: var(--accent); }
.ws-clear { border: 1px solid var(--line); background: var(--page); color: var(--ink-2); border-radius: 9999px; padding: 8px 14px; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.ws-clear:hover { border-color: var(--accent); color: var(--accent); }
.ws-clear.is-hidden { visibility: hidden; pointer-events: none; }
.ws-pricebox strong { display: inline-block; min-width: 4ch; text-align: right; }
/* 4 sklopi v ENI vrsti čez celotno širino; responsive: auto-fit zloži v 2 oz. 1 stolpec */
.ws-fbar-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 10px; }
.ws-fbar-groups .ws-chip { width: 100%; justify-content: center; text-align: center; padding: 10px 12px; line-height: 1.3; }
.ws-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 12px; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.ws-chip.on { border-color: var(--c); color: var(--ink); background: color-mix(in srgb, var(--c) 12%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.ws-chip:not(.on) { opacity: .5; }
.ws-chip:hover { opacity: 1; transform: translateY(-1px); border-color: var(--c); }


/* mozaik — šahovnica malih ploščic (~1/4 velikosti kartic) */
.ws-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
.ws-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 118px; border-radius: 12px; padding: 14px 14px 12px; text-decoration: none; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.08), inset 0 1px 8px rgba(0,0,0,.12); transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.ws-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top left, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.ws-tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 34px -12px rgba(2,6,23,.45); filter: saturate(1.15); z-index: 2; }
.ws-tile-title { color: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; text-shadow: 0 1px 3px rgba(0,0,0,.3); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ws-tile-date { align-self: flex-start; font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(0,0,0,.28); border-radius: 999px; padding: 3px 9px; letter-spacing: .03em; backdrop-filter: blur(2px); }
.ws-all { text-align: center; margin-top: 34px; }

@media (max-width: 700px) {
  .ws { padding: 64px 16px; }
  .ws-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}


/* ── ACARD: enotna kartica po vzoru Workshops aplikacije (WorkshopCard 1:1)
   — uporabljajo jo Delavnice, Razpisi, Novice in Politike ── */
.acard { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .3s ease; cursor: pointer; text-decoration: none; color: inherit; }
.acard:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); border-color: #818CF8; }
.acard-banner { position: relative; height: 144px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: .9; box-shadow: inset 0 2px 10px rgba(0,0,0,.15); transition: opacity .3s ease; }
.acard:hover .acard-banner { opacity: 1; }
.acard-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,.2), transparent 70%); }
.acard-icon { width: 64px; height: 64px; object-fit: contain; z-index: 1; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); transition: transform .3s ease; }
.acard-glyph { font-size: 52px; color: #fff; opacity: .3; z-index: 1; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); transition: transform .3s ease, opacity .3s ease; line-height: 1; }
.acard:hover .acard-icon, .acard:hover .acard-glyph { transform: scale(1.1); opacity: .7; }
.acard-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.acard-title { font-size: 16px; font-weight: 700; line-height: 1.25; margin: 0 0 12px; color: var(--ink); flex-grow: 1; transition: color .2s ease; }
.acard:hover .acard-title { color: #4F46E5; }
.acard-desc { font-size: 14px; line-height: 1.625; color: var(--ink-3); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-instr { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.acard-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--page); border: 1px solid var(--line); overflow: hidden; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.acard-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.acard-meta { display: flex; flex-direction: column; gap: 8px; background: var(--page); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.acard-dates { display: flex; align-items: flex-start; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.acard-dates > span:first-child { flex: 0 0 auto; margin-top: 1px; }
.acard-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.acard-meta-row strong { font-weight: 600; color: var(--ink-2); }
.acard-meta-row em { font-style: normal; font-weight: 400; font-size: 10px; color: var(--ink-4); margin-left: 4px; }
.acard-price { font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.acard-chip { display: inline-block; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 9px; background: var(--line); color: var(--ink-2); white-space: nowrap; }
.acard-chip.is-soon { background: #FEF3C7; color: #92400E; }
.acard-chip.is-urgent { background: #FEE2E2; color: #B91C1C; }
.acard-actions { display: flex; gap: 8px; margin-top: auto; }
.acard-actions--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.acard-btn-light { flex: 1; display: inline-flex; align-items: center; justify-content: center; border: none; background: var(--page); color: var(--ink-2); border-radius: 4px; padding: 10px 8px; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
.acard-btn-light:hover { background: var(--line); color: var(--ink); }
.acard-btn-dark { flex: 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; background: #0F172A; color: #fff; border-radius: 4px; padding: 10px 8px; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: background .2s ease; }
.acard-btn-dark:hover { background: #4F46E5; color: #fff; }
[data-theme="dark"] .acard-btn-dark { background: #4F46E5; }
[data-theme="dark"] .acard-btn-dark:hover { background: #6366F1; }
[data-theme="dark"] .acard:hover .acard-title { color: #818CF8; }
.acard-glyph--txt { font-family: var(--font-sans); font-weight: 900; font-size: 44px; letter-spacing: .08em; }
.acard-glyph--txt.is-long { font-size: 22px; letter-spacing: .18em; }
