:root {
    --yellow: #FFC107;
    --yellow-dark: #FFA000;
    --green: #00C853;
    --green-dark: #00A344;
    --red: #FF1744;
    --red-dark: #D50000;
    --blue: #00B8D4;
    --blue-dark: #0097A7;
    --dark: #1A1A1A;
    --gray: #757575;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    top: calc(100% + 1rem);
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: var(--light-gray);
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 23, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(0, 184, 212, 0.05) 0%, transparent 50%);
    position: relative;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Section Base Styles */
.section {
    padding: 6rem 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    line-height: 1.8;
}

/* ChartMusic AI Section - Yellow */
.chartmusic-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFAF0 100%);
    border-top: 4px solid var(--yellow);
}

.chartmusic-section .section-label {
    color: var(--yellow-dark);
}

.chartmusic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}

.feature-icon::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.95rem;
}


.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 193, 7, 0.2);
    color: var(--yellow-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Media Monitoring Section - Green */
.monitoring-section {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%);
    border-top: 4px solid var(--green);
}

.monitoring-section .section-label {
    color: var(--green-dark);
}

.monitoring-section .feature-icon {
    background: var(--green);
}

.monitoring-section .btn-primary {
    background: var(--green);
    color: white;
}

.monitoring-section .btn-primary:hover {
    background: var(--green-dark);
}

.monitoring-section .badge {
    background: rgba(0, 200, 83, 0.2);
    color: var(--green-dark);
}

.accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.15rem;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: rgba(0, 200, 83, 0.05);
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: var(--green);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 0 2rem 2rem 2rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Sage&Spark Section - Red */
.sageandspark-section {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFF5F5 100%);
    border-top: 4px solid var(--red);
}

.sageandspark-section .section-label {
    color: var(--red-dark);
}

.sageandspark-section .feature-icon {
    background: var(--red);
}

.sageandspark-section .btn-primary {
    background: var(--red);
    color: white;
}

.sageandspark-section .btn-primary:hover {
    background: var(--red-dark);
}

.sageandspark-section .badge {
    background: rgba(255, 23, 68, 0.2);
    color: var(--red-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Marketing Section - Blue */
.marketing-section {
    background: linear-gradient(135deg, #E0F7FA 0%, #F0FBFC 100%);
    border-top: 4px solid var(--blue);
}

.marketing-section .section-label {
    color: var(--blue-dark);
}

.marketing-section .feature-icon {
    background: var(--blue);
}

.marketing-section .btn-primary {
    background: var(--blue);
    color: white;
}

.marketing-section .btn-primary:hover {
    background: var(--blue-dark);
}

.marketing-section .badge {
    background: rgba(0, 184, 212, 0.2);
    color: var(--blue-dark);
}

/* Chi Siamo Section */
.about-section {
    background: var(--light-gray);
    padding: 6rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Fraunces', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.footer-logo{
    max-width: 250px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
}

.chartmusic-ai{
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    img{
        max-width: 600px;
        width: 100%;
    }
}

.visual-placeholder {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 193, 7, 0.03) 10px,
            rgba(255, 193, 7, 0.03) 20px
        );
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        border-left: 2px solid var(--light-gray);
    }

    .chartmusic-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
