@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@200;300;400;500&family=Orbitron:wght@300;400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Exo 2', sans-serif; background: #000008; overflow-x: hidden; color: white; }

/* ── HERO ───────────────────────────────────────────── */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 50px 80px;
    overflow: hidden;
}

#contact-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Alone radiale centrale */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(60, 40, 160, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.7s ease 0.38s forwards;
}

.hero-title em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.22);
}

.hero-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
    font-weight: 200;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 420px;
    position: relative;
    z-index: 2;
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.7s ease 0.52s forwards;
}

/* ── CONTACT CARDS GRID ──────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.65s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.65s; }
.contact-card:nth-child(2) { animation-delay: 0.78s; }
.contact-card:nth-child(3) { animation-delay: 0.91s; }

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.card-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.card-icon svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-type {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
}

.card-value {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.22s ease;
    word-break: break-all;
}

a.card-value:hover {
    color: #fff;
}

.card-note {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 200;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* ── SEZIONE ENTERPRISE ──────────────────────────────── */
.enterprise-section {
    padding: 80px 50px 100px;
    position: relative;
    overflow: hidden;
}

.enterprise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.enterprise-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.enterprise-eyebrow {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 16px;
}

.enterprise-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 48px;
    line-height: 1.2;
}

.enterprise-title em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.22);
}

.enterprise-card {
    background: linear-gradient(150deg, rgba(30, 20, 70, 0.85) 0%, rgba(10, 8, 30, 0.9) 100%);
    border: 1px solid rgba(120, 100, 255, 0.18);
    border-radius: 24px;
    padding: 52px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    box-shadow: 0 8px 40px rgba(60, 40, 180, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(100, 80, 220, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.enterprise-card:hover {
    border-color: rgba(140, 120, 255, 0.32);
    box-shadow: 0 16px 60px rgba(60, 40, 180, 0.2);
}

.enterprise-left {}

.enterprise-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(160, 140, 255, 0.5);
    margin-bottom: 14px;
}

.enterprise-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    line-height: 1.2;
}

.enterprise-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.8;
    font-weight: 200;
    letter-spacing: 0.3px;
    max-width: 460px;
    margin-bottom: 30px;
}

.enterprise-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.enterprise-feature {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 200;
    letter-spacing: 0.3px;
}

.enterprise-feature::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(160, 140, 255, 0.55);
    flex-shrink: 0;
}

.enterprise-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.enterprise-mail-block {
    text-align: center;
}

.enterprise-mail-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(160, 140, 255, 0.4);
    margin-bottom: 8px;
}

.enterprise-mail-value {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(200, 185, 255, 0.75);
    text-decoration: none;
    transition: color 0.22s ease;
    display: block;
    white-space: nowrap;
}

.enterprise-mail-value:hover { color: rgba(220, 210, 255, 1); }

.enterprise-divider {
    width: 1px;
    height: 24px;
    background: rgba(120, 100, 255, 0.15);
}

.enterprise-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    border: 1px solid rgba(120, 100, 255, 0.3);
    background: rgba(100, 80, 220, 0.1);
    color: rgba(180, 160, 255, 0.85);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.enterprise-cta:hover {
    background: rgba(100, 80, 220, 0.25);
    color: #fff;
    border-color: rgba(140, 120, 255, 0.55);
}

/* ── SOCIAL SECTION ──────────────────────────────────── */
.social-section {
    padding: 0 50px 100px;
}

.social-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-eyebrow {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.social-link:hover {
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ── KEYFRAMES ───────────────────────────────────────── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr 1fr; max-width: 620px; }
    .enterprise-card { grid-template-columns: 1fr; gap: 36px; padding: 36px 32px; }
    .enterprise-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .enterprise-divider { display: none; }
}

@media (max-width: 640px) {
    .contact-hero { padding: 110px 24px 60px; }
    .contact-grid { grid-template-columns: 1fr; max-width: 400px; }
    .enterprise-section, .social-section { padding-left: 24px; padding-right: 24px; }
    .enterprise-card { padding: 28px 22px; }
    .enterprise-heading { font-size: 1.1rem; }
}
