/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #4c1d95 50%, #581c87 75%, #000000 100%);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 1000;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.cookie-content a {
    color: #8b5cf6;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.cookie-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cookie-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.cookie-button:active {
    transform: translateY(0);
}

/* Colori specifici per i pulsanti del cookie */
.cookie-accept-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.cookie-reject-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-s {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b5cf6;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #8b5cf6 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    animation: gradientShift 4s ease-in-out infinite, fadeInScale 1.2s ease-out;
    transform-origin: center;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    25% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }
    50% {
        background-position: 100% 100%;
        transform: scale(1);
    }
    75% {
        background-position: 0% 100%;
        transform: scale(0.98);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-title:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero-subtitle h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding-top: 2rem;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 4rem 0;
}

.intro-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.intro-highlight {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Section */
.social {
    text-align: center;
    padding: 3rem 0;
}

.social-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.instagram-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
}

.instagram-link:hover {
    text-decoration: underline;
}

.email-cta {
    font-size: 1.4rem;
    font-weight: 500;
    color: white;
}

/* Subscription Form */
.subscription {
    padding: 4rem 0;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-select option {
    background: #1e1b4b;
    color: white;
}

/* Custom Checkbox */
.consent-group {
    margin-bottom: 1.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.consent-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.consent-checkbox:checked + .checkmark {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.consent-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.consent-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    margin-left: 32px;
    line-height: 1.3;
}

/* Form Message */
.form-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Features Section */
.features {
    padding: 6rem 0;
    text-align: center;
}

.features-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-item {
    text-align: center;
}

.feature-image {
    width: 280px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-1 {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
}

.blob-2 {
    background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
}

.blob-3 {
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
}

.blob-1::after {
    content: '👥';
    font-size: 4rem;
    z-index: 2;
}

.blob-2::after {
    content: '🔥';
    font-size: 4rem;
    z-index: 2;
}

.blob-3::after {
    content: '💕';
    font-size: 4rem;
    z-index: 2;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    margin-bottom: 2rem;
}

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

.footer-link {
    color: #8b5cf6;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav-link:hover {
    color: #8b5cf6;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .subscription-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-image {
        width: 240px;
        height: 180px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .subscription-form {
        padding: 1.5rem;
    }
}

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

.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}
.logo-img {
    width: 55px;   /* o qualsiasi larghezza tu voglia */
    height: auto;
    display: block;
    margin: 0 auto; /* centra il logo */
}