:root {
  --color-brand: #29ABE2;
  --color-brand-hover: #1a94c9;
}

html.lenis, html.lenis body {
    height: auto;
}

html {
    scroll-padding-top: 7.5rem;
}

body {
    background: #FFFFFF;
    color: #1a1a2e;
    overflow-x: hidden;
}

@media (max-width: 1023px) {
    footer {
        padding-bottom: 4.5rem;
    }
}

/* Hero word-by-word reveal */
.word-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.word-reveal .word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll fade */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Card hover with gold glow */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.card-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(41, 171, 226, 0.12);
    border-color: rgba(41, 171, 226, 0.3);
}

/* Progress bar */
.progress-bar {
    transition: width 0.4s ease;
}

/* Range slider — dark theme */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #F5F5F5;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-brand);
    cursor: pointer;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 10px rgba(41, 171, 226, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-brand);
    cursor: pointer;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 10px rgba(41, 171, 226, 0.3);
}

/* Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

/* Nav transitions */
#main-nav {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#main-nav.nav-solid {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

#main-nav.nav-hidden {
    transform: translateY(-100%);
}

/* Sticky bar */
#sticky-bar.hidden-bar {
    transform: translateY(100%);
}

/* Scrollbar hide for carousel */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Count-up */
.count-up {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.count-up.visible {
    opacity: 1;
}

/* Ticker animation */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-ticker {
    animation: ticker 30s linear infinite;
}

.animate-ticker:hover {
    animation-play-state: paused;
}

/* Testimonial carousel */
.testimonial-track {
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    scroll-snap-align: start;
}

/* Floating contact pulse */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(41, 171, 226, 0.4);
    animation: pulse-ring 2s ease-out infinite;
}

/* Scroll to top button */
#scroll-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(8px);
}

#scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Comparison bars — animated width on scroll */
.comparison-bar {
    height: 8px;
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.comparison-bar.visible {
    /* width set via inline style */
}

/* Fade-in with upward movement — enhanced */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* CTA glow */
.cta-glow {
    box-shadow: 0 4px 20px rgba(41, 171, 226, 0.3);
}

/* Clip-path image reveal */
.reveal-clip {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-clip.visible {
    clip-path: inset(0 0 0 0);
}

/* Parallax elements */
[data-parallax] {
    will-change: transform;
}

/* Auto-scroll testimonial columns */
@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.v2-scroll-col {
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.v2-scroll-up {
    animation: scroll-up 25s linear infinite;
}

.v2-scroll-down {
    animation: scroll-down 25s linear infinite;
}

.v2-scroll-up:hover,
.v2-scroll-down:hover {
    animation-play-state: paused;
}

/* Spring bounce reveal for stats */
.v2-spring-reveal {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v2-spring-reveal.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Hover clip-path accent bar */
.v2-hover-accent {
    position: relative;
    overflow: hidden;
}

.v2-hover-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-brand);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-hover-accent:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

/* Mobile card swiper */
.v2-swiper-mobile {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.v2-swiper-mobile::-webkit-scrollbar { display: none; }
.v2-swiper-mobile { scrollbar-width: none; }

.v2-swiper-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 85vw;
    max-width: 340px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .word-reveal .word {
        opacity: 1 !important;
        transform: none !important;
    }
    .reveal-clip {
        clip-path: none !important;
    }
    .v2-scroll-up,
    .v2-scroll-down {
        animation: none;
    }
    .v2-spring-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Aurora glow CTA button */
.aurora-cta {
    position: relative;
    overflow: hidden;
}

.aurora-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-brand), #50c5e8, var(--color-brand), var(--color-brand-hover));
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(12px);
    animation: aurora-shift 4s ease-in-out infinite;
}

.aurora-cta:hover::before {
    opacity: 1;
}

@keyframes aurora-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Radial gradient background accents */
.v2-gradient-accent {
    position: relative;
    overflow: hidden;
}

.v2-gradient-accent::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 171, 226, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.v2-gradient-accent > * {
    position: relative;
    z-index: 1;
}

/* Floating animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.v2-float {
    animation: float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .v2-float {
        animation: none;
    }
}

/* === V2 Theme (Votum redesign — index.html only) === */

body.v2-theme {
    background: #FFFFFF;
    color: #1a1a2e;
}

body.v2-theme #main-nav.nav-solid {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(229, 231, 235, 0.5);
}

/* V2 nav link colors — use !important to override Tailwind utility classes */
body.v2-theme #main-nav.nav-solid a,
body.v2-theme #main-nav.nav-solid button,
body.v2-theme #main-nav.nav-solid #nav-logo {
    color: #1a1a2e !important;
}

body.v2-theme #main-nav.nav-solid a:hover {
    color: var(--color-brand) !important;
}

body.v2-theme #scroll-to-top {
    background-color: #FFFFFF;
    border-color: #e5e7eb;
    color: #6b7280;
}

body.v2-theme #scroll-to-top:hover {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: #FFFFFF;
}

/* V2 form validation error border — override old orange cta token */
body.v2-theme .border-cta {
    border-color: var(--color-brand) !important;
}

/* V2 service card hover */
.v2-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v2-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* V2 card slide-in animations */
.v2-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-slide-left.visible,
.v2-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* V2 logo shrink on scroll */
body.v2-theme #nav-logo {
    font-size: 2rem;
    transition: font-size 0.3s ease;
}

body.v2-theme #main-nav.nav-solid #nav-logo {
    font-size: 1.25rem;
}

/* V2 subpage nav — dark background (matches main page scrolled state) */
body.v2-theme.v2-subpage #main-nav.nav-solid {
    background-color: rgba(26, 26, 46, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.v2-theme.v2-subpage #main-nav.nav-solid a,
body.v2-theme.v2-subpage #main-nav.nav-solid button,
body.v2-theme.v2-subpage #main-nav.nav-solid #nav-logo {
    color: #FFFFFF !important;
}

body.v2-theme.v2-subpage #main-nav.nav-solid a:hover {
    color: var(--color-brand) !important;
}

/* Nav logo — transparent PNG, filter per background type */
.nav-logo-link {
    display: inline-flex;
    align-items: center;
    filter: invert(1) hue-rotate(180deg);
    transition: filter 0.3s ease;
}
/* index.html — white nav after scroll: show original colors */
#main-nav.nav-solid .nav-logo-link {
    filter: none;
}
/* subpages — nav-solid has DARK background (rgba 26,26,46): keep inverted */
body.v2-theme.v2-subpage #main-nav.nav-solid .nav-logo-link {
    filter: invert(1) hue-rotate(180deg);
}
/* Footer — always dark #1a1a2e */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    filter: invert(1) hue-rotate(180deg);
}
.nav-logo-img {
    height: 40px !important;
    width: auto !important;
    display: block;
}
.footer-logo-img {
    height: 34px !important;
    width: auto !important;
    display: block;
}

/* Text-based placeholder logo — overrides image filter rules above */
.nav-logo-link.nav-logo-text,
#main-nav.nav-solid .nav-logo-link.nav-logo-text,
body.v2-theme.v2-subpage #main-nav.nav-solid .nav-logo-link.nav-logo-text {
    filter: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}
body.v2-theme:not(.v2-subpage) #main-nav.nav-solid .nav-logo-link.nav-logo-text {
    color: #1a1a2e;
}
.footer-logo-link.footer-logo-text {
    filter: none;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}

/* Pulse highlight for case study results */
@keyframes result-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(41, 171, 226, 0); }
}

.v2-result-highlight {
    display: inline-block;
    animation: result-pulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

@media (prefers-reduced-motion: reduce) {
    .v2-result-highlight {
        animation: none;
    }
}

/* Scroll expansion hero */
.v2-scroll-expand {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Nav link hover indicator */
.v2-nav-link {
    position: relative;
    padding-bottom: 4px;
}

.v2-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-brand);
    transition: width 0.3s ease, left 0.3s ease;
}

.v2-nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Button loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.v2-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

/* Step tabs */
.v2-step-tab {
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.v2-step-tab.active {
    background: var(--color-brand);
    color: #FFFFFF;
    border-color: var(--color-brand);
}

/* Step panel transition */
.v2-step-panel {
    animation: fadeIn 0.3s ease;
}

.v2-step-panel.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtle parallax offset */
.v2-parallax-slow {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Word-by-word stagger reveal */
.v2-word-reveal .v2-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v2-word-reveal.visible .v2-word {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   S2 — Refined design system (2026 polish)
   Layered on top of v2-theme. Dark navy + cyan #29ABE2.
   ============================================================ */

:root {
    --s2-bg: #FFFFFF;
    --s2-surface: #F7F8FA;
    --s2-surface-2: #EEF1F5;
    --s2-ink: #0B1220;
    --s2-ink-soft: #1a1a2e;
    --s2-muted: #5C6577;
    --s2-line: #E5E8EE;
    --s2-cyan: #29ABE2;
    --s2-cyan-2: #4FC3F0;
    --s2-cyan-deep: #1a94c9;
    --s2-hero-dark: #0E1730;
    --s2-hero-darker: #08101F;
}

html { scroll-behavior: smooth; }

.s2-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
}

.s2-glow-cyan {
    position: absolute;
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(41,171,226,0.35) 0%, rgba(41,171,226,0) 60%);
    filter: blur(20px);
    pointer-events: none;
    border-radius: 50%;
}

.s2-grad-text {
    background: linear-gradient(180deg, #29ABE2 0%, #6BD6FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.s2-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    line-height: 1;
}
.s2-pill .s2-pill-badge {
    background: var(--s2-cyan);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.65rem;
    border-radius: 9999px;
}
.s2-pill .s2-pill-em { color: #fff; font-weight: 600; }

.s2-proof {
    position: relative;
    background: rgba(255,255,255,0.98);
    color: var(--s2-ink);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.45),
        0 8px 20px -10px rgba(41,171,226,0.35);
    max-width: 360px;
}
.s2-proof-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: #0E1730;
    text-transform: uppercase;
}
.s2-proof-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #1EAE5C;
    box-shadow: 0 0 0 4px rgba(30,174,92,0.18);
    animation: s2-pulse-dot 1.6s ease-out infinite;
}
@keyframes s2-pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(30,174,92,0.5); }
    100% { box-shadow: 0 0 0 12px rgba(30,174,92,0); }
}
.s2-proof-amount { color: var(--s2-cyan); font-weight: 800; }
.s2-proof-foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(11,18,32,0.08);
    font-size: 12.5px;
    color: var(--s2-muted);
    display: flex; align-items: center; gap: 6px;
}

.s2-floating-call {
    position: fixed;
    /* na prawo od niego stoi babel czatu (.chat-bubble: right 24px, 56px szer.) - 12px odstepu */
    right: calc(1.5rem + 56px + 12px); bottom: 1.5rem;
    z-index: 45;
    display: inline-flex; align-items: center; gap: 10px;
    background: #0E1730;
    color: #fff;
    padding: 10px 18px 10px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 40px -18px rgba(0,0,0,0.7), 0 0 0 1px rgba(41,171,226,0.25);
    font-weight: 600; font-size: 14px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.s2-floating-call:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.7), 0 0 0 1px rgba(41,171,226,0.55); }
.s2-floating-call .s2-floating-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #1EAE5C;
    box-shadow: 0 0 0 4px rgba(30,174,92,0.25);
    animation: s2-pulse-dot 1.6s ease-out infinite;
}
@media (max-width: 1023px) {
    .s2-floating-call { bottom: 5rem; right: calc(1.5rem + 56px + 12px); padding: 8px 14px 8px 12px; font-size: 13px; }
}

.s2-cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--s2-cyan);
    color: #fff !important;
    padding: 16px 26px;
    border-radius: 14px;
    font-weight: 700; font-size: 16px;
    transition: transform .2s ease, background .2s ease, box-shadow .25s ease;
    box-shadow: 0 14px 34px -14px rgba(41,171,226,0.7), inset 0 -2px 0 rgba(0,0,0,0.08);
    text-decoration: none;
}
.s2-cta-primary:hover { background: var(--s2-cyan-deep); transform: translateY(-2px); }
.s2-cta-primary .s2-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .2s ease, background .2s ease;
}
.s2-cta-primary:hover .s2-arrow { transform: translateX(4px); background: rgba(255,255,255,0.28); }

.s2-cta-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    color: #fff !important;
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    font-weight: 600; font-size: 16px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    text-decoration: none;
}
.s2-cta-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }

.s2-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 768px) {
    .s2-bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.s2-bento-card {
    position: relative;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 18px 18px;
    overflow: hidden;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.s2-bento-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(220px 140px at 30% 0%, rgba(41,171,226,0.18), transparent 70%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.s2-bento-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(41,171,226,0.45); transform: translateY(-2px); }
.s2-bento-card:hover::after { opacity: 1; }
.s2-bento-num {
    font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
    color: #fff; line-height: 1;
}
.s2-bento-num .s2-unit { color: var(--s2-cyan); font-weight: 700; }
.s2-bento-label {
    margin-top: 8px;
    font-size: 12.5px; color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

.s2-rise { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1); }
.s2-rise.visible { opacity: 1; transform: none; }
.s2-rise[data-delay="1"] { transition-delay: .08s; }
.s2-rise[data-delay="2"] { transition-delay: .16s; }
.s2-rise[data-delay="3"] { transition-delay: .24s; }
.s2-rise[data-delay="4"] { transition-delay: .32s; }
.s2-rise[data-delay="5"] { transition-delay: .40s; }
.s2-rise[data-delay="6"] { transition-delay: .48s; }

.s2-svc {
    position: relative;
    background: #fff;
    border: 1px solid var(--s2-line);
    border-radius: 20px;
    padding: 28px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}
.s2-svc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(450px circle at var(--mx, 50%) var(--my, 50%), rgba(41,171,226,0.12), transparent 50%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.s2-svc:hover { transform: translateY(-4px); border-color: rgba(41,171,226,0.5); box-shadow: 0 24px 50px -28px rgba(41,171,226,0.35); }
.s2-svc:hover::before { opacity: 1; }
.s2-svc-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(41,171,226,0.12), rgba(41,171,226,0.04));
    color: var(--s2-cyan);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(41,171,226,0.2);
}
.s2-svc-title { font-size: 19px; font-weight: 700; color: var(--s2-ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.s2-svc-desc { font-size: 14.5px; color: var(--s2-muted); line-height: 1.6; }
.s2-svc-cta {
    margin-top: 18px;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--s2-cyan); font-weight: 600; font-size: 14px;
}
.s2-svc:hover .s2-svc-cta { gap: 10px; }

.s2-steps-tabs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
}
.s2-step-tab {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--s2-line);
    background: #fff;
    color: var(--s2-muted);
    font-weight: 600; font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
}
.s2-step-tab .s2-step-num {
    background: var(--s2-surface-2); color: var(--s2-ink);
    padding: 2px 8px; border-radius: 6px; font-size: 12px;
    transition: all .25s ease;
}
.s2-step-tab[aria-selected="true"],
.s2-step-tab.active {
    background: var(--s2-ink);
    color: #fff;
    border-color: var(--s2-ink);
}
.s2-step-tab[aria-selected="true"] .s2-step-num,
.s2-step-tab.active .s2-step-num {
    background: var(--s2-cyan); color: #fff;
}
.s2-step-tab:hover { border-color: var(--s2-cyan); color: var(--s2-ink); }
.s2-step-panel { display: none; }
.s2-step-panel.active { display: block; animation: s2-fade-up .4s ease; }
@keyframes s2-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.s2-faq-item {
    background: #fff;
    border: 1px solid var(--s2-line);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.s2-faq-item[open] { border-color: rgba(41,171,226,0.4); box-shadow: 0 12px 30px -18px rgba(41,171,226,0.4); }
.s2-faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-weight: 600; color: var(--s2-ink); font-size: 16px;
}
.s2-faq-summary::-webkit-details-marker { display: none; }
.s2-faq-summary .s2-faq-icon {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--s2-line);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .3s ease, background .25s ease, color .25s ease;
    flex-shrink: 0;
    color: var(--s2-ink);
}
.s2-faq-item[open] .s2-faq-icon { transform: rotate(45deg); background: var(--s2-cyan); border-color: var(--s2-cyan); color: #fff; }
.s2-faq-body { padding: 0 22px 22px 22px; color: var(--s2-muted); font-size: 15px; line-height: 1.65; }

.s2-field { position: relative; }
.s2-field input,
.s2-field textarea,
.s2-field select {
    width: 100%;
    padding: 22px 16px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--s2-line);
    color: var(--s2-ink);
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    appearance: none;
}
.s2-field textarea { padding-top: 24px; resize: vertical; min-height: 110px; }
.s2-field input:focus,
.s2-field textarea:focus,
.s2-field select:focus {
    outline: none;
    border-color: var(--s2-cyan);
    box-shadow: 0 0 0 4px rgba(41,171,226,0.15);
}
.s2-field label {
    position: absolute;
    top: 16px; left: 16px;
    color: var(--s2-muted);
    font-size: 15px;
    pointer-events: none;
    transition: all .18s ease;
    background: transparent;
    padding: 0 4px;
}
.s2-field input:focus + label,
.s2-field input:not(:placeholder-shown) + label,
.s2-field textarea:focus + label,
.s2-field textarea:not(:placeholder-shown) + label,
.s2-field select:focus + label,
.s2-field select.has-value + label {
    top: 4px; font-size: 11px; color: var(--s2-cyan); font-weight: 600;
}
.s2-field select { padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }

.s2-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--s2-cyan);
}
.s2-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--s2-cyan); display: inline-block; }
.s2-h2 {
    font-size: clamp(28px, 4.6vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--s2-ink);
}
.s2-lead { font-size: 17px; line-height: 1.6; color: var(--s2-muted); max-width: 60ch; }

.s2-quote {
    position: relative;
    background: var(--s2-ink);
    color: #fff;
    border-radius: 28px;
    padding: 48px 40px;
    overflow: hidden;
}
.s2-quote::before {
    content: '"';
    position: absolute; top: -10px; left: 24px;
    font-family: Georgia, serif; font-size: 200px; line-height: 1;
    color: rgba(41,171,226,0.18);
}
.s2-quote::after {
    content: ''; position: absolute; inset: auto -10% -50% auto;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(41,171,226,0.4) 0%, transparent 60%);
    filter: blur(20px);
    pointer-events: none;
}
.s2-quote-body { position: relative; z-index: 1; }

.s2-logos {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 28px 48px;
    padding: 28px 0;
}
.s2-logo {
    color: rgba(255,255,255,0.4);
    font-weight: 700; letter-spacing: 0.06em;
    font-size: 16px;
    transition: color .25s ease;
}
.s2-logo:hover { color: rgba(255,255,255,0.8); }
.s2-logos.on-light .s2-logo { color: rgba(11,18,32,0.35); }
.s2-logos.on-light .s2-logo:hover { color: rgba(11,18,32,0.7); }

.s2-page-hero {
    position: relative;
    background: linear-gradient(180deg, #0B1220 0%, #0E1730 100%);
    color: #fff;
    padding: 120px 0 80px;
    overflow: hidden;
}
.s2-page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.s2-page-hero .s2-glow-cyan { top: -300px; right: -200px; }

.s2-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 18px;
}
.s2-crumb a { color: rgba(255,255,255,0.6); transition: color .2s ease; }
.s2-crumb a:hover { color: var(--s2-cyan); }
.s2-crumb span.sep { opacity: .5; }
.s2-crumb .current { color: #fff; }

.s2-section { padding: 80px 0; }
@media (max-width: 768px) { .s2-section { padding: 56px 0; } }

.s2-section-dark {
    background: var(--s2-ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.s2-section-dark .s2-h2 { color: #fff; }
.s2-section-dark .s2-lead { color: rgba(255,255,255,0.7); }

.s2-sticky-cta {
    position: fixed; left: 50%; bottom: 18px;
    transform: translateX(-50%) translateY(140%);
    background: var(--s2-ink);
    color: #fff;
    padding: 12px 14px 12px 18px;
    border-radius: 999px;
    display: none;
    align-items: center; gap: 14px;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5);
    z-index: 44;
    transition: transform .35s cubic-bezier(0.16,1,0.3,1);
    border: 1px solid rgba(255,255,255,0.08);
}
.s2-sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.s2-sticky-cta .s2-sticky-text { font-size: 14px; font-weight: 600; }
.s2-sticky-cta a {
    background: var(--s2-cyan); color: #fff; padding: 8px 14px;
    border-radius: 999px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background .2s ease;
}
.s2-sticky-cta a:hover { background: var(--s2-cyan-deep); }
@media (min-width: 1024px) { .s2-sticky-cta { display: inline-flex; } }

.s2-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.s2-marquee-track { display: inline-flex; gap: 64px; animation: s2-marquee 28s linear infinite; padding-right: 64px; }
@keyframes s2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .s2-rise { opacity: 1 !important; transform: none !important; }
    .s2-marquee-track { animation: none; }
    .s2-proof-dot, .s2-floating-call .s2-floating-dot { animation: none; }
}


/* Logo mark — global */
.s2-logo-mark {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
    color: #fff; text-decoration: none;
    white-space: nowrap;
}
.s2-logo-mark .mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--s2-cyan); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
}
.s2-logo-mark .dot { color: var(--s2-cyan); margin-left: 2px; }

/* On light backgrounds (e.g. when nav scrolls solid on the homepage) */
body.v2-theme:not(.v2-subpage):not(.s2-home) #main-nav.nav-solid .s2-logo-mark { color: var(--s2-ink); }
body.v2-theme:not(.v2-subpage):not(.s2-home) #main-nav.nav-solid .s2-logo-mark .dot { color: var(--s2-cyan); }

/* Subpages — always-dark nav: ensure white text */
body.v2-theme.v2-subpage #main-nav .s2-logo-mark,
body.v2-theme.v2-subpage #main-nav.nav-solid .s2-logo-mark { color: #fff !important; }

/* 404 page (no nav-solid wrapper) */
body.v2-theme.v2-subpage nav .s2-logo-mark { color: #1a1a2e; }
body.v2-theme.v2-subpage nav .s2-logo-mark .dot { color: var(--s2-cyan); }

/* Footer (dark) */
footer .s2-logo-mark { color: #fff; }
footer .s2-logo-mark .dot { color: var(--s2-cyan); }


/* ============================================================
   Lang switcher pill (used on every page)
   ============================================================ */
.s2-lang {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px 7px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff; font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    line-height: 1;
}
.s2-lang:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); }
.s2-lang .flag {
    width: 22px; height: 22px; border-radius: 50%;
    overflow: hidden; display: inline-block; flex-shrink: 0;
    background: #fff;
}
.s2-lang .flag svg { width: 100%; height: 100%; display: block; }
.s2-lang .chev { width: 14px; height: 14px; opacity: 0.7; display: inline-block; }

/* Light-bg variant (e.g. mobile menu overlay) */
.s2-lang.on-light { background: #fff; border-color: var(--s2-line); color: var(--s2-ink); }
.s2-lang.on-light:hover { background: var(--s2-surface); }

.s2-lang-pop {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: #0E1730;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 4px;
    min-width: 150px;
    box-shadow: 0 24px 50px -16px rgba(0,0,0,0.7);
    opacity: 0; pointer-events: none; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 70;
}
.s2-lang-pop.open { opacity: 1; pointer-events: auto; transform: none; }
.s2-lang-pop button {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 12px; background: transparent; border: 0;
    color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
    text-align: left; cursor: pointer; border-radius: 8px;
    transition: background .15s ease;
}
.s2-lang-pop button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.s2-lang-pop button.active { color: #fff; background: rgba(41,171,226,0.16); }
.s2-lang-pop button .flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; display: inline-block; background: #fff; flex-shrink: 0; }
.s2-lang-pop button .flag svg { width: 100%; height: 100%; display: block; }

/* Mobile menu — when used inside the mobile overlay, the popover anchors below */
.lang-switcher-mount.mobile { display: inline-flex; }
