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

:root {
    /* Colori Nero e Viola Brillante */
    --black: #000000;
    --black-light: #1a1a1a;
    --black-dark: #0a0a0a;
    --purple-neon: #9D00FF;
    --purple-bright: #B026FF;
    --purple-dark: #7000CC;
    --purple-light: #C850FF;
    --purple-glow: rgba(157, 0, 255, 0.5);
    --white: #ffffff;
    --gray: #666666;
    --gray-light: #999999;
    
    /* Gradienti */
    --gradient-primary: linear-gradient(135deg, #9D00FF 0%, #B026FF 50%, #C850FF 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a0a3a 100%);
    --gradient-glow: linear-gradient(135deg, rgba(157, 0, 255, 0.2) 0%, rgba(192, 80, 255, 0.2) 100%);
    
    /* Shadow & Glow */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
    --glow: 0 0 20px var(--purple-glow);
    --glow-strong: 0 0 40px var(--purple-glow), 0 0 60px var(--purple-glow);
}

/* Mobile First Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header - Mobile First */
.header {
    background: var(--black-light);
    box-shadow: 0 2px 20px rgba(157, 0, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--purple-dark);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--purple-glow));
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: var(--glow);
}

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav a:hover {
    color: var(--purple-bright);
    background: rgba(157, 0, 255, 0.1);
    box-shadow: var(--glow);
}

.beta-link {
    background: var(--gradient-primary);
    color: var(--white) !important;
    font-weight: 700;
    box-shadow: var(--glow);
    animation: glow 2s ease-in-out infinite;
}

.beta-link:hover {
    background: linear-gradient(135deg, #B026FF 0%, #C850FF 50%, #9D00FF 100%);
    box-shadow: var(--glow-strong) !important;
}

@keyframes glow {
    0%, 100% { box-shadow: var(--glow); }
    50% { box-shadow: var(--glow-strong); }
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    padding: 20px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--purple-glow));
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 0 30px var(--purple-glow);
}

.brand {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--purple-glow));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--gray-light);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: center;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--glow);
    border: 2px solid var(--purple-bright);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-strong);
    background: linear-gradient(135deg, #B026FF 0%, #C850FF 50%, #9D00FF 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--purple-bright);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    box-shadow: var(--glow-strong);
}

/* Floating Cards - Mobile */
.hero-image {
    display: none;
}

/* Features Section - Mobile First */
.features {
    padding: 60px 0;
    background: var(--black-light);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: var(--glow);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--gradient-dark);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid var(--purple-dark);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--purple-bright);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.feature-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 10px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--gray-light);
    position: relative;
    z-index: 1;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* About Section - Mobile First */
.about {
    padding: 60px 0;
    background: var(--black);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

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

.about-intro {
    text-align: center;
    margin-bottom: 50px;
}

.about-main {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
}

.creator-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--gradient-dark);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--purple-dark);
    box-shadow: var(--glow);
}

.creator-label {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creator-name {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--gradient-dark);
    border: 1px solid var(--purple-dark);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--purple-bright);
}

.about-card:hover::before {
    opacity: 1;
}

.about-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--purple-glow));
    position: relative;
    z-index: 1;
}

.about-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.about-list li {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--gray-light);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.about-list li::before {
    content: '💜';
    position: absolute;
    left: 0;
    font-size: 1em;
}

.about-list li strong {
    color: var(--purple-bright);
    font-weight: 700;
}

.philosophy-text {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--white);
    line-height: 1.8;
    font-style: italic;
    text-align: center;
    position: relative;
    z-index: 1;
}

.full-width {
    grid-column: 1 / -1;
}

.contact-box {
    background: var(--black-light);
    border: 2px solid var(--purple-bright);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--glow);
}

.contact-box h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--gradient-dark);
    border: 1px solid var(--purple-dark);
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-item:hover {
    border-color: var(--purple-bright);
    box-shadow: var(--glow);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5em;
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.tagline {
    text-align: center;
    margin-top: 40px;
}

.tagline p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--purple-bright);
    font-weight: 700;
    text-shadow: var(--glow);
}

/* Footer - Mobile First */
.footer {
    background: var(--black-dark);
    color: var(--white);
    padding: 40px 0 20px;
    border-top: 2px solid var(--purple-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.footer-section h3, 
.footer-section h4 {
    margin-bottom: 15px;
    color: var(--purple-bright);
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.footer-section p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--purple-bright);
    text-shadow: var(--glow);
}

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

.social-links a {
    font-size: 1.5em;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--purple-glow));
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--purple-dark);
}

.footer-bottom p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin: 5px 0;
}

.footer-legal {
    color: var(--gray);
}

.footer-compliance {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.badge {
    background: var(--gradient-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    box-shadow: var(--glow);
    font-weight: 600;
}

/* Cookie Banner - Mobile First */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black-light);
    border-top: 2px solid var(--purple-bright);
    box-shadow: 0 -5px 30px rgba(157, 0, 255, 0.3);
    padding: 20px 15px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.cookie-content p {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.cookie-link {
    color: var(--purple-bright);
    text-decoration: none;
    font-weight: 600;
}

.cookie-accept {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--glow);
    width: 100%;
}

.cookie-accept:hover {
    box-shadow: var(--glow-strong);
    transform: scale(1.02);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Tablet - 640px+ */
@media (min-width: 640px) {
    .container {
        padding: 0 25px;
    }
    
    .hero-buttons {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        min-width: 200px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .creator-badge {
        flex-direction: row;
        gap: 15px;
    }
    
    .creator-label::after {
        content: ':';
    }
    
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .cookie-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-accept {
        width: auto;
    }
}

/* Desktop Small - 968px+ */
@media (min-width: 968px) {
    .logo-img {
        height: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-logo {
        justify-content: flex-start;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        margin: 0;
    }
    
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Floating Cards appaiono su desktop */
    .hero-image {
        display: block;
        position: relative;
        height: 500px;
    }
    
    .floating-card {
        position: absolute;
        background: var(--black-light);
        border: 1px solid var(--purple-dark);
        border-radius: 20px;
        padding: 20px;
        box-shadow: var(--glow);
        display: flex;
        align-items: center;
        gap: 15px;
        animation: float 3s ease-in-out infinite;
        backdrop-filter: blur(10px);
    }
    
    .floating-card:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }
    
    .floating-card:nth-child(2) {
        top: 50%;
        right: 5%;
        animation-delay: 1s;
    }
    
    .floating-card:nth-child(3) {
        bottom: 10%;
        left: 20%;
        animation-delay: 2s;
    }
    
    .card-icon {
        font-size: 2.5em;
        filter: drop-shadow(0 0 10px var(--purple-glow));
    }
    
    .card-content h3 {
        font-size: 1.1em;
        color: var(--white);
        margin-bottom: 5px;
    }
    
    .card-content p {
        font-size: 0.9em;
        color: var(--gray-light);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-logo img {
        max-width: 300px;
    }
    
    .about {
        padding: 100px 0;
    }
}

/* Desktop Large - 1200px+ */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .features {
        padding: 100px 0;
    }
    
    .about {
        padding: 100px 0;
    }
}

/* Extra Large - 1440px+ */
@media (min-width: 1440px) {
    body {
        font-size: 18px;
    }
}

/* Ultra Wide - 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}
