* {
    cursor: none !important;
}

/* WebGL overlay — contrasto globale sopra canvas */
#webgl-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
}

/* Solution Business Partner - Global Styles */

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    -webkit-font-smoothing: antialiased;
}

:root {
    /* Palette */
    --bg-primary: #101010;
    --bg-secondary: #010101;
    --accent: #C2D10F;
    --text-primary: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.72);
    --border: rgba(194, 209, 15, 0.15);
    --pill-bg: rgba(16, 16, 16, 0.75);
    --pill-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-display: "helvetica-neue-lt-pro-cond", sans-serif;
    --font-body: "helvetica-neue-lt-pro", sans-serif;

    /* Scale Titles */
    --text-hero: clamp(56px, 10vw, 120px);
    --text-h1: clamp(40px, 6vw, 80px);
    --text-h2: clamp(28px, 4vw, 48px);
    --text-h3: clamp(20px, 2.5vw, 32px);
    --text-body: 16px;
    --text-small: 13px;
    --text-label: 11px;

    /* Spacing */
    --tracking-tight: -0.02em;
    --tracking-wide: 0.08em;
    --tracking-wider: 0.15em;

    /* Container Max Widths */
    --container-width: 1400px;
    --container-padding: 24px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

/* Fix Canvas Layer */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Let clicks pass through to content? Or handle mousemove? Mousemove is on window. */
}

/* Ensure content sits on top */
section {
    position: relative;
    z-index: 2;
    background-color: transparent !important;
}

h1,
h2,
h3 {
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

p {
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}


a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}

/* Typography Rules */

h1,
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-tight);
    line-height: 0.9;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

h2,
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-h2);
    text-transform: uppercase;
    letter-spacing: var(--tracking-tight);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

h3,
.card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-h3);
    text-transform: uppercase;
    letter-spacing: var(--tracking-tight);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

p,
li {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--text-muted);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.label,
.nav-link,
.category-tag {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-label);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

blockquote,
.testimonial-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    font-size: var(--text-h3);
    line-height: 1.4;
}

.result-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-hero);
    color: var(--accent);
    line-height: 1;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    gap: 24px;
}

.fullscreen {
    min-height: 100svh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hidden {
    display: none !important;
}

/* Buttons / CTA */
.cta-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(194, 209, 15, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 14px 30px;
    /* 1px less padding to account for border */
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover {
    background-color: rgba(194, 209, 15, 0.1);
}

.arrow-icon {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.cta-primary:hover .arrow-icon,
.cta-secondary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Animations Helpers */
.reveal-section {
    opacity: 1;
    /* Opacity handled by JS for animation, default visible (fallback) */
}

@media (max-width: 768px) {

    .reveal-section,
    .reveal-section>* {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Touch targets più grandi su mobile per bottoni e link cliccabili principali */
    button,
    .cta-primary,
    .cta-secondary,
    [class*="btn"],
    .nav-link,
    .mobile-nav-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Card Styles (Generic) */
.card {
    background-color: #1a1a1a;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

/* Cursor Styles */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    margin-left: -3px;
    margin-top: -3px;
    transition: transform 0.1s ease-out;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    margin-left: -16px;
    margin-top: -16px;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, transform 0.15s ease-out;
}

.cursor-ring.hover {
    width: 64px;
    height: 64px;
    background-color: rgba(194, 209, 15, 0.1);
    border-color: transparent;
    margin-left: -32px;
    margin-top: -32px;
}