/*
Theme Name: 99 Management
Theme URI: https://99management.it
Author: 99% Management
Description: Tema professionale per 99% Management
Version: 1.0
*/

:root {
    --primary-color: #ff0066;
    --secondary-color: #000000;
    --accent-color: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.3s ease;
}

body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #000000 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 0, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero h1 .highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 32px;
    color: #888;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero p {
    font-size: 20px;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 102, 0.4);
}

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

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

/* Problem Section Updates */
.problem-section {
    padding: 120px 0;
    background: white;
    text-align: center;
}

.problem-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px auto 60px;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.problem-point {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.problem-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.problem-point .icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.problem-point h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.problem-point p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.problem-description {
    font-size: 20px;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 800px;
    margin: 40px auto 0;
}

.subsection-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 50px 0 40px;
    color: white;
}

.team-section .subsection-title {
    color: var(--text-dark);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.partners-slider {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partners-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problem-card {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.problem-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Solution Section */
.solution-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
    color: white;
}

.solution-section .section-title {
    color: white;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solution-content p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #ccc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #aaa;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: white;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.expertise-card {
    background: var(--gradient-1);
    padding: 40px;
    border-radius: 20px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-card:nth-child(2) {
    background: var(--gradient-2);
}

.expertise-card:nth-child(3) {
    background: var(--gradient-3);
}

.expertise-card:nth-child(4) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.expertise-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.expertise-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 22px;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: #888;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 15px;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }

    body.admin-bar .nav-menu {
        top: 136px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .tagline {
        font-size: 22px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .features-grid .feature-item {
        padding: 20px;
    }

    .features-grid .feature-item .icon {
        font-size: 32px;
    }

    .features-grid .feature-item h4 {
        font-size: 18px;
    }

    .problem-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .problem-point {
        padding: 30px 20px;
    }

    .problem-point .icon {
        font-size: 48px;
    }

    .problem-point h3 {
        font-size: 20px;
    }

    .problem-point p {
        font-size: 15px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}









/* Partner Logos Styling */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-logo a {
    display: block;
    text-decoration: none;
}












/* Hero Logo Styling */
.hero-logo {
    margin-bottom: 20px;
    text-align: center;
}

.logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Rimuovi o commenta le vecchie regole per l'h1 se necessario */
.hero h1 {
    display: none;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .hero-logo {
        margin-bottom: 15px;
    }
    
    .logo-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 180px;
    }
}