/* 
 * NEXUSPRIME - CORPORATE TEMPLATE CSS
 * Architettura BEM - Stile Formale e Pulito
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-accent);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
}

.btn--primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn--secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn--secondary:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--color-text-muted);
}

.header__nav a {
    margin-left: 20px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.header__nav a:hover {
    color: var(--color-accent);
}

/* Sezioni Modulari */
section {
    padding: inherit;
}

/* Hero Corporate */
.hero-corp {
    background: #f8fafc;
    text-align: center;
    padding: 120px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.hero-corp__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-corp__title {
    font-size: 3rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.hero-corp__desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

/* Manifesto Corporate */
.manifesto-corp {
    background: #fff;
}

.manifesto-corp__box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-left: 4px solid var(--color-accent);
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

.manifesto-corp__box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.manifesto-corp__box p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Testo */
.text-corp {
    background: #fff;
}

.text-corp__content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text-main);
    line-height: 1.8;
}

/* Galleria */
.gallery-corp {
    background: #f1f5f9;
    text-align: center;
}

.gallery-corp h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.gallery-corp__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-corp__item {
    background: #fff;
    height: 250px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

/* CTA Generica */
.cta-corp {
    text-align: center;
    background: #fff;
}

/* Join Ecosystem */
.ecosystem-join {
    background: var(--color-text-main);
    color: #fff;
    text-align: center;
}

.ecosystem-join__container {
    max-width: 800px;
    margin: 0 auto;
}

.ecosystem-join h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.ecosystem-join p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 30px;
}

/* Footer */
.corp-footer {
    background: var(--color-bg-surface);
    color: var(--color-text-muted);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
}

/* Modale Upsell */
.modal-corp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-corp__content {
    background: var(--color-bg-base);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-corp__content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-corp__content p {
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

display: flex !important;
}

.hidden {
    display: none !important;
}

.btn-corp--full {
    margin-top: 10px;
    width: 100%;
}