/* 
   Brand: NexaFuturo Italia
   Style: Swiss Tech / Corporate
   Prefix: nx-ft-
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --nx-ft-primary: #0056D2; /* Tech Blue */
    --nx-ft-dark: #0F172A;    /* Dark Slate */
    --nx-ft-light: #F8FAFC;   /* Very Light Grey */
    --nx-ft-text: #334155;    /* Readable Grey */
    --nx-ft-accent: #0EA5E9;  /* Sky Blue */
    --nx-ft-white: #FFFFFF;
    --nx-ft-gap: 24px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--nx-ft-text);
    background-color: var(--nx-ft-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.nx-ft-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.nx-ft-btn {
    display: inline-block;
    background-color: var(--nx-ft-primary);
    color: var(--nx-ft-white);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.nx-ft-btn:hover {
    background-color: var(--nx-ft-dark);
}

.nx-ft-section {
    padding: 80px 0;
}

.nx-ft-bg-light {
    background-color: var(--nx-ft-light);
}

.nx-ft-title {
    font-size: 2.5rem;
    color: var(--nx-ft-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* --- HEADER --- */
.nx-ft-header {
    background-color: var(--nx-ft-white);
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nx-ft-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nx-ft-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nx-ft-dark);
}

.nx-ft-logo img {
    height: 32px;
    width: 32px;
}

.nx-ft-nav-list {
    display: flex;
    gap: 32px;
}

.nx-ft-nav-link {
    font-weight: 500;
    color: var(--nx-ft-dark);
    font-size: 0.95rem;
}

.nx-ft-nav-link:hover {
    color: var(--nx-ft-primary);
}

.nx-ft-burger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nx-ft-dark);
}

/* --- HERO --- */
.nx-ft-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--nx-ft-white);
}

.nx-ft-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.nx-ft-hero-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.nx-ft-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.nx-ft-hero-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #CBD5E1;
}

/* --- SERVICES / FEATURES --- */
.nx-ft-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.nx-ft-card {
    background: var(--nx-ft-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    transition: transform 0.2s;
}

.nx-ft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.nx-ft-card h3 {
    margin-bottom: 15px;
    color: var(--nx-ft-dark);
}

/* --- BLOG --- */
.nx-ft-blog-img {
    height: 200px;
    background-color: #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.nx-ft-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-ft-meta {
    font-size: 0.85rem;
    color: var(--nx-ft-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* --- FOOTER --- */
.nx-ft-footer {
    background-color: var(--nx-ft-dark);
    color: #94A3B8;
    padding: 60px 0 20px;
}

.nx-ft-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #334155;
    padding-bottom: 40px;
}

.nx-ft-footer h4 {
    color: var(--nx-ft-white);
    margin-bottom: 20px;
}

.nx-ft-footer-links li {
    margin-bottom: 10px;
}

.nx-ft-footer-links a:hover {
    color: var(--nx-ft-white);
}

/* --- COOKIE BANNER --- */
#nx-ft-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--nx-ft-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
    z-index: 1000;
    display: none;
    max-width: 400px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nx-ft-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nx-ft-white);
        padding: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .nx-ft-nav-list.active {
        display: flex;
    }
    
    .nx-ft-burger {
        display: block;
    }
    
    .nx-ft-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .nx-ft-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .nx-ft-footer-grid {
        grid-template-columns: 1fr;
    }
}