/* ============================================================
   ONSITE LANDING PAGE - Combined Marketing Sections
   With animated background accents and scroll-reactive effects
   ============================================================ */

/* === GLOBAL RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #F7F7F7;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* === ANIMATED BACKGROUND CONTAINER === */
.page-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: background-color 0.8s ease;
    background-color: #F7F7F7;
}

/* === SIDE ACCENT ORBS === */
.accent-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease-out, opacity 0.5s ease;
}

.accent-orb-left {
    width: 400px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(245, 129, 51, 0.5) 0%, rgba(245, 129, 51, 0.2) 40%, transparent 70%);
    left: -150px;
    top: 20%;
}

.accent-orb-right {
    width: 350px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(245, 129, 51, 0.4) 0%, rgba(245, 129, 51, 0.15) 40%, transparent 70%);
    right: -120px;
    top: 50%;
}

.accent-orb-bottom {
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 129, 51, 0.35) 0%, rgba(245, 129, 51, 0.1) 50%, transparent 70%);
    left: 30%;
    bottom: -100px;
}

/* === FLOATING PARTICLES === */
.floating-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #f58133;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    animation: particleDrift 20s ease-in-out infinite;
}

.floating-particle:nth-child(1) { left: 5%; top: 15%; animation-delay: 0s; animation-duration: 25s; }
.floating-particle:nth-child(2) { right: 8%; top: 25%; animation-delay: -5s; animation-duration: 22s; }
.floating-particle:nth-child(3) { left: 3%; top: 45%; animation-delay: -10s; animation-duration: 28s; }
.floating-particle:nth-child(4) { right: 4%; top: 60%; animation-delay: -15s; animation-duration: 24s; }
.floating-particle:nth-child(5) { left: 7%; top: 75%; animation-delay: -8s; animation-duration: 26s; }
.floating-particle:nth-child(6) { right: 6%; top: 85%; animation-delay: -12s; animation-duration: 23s; }

@keyframes particleDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -50px) scale(1.5);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 20px) scale(1.2);
        opacity: 0.5;
    }
}

/* === GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 129, 51, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 129, 51, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* === MAIN CONTENT === */
.main-content {
    position: relative;
    z-index: 10;
    overflow-x: hidden;
    width: 100%;
}

.section-wrapper {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-spacer {
    height: 40px;
}

/* === HERO BANNER === */
.hero-banner {
    text-align: center;
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Subtle grid effect behind headline - cursor-following */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.hero-grid-bg-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-banner:hover .hero-grid-bg-canvas,
.hero-banner:focus-within .hero-grid-bg-canvas {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-grid-bg-canvas {
        opacity: 0.4;
    }
}

.hero-main-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #182626;
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Only carousel words are orange, not all spans */

.hero-subline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #182626;
    opacity: 0.75;
    line-height: 1.6;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 20px 40px;
    }
}

/* === HERO HEADLINE (3-line fixed layout) === */
.hero-main-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    color: #182626;
    width: 100%;
    max-width: 900px;
}

.headline-line {
    display: block;
    color: #182626;
}

.headline-line {
    display: block;
    color: #182626;
}

/* === WORD CAROUSEL (slide left-to-right) === */
.word-carousel {
    display: block;
    position: relative;
    height: 1.4em;
    width: 100%;
    max-width: 700px;
    overflow: hidden;
}

.carousel-word {
    position: absolute;
    left: 50%;
    top: 0;
    display: block;
    color: #f58133;
    font-weight: 800;
    white-space: nowrap;
    transform: translateX(-150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.carousel-word.active {
    transform: translateX(-50%);
    opacity: 1;
}

.carousel-word.exit {
    transform: translateX(50%);
    opacity: 0;
}

/* === HERO FEATURES SHOWCASE - Carousel === */
.hero-features-showcase {
    margin-top: 60px;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.showcase-label {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #182626;
    letter-spacing: 1px;
    margin-bottom: 50px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .showcase-label {
        font-size: 1.8rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
}

.feature-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item {
    flex-shrink: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.7);
    filter: blur(2px);
    cursor: pointer;
}

.feature-item.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
}

.feature-item.adjacent {
    opacity: 0.5;
    transform: scale(0.75);
    filter: blur(1px);
}

.feature-item.far {
    opacity: 0.25;
    transform: scale(0.55);
    filter: blur(2px);
}

.feature-circle {
    position: relative;
    width: 280px;
    height: 280px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item.active .feature-circle {
    box-shadow: 0 12px 60px rgba(245, 129, 51, 0.15);
}

/* Rotating tech rings */
.tech-ring-outer {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(245, 129, 51, 0.25);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    animation: rotateClockwise 20s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item.active .tech-ring-outer {
    opacity: 1;
}

.tech-ring-inner {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(24, 38, 38, 0.12);
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    animation: rotateCounterClockwise 15s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item.active .tech-ring-inner {
    opacity: 1;
}

@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.scene-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
}

.scene-icon svg {
    width: 100%;
    height: 100%;
}

.scene-label {
    font-size: 1rem;
    color: #182626;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    max-width: 200px;
}

/* Desktop: bigger circles and icons */
@media (min-width: 900px) {
    .feature-circle {
        width: 360px;
        height: 360px;
    }
    
    .tech-ring-outer {
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
    }
    
    .tech-ring-inner {
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
    }
    
    .scene-icon {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }
    
    .scene-label {
        font-size: 1.15rem;
        max-width: 260px;
    }
    
    .feature-content {
        padding: 40px;
    }
    
    .carousel-track {
        gap: 50px;
    }
}

/* Mobile: single item view */
@media (max-width: 768px) {
    .hero-features-showcase {
        overflow: hidden;
    }
    
    .feature-carousel {
        padding: 20px 16px;
        overflow: hidden;
    }
    
    .carousel-track {
        gap: 0;
        padding: 0;
        justify-content: center;
        width: 100%;
    }
    
    .feature-circle {
        width: min(260px, calc(100vw - 48px));
        height: min(260px, calc(100vw - 48px));
        max-width: 100%;
    }
    
    .feature-item {
        opacity: 0;
        transform: scale(0.5);
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) scale(0.5);
    }
    
    .feature-item.active {
        opacity: 1;
        position: relative;
        left: auto;
        transform: scale(1);
        max-width: 100%;
    }
    
    .scene-icon {
        width: 90px;
        height: 90px;
    }
    
    .scene-label {
        font-size: 0.95rem;
    }
    
    .feature-item.active .tech-ring-outer {
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
    }
    
    .feature-item.active .tech-ring-inner {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
    }
}

.scene-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.scene-icon {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
}

.scene-icon svg {
    width: 100%;
    height: 100%;
    max-width: 100px;
    max-height: 100px;
}

.scene-label {
    font-size: 1rem;
    color: #182626;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    max-width: 400px;
}

/* Feature progress styles moved below */
/* REMOVED: complex feature animations - using SVG icons now */

/* === FEATURE PROGRESS === */
.feature-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    background: rgba(24, 38, 38, 0.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.progress-dot:hover {
    background: rgba(24, 38, 38, 0.3);
    transform: scale(1.1);
}

.progress-dot.active {
    background: #f58133;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(245, 129, 51, 0.4);
}

/* === HERO CTA === */
.hero-cta {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f58133, #e0702a);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 129, 51, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 129, 51, 0.5);
}

.hero-cta-button:hover::before {
    opacity: 1;
}

.hero-cta-button svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.hero-cta-button:hover svg {
    transform: translateX(4px);
}

.hero-cta-hint {
    font-size: 0.85rem;
    color: #182626;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-features-showcase {
        margin-top: 40px;
    }
    
    .feature-stage {
        height: 320px;
    }
    
    .scene-label {
        font-size: 0.9rem;
    }
    
    .scene-integration {
        width: 150px;
        height: 150px;
    }
    
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f58133, #ff9a4d);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ============================================================
   SECTION 1: HERO VIDEO
   ============================================================ */

.onsite-hero-video * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-hero-video {
    --main-color: #182626;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-light: rgba(245, 129, 51, 0.1);
    --accent-glow: rgba(245, 129, 51, 0.4);
    --bg-color: #F7F7F7;

    position: relative;
    width: 100%;
    padding: 80px 40px 100px;
    background: var(--bg-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-hero-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 129, 51, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(24, 38, 38, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.onsite-hero-video .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.onsite-hero-video .layout {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.onsite-hero-video .headline-container {
    text-align: left;
    perspective: 1000px;
}

.onsite-hero-video .floating-headline {
    display: block;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.onsite-hero-video .main-title {
    color: var(--main-color);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 20px;
}

.onsite-hero-video .main-title span {
    color: var(--accent-color);
}

.onsite-hero-video .subtitle {
    color: var(--main-color);
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.onsite-hero-video .subtitle strong {
    font-weight: 600;
    color: var(--accent-color);
}

.onsite-hero-video .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 28px;
    background: var(--main-color);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 38, 38, 0.2);
}

.onsite-hero-video .cta-button:hover {
    background: #1a2f2f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 38, 38, 0.3);
}

.onsite-hero-video .cta-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.onsite-hero-video .video-wrapper {
    position: relative;
}

.onsite-hero-video .video-glow {
    position: absolute;
    inset: -20px;
    border-radius: 28px;
    background: linear-gradient(135deg,
        rgba(245, 129, 51, 0.15) 0%,
        transparent 50%,
        rgba(24, 38, 38, 0.08) 100%);
    filter: blur(20px);
    opacity: 0.8;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.onsite-hero-video .video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 60px rgba(24, 38, 38, 0.12),
        0 0 0 1px rgba(24, 38, 38, 0.06);
}

.onsite-hero-video .video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
        var(--accent-color) 0%,
        transparent 40%,
        transparent 60%,
        rgba(24, 38, 38, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.onsite-hero-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.onsite-hero-video .tech-element {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.onsite-hero-video .tech-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.4;
    animation: techFloat 6s ease-in-out infinite;
}

.onsite-hero-video .tech-ring {
    border: 2px solid rgba(245, 129, 51, 0.15);
    background: transparent;
    animation: techRing 8s ease-in-out infinite;
}

@keyframes techFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 0.7; }
}

@keyframes techRing {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.5; }
}

.onsite-hero-video .tech-dot-1 { top: 15%; left: 5%; animation-delay: 0s; }
.onsite-hero-video .tech-dot-2 { top: 25%; right: 8%; animation-delay: -1s; }
.onsite-hero-video .tech-dot-3 { bottom: 20%; left: 10%; animation-delay: -2s; }
.onsite-hero-video .tech-dot-4 { bottom: 30%; right: 5%; animation-delay: -3s; }
.onsite-hero-video .tech-dot-5 { top: 60%; left: 3%; animation-delay: -4s; }

.onsite-hero-video .tech-ring-1 { width: 60px; height: 60px; top: 10%; right: 15%; }
.onsite-hero-video .tech-ring-2 { width: 40px; height: 40px; bottom: 15%; left: 8%; animation-delay: -2s; }
.onsite-hero-video .tech-ring-3 { width: 80px; height: 80px; top: 50%; right: 3%; animation-delay: -4s; }

.onsite-hero-video .tech-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 129, 51, 0.2), transparent);
    pointer-events: none;
    animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.onsite-hero-video .tech-line-1 { width: 100px; top: 20%; left: 2%; transform: rotate(30deg); }
.onsite-hero-video .tech-line-2 { width: 80px; bottom: 25%; right: 5%; transform: rotate(-20deg); animation-delay: -1.5s; }

/* ============================================================
   SECTION 2: SAMMELSPIEL ANIMATION
   ============================================================ */

.onsite-animation-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-animation-container {
    --main-color: #182626;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-glow: rgba(245, 129, 51, 0.6);

    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--main-color) 0%, #1a2f2f 50%, var(--main-color) 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-animation-container .layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.onsite-animation-container .section-headline {
    text-align: left;
    padding: 0;
    position: relative;
    z-index: 1;
}

.onsite-animation-container .section-headline h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.onsite-animation-container .section-headline h2 span {
    color: var(--accent-color);
}

.onsite-animation-container .section-headline p {
    color: var(--secondary-color);
    opacity: 0.7;
    font-size: 1.1rem;
    font-weight: 400;
}

.onsite-animation-container .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 1;
}

.onsite-animation-container .deco-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-top: 28px;
}

.onsite-animation-container .bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 50%, rgba(245, 129, 51, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(245, 129, 51, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(242, 237, 223, 0.02) 0%, transparent 50%);
}

.onsite-animation-container .input-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    min-height: 320px;
    justify-content: center;
}

.onsite-animation-container .input-icon {
    width: 70px;
    height: 70px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(40, 61, 64, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease, filter 0.3s ease;
    position: relative;
    z-index: 10;
    animation: gentleFloat 4s ease-in-out infinite;
}

.onsite-animation-container .input-icon.collected {
    opacity: 0.2;
    filter: grayscale(1);
    cursor: default;
    animation: none;
    transform: scale(0.9);
}

.onsite-animation-container .input-icon:nth-child(1) { animation-delay: 0s; }
.onsite-animation-container .input-icon:nth-child(2) { animation-delay: 0.7s; }
.onsite-animation-container .input-icon:nth-child(3) { animation-delay: 1.4s; }
.onsite-animation-container .input-icon:nth-child(4) { animation-delay: 2.1s; }

.onsite-animation-container .input-icon:hover,
.onsite-animation-container .input-icon:active {
    animation: dance 0.5s ease-in-out;
    box-shadow: 0 8px 40px var(--accent-glow);
    border-color: var(--accent-color);
}

@keyframes dance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-8px) rotate(-5deg); }
    40% { transform: translateY(-4px) rotate(5deg); }
    60% { transform: translateY(-10px) rotate(-3deg); }
    80% { transform: translateY(-2px) rotate(2deg); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-6px) translateX(3px); }
}

.onsite-animation-container .flying-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 30px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--accent-color);
    z-index: 1000;
    pointer-events: none;
}

.onsite-animation-container .flow-section {
    display: flex;
    align-items: center;
    position: relative;
}

.onsite-animation-container .flow-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(245, 129, 51, 0.2) 0%,
        rgba(245, 129, 51, 0.6) 50%,
        rgba(245, 129, 51, 0.8) 100%
    );
    border-radius: 2px;
    position: relative;
    overflow: visible;
}

.onsite-animation-container .flow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: flowPulse 2s ease-in-out infinite;
}

@keyframes flowPulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

.onsite-animation-container .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-glow);
    animation: particleMove 2s ease-in-out infinite;
}

.onsite-animation-container .particle:nth-child(1) { animation-delay: 0s; top: -8px; }
.onsite-animation-container .particle:nth-child(2) { animation-delay: 0.4s; top: 50%; transform: translateY(-50%); }
.onsite-animation-container .particle:nth-child(3) { animation-delay: 0.8s; top: calc(100% + 4px); }

@keyframes particleMove {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.onsite-animation-container .magic-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onsite-animation-container .logo-container {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--main-color) 0%, #3a5558 50%, var(--accent-color) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 5;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 0 80px var(--accent-glow), 0 0 120px rgba(245, 129, 51, 0.3), 0 20px 60px rgba(0, 0, 0, 0.4); }
}

.onsite-animation-container .logo-container.receiving {
    animation: logoPulse 0.5s ease-out;
}

@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.onsite-animation-container .logo-spinner {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 4px solid transparent;
    border-top-color: var(--accent-color);
    border-right-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.onsite-animation-container .logo-container.processing .logo-spinner {
    opacity: 1;
    animation: spinnerRotate 0.8s linear infinite;
}

.onsite-animation-container .logo-container.processing {
    animation: processingPulse 0.8s ease-in-out infinite;
}

@keyframes spinnerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes processingPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0, 0, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 100px var(--accent-glow), 0 0 150px rgba(245, 129, 51, 0.5), 0 20px 60px rgba(0, 0, 0, 0.4); }
}

.onsite-animation-container .logo-text {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.onsite-animation-container .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-glow);
    animation: sparkle 2s ease-in-out infinite;
}

.onsite-animation-container .sparkle:nth-child(1) { top: -20px; left: 50%; animation-delay: 0s; }
.onsite-animation-container .sparkle:nth-child(2) { top: 20%; right: -20px; animation-delay: 0.3s; }
.onsite-animation-container .sparkle:nth-child(3) { bottom: -20px; left: 30%; animation-delay: 0.6s; }
.onsite-animation-container .sparkle:nth-child(4) { top: 30%; left: -20px; animation-delay: 0.9s; }
.onsite-animation-container .sparkle:nth-child(5) { bottom: 20%; right: -15px; animation-delay: 1.2s; }
.onsite-animation-container .sparkle:nth-child(6) { top: -15px; left: 20%; animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
}

.onsite-animation-container .orbit {
    position: absolute;
    border: 2px solid rgba(40, 61, 64, 0.1);
    border-radius: 50%;
    animation: orbit 8s linear infinite;
}

.onsite-animation-container .orbit:nth-child(7) { width: 200px; height: 200px; border-color: rgba(245, 129, 51, 0.3); }
.onsite-animation-container .orbit:nth-child(8) { width: 240px; height: 240px; border-color: rgba(242, 237, 223, 0.1); animation-direction: reverse; animation-duration: 12s; }

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.onsite-animation-container .output-section {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onsite-animation-container .output-icon {
    width: 100px;
    height: 120px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, #f5f0e0 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(245, 129, 51, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    opacity: 0.15;
    filter: grayscale(0.5);
    transform: scale(0.85);
}

.onsite-animation-container .output-icon.complete {
    opacity: 1;
    filter: none;
    transform: scale(1);
    animation: documentBreathe 4s ease-in-out infinite;
}

.onsite-animation-container .counter-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px var(--accent-glow);
    z-index: 10;
    transition: transform 0.3s ease, background 0.3s ease;
}

.onsite-animation-container .counter-badge.complete {
    background: #4CAF50;
    transform: scale(1.2);
}

.onsite-animation-container .output-icon.popping {
    animation: documentPop 0.6s ease-out;
}

@keyframes documentPop {
    0% { transform: scale(0.5) translateX(-50px); opacity: 0; }
    50% { transform: scale(1.15) translateX(10px); opacity: 1; }
    70% { transform: scale(0.95) translateX(-5px); }
    100% { transform: scale(1) translateX(0); opacity: 1; }
}

@keyframes documentBreathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.02) translateY(-3px); }
}

.onsite-animation-container .output-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, transparent 50%, #e8e3d3 50%);
    border-bottom-left-radius: 8px;
}

.onsite-animation-container .doc-line {
    position: absolute;
    left: 12px;
    height: 4px;
    background: rgba(40, 61, 64, 0.2);
    border-radius: 2px;
}

.onsite-animation-container .doc-line:nth-child(1) { top: 35px; width: 45px; }
.onsite-animation-container .doc-line:nth-child(2) { top: 50px; width: 70px; }
.onsite-animation-container .doc-line:nth-child(3) { top: 65px; width: 55px; }
.onsite-animation-container .doc-line:nth-child(4) { top: 80px; width: 35px; }

.onsite-animation-container .checkmark {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d66a1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px var(--accent-glow);
    animation: checkPulse 3s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.onsite-animation-container .label {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: #182626;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.onsite-animation-container .input-section .label { color: var(--secondary-color); }
.onsite-animation-container .magic-section .label { color: var(--accent-color); font-weight: 700; }
.onsite-animation-container .output-section .label { color: var(--secondary-color); }

/* ============================================================
   SECTION 2B: HOW IT WORKS (Step Scroll)
   ============================================================ */

.onsite-how-it-works {
    --main-color: #182626;
    --accent-color: #f58133;
    --accent-light: rgba(245, 129, 51, 0.1);
    --text-muted: #5a6a6d;
    --bg-color: #F7F7F7;

    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: var(--bg-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-how-it-works .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.onsite-how-it-works .headline {
    text-align: center;
    margin-bottom: 48px;
}

.onsite-how-it-works .headline h2 {
    color: var(--main-color);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.onsite-how-it-works .headline h2 span {
    color: var(--accent-color);
}

.onsite-how-it-works .headline p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.onsite-how-it-works .steps-viewport {
    position: relative;
    overflow: hidden;
}

.onsite-how-it-works .steps-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.onsite-how-it-works .steps-track::-webkit-scrollbar {
    display: none;
}

.onsite-how-it-works .step-card {
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 0 20px;
}

.onsite-how-it-works .step-card-inner {
    background: #FAFAFA;
    border: 1px solid rgba(24, 38, 38, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.onsite-how-it-works .step-card-inner:hover {
    box-shadow: 0 12px 40px rgba(24, 38, 38, 0.06);
}

.onsite-how-it-works .step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.onsite-how-it-works .step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.onsite-how-it-works .step-title {
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.onsite-how-it-works .step-visual {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(245, 129, 51, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(245, 129, 51, 0.15);
}

.onsite-how-it-works .step-visual svg {
    width: 180px;
    height: 160px;
}

.onsite-how-it-works .step-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
}

/* Arrow navigation */
.onsite-how-it-works .step-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.onsite-how-it-works .steps-viewport:hover .step-arrow {
    opacity: 1;
}

.onsite-how-it-works .step-arrow:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.onsite-how-it-works .step-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--main-color);
    stroke-width: 2;
    fill: none;
}

.onsite-how-it-works .step-arrow:hover svg {
    stroke: var(--accent-color);
}

.onsite-how-it-works .step-arrow-left {
    left: 8px;
}

.onsite-how-it-works .step-arrow-right {
    right: 8px;
}

.onsite-how-it-works .step-arrow.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

/* Progress bar + dots */
.onsite-how-it-works .steps-nav {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.onsite-how-it-works .step-progress-track {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(24, 38, 38, 0.08);
    border-radius: 2px;
    position: relative;
}

.onsite-how-it-works .step-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.onsite-how-it-works .step-dots {
    display: flex;
    gap: 24px;
}

.onsite-how-it-works .step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(24, 38, 38, 0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.onsite-how-it-works .step-dot.active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(245, 129, 51, 0.3);
}

.onsite-how-it-works .step-dot.passed {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.onsite-how-it-works .swipe-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    display: none;
}

@media (max-width: 1024px) {
    .onsite-how-it-works .swipe-hint {
        display: block;
    }
    .onsite-how-it-works .step-arrow {
        display: none;
    }
    .onsite-how-it-works {
        padding: 70px 24px;
    }
    .onsite-how-it-works .step-card {
        padding: 0 12px;
    }
    .onsite-how-it-works .step-card-inner {
        padding: 32px 28px;
        max-width: 600px;
    }
}

/* ============================================================
   SECTION 3: USE CASES
   ============================================================ */

.onsite-use-cases * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-use-cases {
    --main-color: #182626;
    --main-light: #283d40;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-light: rgba(245, 129, 51, 0.15);
    --accent-glow: rgba(245, 129, 51, 0.4);

    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--main-color) 0%, #1a2f2f 50%, var(--main-color) 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-use-cases::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(245, 129, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 237, 223, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.onsite-use-cases .content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.onsite-use-cases .headline {
    text-align: center;
    margin-bottom: 60px;
}

.onsite-use-cases .headline h2 {
    color: var(--secondary-color);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.onsite-use-cases .headline h2 span {
    color: var(--accent-color);
}

.onsite-use-cases .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.onsite-use-cases .case-card {
    background: rgba(242, 237, 223, 0.03);
    border: 1px solid rgba(242, 237, 223, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: caseCardIn 0.6s ease forwards;
}

.onsite-use-cases .case-card:nth-child(1) { animation-delay: 0.1s; }
.onsite-use-cases .case-card:nth-child(2) { animation-delay: 0.2s; }
.onsite-use-cases .case-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes caseCardIn {
    to { opacity: 1; transform: translateY(0); }
}

.onsite-use-cases .case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.onsite-use-cases .case-card:hover {
    background: rgba(242, 237, 223, 0.06);
    border-color: rgba(245, 129, 51, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.onsite-use-cases .case-card:hover::before {
    transform: scaleX(1);
}

.onsite-use-cases .case-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.onsite-use-cases .case-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-color);
    stroke-width: 1.5;
    fill: none;
}

.onsite-use-cases .case-card:hover .case-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.onsite-use-cases .case-card.scroll-highlight {
    background: rgba(242, 237, 223, 0.06);
    border-color: rgba(245, 129, 51, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.onsite-use-cases .case-card.scroll-highlight::before {
    transform: scaleX(1);
}

.onsite-use-cases .case-card.scroll-highlight .case-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.onsite-use-cases .case-title {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.onsite-use-cases .case-desc {
    color: rgba(242, 237, 223, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.onsite-use-cases .case-formula {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(242, 237, 223, 0.08);
    flex-wrap: wrap;
}

.onsite-use-cases .formula-item {
    background: rgba(242, 237, 223, 0.08);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.onsite-use-cases .formula-operator {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.onsite-use-cases .formula-result {
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ============================================================
   SECTION 4: IMAGINE
   ============================================================ */

.onsite-imagine * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-imagine {
    --main-color: #182626;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-light: rgba(245, 129, 51, 0.1);
    --bg-color: #F7F7F7;
    --muted-color: #9ca3a5;
    --success-color: #2d8a4e;
    --success-light: rgba(45, 138, 78, 0.1);

    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: var(--bg-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-imagine .content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.onsite-imagine .main-headline {
    text-align: center;
    margin-bottom: 50px;
}

.onsite-imagine .main-headline h2 {
    color: var(--main-color);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.onsite-imagine .comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.onsite-imagine .column {
    padding: 36px 32px;
    border-radius: 20px;
}

.onsite-imagine .old-way {
    background: #FAFAFA;
    border: 1px solid rgba(24, 38, 38, 0.08);
}

.onsite-imagine .old-way .column-header {
    color: var(--muted-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onsite-imagine .old-way .column-header::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--muted-color);
}

.onsite-imagine .pain-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(24, 38, 38, 0.05);
}

.onsite-imagine .pain-item:last-child {
    border-bottom: none;
}

.onsite-imagine .pain-icon {
    width: 28px;
    height: 28px;
    background: rgba(180, 180, 180, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.onsite-imagine .pain-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted-color);
    stroke-width: 2.5;
}

.onsite-imagine .pain-text {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: line-through;
    text-decoration-color: rgba(156, 163, 165, 0.5);
}

.onsite-imagine .new-way {
    background: linear-gradient(135deg, #ffffff 0%, #fefdfb 100%);
    border: 1px solid rgba(245, 129, 51, 0.15);
    box-shadow: 0 8px 40px rgba(245, 129, 51, 0.08);
}

.onsite-imagine .new-way .column-header {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onsite-imagine .new-way .column-header::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-color);
}

.onsite-imagine .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(245, 129, 51, 0.08);
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s ease forwards;
}

.onsite-imagine .benefit-item:nth-child(2) { animation-delay: 0.1s; }
.onsite-imagine .benefit-item:nth-child(3) { animation-delay: 0.2s; }
.onsite-imagine .benefit-item:nth-child(4) { animation-delay: 0.3s; }
.onsite-imagine .benefit-item:nth-child(5) { animation-delay: 0.4s; }

.onsite-imagine .benefit-item:last-child {
    border-bottom: none;
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.onsite-imagine .benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.onsite-imagine .benefit-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--success-color);
    stroke-width: 2.5;
}

.onsite-imagine .benefit-text {
    color: var(--main-color);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.onsite-imagine .quote-section {
    text-align: center;
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(24, 38, 38, 0.06);
    position: relative;
}

.onsite-imagine .quote-mark {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.onsite-imagine .quote-text {
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 16px;
}

.onsite-imagine .quote-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================================================
   SECTION 5: FEATURE GRID
   ============================================================ */

.onsite-feature-grid * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-feature-grid {
    --main-color: #182626;
    --main-light: #283d40;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-glow: rgba(245, 129, 51, 0.4);

    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--main-color) 0%, #1a2f2f 50%, var(--main-color) 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-feature-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 129, 51, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 129, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.onsite-feature-grid .grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 129, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 129, 51, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
    pointer-events: none;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.onsite-feature-grid .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.onsite-feature-grid .header {
    text-align: center;
    margin-bottom: 60px;
}

.onsite-feature-grid .header h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.onsite-feature-grid .header .subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.onsite-feature-grid .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.onsite-feature-grid .card-container {
    perspective: 1000px;
    height: 220px;
    opacity: 0;
    transform: translateY(30px);
    animation: cardEntrance 0.6s ease forwards;
}

.onsite-feature-grid .card-container:nth-child(1) { animation-delay: 0.1s; }
.onsite-feature-grid .card-container:nth-child(2) { animation-delay: 0.2s; }
.onsite-feature-grid .card-container:nth-child(3) { animation-delay: 0.3s; }
.onsite-feature-grid .card-container:nth-child(4) { animation-delay: 0.4s; }
.onsite-feature-grid .card-container:nth-child(5) { animation-delay: 0.5s; }
.onsite-feature-grid .card-container:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    to { opacity: 1; transform: translateY(0); }
}

.onsite-feature-grid .feature-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.onsite-feature-grid .card-container:hover .feature-card {
    transform: rotateY(180deg);
}

.onsite-feature-grid .feature-card.flipped {
    transform: rotateY(180deg);
}

.onsite-feature-grid .card-front,
.onsite-feature-grid .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 28px 24px;
    background: rgba(40, 61, 64, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(242, 237, 223, 0.08);
    overflow: hidden;
}

.onsite-feature-grid .card-front {
    display: flex;
    flex-direction: column;
}

.onsite-feature-grid .card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.onsite-feature-grid .card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(245, 129, 51, 0.15) 0%, rgba(40, 61, 64, 0.6) 100%);
    border-color: rgba(245, 129, 51, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onsite-feature-grid .card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color));
}

.onsite-feature-grid .icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.onsite-feature-grid .icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
}

.onsite-feature-grid .feature-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.onsite-feature-grid .feature-desc {
    color: rgba(242, 237, 223, 0.7);
    font-size: 0.9rem;
    line-height: 1.55;
}

.onsite-feature-grid .back-title {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onsite-feature-grid .back-title::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}

.onsite-feature-grid .back-desc {
    color: var(--secondary-color);
    font-size: 0.92rem;
    line-height: 1.65;
}

.onsite-feature-grid .flip-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(245, 129, 51, 0.15);
    border: 1px solid rgba(245, 129, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.onsite-feature-grid .card-container:hover .flip-hint {
    opacity: 0;
}

.onsite-feature-grid .fg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s ease-in-out infinite;
    pointer-events: none;
}

.onsite-feature-grid .fg-particle:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.onsite-feature-grid .fg-particle:nth-child(2) { top: 20%; right: 10%; animation-delay: -3s; }
.onsite-feature-grid .fg-particle:nth-child(3) { top: 60%; left: 8%; animation-delay: -6s; }
.onsite-feature-grid .fg-particle:nth-child(4) { top: 80%; right: 15%; animation-delay: -9s; }
.onsite-feature-grid .fg-particle:nth-child(5) { top: 40%; right: 5%; animation-delay: -12s; }

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(10px, -20px) scale(1.2); opacity: 0.5; }
    50% { transform: translate(-5px, -10px) scale(0.8); opacity: 0.2; }
    75% { transform: translate(15px, 5px) scale(1.1); opacity: 0.4; }
}

/* ============================================================
   SECTION 6: NO NONSENSE
   ============================================================ */

.onsite-usp-block * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.onsite-usp-block {
    --main-color: #182626;
    --main-light: #283d40;
    --secondary-color: #f2eddf;
    --accent-color: #f58133;
    --accent-light: rgba(245, 129, 51, 0.1);
    --bg-color: #F7F7F7;
    --text-muted: #5a6a6d;

    position: relative;
    width: 100%;
    padding: 80px 40px;
    background: var(--bg-color);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    border-radius: 24px;
}

.onsite-usp-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(24, 38, 38, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(245, 129, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.onsite-usp-block .content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.onsite-usp-block .usp-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.onsite-usp-block .headline-section {
    position: relative;
}

.onsite-usp-block .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: 1px solid rgba(245, 129, 51, 0.2);
    border-radius: 20px;
    padding: 6px 14px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.onsite-usp-block .badge-icon {
    font-size: 1rem;
}

.onsite-usp-block h2 {
    color: var(--main-color);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.onsite-usp-block h2 span {
    position: relative;
    display: inline;
}

.onsite-usp-block h2 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-light);
    border-radius: 4px;
    z-index: -1;
}

.onsite-usp-block .intro-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 400px;
}

.onsite-usp-block .intro-text strong {
    color: var(--main-color);
    font-weight: 600;
}

.onsite-usp-block .usp-deco-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-top: 32px;
}

.onsite-usp-block .usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.onsite-usp-block .usp-card {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(24, 38, 38, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.onsite-usp-block .usp-card:nth-child(1) { animation-delay: 0.1s; }
.onsite-usp-block .usp-card:nth-child(2) { animation-delay: 0.2s; }
.onsite-usp-block .usp-card:nth-child(3) { animation-delay: 0.3s; }
.onsite-usp-block .usp-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.onsite-usp-block .usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.onsite-usp-block .usp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(24, 38, 38, 0.08);
    border-color: rgba(245, 129, 51, 0.3);
}

.onsite-usp-block .usp-card:hover::before {
    opacity: 1;
}

.onsite-usp-block .usp-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.onsite-usp-block .usp-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
}

.onsite-usp-block .usp-card:hover .usp-icon {
    transform: scale(1.1);
}

.onsite-usp-block .usp-card.scroll-highlight {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(24, 38, 38, 0.08);
    border-color: rgba(245, 129, 51, 0.3);
}

.onsite-usp-block .usp-card.scroll-highlight::before {
    opacity: 1;
}

.onsite-usp-block .usp-card.scroll-highlight .usp-icon {
    transform: scale(1.1);
}

.onsite-usp-block .usp-title {
    color: var(--main-color);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.onsite-usp-block .usp-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.onsite-usp-block .trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(24, 38, 38, 0.08);
}

.onsite-usp-block .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.onsite-usp-block .trust-icon {
    width: 36px;
    height: 36px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.onsite-usp-block .trust-text {
    font-weight: 500;
    color: var(--main-color);
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

@media (max-width: 1024px) {
    .onsite-hero-video .layout,
    .onsite-animation-container .layout,
    .onsite-usp-block .usp-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .onsite-hero-video .headline-container,
    .onsite-animation-container .section-headline,
    .onsite-usp-block .headline-section {
        text-align: center;
    }

    .onsite-animation-container .section-headline {
        order: -1;
    }

    .onsite-animation-container .deco-line,
    .onsite-usp-block .usp-deco-line {
        margin: 28px auto 0;
    }

    .onsite-use-cases .cases-grid,
    .onsite-feature-grid .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .onsite-imagine .comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .onsite-imagine .new-way {
        order: -1;
    }

    .onsite-imagine .pain-text {
        text-decoration: none;
    }

    .onsite-usp-block .intro-text {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .section-wrapper {
        padding: 0 15px;
    }

    .onsite-hero-video,
    .onsite-animation-container,
    .onsite-use-cases,
    .onsite-imagine,
    .onsite-feature-grid,
    .onsite-usp-block {
        padding: 60px 20px;
    }

    .onsite-hero-video .main-title {
        font-size: 2.2rem;
    }

    .onsite-animation-container .content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 20px 50px;
    }

    .onsite-animation-container .input-section {
        flex-direction: row;
        justify-content: center;
        min-height: auto;
        gap: 12px;
    }

    .onsite-animation-container .input-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .onsite-animation-container .flow-line {
        width: 4px;
        height: 60px;
    }

    .accent-orb-left,
    .accent-orb-right {
        width: 200px;
        height: 300px;
    }

    .accent-orb-bottom {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 640px) {
    .onsite-hero-video .main-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .onsite-hero-video .tech-element {
        display: none;
    }

    .onsite-use-cases .cases-grid,
    .onsite-feature-grid .grid,
    .onsite-usp-block .usp-grid {
        grid-template-columns: 1fr;
    }

    .onsite-use-cases .case-formula {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .onsite-use-cases .formula-operator {
        display: none;
    }

    .onsite-use-cases .formula-result {
        margin-top: 4px;
    }

    .onsite-use-cases .formula-result::before {
        content: '→ ';
    }

    .onsite-use-cases .headline h2,
    .onsite-imagine .main-headline h2,
    .onsite-feature-grid .header h2,
    .onsite-usp-block h2,
    .onsite-animation-container .section-headline h2,
    .onsite-how-it-works .headline h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .onsite-how-it-works {
        padding: 60px 0;
    }

    .onsite-how-it-works .content {
        padding: 0 16px;
    }

    .onsite-how-it-works .steps-viewport {
        overflow: hidden;
    }

    .onsite-how-it-works .steps-track {
        padding: 0 16px;
    }

    .onsite-how-it-works .step-card {
        min-width: calc(100vw - 64px);
        width: calc(100vw - 64px);
        padding: 0;
        box-sizing: border-box;
    }

    .onsite-how-it-works .step-card-inner {
        padding: 20px 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .onsite-how-it-works .step-header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .onsite-how-it-works .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .onsite-how-it-works .step-visual {
        height: 140px;
        margin-bottom: 16px;
    }

    .onsite-how-it-works .step-visual svg {
        width: 120px;
        height: 100px;
    }

    .onsite-how-it-works .step-title {
        font-size: 1.15rem;
    }

    .onsite-how-it-works .step-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .onsite-how-it-works .steps-nav {
        padding: 0 16px;
    }

    .hero-main-headline {
        line-height: 1.4;
    }

    .onsite-feature-grid .card-container {
        height: 200px;
    }

    .onsite-feature-grid .card-front {
        align-items: center;
        text-align: center;
    }

    .onsite-usp-block .trust-bar {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .floating-particle {
        display: none;
    }
}

/* === CTA SECTIONS === */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.cta-section .cta-statement {
    color: #182626;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto 28px;
}

.cta-section .cta-statement span {
    color: #f58133;
}

.cta-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #f58133, #e06b1e);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 129, 51, 0.3);
}

.cta-section .cta-button:hover {
    background: linear-gradient(135deg, #e06b1e, #d05e15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 129, 51, 0.4);
}

.cta-section .cta-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* === VIDEO OVERLAY === */
.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    cursor: pointer;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-overlay video {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
}

.video-overlay .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-overlay .close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.video-overlay .close-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

@media (max-width: 1024px) {
    .onsite-hero-video .video-wrapper {
        cursor: zoom-in;
    }

    .onsite-hero-video .video-tap-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 12px;
        color: #182626;
        opacity: 0.45;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .onsite-hero-video .video-tap-hint svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
    }
}

@media (min-width: 1025px) {
    .onsite-hero-video .video-tap-hint {
        display: none;
    }
}

/* === CALENDLY MODAL === */
.calendly-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.calendly-modal.active {
    opacity: 1;
    visibility: visible;
}

.calendly-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.calendly-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    height: 85vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.calendly-modal-content .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(24, 38, 38, 0.08);
    border: 1px solid rgba(24, 38, 38, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.calendly-modal-content .close-btn:hover {
    background: rgba(24, 38, 38, 0.15);
}

.calendly-modal-content .close-btn svg {
    width: 18px;
    height: 18px;
    stroke: #182626;
    stroke-width: 2;
    fill: none;
}

.calendly-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */
.site-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px 32px;
    color: #5a6a6d;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer .footer-copyright {
    margin-bottom: 12px;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.site-footer .footer-links a {
    color: #182626;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(245, 129, 51, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: #f58133;
    border-bottom-color: #f58133;
}

/* === STICKY HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(247, 247, 247, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    padding: 8px 40px;
    background: rgba(247, 247, 247, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}


.site-header .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f58133, #e06b1e);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.3s ease, font-size 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 129, 51, 0.3);
}

.site-header.scrolled .header-cta {
    padding: 7px 18px;
    font-size: 0.85rem;
}

.site-header .header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 129, 51, 0.4);
}

/* Dark mode header for dark sections */
.site-header.dark-mode {
    background: rgba(24, 38, 38, 0.7);
}

.site-header.dark-mode.scrolled {
    background: rgba(24, 38, 38, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* SVG logo sizing */
.site-header .header-logo svg {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

.site-header.scrolled .header-logo svg {
    height: 32px;
}

/* SVG logo color switching */
.site-header .header-logo .logo-text-paths {
    fill: #141f20;
    transition: fill 0.3s ease;
}

.site-header.dark-mode .header-logo .logo-text-paths {
    fill: #f2eddf;
}

/* Push content below fixed header */
body {
    padding-top: 80px;
}

@media (max-width: 640px) {
    .site-header {
        padding: 12px 16px;
    }

    .site-header.scrolled {
        padding: 6px 16px;
    }

    .site-header .header-logo svg {
        height: 36px;
    }

    .site-header.scrolled .header-logo svg {
        height: 26px;
    }

    .site-header .header-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .site-header.scrolled .header-cta {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    body {
        padding-top: 60px;
    }
}

/* ============================================================
   THEME OVERRIDES - Dark/Light variants
   ============================================================ */

/* How It Works - Dark Theme */
.onsite-how-it-works.dark-theme {
    --main-color: #f2eddf;
    --accent-color: #f58133;
    --text-muted: #a0b0b3;
    --bg-color: #182626;
    background: var(--bg-color);
}

.onsite-how-it-works.dark-theme .step-card-inner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.onsite-how-it-works.dark-theme .step-card-inner:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.onsite-how-it-works.dark-theme .step-visual {
    background: rgba(245, 129, 51, 0.08);
    border-color: rgba(245, 129, 51, 0.2);
}

/* Step card SVGs: dark grey (#182626) elements → light for dark bg */
.onsite-how-it-works.dark-theme .step-visual svg [stroke="#182626"] {
    stroke: rgba(255, 255, 255, 0.35) !important;
}
.onsite-how-it-works.dark-theme .step-visual svg [fill="#182626"] {
    fill: rgba(255, 255, 255, 0.1) !important;
}

.onsite-how-it-works.dark-theme .step-arrow {
    background: rgba(24, 38, 38, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.onsite-how-it-works.dark-theme .step-arrow svg {
    stroke: #f2eddf;
}

.onsite-how-it-works.dark-theme .step-progress-track {
    background: rgba(255, 255, 255, 0.1);
}

.onsite-how-it-works.dark-theme .step-dot {
    background: rgba(24, 38, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: #a0b0b3;
}

.onsite-how-it-works.dark-theme .step-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.onsite-how-it-works.dark-theme .step-dot.passed {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Use Cases - Light Theme */
.onsite-use-cases.light-theme {
    --main-color: #182626;
    --secondary-color: #f7f7f7;
    --accent-color: #f58133;
    background: var(--secondary-color);
}

.onsite-use-cases.light-theme .headline h2 {
    color: var(--main-color);
}

.onsite-use-cases.light-theme .case-card {
    background: white;
    border: 1px solid rgba(24, 38, 38, 0.08);
}

.onsite-use-cases.light-theme .case-card:hover {
    border-color: rgba(245, 129, 51, 0.3);
    box-shadow: 0 12px 40px rgba(24, 38, 38, 0.08);
}

.onsite-use-cases.light-theme .case-icon svg {
    stroke: var(--main-color);
}

.onsite-use-cases.light-theme .case-title {
    color: var(--main-color);
}

.onsite-use-cases.light-theme .case-desc {
    color: #5a6a6d;
}

.onsite-use-cases.light-theme .case-formula {
    background: rgba(24, 38, 38, 0.03);
}

.onsite-use-cases.light-theme .formula-item,
.onsite-use-cases.light-theme .formula-operator {
    color: #5a6a6d;
}

.onsite-use-cases.light-theme .formula-result {
    color: var(--accent-color);
}

/* USP Block - Dark Theme */
.onsite-usp-block.dark-theme {
    --main-color: #f2eddf;
    --accent-color: #f58133;
    --text-muted: #a0b0b3;
    background: #182626;
}

.onsite-usp-block.dark-theme h2 {
    color: var(--main-color);
}

.onsite-usp-block.dark-theme h2 span {
    color: var(--accent-color);
}

.onsite-usp-block.dark-theme .intro-text {
    color: var(--text-muted);
}

.onsite-usp-block.dark-theme .badge {
    background: rgba(245, 129, 51, 0.15);
    color: var(--accent-color);
}

.onsite-usp-block.dark-theme .usp-deco-line {
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.onsite-usp-block.dark-theme .usp-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.onsite-usp-block.dark-theme .usp-card:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.onsite-usp-block.dark-theme .usp-icon {
    background: rgba(245, 129, 51, 0.15);
}

.onsite-usp-block.dark-theme .usp-icon svg {
    stroke: var(--accent-color);
}

.onsite-usp-block.dark-theme .usp-title {
    color: var(--main-color);
}

.onsite-usp-block.dark-theme .usp-desc {
    color: var(--text-muted);
}

.onsite-usp-block.dark-theme .trust-bar {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.onsite-usp-block.dark-theme .trust-icon {
    color: var(--accent-color);
}

.onsite-usp-block.dark-theme .trust-text {
    color: var(--main-color);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #F7F7F7;
    border-top: 1px solid #e0e0e0;
    padding: 30px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #182626;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f58133;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
