/* Reset e variabili */
:root {
    --primary-color: #2D1B69;    /* Viola scuro del logo */
    --secondary-color: #4B2EFF;  /* Viola brillante del logo */
    --accent-color: #6C63FF;     /* Viola chiaro per accenti */
    --text-color: #ffffff;       /* Testo bianco per contrasto */
    --light-text: #ffffff;
    --background: #000000;       /* Sfondo scuro */
    --gradient: linear-gradient(135deg, rgba(45, 27, 105, 0.95), rgba(75, 46, 255, 0.95));
    --shadow: 0 4px 6px rgba(75, 46, 255, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #000000;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(75, 46, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(162, 89, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: background-pulse 8s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
}

@keyframes background-pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

/* Hero Section */
.hero {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 0 40px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(75, 46, 255, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(162, 89, 255, 0.2) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero .container, .hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.king-ea-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.4));
    transition: var(--transition);
    animation: float-image 3s ease-in-out infinite;
    border: none;
    box-shadow: none;
}

.king-ea-image:hover {
    filter: drop-shadow(0 0 30px rgba(162, 89, 255, 0.6));
    transform: translateY(-5px);
}

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

@media (max-width: 968px) {
    .hero-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .king-ea-image {
        max-width: 350px;
    }
}

.logo {
    max-width: 200px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.3));
    transition: var(--transition);
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.5));
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.hero-title {
    color: #a259ff;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(162,89,255,0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation:
        hero-fade-in-up 1.2s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.1s, 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes hero-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.trading-desk {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Buttons */
.cta-button {
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 24px 0 #a259ff44;
    text-decoration: none !important;
    outline: none;
    will-change: background-position, opacity, transform;
    animation: cta-fade-in-up 1.1s cubic-bezier(.4,1.6,.4,1) forwards, gradient-move 4s ease-in-out infinite alternate;
    opacity: 0;
    transform: translateY(30px);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-button:hover, .cta-button:focus {
    background-position: 100% 50%;
    box-shadow: 0 0 32px 8px #a259ff88;
    color: #fff;
    text-shadow: 0 0 8px #a259ff88, 0 1px 0 #fff;
    -webkit-text-fill-color: #fff;
}
@keyframes cta-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: rgba(45, 27, 105, 0.9);
}

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

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.step i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.steps-description {
    text-align: center;
    margin: 30px 0 0 0;
    font-size: 1.15rem;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(75, 46, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(162, 89, 255, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

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

.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2.5px solid transparent;
    z-index: 1;
}
.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    animation: border-gradient-move 3.5s linear infinite;
    z-index: 2;
    pointer-events: none;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
@keyframes border-gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.benefit-card:hover::before {
    filter: brightness(1.3) drop-shadow(0 0 8px #a259ff88);
}
.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.benefits-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d1b69;
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    border-radius: 32px;
    padding: 16px 48px;
    margin: 0 auto 38px auto;
    box-shadow: 0 2px 16px 0 #4b2eff33;
    width: fit-content;
    gap: 16px;
}
.benefits-banner-icon {
    font-size: 2.2rem;
    margin-right: 16px;
}
.benefits-banner-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: unset;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(30px);
    animation:
        step-fade-in-up 1.1s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.3s, 0s;
    transition: color 0.2s;
}
.split-badge {
    display: inline-block;
    background: linear-gradient(90deg, #4b2eff 60%, #6c63ff 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 4px 14px;
    margin-top: 8px;
    margin-bottom: -4px;
}

/* Auto Trading Section */
.auto-trading {
    padding: 100px 0;
    background: #000000;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.auto-trading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 60%, rgba(75, 46, 255, 0.18) 0%, transparent 55%),
                radial-gradient(circle at 60% 40%, rgba(162, 89, 255, 0.18) 0%, transparent 55%);
    filter: blur(75px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.auto-trading .container {
    position: relative;
    z-index: 1;
}

.auto-trading-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.auto-trading ul {
    list-style: none;
    margin: 30px 0;
}

.auto-trading li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.auto-trading i {
    color: var(--accent-color);
}

.auto-trading-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auto-trading-image img {
    width: 100%;
    max-width: 350px;  /* Immagine più piccola nella sezione auto-trading */
    height: auto;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
    transition: var(--transition);
}

/* Results Section */
.results-section {
    padding: 100px 0;
    background: #000000;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 25% 75%, rgba(75, 46, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, rgba(162, 89, 255, 0.12) 0%, transparent 50%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.results-section .container {
    position: relative;
    z-index: 1;
}

.results-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.results-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.results-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.result-card {
    min-width: 100%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.result-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.result-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.3);
}

.result-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
    max-height: 600px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
}

.result-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    max-height: 600px;
    background: rgba(0, 0, 0, 0.3);
}

.result-card:hover .result-image,
.result-card:hover .result-video {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(75, 46, 255, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(75, 46, 255, 0.4);
}

.carousel-btn:hover {
    background: rgba(108, 99, 255, 0.9);
    box-shadow: 0 6px 24px rgba(162, 89, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(108, 99, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.6);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .results-carousel-container {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .result-image,
    .result-video {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .results-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .result-image,
    .result-video {
        max-height: 300px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(162, 89, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(75, 46, 255, 0.15) 0%, transparent 50%);
    filter: blur(85px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.2);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: #000000;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(75, 46, 255, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 30% 70%, rgba(162, 89, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(108, 99, 255, 0.15) 0%, transparent 50%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: var(--transition);
    animation: pulse-btn 2.1s cubic-bezier(.4,1.6,.4,1) infinite;
}

.telegram-button:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    box-shadow: 0 6px 12px rgba(75, 46, 255, 0.3);
}

.telegram-button i {
    font-size: 1.45em;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(108,99,255,0.18), 0 0 0 0 rgba(75,46,255,0.12);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 18px 6px rgba(108,99,255,0.28), 0 0 32px 12px rgba(75,46,255,0.18);
        transform: scale(1.035);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108,99,255,0.18), 0 0 0 0 rgba(75,46,255,0.12);
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-main {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .auto-trading-content {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        max-width: 100%;
    }
    
    .auto-trading-image img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .steps, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
    }
    
    .auto-trading-image img {
        max-width: 220px;
    }
}

@media (max-width: 700px) {
    .navbar-minimal {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .navbar-minimal ul {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .navbar-social {
        margin-bottom: 0 !important;
    }
    .hero {
        background: #000000;
        background-size: cover;
        min-height: 100vh;
        padding-top: 0 !important;
        padding-bottom: 32px;
    }
    .hero .container,
    .hero-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .logo {
        margin-top: 0 !important;
        margin-bottom: 2px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero .container {
        max-width: 95vw;
        padding: 0 10px;
    }
    .final-cta-title br {
        display: block;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.step, .benefit-card, .faq-item {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auto-trading h2, .final-cta h2 {
    color: var(--accent-color);
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Focus states per accessibilità */
.cta-button:focus, .telegram-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading state per i bottoni */
.cta-button.loading, .telegram-button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.cta-button.loading::after, .telegram-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--light-text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Banner Quotazioni In Tempo Reale */
#quotes-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: #fff;
    padding: 10px 0;
    gap: 24px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    border-bottom: 2px solid #444;
    z-index: 1000;
}
#quotes-banner .quote {
    background: #222;
    border-radius: 6px;
    padding: 8px 16px;
    margin: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
}
#quotes-banner .symbol {
    font-weight: 600;
    font-size: 0.95em;
    color: #fff;
}
#quotes-banner .price {
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 2px;
}
#quotes-banner .change {
    font-size: 0.95em;
    margin-top: 2px;
}
#quotes-banner .change.positive {
    color: #00e676;
}
#quotes-banner .change.negative {
    color: #ff5252;
}
@media (max-width: 700px) {
    #quotes-banner {
        flex-direction: column;
        gap: 8px;
    }
    #quotes-banner .quote {
        min-width: 100px;
        width: 100%;
        align-items: flex-start;
    }
}
/* Fine Banner Quotazioni */

iframe[title="ticker tape TradingView widget"] {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 46px !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    z-index: 2000;
    background: #222;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Steps Section */
.steps-section {
    background: #2d1867;
    padding: 60px 0 30px 0;
    color: #fff;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(30,144,255,0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #1e90ff 0%, #00e6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: unset;
}
.steps-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.step-card {
    background: rgba(60, 40, 130, 0.95);
    border-radius: 18px;
    box-shadow: 0 0 12px 0 rgba(123,123,255,0.10);
    padding: 32px 36px 28px 36px;
    min-width: 220px;
    max-width: 260px;
    position: relative;
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    border: 1.5px solid #7b7bff22;
    transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.25s, border-color 0.25s;
    will-change: transform, box-shadow;
}
.step-card:hover {
    transform: translateY(-12px) scale(1.045);
    box-shadow: 0 8px 32px 0 #a084ff55, 0 2px 16px 0 #7b7bff33;
    border-color: #a084ff;
    z-index: 2;
}
.badge {
    position: absolute;
    top: -18px;
    right: 18px;
    background: linear-gradient(90deg, #7b7bff 60%, #a7a7ff 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 16px;
    padding: 4px 18px;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px 0 #7b7bff33;
}
.step-amount {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 8px;
}
.step-arrow {
    font-size: 2.1rem;
    color: #7b7bff;
    margin-bottom: 8px;
}
.step-final span {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: unset;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(30px);
    animation:
        step-fade-in-up 1.1s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.3s, 0s;
    transition: color 0.2s;
}

@keyframes step-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-label {
    margin-top: 8px;
    font-size: 1rem;
    color: #bdbdff;
}
.steps-info {
    text-align: center;
    margin: 30px 0 10px 0;
    font-size: 1.15rem;
    color: #fff;
}
.steps-info .highlight {
    color: #7b7bff;
    font-weight: 700;
}
.steps-icons-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.steps-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #bdbdff;
    background: rgba(60, 40, 130, 0.7);
    border-radius: 12px;
    padding: 8px 18px;
    margin-bottom: 8px;
}
.icon-check {
    color: #7bffb7;
    font-size: 1.2rem;
}
.icon-wallet {
    color: #7b7bff;
    font-size: 1.2rem;
}
.icon-bot {
    color: #7b7bff;
    font-size: 1.2rem;
}
@media (max-width: 900px) {
    .steps-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .step-card {
        min-width: 90vw;
        max-width: 98vw;
        padding: 28px 10vw 24px 10vw;
    }
    .steps-icons-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

.step-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    transition: box-shadow 0.25s;
}
.step-card-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
.step-card-link:hover .step-card {
    cursor: pointer;
}

.ai-section {
    background: #000000;
    padding: 70px 0 40px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 25% 75%, rgba(75, 46, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 75% 25%, rgba(162, 89, 255, 0.12) 0%, transparent 50%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.ai-section .container,
.ai-section .ai-title,
.ai-section .ai-top,
.ai-section .ai-features {
    position: relative;
    z-index: 1;
}
.ai-title h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #8ecaff;
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.ai-title-h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(162,89, 255, 0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2 eff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation: hero-fade-in-up 1.2s cubic-bezier(.4, 1.6, .4, 1) forwards, gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.1s, 0s;
    color: unset;
}
.ai-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
}
.ai-icon-box {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    margin: 0 auto 24px auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.25s;
}
.ai-icon-box:hover {
    transform: translateY(-6px) scale(1.03);
}
.ai-img-box {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
    animation: pulse-img 2.2s cubic-bezier(.4,1.6,.4,1) infinite;
}

@keyframes pulse-img {
    0% {
        box-shadow: 0 0 0 0 rgba(75,46,255,0.25), 0 0 0 0 rgba(162,89,255,0.18);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 32px 8px rgba(75,46,255,0.35), 0 0 64px 16px rgba(162,89,255,0.22);
        transform: scale(1.035);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(75,46,255,0.25), 0 0 0 0 rgba(162,89,255,0.18);
        transform: scale(1);
    }
}

.ai-icon {
    margin-bottom: 8px;
}
.ai-label {
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #8ecaff 60%, #b3aaff 100%);
    border-radius: 10px;
    padding: 2px 18px;
    margin-top: 2px;
    box-shadow: 0 1px 8px #8ecaff33;
}
.ai-banner {
    display: flex;
    align-items: center;
    background: rgba(130, 170, 255, 0.18);
    color: #8ecaff;
    font-weight: 700;
    font-size: 1.13rem;
    border-radius: 16px;
    padding: 12px 32px;
    box-shadow: 0 2px 12px 0 #8ecaff22;
    gap: 12px;
    margin-top: 18px;
    border: 2px solid #8ecaff44;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.25s, transform 0.25s;
}
.ai-banner i {
    color: #8ecaff;
    font-size: 1.3rem;
}
.ai-features {
    margin: 0 auto 32px auto;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ai-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(130, 170, 255, 0.13);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 2px 16px 0 #8ecaff22;
    border: 2px solid #8ecaff33;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.25s, transform 0.25s;
}
.ai-feature-card:hover {
    box-shadow: 0 8px 32px 0 #8ecaff55;
    transform: translateY(-6px) scale(1.025);
}
.ai-feature-icon {
    font-size: 2.1rem;
    color: #8ecaff;
    margin-top: 2px;
    min-width: 38px;
    text-align: center;
}
.ai-feature-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}
.ai-feature-desc {
    font-size: 1.01rem;
    color: #e0eaff;
    font-weight: 400;
    margin-top: 2px;
}
.ai-chart-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    background: rgba(130, 170, 255, 0.10);
    border-radius: 18px;
    padding: 18px 0 0 0;
    box-shadow: 0 2px 12px 0 #8ecaff11;
    border: 2px solid #8ecaff22;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.ai-chart {
    width: 100%;
    max-width: 340px;
    height: 100px;
    background: none;
}
@media (max-width: 900px) {
    .ai-top {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .ai-features {
        max-width: 98vw;
        padding: 0 2vw;
    }
    .ai-chart-box {
        max-width: 98vw;
    }
    .ai-chart {
        max-width: 98vw;
    }
}

.ai-widget-card {
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.myfxbook-button-landing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.myfxbook-button-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(162, 89, 255, 0.4);
}

.myfxbook-widget-link-landing {
    display: inline-block;
    transition: var(--transition);
}

.myfxbook-widget-link-landing:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.myfxbook-widget-image-landing {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ai-widget-card {
        padding: 20px;
    }
}

.ai-top-vertical {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    gap: 0;
}
.ai-banner-centered {
    margin: 0 auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 420px;
    font-size: 1.25rem;
    margin-top: 18px;
}
@media (max-width: 600px) {
    .ai-icon-box {
        max-width: 98vw;
        aspect-ratio: 1/1;
        height: auto;
    }
    .ai-banner-centered {
        font-size: 1.05rem;
        max-width: 98vw;
    }
}

.benefits h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(162,89,255,0.25), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation:
        hero-fade-in-up 1.2s cubic-bezier(.4,1.6,.4,1) forwards,
        gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.1s, 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: unset;
}

.final-cta-title {
    font-size: 2.1rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(75,46,255,0.18), 0 1px 0 #fff;
    letter-spacing: 0.5px;
    margin-bottom: 38px;
    background: linear-gradient(270deg, #4b2eff, #a259ff, #4b2eff, #a259ff, #4b2eff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: background-position, opacity, transform;
    opacity: 0;
    transform: translateY(40px);
    animation: hero-fade-in-up 1.2s cubic-bezier(.4,1.6,.4,1) forwards, gradient-move 4s ease-in-out infinite alternate;
    animation-delay: 0.2s, 0s;
    color: unset;
    text-align: center;
}

.navbar-minimal {
    position: static;
    top: unset;
    left: unset;
    width: 100vw;
    z-index: 100;
    background: rgba(20, 10, 40, 0.96);
    box-shadow: 0 2px 16px 0 #4b2eff44;
    padding: 0 0 0 0;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    margin-top: 0;
}
.navbar-minimal ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-minimal li {
    display: inline-block;
}
.navbar-minimal a {
    color: #fff;
    font-weight: 700;
    font-size: 1.13rem;
    text-shadow: 0 2px 8px #4b2eff44;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, text-shadow 0.18s;
    letter-spacing: 0.2px;
}
.navbar-minimal a:hover, .navbar-minimal a:focus {
    background: #4b2eff66;
    color: #fff;
    text-shadow: 0 2px 16px #a259ff88;
}
@media (max-width: 700px) {
    .navbar-minimal {
        height: auto;
        min-height: 70px;
        align-items: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .navbar-minimal ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 6px;
    }
    .navbar-minimal a {
        font-size: 0.98rem;
        padding: 7px 6px;
    }
    .navbar-social {
        font-size: 1.05em;
        width: 30px;
        height: 30px;
        margin-left: 2px;
    }
}

.navbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35em;
    margin-left: 6px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: box-shadow 0.18s, background 0.18s, color 0.18s;
    animation: pulse-social 2.2s cubic-bezier(.4,1.6,.4,1) infinite;
}
.navbar-instagram {
    color: #e1306c;
    background: rgba(225,48,108,0.08);
}
.navbar-telegram {
    color: #229ed9;
    background: rgba(34,158,217,0.08);
}
.navbar-social:hover, .navbar-social:focus {
    box-shadow: 0 0 12px 2px #a259ff88, 0 0 0 2px #fff2;
    background: #fff1;
    color: #fff;
}
@keyframes pulse-social {
    0% {
        box-shadow: 0 0 0 0 rgba(162,89,255,0.12);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 12px 4px #a259ff44;
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(162,89,255,0.12);
        transform: scale(1);
    }
}

.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4b2eff 60%, #a259ff 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 16px #4b2eff44;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 9999;
    transition: box-shadow 0.18s, background 0.18s, color 0.18s;
    animation: pulse-scrolltop 2.2s cubic-bezier(.4,1.6,.4,1) infinite;
}
.scroll-to-top:hover, .scroll-to-top:focus {
    box-shadow: 0 0 18px 4px #a259ff88, 0 0 0 2px #fff2;
    background: linear-gradient(135deg, #a259ff 60%, #4b2eff 100%);
    color: #fff;
}
@keyframes pulse-scrolltop {
    0% {
        box-shadow: 0 0 0 0 #a259ff33;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 18px 8px #a259ff55;
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 #a259ff33;
        transform: scale(1);
    }
}

.ai-section .telegram-button i {
    color: #229ed9 !important;
    filter: drop-shadow(0 0 6px #229ed988);
    background: none;
} 