/* ============================================================
   MeetCal Design System — esign.rankingstrony.pl override
   Kopiuje założenia wizualne landing page meetcal.io
   Ładuje się PO main.css — nadpisuje zmienne i style.
   ============================================================ */

/* ─── 1. FONTY ──────────────────────────────────────────────
   Dodajemy Syne (display) i JetBrains Mono identycznie jak
   w meetcal landing. DM Sans już jest w main.css.
   ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ─── 2. ZMIENNE — paleta MeetCal ───────────────────────── */
:root {
    /* Tło — identyczne z MeetCal surface */
    --color-bg:          #080c18;
    --color-bg-alt:      #0d1225;
    --color-bg-card:     #111827;
    --color-bg-card-hover: #151f33;
    --color-surface:     #0f172a;
    --color-border:      rgba(255,255,255,0.08);
    --color-border-light: rgba(255,255,255,0.12);

    /* Brand — MeetCal brand blue */
    --color-primary:       #2563ff;
    --color-primary-dark:  #1d4ed8;
    --color-primary-light: #3b74ff;
    --color-primary-glow:  rgba(37,99,255,0.15);

    /* Accent — MeetCal cyan zamiast zielonego */
    --color-accent:       #6ee7f7;
    --color-accent-dark:  #22d3ee;
    --color-accent-light: #a5f3fc;

    /* Teksty */
    --color-text:          #f0f4ff;
    --color-text-secondary: #8899bb;
    --color-text-muted:    #64748b;
    --color-text-heading:  #ffffff;

    /* Fonty MeetCal */
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Promienie */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Cienie z glowem jak w MeetCal */
    --shadow-sm:   0 1px 2px rgba(0,0,0,0.4);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px rgba(37,99,255,0.25), 0 0 80px rgba(37,99,255,0.08);
    --shadow-glow-accent: 0 0 40px rgba(110,231,247,0.2);
}

/* ─── 3. BODY / TYPOGRAPHY ──────────────────────────────── */
body {
    background-color: var(--color-bg);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    letter-spacing: -0.02em;
}

/* ─── 4. UTILITY CLASSES — identyczne jak MeetCal ────────── */

/* Gradient tekst biały → cyan */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Alternatywny: brand blue → cyan */
.gradient-text-brand {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient tło — CTA button */
.gradient-brand {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* Glassmorphism — MeetCal glass */
.glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glow box-shadow jak w MeetCal */
.glow {
    box-shadow: var(--shadow-glow);
}
.glow-accent {
    box-shadow: var(--shadow-glow-accent);
}

/* Float animacja (hero cards) */
@keyframes mc-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.animate-float {
    animation: mc-float 4s ease-in-out infinite;
}

/* Dot grid background pattern — MeetCal */
.dot-grid {
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ─── 5. NAVBAR ──────────────────────────────────────────── */
.navbar {
    background: rgba(8,12,24,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.navbar.scrolled {
    background: rgba(8,12,24,0.95);
    border-bottom-color: var(--color-border);
    box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

.navbar-brand {
    font-family: var(--font-heading);
}

.navbar-logo-text {
    font-family: var(--font-heading);
}

.navbar-logo-text span {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.navbar-cta {
    background: var(--color-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.2s;
}
.navbar-cta:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 4px 20px rgba(37,99,255,0.4);
    transform: translateY(-1px);
}

/* ─── 6. HERO ────────────────────────────────────────────── */
.hero {
    background-color: var(--color-bg);
}

/* Zastępujemy gradienty tła MeetCalem */
.hero::before {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(37,99,255,0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 60%, rgba(110,231,247,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(37,99,255,0.06) 0%, transparent 50%);
}

/* Dot grid na hero — jak MeetCal */
.hero-grid {
    background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* Aurora — delikatny glow w tle */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 800px 400px at 50% 20%, rgba(37,99,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 80% 70%, rgba(110,231,247,0.04) 0%, transparent 50%);
}

/* Highlight w h1 — gradient biały → cyan */
.hero-content h1 .highlight,
h1 .highlight {
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero float cards — glass */
.hero-float-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.hero-float-card .card-value {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero badges — glass pill */
.hero-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    transition: all 0.2s;
}
.hero-badge:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(110,231,247,0.2);
}

/* Hero image */
.hero-image {
    border: 1px solid var(--color-border);
    box-shadow: 0 0 80px rgba(37,99,255,0.2);
    border-radius: var(--radius-xl);
}

/* ─── 7. SECTION LABEL — MeetCal pill z pulsingiem ─────── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(110,231,247,0.08);
    border: 1px solid rgba(110,231,247,0.2);
    padding: 0.35rem 1rem;
    border-radius: 100px;
}

/* ─── 8. BUTTONS ─────────────────────────────────────────── */

/* Btn-primary — gradient jak MeetCal */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3b74ff 100%);
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(37,99,255,0.35);
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #3b74ff 0%, var(--color-accent) 100%);
    box-shadow: 0 6px 32px rgba(37,99,255,0.5), 0 0 60px rgba(37,99,255,0.15);
    transform: translateY(-2px);
    color: #fff;
}

/* Btn-outline — glass jak MeetCal */
.btn-outline {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(110,231,247,0.3);
    color: var(--color-accent);
}

/* Btn-sm — dodajemy radius */
.btn-sm {
    border-radius: var(--radius-md);
}

/* Btn-lg */
.btn-lg {
    border-radius: var(--radius-xl);
    padding: 1rem 2rem;
}

/* ─── 9. FEATURE CARDS ───────────────────────────────────── */
.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(37,99,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,255,0.12), 0 0 0 1px rgba(37,99,255,0.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-heading);
}

/* Feature icon — glow w kolorze brand */
.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(37,99,255,0.12);
    border: 1px solid rgba(37,99,255,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: rgba(37,99,255,0.2);
    border-color: rgba(110,231,247,0.3);
    box-shadow: 0 0 20px rgba(37,99,255,0.2);
}

/* ─── 10. SERVICE CARDS ──────────────────────────────────── */
.service-card,
.pricing-card,
.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.service-card:hover,
.blog-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(37,99,255,0.3);
    box-shadow: 0 12px 40px rgba(37,99,255,0.1);
    transform: translateY(-3px);
}

/* Pricing highlighted */
.pricing-card.featured,
.pricing-card.popular {
    background: rgba(37,99,255,0.08);
    border-color: rgba(37,99,255,0.35);
    box-shadow: 0 0 40px rgba(37,99,255,0.12);
}

.pricing-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── 11. SEKCJE TŁA ─────────────────────────────────────── */
.features-section,
.services-section,
.testimonials-section,
.faq-section {
    background-color: var(--color-bg);
    position: relative;
}

/* Naprzemienne sekcje lekko jaśniejsze — jak MeetCal alt */
.services-section:nth-of-type(even),
.features-section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

/* Subtle sekcja separator */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0;
}

/* ─── 12. STATS / TRUST BAR ──────────────────────────────── */
.trust-bar,
.stats-bar {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-value,
.trust-number {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── 13. TESTIMONIALS ───────────────────────────────────── */
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(110,231,247,0.2);
    box-shadow: 0 8px 32px rgba(37,99,255,0.08);
}

.stars svg,
.stars i {
    color: var(--color-accent) !important;
}

/* ─── 14. CTA SECTION ────────────────────────────────────── */
.cta-section,
.cta-block {
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(37,99,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2,
.cta-block h2 {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* ─── 15. FORMS / INPUTS ─────────────────────────────────── */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    transition: all 0.2s;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    background: rgba(37,99,255,0.06);
    box-shadow: 0 0 0 3px rgba(37,99,255,0.12);
    outline: none;
}

/* ─── 16. FOOTER ─────────────────────────────────────────── */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-logo-text span {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-link {
    color: var(--color-text-secondary);
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--color-accent);
}

/* ─── 17. BLOG / ARTICLES ────────────────────────────────── */
.blog-card .blog-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.blog-tag,
.tag {
    background: rgba(37,99,255,0.12);
    border: 1px solid rgba(37,99,255,0.2);
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border-radius: 100px;
    padding: 0.2rem 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── 18. BADGES / STATUS ────────────────────────────────── */
.badge-success { background: rgba(110,231,247,0.1); color: var(--color-accent); border: 1px solid rgba(110,231,247,0.2); }
.badge-primary { background: rgba(37,99,255,0.12); color: var(--color-primary-light); border: 1px solid rgba(37,99,255,0.2); }
.badge-warning { background: rgba(245,158,11,0.1); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }

/* ─── 19. LANG SWITCH ────────────────────────────────────── */
.lang-switch {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.lang-switch a.active {
    background: var(--color-primary);
    color: #fff;
}

/* ─── 20. SCROLL ANIMACJE — MeetCal fade-in ─────────────── */
@keyframes mc-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes mc-fade-right {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes mc-fade-left {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.mc-animate {
    opacity: 0;
}
.mc-animate.in-view {
    animation: mc-fade-up 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* ─── 21. BREADCRUMBS ────────────────────────────────────── */
.breadcrumb a {
    color: var(--color-text-muted);
}
.breadcrumb a:hover {
    color: var(--color-accent);
}

/* ─── 22. TABLE ──────────────────────────────────────────── */
.table th {
    background: rgba(37,99,255,0.08);
    color: var(--color-text-heading);
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(37,99,255,0.2);
}
.table td {
    border-bottom: 1px solid var(--color-border);
}
.table tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ─── 23. SCROLLBAR — MeetCal style ─────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
    background: rgba(37,99,255,0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(37,99,255,0.5);
}

/* ─── 24. SELECTION ─────────────────────────────────────── */
::selection {
    background: rgba(37,99,255,0.3);
    color: #fff;
}

/* ─── 25. FOCUS visible ──────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ─── 26. Pulsing dot (jak MeetCal badge indicator) ──────── */
@keyframes mc-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: mc-pulse 2s ease-in-out infinite;
    display: inline-block;
}

/* ─── 27. CODE blocks ────────────────────────────────────── */
code, pre {
    font-family: var(--font-mono);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}
pre {
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

/* ─── 28. SOCIAL PROOF BAR (MeetCal style) ──────────────── */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: nowrap;     /* nie łamaj wiersza */
}

/* Gwiazdki — po lewej, nieruchome */
.hsp-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fbbf24;
    flex-shrink: 0;
    line-height: 1;        /* eliminuje dodatkowy vertical space */
}

/* Tekst w środku */
.hsp-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    white-space: nowrap;
}

.hsp-text strong {
    color: var(--color-text);
    font-weight: 700;
}

/* Avatary — po prawej */
.hsp-avatars {
    display: flex;
    flex-direction: row;   /* normalna kolejność, HTML już odwrócony */
    align-items: center;
    flex-shrink: 0;
}

.hsp-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #080c18;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    margin-left: -8px;
    transition: margin-left 0.2s ease;
}

.hsp-avatars .hsp-avatar:first-child {
    margin-left: 0;
}

/* Hover: avatary się rozsuwają — BEZ zmiany pozycji gwiazdek/tekstu */
.hsp-avatars:hover .hsp-avatar {
    margin-left: -4px;
}

@media (max-width: 640px) {
    .hero-social-proof {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    .hsp-text {
        font-size: 0.8rem;
        white-space: normal;
    }
}

/* ═══════════════════════════════════════════════════════════
   IDnow Verification Mock Animation
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper / Browser frame ── */
.idnow-mock {
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    overflow: hidden;
    background: #0d1425;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 80px rgba(37,99,255,0.2), 0 24px 64px rgba(0,0,0,0.6);
    position: relative;
}

/* ── Browser chrome bar ── */
.idnow-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.idnow-dots {
    display: flex;
    gap: 5px;
}
.idnow-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
}
.idnow-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-family: var(--font-mono);
    max-width: 220px;
    margin: 0 auto;
}
.idnow-bar-actions {
    display: flex;
    gap: 5px;
}
.idnow-bar-btn {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
}

/* ── App header (logo + steps + badge) ── */
.idnow-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}
.idnow-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
}
.idnow-step-pills {
    display: flex;
    align-items: center;
    gap: 4px;
}
.idnow-step-pill {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.35);
    border: 1.5px solid rgba(255,255,255,0.1);
    transition: all 0.4s;
}
.idnow-step-pill.active {
    background: #2563ff;
    color: #fff;
    border-color: #3b74ff;
    box-shadow: 0 0 10px rgba(37,99,255,0.5);
}
.idnow-step-pill.done {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
    border-color: rgba(34,197,94,0.4);
}
.idnow-step-line {
    width: 16px;
    height: 1.5px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    transition: background 0.4s;
}
.idnow-step-line.done {
    background: rgba(34,197,94,0.4);
}
.idnow-secure-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #6ee7f7;
    background: rgba(110,231,247,0.08);
    border: 1px solid rgba(110,231,247,0.2);
    padding: 3px 8px;
    border-radius: 100px;
}

/* ── Stage container ── */
.idnow-stage {
    min-height: 300px;
    position: relative;
}
.idnow-screen {
    padding: 16px;
    animation: idnow-fade-in 0.5s ease forwards;
}
.idnow-screen.hidden {
    display: none;
}
@keyframes idnow-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.idnow-scan-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #6ee7f7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

/* ── STAGE 1: Video call ── */
.idnow-video-grid {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 8px;
    margin-bottom: 10px;
}
.idnow-video-box {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.idnow-video-box.agent {
    background: linear-gradient(135deg, #0f1d35 0%, #1a2d4f 100%);
}
.idnow-video-box.user {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}
.idnow-video-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 6px;
    position: relative;
    z-index: 2;
}
.idnow-avatar {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-avatar {
    width: 52px;
    height: 52px;
    background: rgba(37,99,255,0.25);
    border: 2px solid rgba(37,99,255,0.5);
}
.user-avatar {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
}
.idnow-video-name {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
}
.idnow-video-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.1em;
}
.idnow-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: idnow-pulse 1.5s ease-in-out infinite;
}
@keyframes idnow-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.5; transform:scale(0.7); }
}
.idnow-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.agent-overlay {
    background: radial-gradient(ellipse at 30% 40%, rgba(37,99,255,0.12) 0%, transparent 70%);
    animation: agent-glow 3s ease-in-out infinite alternate;
}
@keyframes agent-glow {
    from { opacity:0.6; }
    to   { opacity:1; }
}
.idnow-corner-label {
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-size: 0.55rem;
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.5);
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 3;
}
.idnow-call-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
}
.idnow-call-timer {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.idnow-call-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}
.idnow-call-controls {
    display: flex;
    gap: 6px;
}
.idnow-ctrl-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: all 0.2s;
}
.idnow-ctrl-btn.muted  { background: rgba(239,68,68,0.2); color: #ef4444; }
.idnow-ctrl-btn.active { background: rgba(37,99,255,0.25); color: #3b74ff; }
.idnow-ctrl-btn.end    { background: rgba(239,68,68,0.8); color: #fff; }
.idnow-instruction-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(110,231,247,0.06);
    border: 1px solid rgba(110,231,247,0.15);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
}

/* ── STAGE 2: Document scan ── */
.idnow-scan-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.idnow-id-card {
    width: 100%;
    max-width: 300px;
    height: 110px;
    background: linear-gradient(135deg, #1a2744 0%, #1e3156 100%);
    border-radius: 10px;
    border: 1px solid rgba(59,116,255,0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(37,99,255,0.2);
}
.idnow-id-chip {
    width: 28px;
    height: 22px;
    background: linear-gradient(135deg, #d4a843, #f5c842);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}
.chip-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}
.chip-lines div {
    height: 2px;
    background: rgba(0,0,0,0.3);
    border-radius: 1px;
}
.idnow-id-photo {
    width: 44px;
    height: 58px;
    background: rgba(255,255,255,0.08);
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.idnow-id-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.idnow-id-line {
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
.idnow-id-line.w80 { width: 80%; }
.idnow-id-line.w60 { width: 60%; }
.idnow-id-line.w70 { width: 70%; }
.idnow-id-line.w100 { width: 100%; }
.idnow-id-line.mono {
    height: 4px;
    background: rgba(110,231,247,0.2);
    font-family: var(--font-mono);
}
.idnow-id-mrz {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
/* Scan line sweep */
.idnow-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6ee7f7, transparent);
    box-shadow: 0 0 10px rgba(110,231,247,0.6);
    animation: scan-sweep 2s ease-in-out infinite;
    z-index: 10;
}
@keyframes scan-sweep {
    0%   { top: 0; opacity: 1; }
    80%  { top: 100%; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
/* Corner markers */
.idnow-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: #6ee7f7;
    border-style: solid;
    opacity: 0.8;
    z-index: 11;
}
.idnow-corner.tl { top:4px; left:4px;   border-width: 2px 0 0 2px; }
.idnow-corner.tr { top:4px; right:4px;  border-width: 2px 2px 0 0; }
.idnow-corner.bl { bottom:4px; left:4px;  border-width: 0 0 2px 2px; }
.idnow-corner.br { bottom:4px; right:4px; border-width: 0 2px 2px 0; }

/* OCR results */
.idnow-ocr-results {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.idnow-ocr-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 0.68rem;
    animation: idnow-fade-in 0.3s ease forwards;
}
.idnow-ocr-row.hidden { display: none; }
.ocr-field { color: rgba(255,255,255,0.45); }
.ocr-value {
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.65rem;
}
/* Progress bar */
.idnow-progress-bar-wrap {
    margin-top: 8px;
    width: 100%;
}
.idnow-progress-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    font-family: var(--font-mono);
    margin-bottom: 5px;
}
.idnow-progress-track {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.idnow-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563ff, #6ee7f7);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ── STAGE 3: Face match ── */
.idnow-face-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.idnow-face-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(37,99,255,0.06);
    border: 2px solid rgba(37,99,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.idnow-face-silhouette {
    position: relative;
    z-index: 2;
}
.idnow-face-ring {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #6ee7f7;
    border-right-color: #3b74ff;
    animation: face-spin 2s linear infinite;
    z-index: 3;
}
@keyframes face-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.idnow-face-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #6ee7f7;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(110,231,247,0.8);
    z-index: 4;
    animation: dot-blink 1.2s ease-in-out infinite;
}
@keyframes dot-blink {
    0%,100% { opacity:1; transform:scale(1); }
    50%     { opacity:0.3; transform:scale(0.5); }
}
.idnow-match-score {
    width: 100%;
    max-width: 280px;
    text-align: center;
}
.idnow-match-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    font-family: var(--font-mono);
}
.idnow-match-bar {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}
.idnow-match-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563ff, #22c55e);
    border-radius: 3px;
    transition: width 0.2s ease;
}
.idnow-match-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

/* ── STAGE 4: Success ── */
.idnow-success-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.idnow-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34,197,94,0.12);
    border: 2px solid rgba(34,197,94,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(34,197,94,0.2);
    animation: success-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes success-pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.idnow-success-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}
.idnow-success-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: -4px;
}
.idnow-cert-card {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}
.idnow-cert-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.idnow-cert-row:last-child { border-bottom: none; }
.idnow-cert-row span:nth-child(2) { flex: 1; }
.cert-badge {
    background: rgba(37,99,255,0.2);
    color: #3b74ff;
    border: 1px solid rgba(37,99,255,0.3);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.cert-badge.green {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border-color: rgba(34,197,94,0.3);
}
.cert-date {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
}
.idnow-download-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #2563ff, #3b74ff);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 9px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(37,99,255,0.35);
    cursor: pointer;
    animation: idnow-fade-in 0.5s 0.3s ease both;
}

/* ═══════════════════════════════════════════════════════════
   Hero CTA Button — MeetCal gradient (#2563ff → #6ee7f7)
   ═══════════════════════════════════════════════════════════ */

.btn-primary {
    background: linear-gradient(135deg, #2563ff 0%, #6ee7f7 100%) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 255, 0.4), 0 1px 3px rgba(0,0,0,0.3) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.15s ease !important;
}

/* Shimmer sweep na hover */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.18) 50%,
        transparent 65%);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #5dd8f0 100%) !important;
    box-shadow: 0 6px 28px rgba(37, 99, 255, 0.55), 0 2px 6px rgba(0,0,0,0.3) !important;
    transform: translateY(-2px) !important;
}

.btn-primary:hover::after {
    background-position: 200% 0;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(37, 99, 255, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: IDnow animation visible + horizontal scroll fix
   ═══════════════════════════════════════════════════════════ */

/* iOS Safari: prevent ALL sections from causing horizontal overflow */
section, .vo-section, .cta-section, .features-section,
.services-section, .contact-section {
    overflow-x: hidden;
}

/* ── Show animation on mobile (below hero text) ── */
@media (max-width: 968px) {
    /* Override main.css display:none */
    .hero-visual {
        display: flex !important;
        justify-content: center;
        margin-top: 2.5rem;
        width: 100%;
    }

    /* Scale down the mock for mobile */
    .idnow-mock {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }

    /* Hero stacks: text first, animation second */
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Shrink browser chrome bar text on small screens */
    .idnow-url {
        font-size: 0.6rem;
        max-width: 160px;
    }

    /* Shrink step pills */
    .idnow-pill {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    /* Reduce orb sizes that cause overflow */
    .vo-orb-1 { width: 280px !important; height: 280px !important; left: -60px !important; }
    .vo-orb-2 { width: 220px !important; height: 220px !important; right: -40px !important; }
}

@media (max-width: 480px) {
    .idnow-mock {
        max-width: 300px;
    }

    /* Stage screens — reduce internal padding */
    .idnow-screen {
        padding: 12px !important;
    }

    /* Video call boxes smaller */
    .idnow-agent-box {
        min-height: 110px !important;
    }
    .idnow-you-box {
        width: 90px !important;
        height: 70px !important;
        right: 8px !important;
        top: 8px !important;
    }
}

/* ============================================================
   VIDEO VERIFICATION PAGE — vv-* styles
   ============================================================ */

/* HERO */
.vv-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: #0a0e17;
}
.vv-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,255,.12) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(110,231,247,.06) 0%, transparent 50%);
  pointer-events: none;
}
.vv-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,255,.12);
  border: 1px solid rgba(37,99,255,.3);
  color: #6ee7f7;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.vv-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.vv-hero__desc {
  font-size: 1.05rem;
  color: #8898b3;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.vv-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.vv-hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.vv-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: #6ee7f7;
  font-weight: 500;
}

/* IDnow Demo Widget */
.vv-hero__animation {
  display: flex;
  justify-content: center;
}
.idnow-demo {
  width: 340px;
  background: #111827;
  border: 1px solid rgba(37,99,255,.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(110,231,247,.05);
}
.idnow-demo__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0d1117;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.idnow-demo__dots {
  display: flex;
  gap: 5px;
}
.idnow-demo__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.idnow-demo__dots span:first-child { background: #ef4444; }
.idnow-demo__dots span:nth-child(2) { background: #f59e0b; }
.idnow-demo__dots span:nth-child(3) { background: #22c55e; }
.idnow-demo__title {
  flex: 1;
  font-size: .78rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
}
.idnow-demo__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: #22c55e;
}
.idnow-demo__dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.idnow-demo__body {
  height: 230px;
  position: relative;
  overflow: hidden;
}
.idnow-demo__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity .4s ease;
}
.idnow-demo__stage--hidden {
  opacity: 0;
  pointer-events: none;
}

/* Stage 1 — Video call */
.idnow-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.idnow-video-box {
  background: #1a2332;
  border-radius: 10px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.idnow-video-agent { border-color: rgba(37,99,255,.3); }
.idnow-video-you   { border-color: rgba(110,231,247,.2); }
.idnow-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idnow-avatar--agent { background: rgba(37,99,255,.2); color: #6ee7f7; }
.idnow-avatar--you   { background: rgba(110,231,247,.15); color: #6ee7f7; }
.idnow-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: #6ee7f7;
}
.idnow-label--you { color: #94a3b8; }
.idnow-instruction {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,255,.15);
  border: 1px solid rgba(37,99,255,.3);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: .68rem;
  color: #94a3b8;
  grid-column: 1 / -1;
  margin-top: 8px;
  position: relative;
  bottom: auto;
}

/* Stage 2 — Scan */
.idnow-scan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
}
.idnow-doc {
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(37,99,255,.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.idnow-doc__chip { color: #6ee7f7; }
.idnow-doc__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.idnow-doc__lines div {
  width: 50px;
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
}
.idnow-doc__lines div.short { width: 30px; }
.idnow-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6ee7f7, transparent);
  border-radius: 1px;
  animation: scanMove 1.5s ease-in-out infinite;
}
@keyframes scanMove {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 80px; opacity: 0; }
}
.idnow-scan__progress {
  width: 100%;
  text-align: center;
}
.idnow-scan__label {
  font-size: .72rem;
  color: #6ee7f7;
  margin-bottom: 6px;
  font-weight: 500;
}
.idnow-scan__bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.idnow-scan__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563ff, #6ee7f7);
  border-radius: 3px;
  transition: width .15s ease;
}
.idnow-scan__pct {
  font-size: .72rem;
  color: #6ee7f7;
  font-weight: 700;
}

/* Stage 3 — Biometrics */
.idnow-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.idnow-face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idnow-bio__pct {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #2563ff;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
}
.idnow-bio__label {
  font-size: .75rem;
  color: #6ee7f7;
  font-weight: 600;
}
.idnow-bio__points {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.idnow-bio__point {
  font-size: .68rem;
  color: #334155;
  font-weight: 500;
  transition: color .3s ease;
}
.idnow-bio__point.visible { color: #22c55e; }
@keyframes vvRingFill {
  from { stroke-dashoffset: 264; }
  to   { stroke-dashoffset: 0; }
}

/* Stage 4 — Success */
.idnow-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.idnow-success__icon { animation: popIn .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.idnow-success__title {
  font-size: .92rem;
  font-weight: 700;
  color: #22c55e;
}
.idnow-success__cert,
.idnow-success__download {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: #94a3b8;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 5px 12px;
  border-radius: 6px;
}
.idnow-success__download {
  color: #6ee7f7;
  border-color: rgba(37,99,255,.3);
  cursor: pointer;
}

/* Demo Footer — steps */
.idnow-demo__footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.idnow-steps {
  display: flex;
  gap: 4px;
}
.idnow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .62rem;
  color: #334155;
  font-weight: 600;
  transition: color .3s ease;
}
.idnow-step span {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  transition: background .3s ease, color .3s ease;
}
.idnow-step--active { color: #6ee7f7; }
.idnow-step--active span { background: rgba(37,99,255,.4); color: #fff; }

/* ── STEPS SECTION ── */
.vv-steps {
  padding: 100px 0;
  background: #0d1117;
}
.vv-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.vv-step-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 28px 22px;
  position: relative;
  transition: border-color .3s ease, transform .3s ease;
}
.vv-step-card:hover {
  border-color: rgba(37,99,255,.4);
  transform: translateY(-4px);
}
.vv-step-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(37,99,255,.15);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.vv-step-card__icon {
  width: 48px; height: 48px;
  background: rgba(37,99,255,.12);
  border: 1px solid rgba(37,99,255,.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7f7;
  margin-bottom: 16px;
}
.vv-step-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.vv-step-card p {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.6;
}

/* ── WHY VIDEO SECTION ── */
.vv-why {
  padding: 100px 0;
  background: #0a0e17;
}
.vv-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vv-why__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 16px 0 16px;
  line-height: 1.2;
}
.vv-why__text p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}
.vv-why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vv-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: #94a3b8;
  line-height: 1.5;
}
.vv-why__list li svg {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}
.vv-why__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vv-why__card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .3s ease;
}
.vv-why__card:hover { border-color: rgba(37,99,255,.3); }
.vv-why__card-icon {
  width: 46px; height: 46px;
  background: rgba(37,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7f7;
  flex-shrink: 0;
}
.vv-why__card-title {
  font-size: .9rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 2px;
}
.vv-why__card-desc {
  font-size: .78rem;
  color: #64748b;
  line-height: 1.4;
}

/* ── REQUIREMENTS SECTION ── */
.vv-requirements {
  padding: 100px 0;
  background: #0d1117;
}
.vv-req__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vv-req__block {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 28px 24px;
}
.vv-req__block--docs { border-color: rgba(37,99,255,.2); }
.vv-req__block--time { border-color: rgba(110,231,247,.15); }
.vv-req__block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 18px;
}
.vv-req__block h3 svg { color: #6ee7f7; }
.vv-req__block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vv-req__block li {
  font-size: .83rem;
  color: #64748b;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.vv-req__block li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(37,99,255,.5);
}

/* ── PRODUCTS SECTION ── */
.vv-products {
  padding: 100px 0;
  background: #0a0e17;
}
.vv-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vv-product-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 32px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color .3s ease, transform .3s ease;
}
.vv-product-card:hover { border-color: rgba(37,99,255,.35); transform: translateY(-4px); }
.vv-product-card--featured {
  border-color: rgba(37,99,255,.4);
  background: linear-gradient(160deg, #111827 0%, #0f1a2e 100%);
}
.vv-product-card__ribbon {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, #2563ff, #6ee7f7);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.vv-product-card__icon {
  width: 56px; height: 56px;
  background: rgba(37,99,255,.12);
  border: 1px solid rgba(37,99,255,.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7f7;
}
.vv-product-card__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
}
.vv-product-card__badge--qes { background: rgba(37,99,255,.15); color: #6ee7f7; }
.vv-product-card__badge--seal { background: rgba(37,99,255,.2); color: #93c5fd; border: 1px solid rgba(37,99,255,.4); }
.vv-product-card__badge--delivery { background: rgba(110,231,247,.1); color: #6ee7f7; }
.vv-product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}
.vv-product-card p {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}
.vv-product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vv-product-card__features span {
  font-size: .7rem;
  font-weight: 600;
  color: #475569;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 3px 8px;
  border-radius: 6px;
}
.vv-product-card__cta {
  display: inline-block;
  background: rgba(37,99,255,.15);
  border: 1px solid rgba(37,99,255,.3);
  color: #6ee7f7;
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
  margin-top: 4px;
}
.vv-product-card__cta:hover { background: rgba(37,99,255,.25); border-color: rgba(37,99,255,.5); }
.vv-product-card__cta--featured {
  background: linear-gradient(135deg, #2563ff, #6ee7f7);
  border-color: transparent;
  color: #fff;
}
.vv-product-card__cta--featured:hover { opacity: .9; background: linear-gradient(135deg, #2563ff, #6ee7f7); }

/* ── FAQ ── */
.vv-faq { padding: 100px 0; background: #0d1117; }

/* ── CTA ── */
.vv-cta {
  padding: 100px 0;
  background: #0a0e17;
}
.vv-cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.vv-cta__icon {
  width: 80px; height: 80px;
  background: rgba(37,99,255,.12);
  border: 1px solid rgba(37,99,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7f7;
}
.vv-cta__inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.vv-cta__inner p { color: #64748b; font-size: 1rem; }
.btn-primary--large {
  font-size: 1rem;
  padding: 16px 36px;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .vv-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .vv-products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vv-hero__inner { grid-template-columns: 1fr; }
  .vv-hero__animation { order: -1; }
  .idnow-demo { width: 100%; max-width: 340px; }
  .vv-why__inner { grid-template-columns: 1fr; }
  .vv-req__grid { grid-template-columns: 1fr; }
  .vv-steps__grid { grid-template-columns: 1fr; }
  .vv-products__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE — Business Hours Widget  ct-hours-*
   Styl spójny z resztą panelu (ct-trust-section)
   ============================================================ */
.ct-hours-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: border-color .3s ease;
}
.ct-hours-card--open   { border-color: rgba(34,197,94,.35); }
.ct-hours-card--closed { border-color: var(--color-border); }

.ct-hours-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .75rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid var(--color-border);
}
.ct-hours-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
}
.ct-hours-title svg { color: var(--color-primary-light); flex-shrink: 0; }

.ct-hours-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 20px;
}
.ct-hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border-light);
  flex-shrink: 0;
}
.ct-hours-dot--open {
  background: #22c55e;
  animation: hoursPulse 2s ease-in-out infinite;
}
.ct-hours-dot--closed { background: #f87171; }
@keyframes hoursPulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.25); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.06); }
}
.ct-hours-card--open  .ct-hours-status {
  color: #4ade80;
  border-color: rgba(34,197,94,.3);
  background: rgba(34,197,94,.06);
}
.ct-hours-card--closed .ct-hours-status {
  color: #f87171;
  border-color: rgba(248,113,113,.25);
  background: rgba(248,113,113,.05);
}

.ct-hours-tz {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  color: var(--color-text-muted);
  margin-bottom: .9rem;
}
.ct-hours-tz svg { flex-shrink: 0; }

.ct-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ct-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: var(--radius-sm, 6px);
  border: 1px solid transparent;
  transition: background .2s ease;
}
.ct-hours-row:hover { background: var(--color-bg-card-hover); }

/* Today highlight */
.ct-hours-row--today {
  background: var(--color-primary-glow);
  border-color: rgba(59,130,246,.25);
}
.ct-hours-card--open  .ct-hours-row--today {
  background: rgba(34,197,94,.07);
  border-color: rgba(34,197,94,.3);
}

.ct-hours-day {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.ct-hours-row--today .ct-hours-day {
  color: var(--color-text-heading);
  font-weight: 700;
}

/* Pill "Dziś / Today" */
.ct-hours-today-pill {
  display: none;
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--color-primary-glow);
  color: var(--color-primary-light);
  line-height: 1.5;
}
.ct-hours-card--open .ct-hours-today-pill {
  background: rgba(34,197,94,.15);
  color: #4ade80;
}
.ct-hours-row--today .ct-hours-today-pill { display: inline-block; }

.ct-hours-time {
  font-size: .82rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ct-hours-row--today .ct-hours-time {
  color: var(--color-text-heading);
  font-weight: 700;
}
.ct-hours-closed-day .ct-hours-time {
  color: var(--color-text-muted);
  opacity: .5;
}

/* vv-req__note — ostrzeżenie pod listą wymagań */
.vv-req__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: .85rem;
  padding: .6rem .85rem;
  background: rgba(248,113,113,.07);
  border: 1px solid rgba(248,113,113,.25);
  border-radius: 8px;
  font-size: .78rem;
  color: #fca5a5;
  line-height: 1.5;
}
.vv-req__note svg { flex-shrink: 0; margin-top: 2px; color: #f87171; }

/* ============================================================
   SECTION-BADGE — etykieta nad nagłówkami sekcji
   ============================================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: var(--color-primary-glow);
  border: 1px solid rgba(59,130,246,.25);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   KSeF CTA — bardziej biznesowy nagłówek
   ============================================================ */
.cta-content h2 {
  font-family: var(--font-body);   /* Inter zamiast Plus Jakarta Sans */
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-heading);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAV DROPDOWN — Services mega-menu
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .35rem; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.nav-chevron { transition: transform .2s ease; flex-shrink: 0; opacity: .7; }
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown__menu {
  position: absolute; top: calc(100% + .75rem); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: 14px; padding: .5rem; min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1000; list-style: none; margin: 0;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu li { margin: 0; }
.nav-dropdown__menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .85rem; border-radius: 9px; color: var(--color-text);
  text-decoration: none; transition: background .15s, color .15s;
  font-size: .9rem; font-weight: 400;
}
.nav-dropdown__menu a:hover { background: rgba(37,99,255,.1); color: var(--color-primary-light); }
.nav-dropdown__menu a.active { color: var(--color-primary-light); background: rgba(37,99,255,.08); }
.ndm-icon { font-size: 1.1rem; width: 1.6rem; text-align: center; flex-shrink: 0; }
.ndm-text { display: flex; flex-direction: column; }
.ndm-text strong { font-weight: 600; font-size: .88rem; line-height: 1.3; color: var(--color-text-heading); }
.ndm-text em { font-style: normal; font-size: .75rem; color: var(--color-text-muted); margin-top: .1rem; }
.ndm-divider { border-top: 1px solid var(--color-border); margin-top: .4rem; padding-top: .4rem; }
.ndm-divider a { color: var(--color-primary-light); font-weight: 600; font-size: .82rem; }

/* ═══════════════════════════════════════════════════════
   MOBILE NAV — iOS touch-safe, 48px targets
   ═══════════════════════════════════════════════════════ */
@media (max-width: 968px) {

  /* Panel menu — BEZ overflow hidden/auto (uniknij przycinania submenus) */
  .navbar-nav.open {
    padding: 0.5rem 0.75rem 1.25rem !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  /* Każdy li w menu */
  .navbar-nav > li {
    width: 100%;
  }

  /* Każdy link — min 48px (Apple HIG) */
  .navbar-nav > li > a {
    min-height: 48px;
    width: 100%;
    display: flex !important;
    align-items: center;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 10px;
    margin-bottom: 2px;
    box-sizing: border-box;
  }

  /* Dropdown trigger link */
  .nav-dropdown > a {
    min-height: 48px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    margin-bottom: 2px;
    box-sizing: border-box;
  }

  /* Trigger otwarty */
  .nav-dropdown.open > a {
    background: rgba(37,99,255,0.12) !important;
    color: var(--color-white) !important;
    border-radius: 10px 10px 4px 4px !important;
    margin-bottom: 0 !important;
  }

  /* ── Submenu: całkowity reset desktop stylów, potem proste show/hide ── */
  .nav-dropdown__menu {
    /* Reset desktop */
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
    /* Wygląd mobilny */
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid rgba(37,99,255,0.4) !important;
    border-radius: 0 0 10px 10px !important;
    background: rgba(255,255,255,0.03) !important;
    padding: 0.25rem 0 0.5rem 0 !important;
    margin: 0 0 6px 0 !important;
    min-width: 0 !important;
    z-index: auto !important;
    /* Domyślnie ukryte */
    display: none !important;
  }

  /* Klasa .open na rodzicu pokazuje submenu */
  .nav-dropdown.open .nav-dropdown__menu {
    display: block !important;
  }

  /* Linki w submenu */
  .nav-dropdown__menu li {
    width: 100%;
  }
  .nav-dropdown__menu a {
    min-height: 46px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.92rem !important;
    border-radius: 6px !important;
    box-sizing: border-box;
    gap: 0.6rem !important;
    transition: background 0.15s !important;
  }
  .nav-dropdown__menu a:active {
    background: rgba(37,99,255,0.15) !important;
  }

  /* Ukryj opisy, ikony mniejsze */
  .ndm-text em { display: none !important; }
  .ndm-icon { font-size: 1rem; width: 1.4rem; }

  /* Divider link */
  .ndm-divider { border-top: 1px solid rgba(255,255,255,0.08) !important; margin-top: 0.3rem !important; padding-top: 0.3rem !important; }

  /* Lang switch */
  .lang-switch {
    margin-top: 0.75rem !important;
    padding: 0.35rem !important;
  }
  .lang-switch a {
    min-height: 38px;
    display: flex !important;
    align-items: center;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.85rem !important;
  }

  /* CTA button w menu */
  .navbar-cta {
    margin-top: 0.5rem !important;
    min-height: 50px !important;
    justify-content: center !important;
    width: 100% !important;
    border-radius: 10px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE PAGES — Shared layout components
   ═══════════════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.svc-breadcrumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--color-text-muted); margin-bottom: 1.5rem;
}
.svc-breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--color-primary-light); }
.svc-breadcrumb span:last-child { color: var(--color-text); }

/* Hero */
.svc-hero { padding: 8rem 0 5rem; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,255,.12), transparent); }
.svc-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.svc-hero__text h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin: 1rem 0 1.25rem; }
.svc-hero__lead { font-size: 1.1rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.75rem; }
.svc-hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.svc-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 600; padding: .3rem .75rem;
  background: rgba(37,99,255,.1); border: 1px solid rgba(37,99,255,.25);
  border-radius: 100px; color: var(--color-primary-light);
}
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.svc-hero__visual { position: relative; border-radius: 20px; overflow: hidden; }
.svc-hero__visual img { width: 100%; height: auto; display: block; border-radius: 20px; object-fit: cover; max-height: 380px; }
.svc-hero__float {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(10,14,23,.85); border: 1px solid var(--color-border);
  border-radius: 100px; padding: .5rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: var(--color-text);
  backdrop-filter: blur(12px);
}
.svc-hero__float--seal { border-color: rgba(110,231,247,.25); }
.svc-hero__float--delivery { border-color: rgba(16,185,129,.25); }

@media (max-width: 900px) {
  .svc-hero { padding: 6rem 0 3rem; }
  .svc-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* eIDAS levels comparison */
.svc-levels-section { padding: 4rem 0; background: rgba(255,255,255,.02); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.svc-levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-level-card {
  padding: 1.75rem; border-radius: 14px; border: 1px solid var(--color-border);
  background: var(--color-bg-card); position: relative;
  transition: border-color .2s;
}
.svc-level-card--dim { opacity: .55; }
.svc-level-card--active { border-color: var(--color-primary); background: rgba(37,99,255,.06); opacity: 1; }
.svc-level-card__badge {
  position: absolute; top: -1px; right: 1.2rem;
  background: var(--color-primary); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 0 0 8px 8px;
}
.svc-level-card__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); margin-bottom: .4rem; }
.svc-level-card__title { font-size: 2rem; font-weight: 800; color: var(--color-text-heading); margin-bottom: .75rem; }
.svc-level-card--active .svc-level-card__title { color: var(--color-primary-light); }
.svc-level-card p { font-size: .85rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 700px) { .svc-levels-grid { grid-template-columns: 1fr; } .svc-level-card--dim { opacity: .75; } }

/* Use cases grid */
.svc-use { padding: 5rem 0; }
.svc-use__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.svc-use__card { padding: 1.5rem; border-radius: 14px; border: 1px solid var(--color-border); background: var(--color-bg-card); transition: border-color .2s, transform .2s; }
.svc-use__card:hover { border-color: rgba(37,99,255,.4); transform: translateY(-2px); }
.svc-use__icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--uc-color, #2563ff) 15%, transparent); color: var(--uc-color, #2563ff); }
.svc-use__card h3 { font-size: .95rem; font-weight: 700; color: var(--color-text-heading); margin-bottom: .5rem; }
.svc-use__card p { font-size: .85rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .svc-use__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-use__grid { grid-template-columns: 1fr; } }

/* Steps */
.svc-steps { padding: 5rem 0; background: rgba(255,255,255,.02); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.svc-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; counter-reset: steps; }
.svc-step { text-align: center; padding: 1.5rem 1rem; }
.svc-step__num { font-size: 2.5rem; font-weight: 800; color: var(--color-primary); opacity: .35; line-height: 1; margin-bottom: 1rem; font-family: var(--font-mono); }
.svc-step h3 { font-size: 1rem; font-weight: 700; color: var(--color-text-heading); margin-bottom: .65rem; }
.svc-step p { font-size: .85rem; color: var(--color-text-muted); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .svc-steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-steps__grid { grid-template-columns: 1fr; } }

/* Features 2-col */
.svc-features { padding: 5rem 0; }
.svc-features__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.svc-features__inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 1rem 0 1.5rem; }
.svc-features__img { border-radius: 20px; overflow: hidden; }
.svc-features__img img { width: 100%; height: auto; display: block; border-radius: 20px; object-fit: cover; max-height: 360px; }
@media (max-width: 900px) { .svc-features__inner { grid-template-columns: 1fr; } .svc-features__img { order: -1; max-width: 480px; } }

/* Checklist */
.svc-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.svc-checklist li { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; color: var(--color-text-muted); line-height: 1.5; }
.svc-checklist li svg { color: var(--color-primary-light); flex-shrink: 0; margin-top: .15rem; }

/* What / intro section */
.svc-what { padding: 5rem 0; }
.svc-what__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.svc-what__grid h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin: 1rem 0 1.25rem; }
.svc-what__grid p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: 1rem; font-size: .95rem; }
@media (max-width: 900px) { .svc-what__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* QES vs QSeal comparison */
.svc-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.svc-comparison__col { padding: 1.5rem; border-radius: 14px; border: 1px solid var(--color-border); background: var(--color-bg-card); position: relative; }
.svc-comparison__col--active { border-color: var(--color-primary); background: rgba(37,99,255,.06); }
.svc-comparison__badge { position: absolute; top: -1px; right: 1rem; background: var(--color-primary); color: #fff; font-size: .65rem; font-weight: 700; padding: .2rem .6rem; border-radius: 0 0 7px 7px; }
.svc-comparison__head { font-size: 1.5rem; font-weight: 800; color: var(--color-text-heading); margin-bottom: .4rem; }
.svc-comparison__col--active .svc-comparison__head { color: var(--color-primary-light); }
.svc-comparison__col p { font-size: .8rem; color: var(--color-text-muted); margin-bottom: .75rem; }
.svc-comparison__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.svc-comparison__col ul li { font-size: .8rem; color: var(--color-text-muted); padding-left: .9rem; position: relative; }
.svc-comparison__col ul li::before { content: '›'; position: absolute; left: 0; color: var(--color-primary-light); }
@media (max-width: 560px) { .svc-comparison { grid-template-columns: 1fr; } }

/* Registered mail vs e-Delivery */
.svc-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.svc-vs__col { padding: 1.5rem; border-radius: 14px; border: 1px solid var(--color-border); background: var(--color-bg-card); position: relative; }
.svc-vs__col--active { border-color: var(--color-primary); background: rgba(37,99,255,.06); }
.svc-vs__badge { position: absolute; top: -1px; right: 1rem; background: var(--color-primary); color: #fff; font-size: .65rem; font-weight: 700; padding: .2rem .6rem; border-radius: 0 0 7px 7px; }
.svc-vs__head { font-size: 1rem; font-weight: 700; color: var(--color-text-heading); margin-bottom: 1rem; }
.svc-vs__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.svc-vs__list li { font-size: .82rem; color: var(--color-text-muted); padding-left: 1.2rem; position: relative; line-height: 1.4; }
.svc-vs__list--bad li::before { content: '✗'; position: absolute; left: 0; color: #ef4444; font-size: .75rem; }
.svc-vs__list--good li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-size: .75rem; }
@media (max-width: 560px) { .svc-vs { grid-template-columns: 1fr; } }

/* KSeF / mandatory alert banner */
.svc-ksef-alert { padding: 1.5rem 0; background: rgba(245,158,11,.05); border-top: 1px solid rgba(245,158,11,.2); border-bottom: 1px solid rgba(245,158,11,.2); }
.svc-ksef-alert--green { background: rgba(16,185,129,.05); border-color: rgba(16,185,129,.2); }
.svc-ksef-alert__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.svc-ksef-alert__icon { font-size: 2rem; flex-shrink: 0; }
.svc-ksef-alert__inner > div { flex: 1; min-width: 220px; }
.svc-ksef-alert__inner strong { font-size: 1rem; color: var(--color-text-heading); display: block; margin-bottom: .3rem; }
.svc-ksef-alert__inner p { font-size: .88rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }
.svc-ksef-alert__inner .btn { flex-shrink: 0; white-space: nowrap; }

/* Related services */
.svc-related { padding: 5rem 0; background: rgba(255,255,255,.02); border-top: 1px solid var(--color-border); }
.svc-related h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; margin-bottom: 2.5rem; text-align: center; }
.svc-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-related__card {
  padding: 1.75rem; border-radius: 16px; border: 1px solid var(--color-border);
  background: var(--color-bg-card); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-related__card:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,99,255,.12); }
.svc-related__icon { font-size: 2rem; }
.svc-related__card h3 { font-size: 1rem; font-weight: 700; color: var(--color-text-heading); margin: 0; }
.svc-related__card p { font-size: .85rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; flex: 1; }
.svc-related__link { font-size: .8rem; font-weight: 600; color: var(--color-primary-light); margin-top: .5rem; }
@media (max-width: 700px) { .svc-related__grid { grid-template-columns: 1fr; } }

/* Section header utility */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 0; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin: .75rem 0 1rem; }
.section-header p { color: var(--color-text-muted); font-size: .95rem; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   ESIGN MOCK ANIMATION — Calendar → Booking → Scan → Biometric → Certificate
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.esign-mock {
  background: #0f1623;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(37,99,255,0.12);
  overflow: hidden;
  font-family: var(--font-body);
  max-width: 520px;
  width: 100%;
}

/* ── Browser bar ── */
.esign-browser-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #0a0e17;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.esign-dots { display: flex; gap: 5px; }
.esign-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.esign-url {
  flex: 1; display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.05); border-radius: 5px;
  padding: 3px 10px; font-size: 0.7rem; color: rgba(255,255,255,0.4);
}
.esign-bar-actions { display: flex; gap: 4px; }
.esign-bar-btn { width: 14px; height: 8px; border-radius: 2px; background: rgba(255,255,255,0.08); }

/* ── Steps bar ── */
.esign-steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.esign-step-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  opacity: 0.35; transition: opacity 0.4s;
}
.esign-step-item.active { opacity: 1; }
.esign-step-item.done { opacity: 0.7; }
.esign-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(37,99,255,0.2); border: 1.5px solid rgba(37,99,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.6);
  transition: all 0.4s;
}
.esign-step-item.active .esign-step-num {
  background: #2563ff; border-color: #2563ff; color: white;
  box-shadow: 0 0 12px rgba(37,99,255,0.5);
}
.esign-step-item.done .esign-step-num { background: #22c55e; border-color: #22c55e; }
.esign-step-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.esign-step-item.active .esign-step-lbl { color: rgba(255,255,255,0.8); }
.esign-step-conn {
  flex: 1; height: 1px; background: rgba(255,255,255,0.1);
  margin: 0 0.3rem; margin-bottom: 10px; min-width: 20px;
}

/* ── Stage & screens ── */
.esign-stage { position: relative; min-height: 320px; }
.esign-screen { display: flex; flex-direction: column; animation: esFadeIn 0.5s ease; }
.esign-screen.hidden { display: none !important; }
@keyframes esFadeIn { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }

/* ══════════════════════════════════
   SCREEN 1 — Calendar (meetcal.io)
   ══════════════════════════════════ */
.ecal-wrap { display: flex; gap: 0; height: 320px; }
.ecal-main { flex: 1; padding: 0.75rem; border-right: 1px solid rgba(255,255,255,0.06); min-width: 0; }
.ecal-aside { width: 150px; padding: 0.75rem 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }

.ecal-hdr {
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.6rem;
}
.ecal-nav-btn {
  background: rgba(255,255,255,0.06); border: none; color: rgba(255,255,255,0.5);
  border-radius: 5px; width: 20px; height: 20px; display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem; cursor: pointer; padding: 0; line-height: 1;
}
.ecal-month-name { font-size: 0.78rem; font-weight: 600; color: white; flex: 1; }
.ecal-view-tabs { display: flex; background: rgba(255,255,255,0.05); border-radius: 5px; padding: 2px; }
.ecal-vtab { font-size: 0.6rem; padding: 2px 6px; border-radius: 3px; color: rgba(255,255,255,0.4); cursor: pointer; }
.ecal-vtab.active { background: rgba(37,99,255,0.3); color: rgba(255,255,255,0.9); }

.ecal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.ecal-wday {
  font-size: 0.58rem; font-weight: 600; text-align: center; color: rgba(255,255,255,0.3);
  padding-bottom: 4px; text-transform: uppercase;
}
.ecal-d {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding: 3px 2px; border-radius: 5px;
  font-size: 0.65rem; color: rgba(255,255,255,0.55); cursor: pointer;
  transition: background 0.15s; line-height: 1.3;
}
.ecal-d:hover { background: rgba(255,255,255,0.05); }
.ecal-d.prev { color: rgba(255,255,255,0.15); }
.ecal-d.avail { color: rgba(255,255,255,0.85); }
.ecal-d.busy { color: rgba(255,255,255,0.3); }
.ecal-d.ecal-today {
  background: rgba(37,99,255,0.15);
  color: #6ee7f7; font-weight: 700;
  border: 1px solid rgba(37,99,255,0.3);
}
.ecal-dot {
  width: 4px; height: 4px; border-radius: 50%; margin-top: 1px; display: block;
  animation: ecalDotPop 0.3s ease both;
}
.ecal-d.avail .ecal-dot { background: #2563ff; }
.ecal-d.busy .ecal-dot { background: #ef4444; }
@keyframes ecalDotPop { from { transform: scale(0); opacity:0; } to { transform: scale(1); opacity:1; } }

.ecal-legend { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.ecal-leg { display: flex; align-items: center; gap: 4px; font-size: 0.58rem; color: rgba(255,255,255,0.35); }
.ecal-leg-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ecal-leg-dot.avail { background: #2563ff; }
.ecal-leg-dot.busy { background: #ef4444; }

/* Aside */
.ecal-aside-hdr {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.62rem; font-weight: 600; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem;
}
.ecal-evt {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.03); border-radius: 7px;
  padding: 0.35rem 0.4rem;
  border: 1px solid rgba(255,255,255,0.04);
  animation: esFadeIn 0.4s ease both;
}
.ecal-evt--blue { border-left: 2px solid #2563ff !important; }
.ecal-evt--cyan { border-left: 2px solid #6ee7f7 !important; }
.ecal-evt--green { border-left: 2px solid #22c55e !important; }
.ecal-evt-bar { width: 0; }
.ecal-evt-body { flex: 1; min-width: 0; }
.ecal-evt-title { font-size: 0.62rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecal-evt-when { font-size: 0.56rem; color: rgba(255,255,255,0.35); margin-top: 1px; }
.ecal-evt-badge {
  font-size: 0.52rem; font-weight: 700; padding: 1px 4px;
  border-radius: 3px; background: rgba(37,99,255,0.2); color: #6ee7f7;
  white-space: nowrap; flex-shrink: 0;
}
.ecal-evt--cyan .ecal-evt-badge { background: rgba(110,231,247,0.15); }
.ecal-evt--green .ecal-evt-badge { background: rgba(34,197,94,0.15); color: #22c55e; }
.ecal-cta-mini {
  margin-top: auto; text-align: center; font-size: 0.62rem; font-weight: 600;
  color: #2563ff; background: rgba(37,99,255,0.1); border: 1px solid rgba(37,99,255,0.25);
  border-radius: 6px; padding: 0.35rem; cursor: pointer;
  transition: background 0.15s;
}

/* ══════════════════════════════════
   SCREEN 2 — Booking interaction
   ══════════════════════════════════ */
.ecal-booking {
  display: flex; gap: 0; height: 320px; position: relative;
}
.ecal-booking-left { flex: 0 0 170px; padding: 0.75rem; border-right: 1px solid rgba(255,255,255,0.06); }
.ecal-booking-right { flex: 1; padding: 0.65rem 0.6rem; display: flex; flex-direction: column; gap: 0.3rem; }
.ecal-bk-hdr { font-size: 0.72rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.ecal-bk-month { font-size: 0.6rem; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; }

.ecal-bk-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
}
.ebg-wd { font-size: 0.56rem; font-weight: 600; text-align: center; color: rgba(255,255,255,0.3); padding-bottom: 2px; }
.ebg-d {
  display: flex; align-items: center; justify-content: center;
  height: 26px; border-radius: 5px; font-size: 0.65rem; cursor: pointer;
  color: rgba(255,255,255,0.5); transition: all 0.2s;
}
.ebg-d.avail { color: rgba(255,255,255,0.85); background: rgba(37,99,255,0.08); }
.ebg-d.avail:hover { background: rgba(37,99,255,0.2); }
.ebg-d.busy { color: rgba(255,100,100,0.4); background: rgba(239,68,68,0.06); }
.ebg-d.dis { color: rgba(255,255,255,0.2); }
.ebg-d.selected { background: #2563ff !important; color: white !important; font-weight: 700; box-shadow: 0 0 12px rgba(37,99,255,0.5); }

/* Time panel */
.ecal-time-hdr {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 0.2rem;
}
.ecal-slots { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ecal-slot {
  padding: 0.32rem 0.6rem; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.68rem; color: rgba(255,255,255,0.6); cursor: pointer;
  transition: all 0.2s; text-align: center;
}
.ecal-slot:hover { background: rgba(37,99,255,0.1); border-color: rgba(37,99,255,0.3); }
.ecal-slot.selected { background: rgba(37,99,255,0.2); border-color: #2563ff; color: white; font-weight: 600; }
.ecal-confirm-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #2563ff, #6ee7f7); color: white;
  font-size: 0.7rem; font-weight: 600; padding: 0.5rem;
  border-radius: 8px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,255,0.4);
  animation: esFadeIn 0.4s ease;
}
/* Cursor */
.ecal-cursor {
  position: absolute; pointer-events: none; z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: top 0.6s cubic-bezier(0.4,0,0.2,1), left 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ecal-cursor.click { animation: esClick 0.2s ease; }
@keyframes esClick { 0%,100%{transform:scale(1)} 50%{transform:scale(0.8)} }
/* Toast */
.ecal-toast {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4);
  color: #22c55e; font-size: 0.72rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 20px;
  animation: esSlideUp 0.4s ease;
  white-space: nowrap;
}
@keyframes esSlideUp { from { opacity:0; transform: translateX(-50%) translateY(10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* ══════════════════════════════════
   SCREEN 3 — Document scan
   ══════════════════════════════════ */
.edoc-wrap { display: flex; flex-direction: column; align-items: center; padding: 0.75rem; gap: 0.6rem; height: 320px; }
.edoc-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; color: #6ee7f7; font-weight: 500;
}
.edoc-card {
  position: relative; width: 240px; height: 145px;
  background: linear-gradient(135deg, #1a2a4a, #0f1e38);
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5); overflow: hidden;
  display: flex; align-items: flex-start; padding: 10px;
  gap: 10px; flex-shrink: 0;
}
.edoc-card-flag {
  position: absolute; top: 8px; right: 10px;
  font-size: 0.55rem; font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.edoc-card-chip {
  width: 28px; height: 22px; background: linear-gradient(135deg,#c9a227,#f0d060);
  border-radius: 3px; flex-shrink: 0; margin-top: 18px;
  display: flex; align-items: center; justify-content: center;
}
.edoc-chip-lines { display: flex; flex-direction: column; gap: 3px; width: 18px; }
.edoc-chip-lines div { height: 2px; background: rgba(0,0,0,0.4); border-radius: 1px; }
.edoc-card-photo {
  width: 38px; height: 48px; background: rgba(255,255,255,0.07);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 8px;
}
.edoc-card-data { flex: 1; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.edoc-line { height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.edoc-line.w80 { width: 80%; } .edoc-line.w55 { width: 55%; } .edoc-line.w70 { width: 70%; } .edoc-line.w100 { width: 100%; }
.edoc-line.mono { background: rgba(110,231,247,0.2); height: 4px; font-family: monospace; }
.edoc-mrz { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.edoc-scan-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #6ee7f7, #2563ff, #6ee7f7, transparent);
  box-shadow: 0 0 8px rgba(110,231,247,0.8);
  animation: edocScan 2s ease-in-out infinite;
}
@keyframes edocScan { 0%{top:0} 100%{top:100%} }
.edoc-corner {
  position: absolute; width: 12px; height: 12px;
  border-color: #6ee7f7; border-style: solid;
}
.edoc-corner.tl { top:4px; left:4px; border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.edoc-corner.tr { top:4px; right:4px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; }
.edoc-corner.bl { bottom:4px; left:4px; border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; }
.edoc-corner.br { bottom:4px; right:4px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }

.edoc-ocr { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 240px; }
.edoc-ocr-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.62rem; opacity: 0;
  animation: esFadeIn 0.3s ease both;
}
#eocr-1 { animation-delay: 0.5s; } #eocr-2 { animation-delay: 1.0s; }
#eocr-3 { animation-delay: 1.5s; } #eocr-4 { animation-delay: 2.0s; }
.edoc-field { color: rgba(255,255,255,0.4); margin-right: 2px; }
.edoc-val { color: rgba(255,255,255,0.9); font-weight: 600; }
.edoc-progress { width: 100%; max-width: 240px; }
.edoc-prog-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.edoc-prog-fill { height: 100%; background: linear-gradient(90deg,#2563ff,#6ee7f7); border-radius: 2px; animation: edocProg 3s ease forwards; }
@keyframes edocProg { 0%{width:0} 40%{width:60%} 80%{width:85%} 100%{width:100%} }
.edoc-prog-label { font-size: 0.58rem; color: rgba(255,255,255,0.35); text-align: center; margin-top: 3px; }

/* ══════════════════════════════════
   SCREEN 4 — Face biometric
   ══════════════════════════════════ */
.eface-wrap { display: flex; flex-direction: column; align-items: center; padding: 0.75rem; gap: 0.6rem; height: 320px; }
.eface-label { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: #6ee7f7; font-weight: 500; }
.eface-frame {
  position: relative; width: 130px; height: 160px;
  border-radius: 70px 70px 50px 50px;
  background: rgba(37,99,255,0.05);
  border: 1.5px solid rgba(37,99,255,0.25);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.eface-silhouette { position: absolute; bottom: 0; display: flex; align-items: center; justify-content: center; }
.eface-ring {
  position: absolute; inset: -4px; border-radius: 70px 70px 50px 50px;
  border: 2.5px solid transparent;
  border-top-color: #2563ff; border-right-color: #6ee7f7;
  animation: efaceRingSpin 2s linear infinite;
}
@keyframes efaceRingSpin { to { transform: rotate(360deg); } }
.eface-scan-h {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(110,231,247,0.7), transparent);
  animation: efaceScanH 2s ease-in-out infinite alternate;
}
@keyframes efaceScanH { from{top:10%} to{top:90%} }
.eface-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #6ee7f7; box-shadow: 0 0 6px rgba(110,231,247,0.8);
  animation: efaceDot 1.5s ease infinite alternate;
}
@keyframes efaceDot { from{opacity:0.3; transform:scale(0.7)} to{opacity:1; transform:scale(1)} }
.eface-corner { position: absolute; width: 14px; height: 14px; border-color: #6ee7f7; border-style: solid; }
.eface-corner.etl { top:6px; left:6px; border-width:2px 0 0 2px; border-radius:3px 0 0 0; }
.eface-corner.etr { top:6px; right:6px; border-width:2px 2px 0 0; border-radius:0 3px 0 0; }
.eface-corner.ebl { bottom:6px; left:6px; border-width:0 0 2px 2px; border-radius:0 0 0 3px; }
.eface-corner.ebr { bottom:6px; right:6px; border-width:0 2px 2px 0; border-radius:0 0 3px 0; }
.eface-score { width: 100%; max-width: 240px; }
.eface-score-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.eface-score-lbl { font-size: 0.62rem; color: rgba(255,255,255,0.45); }
.eface-score-val { font-size: 0.65rem; font-weight: 700; color: #6ee7f7; }
.eface-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.eface-bar-fill { height: 100%; background: linear-gradient(90deg,#2563ff,#6ee7f7); border-radius: 2px; width: 0; transition: width 0.1s linear; }

/* ══════════════════════════════════
   SCREEN 5 — QES Certificate
   ══════════════════════════════════ */
.ecert-wrap { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 0.9rem; gap: 0.4rem; height: 320px; overflow: hidden; }
.ecert-check { animation: ecertPop 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes ecertPop { from{transform:scale(0) rotate(-30deg);opacity:0} to{transform:scale(1) rotate(0);opacity:1} }
.ecert-checkmark { stroke-dasharray: 50; stroke-dashoffset: 50; animation: ecertDraw 0.6s ease 0.3s forwards; }
@keyframes ecertDraw { to { stroke-dashoffset: 0; } }
.ecert-title { font-size: 0.82rem; font-weight: 700; color: white; margin-top: 0.1rem; }
.ecert-sub { font-size: 0.62rem; color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; }
.ecert-card {
  width: 100%; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden;
  animation: esFadeIn 0.5s ease 0.4s both;
}
.ecert-card-hdr {
  display: flex; align-items: center; gap: 6px;
  background: rgba(37,99,255,0.1); padding: 0.45rem 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.66rem; font-weight: 600; color: rgba(255,255,255,0.8);
}
.ecert-valid-badge {
  margin-left: auto; background: rgba(34,197,94,0.15);
  color: #22c55e; font-size: 0.58rem; padding: 2px 6px;
  border-radius: 4px; font-weight: 600;
}
.ecert-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.3rem 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.62rem;
}
.ecert-lbl { color: rgba(255,255,255,0.35); }
.ecert-val { color: rgba(255,255,255,0.85); font-weight: 500; text-align: right; max-width: 60%; }
.ecert-expiry { color: #22c55e; }
.ecert-fingerprint {
  padding: 0.3rem 0.7rem; font-size: 0.52rem;
  color: rgba(255,255,255,0.2); font-family: monospace;
}
.ecert-dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg,#2563ff,#6ee7f7); color: white;
  font-size: 0.72rem; font-weight: 600; padding: 0.55rem 1.2rem;
  border-radius: 8px; cursor: pointer; width: 100%;
  box-shadow: 0 4px 20px rgba(37,99,255,0.4);
  animation: esFadeIn 0.5s ease 0.8s both;
  animation: ecertPulse 2s ease 1s infinite;
}
@keyframes ecertPulse { 0%,100%{box-shadow:0 4px 20px rgba(37,99,255,0.4)} 50%{box-shadow:0 4px 28px rgba(37,99,255,0.7)} }

/* ── Mobile adjustments ── */
@media (max-width: 968px) {
  .esign-mock { max-width: 360px; }
  .ecal-wrap { height: 280px; }
  .ecal-aside { width: 120px; }
  .ecal-booking { height: 280px; }
  .ecal-booking-left { flex: 0 0 145px; }
  .edoc-wrap, .eface-wrap, .ecert-wrap { height: 280px; }
  .edoc-card { width: 200px; height: 120px; }
}
@media (max-width: 480px) {
  .esign-mock { max-width: 300px; }
  .ecal-aside { display: none; }
  .ecal-wrap, .ecal-booking { height: 260px; }
  .edoc-wrap, .eface-wrap, .ecert-wrap { height: 260px; }
  .esign-stage { min-height: 260px; }
}
