/* ====================================
   RESET E VARIABILI
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --secondary: #FF4081;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #e0e0e0;
    --text-gray: #666;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 50px rgba(233,30,99,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================================
   HEADER MIGLIORATO
   ==================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 180px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ====================================
   HERO SECTION MIGLIORATA
   ==================================== */
.hero {
    margin-top: 100px;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
}


.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}





.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(233,30,99,0.3);
    transition: var(--transition);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233,30,99,0.5);
}

.cta-primary svg {
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(5px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233,30,99,0.3);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -10%;
    right: -5%;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    bottom: -10%;
    left: -5%;
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: 50%;
    left: 10%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.2); }
}

/* ====================================
   TRUST SECTION
   ==================================== */
.trust-section {
    background: white;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--gray);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.trust-item svg {
    color: var(--primary);
    stroke-width: 2;
}

.trust-item span {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

/* ====================================
   SEZIONE PRODOTTI MIGLIORATA
   ==================================== */
.products-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--gray-light);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

/* ====================================
   CARD PRODOTTO MIGLIORATA
   ==================================== */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233,30,99,0.1), rgba(255,64,129,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: var(--gray-light);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.12);
}

.product-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 700;
}

.product-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.product-variants {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    align-items: center;
}

.product-variants-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

.variant {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.variant:hover {
    border-color: var(--primary);
    transform: scale(1.2);
}

.variant.white {
    background: white;
    border: 3px solid var(--gray);
}

.variant.black {
    background: var(--dark);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-light);
}

.view-details-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.view-details-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(233,30,99,0.4);
}

/* ====================================
   SEZIONE STORIA (NON INVASIVA)
   ==================================== */
.story-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 2rem;
    margin: 5rem 0;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding-right: 2rem;
}

.story-badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.story-highlight {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.15rem;
}

.social-proof {
    margin: 2rem 0;
}

.social-stats {
    display: flex;
    gap: 2rem;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.social-stat svg {
    color: var(--primary);
}

.social-stat span {
    font-weight: 700;
    color: var(--dark);
}

.social-links-compact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn.youtube {
    background: #FF0000;
    color: white;
}

.social-btn.youtube:hover {
    background: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.3);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: white;
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(193,53,132,0.4);
}

.social-btn.tiktok {
    background: #000000;
    color: white;
}

.social-btn.tiktok:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.story-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.story-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.story-icon svg {
    color: white;
}

.story-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 700;
}

.story-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ====================================
   MODAL MIGLIORATA
   ==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow-md);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
    box-shadow: var(--shadow-lg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-gallery {
    position: relative;
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.gallery-controls {
    position: relative;
    margin-top: 1.5rem;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-200%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.gallery-btn.prev {
    left: -15px;
}

.gallery-btn.next {
    right: -15px;
}

.gallery-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-200%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.image-counter {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-badge {
    display: inline-block;
    background: var(--gray-light);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.modal-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--dark);
    font-weight: 800;
}

.modal-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

.feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.whatsapp-btn-modal {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 1.3rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}

.whatsapp-btn-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37,211,102,0.5);
}

.whatsapp-btn-modal svg {
    animation: wiggle 1.5s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* ====================================
   FOOTER
   ==================================== */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.whatsapp-contact svg {
    color: #25D366;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-social svg {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.95rem;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 1024px) {
    .logo { height: 150px; }
    .hero h1 { font-size: 3rem; }
    .hero-stats { gap: 2.5rem; }
    .stat-number { font-size: 2rem; }
    .story-container { grid-template-columns: 1fr; gap: 3rem; }
    .story-content { padding-right: 0; }
    .modal-body { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-btn.prev { left: 10px; }
    .gallery-btn.next { right: 10px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .logo { height: 120px; }
    .hero { padding: 4rem 1.5rem; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
.hero-stats { flex-direction: column; gap: 1.5rem; }
.hero-cta { flex-direction: column; }
.cta-primary, .cta-secondary { width: 100%; justify-content: center; }
.trust-container { grid-template-columns: repeat(2, 1fr); }
.section-title { font-size: 2.2rem; }
.products-grid { grid-template-columns: 1fr; gap: 2rem; }
.social-links-compact { flex-direction: column; }
.social-btn { width: 100%; justify-content: center; }
.modal { padding: 1rem; align-items: flex-start; padding-top: 2rem; }
.modal-content { max-height: 95vh; }
.modal-body { padding: 2rem 1.5rem; gap: 1.5rem; }
.close-modal { top: 15px; right: 15px; width: 40px; height: 40px; }
.modal-info h2 { font-size: 1.8rem; }
.modal-features { flex-direction: column; gap: 1rem; }
}
@media (max-width: 480px) {
.logo { height: 100px; }
nav { padding: 0.5rem 1rem; }
.hero { padding: 3rem 1rem; }
.hero h1 { font-size: 1.8rem; }
.hero-badge { font-size: 0.8rem; padding: 0.5rem 1.2rem; }
.stat-number { font-size: 1.6rem; }
.stat-label { font-size: 0.85rem; }
.cta-primary, .cta-secondary { padding: 1rem 1.8rem; font-size: 1rem; }
.trust-container { grid-template-columns: 1fr; gap: 1.5rem; }
.section-title { font-size: 1.8rem; }
.section-subtitle { font-size: 1rem; }
.products-grid { grid-template-columns: 1fr; }
.product-image-container { height: 300px; }
.story-section { padding: 3rem 1.5rem; }
.story-content h2 { font-size: 1.8rem; }
.story-content p { font-size: 1rem; }
.social-stats { flex-direction: column; gap: 1rem; }
.modal { padding: 0.5rem; padding-top: 1.5rem; }
.modal-content { width: 98%; max-height: 96vh; }
.modal-body { padding: 1.5rem 1rem; gap: 1rem; }
.close-modal { top: 10px; right: 10px; width: 35px; height: 35px; font-size: 2rem; }
.modal-info h2 { font-size: 1.5rem; }
.modal-info p { font-size: 1rem; }
.whatsapp-btn-modal { padding: 1.1rem 1.5rem; font-size: 1rem; }
#modalImage { max-height: 300px; }
.gallery-btn { width: 40px; height: 40px; }
.footer-content { gap: 2rem; }
}