/*
Theme Name: TechVisory Theme
Theme URI: https://techvisory.it
Author: TechVisory
Author URI: https://techvisory.it
Description: Tema moderno per TechVisory - Digital Solution & Data Intelligence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techvisory
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-bg: #03001C;
    --color-dark-secondary: #0A064B;
    --color-pink: #ec4899;
    --color-violet: #8b5cf6;
    --color-purple: #a855f7;
    --color-emerald: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: var(--color-dark-bg);
    overflow-x: hidden;
    position: relative;
}

/* Global Floating Background Gradients */
.global-bg-gradient {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

/* Layer 1 - Viola */
.global-bg-layer-1 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0.4) 30%, transparent 60%);
    opacity: 0.8;
}

/* Layer 2 - Rosa */
.global-bg-layer-2 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.8) 0%, rgba(236, 72, 153, 0.4) 30%, transparent 60%);
    opacity: 0.7;
}

/* Layer 3 - Verde/Azzurro */
.global-bg-layer-3 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.7) 0%, rgba(16, 185, 129, 0.3) 30%, transparent 60%);
    opacity: 0.6;
}

.site-wrapper {
    position: relative;
    z-index: 1;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-nav {
    background: rgba(3, 0, 28, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Blobs */
.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(3, 0, 28, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-violet));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.05em;
}

.logo-text-sub {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #9ca3af;
    margin-top: -0.25rem;
    font-weight: 500;
}

.navbar-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    transition: color 0.25s;
}

.navbar-burger:hover {
    color: var(--color-pink);
}

.navbar-burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.navbar-burger[aria-expanded="true"] .navbar-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-burger[aria-expanded="true"] .navbar-burger-bar:nth-child(2) {
    opacity: 0;
}

.navbar-burger[aria-expanded="true"] .navbar-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar-menu a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: #fff;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: width 0.3s;
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem;
    z-index: 1;
}

/* Nascondi eventuali caratteri nascosti dopo la sezione hero */
.hero-section::after {
    display: none !important;
    content: none !important;
}

.hero-bg-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    text-align: center;
    max-width: 80rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: none;
    padding: 0.375rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-pink);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #9ca3af;
    max-width: 48rem;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    position: relative;
    padding: 1.25rem 2.5rem;
    background: #fff;
    color: var(--color-dark-bg);
    font-weight: 900;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-pink), var(--color-violet));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 10;
}

.btn-secondary {
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 700;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Technology Section */
.technology-section {
    padding: 8rem 1rem 8rem;
    background: rgba(249, 250, 251, 1);
    border-radius: 4rem;
    margin: 5rem 1rem 0 1rem;
    box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    color: var(--color-dark-bg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 300;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

/* Se non ci sono certificazioni, usa 2 colonne */
.tech-grid.tech-grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid.tech-grid-2-cols {
        grid-template-columns: 1fr;
    }
}

/* Wrapper della card con effetto sovrapposizione */
.tech-card-wrapper {
    position: relative;
    transition: transform 0.5s;
}

.tech-card-wrapper:hover {
    transform: translateY(-0.5rem);
}

/* Barra colorata di sfondo (sta sotto) */
.tech-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5rem;
    border-radius: 2.5rem 2.5rem 0 0;
    z-index: 1;
}

.tech-card-background.pink { background: var(--color-pink); }
.tech-card-background.emerald { background: var(--color-emerald); }
.tech-card-background.purple { background: var(--color-purple); }

/* Card bianca sovrapposta */
.tech-card-white {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    padding: 4rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 450px;
    transition: all 0.3s ease;
}

/* Effetto Liquid Glass quando attivo */
.liquid-glass-active .tech-card-white {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Icone colorate */
.tech-card-icon-colored {
    width: 3rem;
    height: 3rem;
    margin-bottom: 2.5rem;
    transition: transform 0.3s;
}

.tech-card-wrapper:hover .tech-card-icon-colored {
    transform: scale(1.1);
}

.tech-card-icon-colored.pink { color: var(--color-pink); }
.tech-card-icon-colored.emerald { color: var(--color-emerald); }
.tech-card-icon-colored.purple { color: var(--color-purple); }

/* Titolo nero */
.tech-card-title-black {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* Sottotitolo nero grassetto */
.tech-card-subtitle-black {
    color: #111827;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.025em;
}

/* Descrizione grigia chiara */
.tech-card-description-gray {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.75;
    font-weight: 300;
    margin-top: auto;
}

/* Certificazioni ISO - Sotto le card */
.tech-certifications-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-certifications-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-certifications-logo-wrapper {
    flex-shrink: 0;
}

.tech-certifications-logo {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.tech-certifications-section:hover .tech-certifications-logo {
    filter: grayscale(0%);
}

.tech-certifications-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.tech-certification-code {
    font-size: 0.875rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-certification-code:hover {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 900;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tech-certifications-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .tech-certifications-logo {
        max-width: 100px;
        max-height: 100px;
    }
    
    .tech-certifications-codes {
        gap: 0.75rem;
    }
    
    .tech-certification-code {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Solutions Section */
.solutions-section {
    padding: 10rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ============================================
   AI SPOTLIGHT (Text Genius)
   ============================================ */

.ai-spotlight-section {
    padding: 2rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.ai-spotlight-container {
    position: relative;
    z-index: 2;
}

.ai-spotlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
    border-radius: 28px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.ai-spotlight-card.glassy {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 12px 40px rgba(31, 38, 135, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ai-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.ai-spotlight-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
    margin: 1rem 0 0.75rem;
    line-height: 1.1;
}

.ai-spotlight-subtitle {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ai-spotlight-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #1f2937;
    font-weight: 600;
}

.ai-spotlight-points .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    display: inline-flex;
    margin-right: 0.65rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

.ai-spotlight-points li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.ai-spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.4rem;
    border-radius: 14px;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-spotlight-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.45);
}

.ai-spotlight-right {
    display: flex;
    justify-content: flex-end;
}

.ai-spotlight-logo-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 18px;
}

.ai-spotlight-logo-img img {
    max-width: 240px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.18));
}

.ai-spotlight-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.4rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #fff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
}

.ai-spotlight-logo .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ec4899, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.ai-spotlight-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ai-spotlight-logo .top {
    font-weight: 700;
    color: #e5e7eb;
    letter-spacing: 0.02em;
}

.ai-spotlight-logo .bottom {
    font-weight: 900;
    font-size: 1.05rem;
    color: #fff;
}

@media (max-width: 1023px) {
    .ai-spotlight-section {
        padding: 4rem 0;
    }

    .ai-spotlight-card {
        grid-template-columns: 1fr;
        padding: 2.2rem;
    }

    .ai-spotlight-right {
        justify-content: flex-start;
    }

    .ai-spotlight-left {
        order: 2;
    }

    .ai-spotlight-right {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .ai-spotlight-badge {
        display: none;
    }
}

.solutions-section .container {
    position: relative;
    z-index: 10;
}

.solutions-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.solutions-divider-line {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
}

.solutions-divider-text {
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    font-weight: 900;
}

/* Solutions Main Layout */
.solutions-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 15rem;
    position: relative;
}

@media (min-width: 1024px) {
    .solutions-main-layout {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
        align-items: start;
    }
}

/* Title Section */
.solutions-title-section {
    margin-bottom: 3rem;
}

/* Solo per solutions-main-layout */
.solutions-main-layout .solutions-title-section {
    position: relative;
}

.solutions-big-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

/* Solo per solutions-main-layout */
.solutions-main-layout .solutions-big-title {
    position: relative;
    z-index: 2;
}

.solutions-title-purple {
    color: var(--color-purple);
}

.solutions-indicator {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.indicator-bar {
    height: 4px;
    border-radius: 9999px;
}

.indicator-bar.long {
    width: 3rem;
    background: var(--color-pink);
}

.indicator-bar.short {
    width: 1rem;
    background: var(--color-violet);
}

/* Decorative Arrow Button */
.solutions-decorative-arrow {
    width: 200px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pink);
    margin-top: 1rem;
    position: relative;
    overflow: visible;
}

/* Solo per solutions-main-layout: freccia dietro al titolo */
.solutions-main-layout .solutions-decorative-arrow {
    position: absolute;
    top: auto;
    bottom: -1rem;
    right: 0;
    margin-top: 0;
    z-index: 1;
}

.solutions-decorative-arrow svg {
    width: 24px;
    height: 24px;
}

/* Freccia invertita (da destra a sinistra) */
.solutions-decorative-arrow-left svg {
    /*transform: rotate(180deg);*/
}

/* Nascondi su mobile */
@media (max-width: 1023px) {
    .solutions-decorative-arrow {
        display: none;
    }
    
    .solutions-decorative-arrow-left {
        display: none;
    }
}

/* Cards Layout */
.solutions-cards-layout {
    position: relative;
    height: 320px;
}

/* Decorative Grid */
.solutions-decorative-grid {
    position: absolute;
    bottom: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
    width: 150px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.solutions-grid-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-pink);
    opacity: 0.6;
}

.solution-card-absolute {
    position: relative;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .solution-card-absolute {
        position: absolute;
        margin-bottom: 0;
    }
    
    /* DATA & SW SOLUTION - collegata a Nextgen Provider, stessa linea orizzontale (sopra) */
    .solution-card-decision {
        top: 0;
        right: -10%;
        width: 85%;
        z-index: 30;
    }
    
    /* Execution Right - collegata a Nextgen Provider, stessa linea orizzontale di DATA & SW SOLUTION */
    .solution-card-execution {
        top: 50%;
        right: -10%;
        width: 75%;
        z-index: 20;
        transform: translateY(-50%);
    }
    
    /* Better Usage ora è dentro la card unificata, non più separata */
}


/* Solution Cards */
.solution-card {
    padding: 3rem;
    border-radius: 3rem;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.solution-card-white {
    background: #fff;
    color: #111827;
    transition: all 0.3s ease;
}

/* Effetto Liquid Glass per Solution Cards */
.liquid-glass-active .solution-card-white {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Top Borders Only */
.solution-card-green-top-border {
    border-top: 3px solid var(--color-emerald);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.solution-card-pink-top-border {
    border-top: 3px solid var(--color-pink);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.solution-card-purple-top-border {
    border-top: 3px solid var(--color-purple);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

/* Card Titles */
.solution-card-title-pink {
    font-weight: 900;
    font-size: 1.875rem;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: var(--color-pink);
}

.solution-card-title-white {
    font-weight: 900;
    font-size: 1.875rem;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: #111827;
}

/* Solution List Grid (DATA & SW SOLUTION) */
.solution-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .solution-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.solution-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.solution-check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-pink);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.solution-item-main {
    font-weight: 900;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.solution-item-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

/* Features List (EXECUTION RIGHT) */
.solution-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s;
    cursor: default;
}

.solution-feature-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-pink);
    flex-shrink: 0;
}

.solution-feature-item span {
    font-weight: 900;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    color: #111827;
}

/* Better Usage List */
.solution-better-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-better-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.solution-better-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-purple);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.solution-better-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-pink);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.solution-better-text {
    color: #111827;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Advisory Section Layout */
.advisory-section-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 10rem;
    position: relative;
    padding-top: 5rem;
    margin-bottom:110px;
}

.advisory-title-section-bottom {
    order: -1;
    position: relative;
}

.advisory-title-section-right {
    position: relative;
}

@media (min-width: 1024px) {
    /* Invertito: card a sinistra (7fr), titolo a destra (5fr) - come uno specchio */
    .advisory-section-layout {
        display: grid;
        grid-template-columns: 7fr 5fr;
        gap: 4rem;
        align-items: start;
    }
    
    /* LEFT: Cards Container - card unificata */
    .advisory-cards-left-wrapper {
        position: relative;
        z-index: 1;
    }
    
    /* Better Usage più in alto per coprire spazio vuoto */
    .advisory-card-unified {
        position: relative;
        top: -15%;
        margin-top: 0;
    }
    
    /* RIGHT: Title Section - stessa struttura originale */
    .advisory-title-section-right {
        position: relative;
    }
}

@media (max-width: 1023px) {
    .advisory-title-section-right {
        order: -1;
        margin-bottom: -110px;
    }
    .solutions-decorative-grid{
        padding-top: 120px;
    }
}

.advisory-bottom-title {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.advisory-card-left {
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 3rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Card unificata con Better Usage e Advisory insieme */
.advisory-card-unified {
    position: relative;
}

.advisory-better-usage-section {
    /* Solo Better Usage nella card */
}

.advisory-better-usage-section .solution-better-text {
    color: #d1d5db;
}

/* Nascondi l'icona "i" in Advisory */
.advisory-icon-wrapper {
    display: none;
}

/* Advisory Right Content */
.advisory-right-content {
    margin-top: 2rem;
}

.advisory-right-title {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2.5rem;
    color: #fff;
}

.advisory-right-description {
    color: #9ca3af;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 28rem;
}

.advisory-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 900;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: all 0.3s;
    text-decoration: none;
}

.advisory-btn:hover {
    background: #fff;
    color: var(--color-dark-bg);
    border-color: #fff;
}

.advisory-icon-box {
    width: 3rem;
    height: 3rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advisory-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-violet);
}

.advisory-title {
    font-weight: 900;
    font-size: 1.875rem;
    font-style: italic;
    letter-spacing: -0.025em;
}

.advisory-content h3 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2.5rem;
}

.advisory-content p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 28rem;
}

.btn-outline {
    padding: 1.25rem 3rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 900;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-dark-bg);
}

/* Mission Section */
.mission-section {
    padding: 10rem 1rem;
    background: #fff;
    border-radius: 4rem;
    margin: 5rem 1rem 0 1rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    color: var(--color-dark-bg);
    z-index: 1;
}

.mission-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 25vw;
    font-weight: 900;
    color: rgba(229, 231, 235, 0.5);
    pointer-events: none;
    user-select: none;
}

.mission-header {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 8rem;
    position: relative;
    z-index: 10;
}

.mission-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    flex: 1;
}

.mission-title .violet { color: var(--color-violet); }
.mission-title .pink { color: var(--color-pink); }

.mission-dots {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    opacity: 0.1;
}

.mission-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #000;
    border-radius: 50%;
}

@media (max-width: 1023px) {
    .mission-header {
        gap: 2.5rem;
    }

    .mission-dots {
        max-width: 50%;
        margin-left: auto;
        margin-right: 0;
    }
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.mission-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.mission-card:hover {
    background: #f9fafb;
}

.mission-card-title {
    color: var(--color-pink);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.mission-card:hover .mission-card-title {
    transform: translateX(0.5rem);
}

.mission-card-text {
    color: #6b7280;
    line-height: 1.75;
    font-weight: 300;
    font-size: 1.125rem;
}

/* Team Section */
.team-section {
    padding: 10rem 0;
    position: relative;
    z-index: 1;
}

/* Team section - testo chiaro su sfondo scuro */
.team-section .section-title {
    color: #fff;
}

.team-section .section-description {
    color: #9ca3af;
}

.team-header {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto 8rem;
}

.team-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
}

.team-description {
    color: #9ca3af;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.75;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* Card Flipper Container */
.team-card-flipper {
    perspective: 1000px;
    aspect-ratio: 3/4;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s;
    min-height: 100%;
}

/* Card senza immagine: altezza automatica basata sul contenuto */
.team-card-flipper.no-image {
    aspect-ratio: auto;
    min-height: auto;
}

.team-card-flipper.no-image .team-card-flip-inner {
    height: auto;
}

/* Quando la card è girata, assume la stessa altezza delle altre card */
.team-card-flipper.no-image.is-flipped {
    aspect-ratio: 3/4;
    min-height: 400px;
}

.team-card-flipper.no-image.is-flipped .team-card-flip-inner {
    height: 100%;
}

.team-card-front.no-image {
    aspect-ratio: auto;
    min-height: auto;
    height: auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Effetto Glassmorphism Apple-style */
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(16, 185, 129, 0.08) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Quando la card è girata, il front assume l'altezza completa */
.team-card-flipper.no-image.is-flipped .team-card-front.no-image {
    height: 100%;
    aspect-ratio: 3/4;
}

/* Effetto di luce riflessa per maggiore profondità */
.team-card-front.no-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    pointer-events: none;
}

/* Hover effect per card senza immagine */
.team-card-flipper.no-image.has-flip:hover .team-card-front.no-image {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.2) 0%,
        rgba(236, 72, 153, 0.15) 50%,
        rgba(16, 185, 129, 0.12) 100%
    );
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.team-card-flipper.has-flip:hover {
    transform: translateY(-5px);
}

.team-card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card-flipper.is-flipped .team-card-flip-inner {
    transform: rotateY(180deg);
}

/* Front & Back */
.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2.5rem;
    overflow: hidden;
    top:0px;
}

/* Front */
.team-card-front {
    background: #080808;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.team-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(80%);
    transition: all 1s;
}

.team-card-flipper.has-flip:hover .team-card-image {
    transform: scale(1.05);
    opacity: 0.9;
    filter: grayscale(30%);
}

.team-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.team-card-placeholder svg {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.2);
}

.team-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 0, 28, 0.95) 0%, rgba(3, 0, 28, 0.3) 50%, transparent 100%);
}

.team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 10;
}

.team-card-front.no-image .team-card-info {
    position: relative;
    padding: 0;
    text-align: left;
    z-index: 1;
    width: 100%;
}

.team-card-name {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.team-card-role {
    color: var(--color-pink);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.team-card-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card-flipper.has-flip:hover .team-card-hint {
    opacity: 1;
}

/* Back */
.team-card-back {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	z-index:999;
}

/* Assicura che anche la card back delle card senza immagine abbia l'altezza corretta */
.team-card-flipper.no-image.is-flipped .team-card-back {
    height: 100%;
}

.team-card-back-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.team-card-back-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-card-back-role {
    color: var(--color-pink);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.team-card-bio {
    flex: 1;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.team-card-bio::-webkit-scrollbar {
    width: 4px;
}

.team-card-bio::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.team-card-bio::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 10px;
}

.team-card-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.team-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #fff;
}

.team-social-link:hover {
    background: var(--color-pink);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}

.team-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.team-card-back-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.team-card-back-btn:hover {
    background: var(--color-pink);
    border-color: var(--color-pink);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card-flipper {
        aspect-ratio: 3/4.5;
    }
    
    .team-card-info {
        padding: 1.5rem;
    }
    
    .team-card-name {
        font-size: 1.5rem;
    }
    
    .team-card-back {
        padding: 1.5rem;
    }
    
    .team-card-bio {
        font-size: 0.85rem;
    }
    .ai-spotlight-logo-img{
        padding: 0px !important;
    }
    .mission-dots {
        margin-top: -120px;
    }
    .partner-logo-wrapper {
        height: 80px;
        padding: 1rem;
    }
    
    .partner-logo-img {
        max-height: 50px!important;
    }
}

/* No team members */
.no-team-members {
    text-align: center;
    color: #9ca3af;
    font-size: 1.1rem;
    padding: 4rem 2rem;
}

/* Partners Section */
.partners-section {
    padding: 8rem 1rem;
    background: rgba(249, 250, 251, 1);
    border-radius: 4rem;
    margin: -7rem 1rem 5rem 1rem;
    position: relative;
    z-index: 0;
}

/* Section description nella sezione Partners al 100% */
.partners-section .section-description {
    max-width: 100%;
    width: 100%;
}

.partners-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 6rem;
    opacity: 0.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem)!important;
        white-space: nowrap;
    }
}

/* Partner Logo Wrapper */
.partner-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    height: 120px;
    transition: all 0.7s;
}

/* Partner Logo Image */
.partner-logo-img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.7s;
}

/* Partner Logo Link */
.partner-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Hover Effects */
.partner-logo-wrapper:hover .partner-logo-img {
    filter: grayscale(0);
    opacity: 1;
}
#partners p.section-description {
    width: 100% !important;
    max-width: 100%;
}
#partners .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Contact Section */
.contact-section {
    padding: 10rem 1rem;
    background: #fff;
    border-radius: 4rem;
    margin: -7rem 1rem 5rem 1rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 0;
    color: var(--color-dark-bg);
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-main-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-dark-bg);
    margin-bottom: 2rem;
}

.contact-main-title .text-pink {
    color: var(--color-pink);
}

.contact-main-description {
    color: #6b7280;
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 32rem;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: var(--color-dark-secondary);
    border-radius: 3.5rem;
    padding: 2.5rem;
    box-shadow: 0 40px 100px -20px rgba(10, 6, 75, 0.4);
    max-width: 64rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Effetto Liquid Glass per Contact Form */
.liquid-glass-active .contact-form-wrapper {
    background: rgba(10, 6, 75, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-field-full {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 0.5rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem 2rem;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #6b7280;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-pink);
    box-shadow: 0 0 0 3px rgba(236, 72, 147, 0.1);
}

.contact-form-textarea {
    resize: none;
    min-height: 150px;
}

.contact-form-file {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem 2rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.contact-form-file::-webkit-file-upload-button {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid var(--color-pink);
    border-radius: 0.5rem;
    color: var(--color-pink);
    font-weight: 600;
    cursor: pointer;
}

.contact-form-file:hover,
.contact-form-file:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-pink);
}

.contact-form-file-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.contact-form-checkbox-wrap {
    margin-top: 0.5rem;
}

.contact-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-transform: none;
}

.contact-form-checkbox {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    accent-color: var(--color-pink);
    cursor: pointer;
}

.contact-form-checkbox-text {
    line-height: 1.5;
}

.contact-form-checkbox-link {
    color: var(--color-pink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.contact-form-checkbox-link:hover {
    opacity: 0.9;
}

.contact-form-message {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-form-message.contact-form-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.contact-form-message.contact-form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.contact-form-submit {
    display: flex;
    justify-center: center;
    padding-top: 2rem;
}

.contact-form-button {
    position: relative;
    padding: 1.25rem 4rem;
    background: linear-gradient(to right, var(--color-pink), var(--color-violet));
    color: #fff;
    font-weight: 900;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(236, 72, 147, 0.3);
    transition: all 0.3s;
    overflow: hidden;
}

.contact-form-button:hover {
    transform: scale(1.05);
}

.contact-form-button:active {
    transform: scale(0.95);
}

.contact-form-button-text {
    position: relative;
    z-index: 10;
}

.contact-form-button-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-form-button:hover .contact-form-button-overlay {
    opacity: 0.2;
}

/* Footer */
.footer {
    background: var(--color-dark-bg);
    padding: 6rem 0 3rem;
    color: #fff;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 300;
    line-height: 1.75;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-section-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--color-pink);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

/* Pagina Termini e Condizioni */
body.page-template-page-termini-condizioni-php .navbar,
body.page-template-page-termini-condizioni-php #navbar {
    display: none;
}

.page-termini-condizioni {
    padding: 4rem 0 6rem;
    min-height: 50vh;
}

.termini-condizioni-back {
    margin-bottom: 2.5rem;
}

.termini-condizioni-back-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.termini-condizioni-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.95rem;
}

.termini-condizioni-menu-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: opacity 0.25s;
}

.termini-condizioni-menu-link:hover {
    opacity: 0.85;
}

.termini-condizioni-menu-sep {
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
}

.termini-condizioni-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.termini-condizioni-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.termini-condizioni-updated {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.termini-condizioni-updated time {
    font-weight: 500;
}

.termini-condizioni-content {
    max-width: 72ch;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.termini-condizioni-content p {
    margin-bottom: 1.25rem;
}

.termini-condizioni-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.termini-condizioni-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.termini-condizioni-content ul,
.termini-condizioni-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.termini-condizioni-content li {
    margin-bottom: 0.5rem;
}

.termini-condizioni-content a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.termini-condizioni-content a:hover {
    opacity: 0.9;
}

.footer-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.2;
    overflow: hidden;
    z-index: 0;
}

.footer-bg-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(50%, -50%);
}

/* Responsive */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form-wrapper {
        padding: 5rem;
    }
}

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

/* Mobile: burger visibile, menu = overlay full-screen al click */
@media (max-width: 1023px) {
    .navbar-burger {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 5rem 2rem 2rem;
        background: rgba(3, 0, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .navbar-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-menu a {
        font-size: 1.25rem;
        color: #fff;
        padding: 0.5rem 0;
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-menu a:hover {
        color: var(--color-pink);
    }
}

@media (min-width: 1024px) {
    .navbar-menu {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-menu a {
        font-size: 0.875rem;
        color: #d1d5db;
        padding: 0;
    }

    .navbar-menu a::after {
        display: block;
    }

    .navbar-burger {
        display: none;
    }
    
    .solutions-grid {
        grid-template-columns: 5fr 7fr;
    }
    
    .advisory-section-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .mission-header {
        flex-direction: row;
        align-items: center;
    }
}

/* Animations will be handled by GSAP */
.section-reveal {
    opacity: 0;
}

.parallax-blob {
    will-change: transform;
}

/* Mobile: sfondo come desktop ma STATICO (niente animazioni, meno carico) */
@media (max-width: 1023px) {
    .floating-blob {
        animation: none;
    }

    .parallax-blob {
        will-change: auto;
    }

    .global-bg-gradient {
        will-change: auto;
    }
}

/* Mobile: form contatto più largo, container senza padding */
@media (max-width: 1023px) {
    .contact-section .container {
        padding: 0;
        max-width: 1280px;
        margin: 0 auto;
    }

    .contact-form-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1.25rem;
        border-radius: 2rem;
    }
}
