:root {
    --color-bg: #fafafa;
    --color-bg-dark: #0a0a0a;
    --color-surface: #ffffff;
    --color-text: #111111;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-accent-glow: rgba(0, 113, 227, 0.3);
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(0, 0, 0, 0.04);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background: var(--color-bg); color: var(--color-text); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

.text-gradient { background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-blue { background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.5rem 2rem; background: rgba(250, 250, 250, 0.8); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.4s var(--ease-out-expo); }
.nav-container { max-width: 800px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.nav-logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { font-size: 1.5rem; animation: pulse-fire 2s ease-in-out infinite; }
@keyframes pulse-fire { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.1); filter: brightness(1.2); } }

/* DESKTOP HERO */
.hero-desktop { min-height: 100vh; padding: 6rem 2rem 3rem; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0.5; animation: glow-pulse 4s ease-in-out infinite; }
@keyframes glow-pulse { 0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); } }

.hero-container { width: 100%; max-width: 1200px; height: 100vh; max-height: 550px; display: grid; grid-template-columns: 1fr 440px; gap: 3px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 25px 80px -20px rgba(0, 0, 0, 0.15), 0 50px 120px -30px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); position: relative; z-index: 1; }

.video-panel { background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%); position: relative; overflow: hidden; }
.video-wrapper { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.video-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.1) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.video-wrapper video { width: auto; height: 100%; max-width: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.2); z-index: 2; transition: transform 0.6s var(--ease-out-expo); }
.video-wrapper:hover video { transform: scale(1.02); }

.info-panel { background: rgba(255, 255, 255, 0.85); padding: 2rem; display: flex; flex-direction: column; justify-content: center; backdrop-filter: blur(20px); border-left: 1px solid rgba(255, 255, 255, 0.5); }
.info-content { display: flex; flex-direction: column; gap: 1rem; }

.badge-wrapper { position: relative; display: inline-block; width: fit-content; }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); background: rgba(0, 113, 227, 0.1); border-radius: 100px; position: relative; overflow: hidden; border: 1px solid rgba(0, 113, 227, 0.2); }
.badge-pulse { width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }

.title { display: flex; flex-direction: column; gap: 0.25rem; }
.title-line { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--color-text); }
.title-line.highlight { background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.description { font-size: 1rem; line-height: 1.6; color: var(--color-text-light); max-width: 340px; }
.hero-tagline { font-size: 0.9375rem; font-weight: 600; color: var(--color-text); padding: 0.875rem 1rem; background: rgba(0, 113, 227, 0.06); border-radius: 12px; border-left: 3px solid var(--color-accent); }

.price-block { margin-top: 0.5rem; }
.price { display: flex; align-items: flex-start; gap: 0.125rem; }
.price-currency { font-size: 1.5rem; font-weight: 600; color: var(--color-text); margin-top: 0.25rem; }
.price-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; color: var(--color-text); line-height: 1; }
.price-period { font-size: 1.125rem; color: var(--color-text-muted); font-weight: 500; align-self: flex-end; margin-bottom: 0.5rem; }
.price-note { display: block; font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.25rem; }

.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem 1.75rem; font-size: 1rem; font-weight: 700; color: white; background: linear-gradient(135deg, #0071e3 0%, #0051a2 100%); border: none; border-radius: 100px; cursor: pointer; transition: all 0.4s var(--ease-out-expo); margin-top: 0.5rem; position: relative; overflow: hidden; box-shadow: 0 4px 20px -5px rgba(0, 113, 227, 0.4), 0 10px 40px -10px rgba(0, 113, 227, 0.3); }
.cta-button::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; }
.cta-button:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 30px -5px rgba(0, 113, 227, 0.5), 0 20px 60px -15px rgba(0, 113, 227, 0.4); }
.cta-button:hover::before { opacity: 1; }
.cta-button:active { transform: translateY(-1px) scale(0.98); }
.cta-arrow { display: flex; transition: transform 0.3s var(--ease-out-expo); }
.cta-button:hover .cta-arrow { transform: translateX(4px); }
.cta-button.large { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

/* MOBILE HERO */
.hero-mobile { display: none; min-height: 100vh; flex-direction: column; position: relative; }
.mobile-video-container { position: relative; height: 55vh; width: 100%; overflow: hidden; background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%); }
.mobile-video-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(0, 113, 227, 0.15) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.mobile-video-container video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mobile-video-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%, transparent 70%, rgba(0, 0, 0, 0.4) 100%); z-index: 2; }

/* Badge piccolo in alto a sinistra sul video */
.mobile-hero-top { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 3; }
.mobile-badge-small { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.875rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(20px); border-radius: 100px; color: white; border: 1px solid rgba(255, 255, 255, 0.3); }
.badge-dot { width: 5px; height: 5px; background: #4ade80; border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

/* Titolo spostato nel box bianco */
.mobile-info-card { background: rgba(255, 255, 255, 0.98); margin: -2.5rem 1rem 0; padding: 2rem 1.75rem; border-radius: var(--radius-lg); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5); position: relative; z-index: 10; opacity: 0; transform: translateY(20px); transition: all 0.6s var(--ease-out-expo); backdrop-filter: blur(20px); }
.mobile-info-card.visible { opacity: 1; transform: translateY(0); }
.mobile-card-content { display: flex; flex-direction: column; gap: 1.25rem; }

.mobile-title-box { display: flex; flex-direction: column; gap: 0.125rem; margin-bottom: 0.25rem; }
.mobile-title-line { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--color-text); }
.mobile-title-line.highlight { background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.mobile-description { font-size: 1rem; line-height: 1.5; color: var(--color-text-light); }
.mobile-tagline { font-size: 0.9375rem; font-weight: 600; color: var(--color-text); padding: 0.75rem; background: rgba(0, 113, 227, 0.06); border-radius: 10px; border-left: 3px solid var(--color-accent); }
.mobile-price { display: flex; align-items: baseline; gap: 0.25rem; justify-content: center; }
.mobile-price-amount { font-size: 2.25rem; font-weight: 800; color: var(--color-text); letter-spacing: -0.02em; }
.mobile-price-period { font-size: 1.125rem; color: var(--color-text-muted); font-weight: 500; }
.mobile-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 1rem 2rem; font-size: 1rem; font-weight: 700; color: white; background: linear-gradient(135deg, #0071e3 0%, #0051a2 100%); border: none; border-radius: 100px; cursor: pointer; transition: all 0.4s var(--ease-out-expo); box-shadow: 0 4px 20px -5px rgba(0, 113, 227, 0.4); }
.mobile-cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px -5px rgba(0, 113, 227, 0.5); }
.mobile-cta-button svg { transition: transform 0.3s var(--ease-out-expo); }
.mobile-cta-button:hover svg { transform: translateX(4px); }

/* SECTIONS */
.section { padding: 5rem 2rem; position: relative; }
.section-light { background: var(--color-bg); }
.section-dark { background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%); color: white; overflow: hidden; }
.section-cta { background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%); padding: 5rem 2rem; position: relative; overflow: hidden; }
.container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-label { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; padding: 0.5rem 1rem; background: rgba(0, 113, 227, 0.08); border-radius: 100px; border: 1px solid rgba(0, 113, 227, 0.15); }
.section-label.light { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.2); }
.section-title { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--color-text); }
.section-title.light { color: white; }
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02); }

/* FEATURES GRID - 6 ITEMS */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { padding: 2rem; border-radius: var(--radius-md); position: relative; overflow: hidden; opacity: 0; transform: translateY(30px); transition: all 0.6s var(--ease-out-expo); transition-delay: var(--delay, 0s); }
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.6); }
.feature-icon-float { font-size: 2.5rem; margin-bottom: 1.25rem; display: inline-block; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.feature-content { position: relative; z-index: 2; }
.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.625rem; color: var(--color-text); letter-spacing: -0.02em; }
.feature-text { font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-light); }
.card-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.7s; pointer-events: none; }
.feature-card:hover .card-shine { left: 100%; }

/* LEARN SECTION */
.learn-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.learn-text { opacity: 0; transform: translateX(-30px); transition: all 0.8s var(--ease-out-expo); }
.learn-text.visible { opacity: 1; transform: translateX(0); }
.learn-description { font-size: 1.125rem; line-height: 1.7; color: rgba(255, 255, 255, 0.7); margin: 1.5rem 0 2rem; }
.learn-points { display: flex; flex-direction: column; gap: 0.875rem; }
.learn-point { display: flex; align-items: center; gap: 0.875rem; font-size: 1.0625rem; color: white; font-weight: 500; }
.point-check { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(0, 113, 227, 0.2); border-radius: 50%; color: var(--color-accent); font-weight: 700; font-size: 0.875rem; }
.learn-visual { display: flex; justify-content: center; opacity: 0; transform: translateX(30px); transition: all 0.8s var(--ease-out-expo) 0.2s; }
.learn-visual.visible { opacity: 1; transform: translateX(0); }
.visual-glass { width: 100%; aspect-ratio: 1; max-width: 320px; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; backdrop-filter: blur(20px); }
.floating-elements { position: relative; width: 100%; height: 100%; }
.float-el { position: absolute; font-size: 2.5rem; animation: float-around 6s ease-in-out infinite; animation-delay: var(--delay, 0s); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
.float-el:nth-child(1) { top: 20%; left: 20%; }
.float-el:nth-child(2) { top: 60%; left: 15%; }
.float-el:nth-child(3) { top: 30%; right: 20%; }
.float-el:nth-child(4) { bottom: 25%; right: 25%; }
@keyframes float-around { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(10px, -15px) rotate(5deg); } 50% { transform: translate(-5px, 10px) rotate(-3deg); } 75% { transform: translate(15px, 5px) rotate(3deg); } }

/* FAQ SECTION */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item { border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s var(--ease-out-expo); cursor: pointer; }
.faq-item:hover { transform: translateX(4px); }
.faq-question { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.0625rem; color: var(--color-text); transition: color 0.3s; }
.faq-question:hover { color: var(--color-accent); }
.faq-icon { font-size: 1.5rem; font-weight: 300; color: var(--color-accent); transition: transform 0.3s var(--ease-out-expo); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo), padding 0.4s; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: var(--color-text-light); line-height: 1.6; font-size: 0.9375rem; }

/* CTA */
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out-expo); position: relative; z-index: 2; }
.cta-content.visible { opacity: 1; transform: translateY(0); }
.cta-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 700; color: var(--color-accent); background: rgba(0, 113, 227, 0.1); border-radius: 100px; margin-bottom: 1.25rem; border: 1px solid rgba(0, 113, 227, 0.2); animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.2); } 50% { box-shadow: 0 0 20px 5px rgba(0, 113, 227, 0.1); } }
.cta-title { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.25rem; color: var(--color-text); }
.cta-text { font-size: 1.125rem; line-height: 1.6; color: var(--color-text-light); margin-bottom: 2rem; }
.cta-guarantee { font-size: 0.9375rem; color: var(--color-text-muted); margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.cta-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 60%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; }

/* FOOTER */
.footer { background: var(--color-surface); padding: 2.5rem 2rem 1.5rem; border-top: 1px solid var(--color-border-light); }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border-light); }
.social-links { display: flex; gap: 1rem; align-items: center; }
.social-link { color: var(--color-text-light); transition: all 0.3s var(--ease-out-expo); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(0, 113, 227, 0.05); border: 1px solid rgba(0, 113, 227, 0.1); }
.social-link:hover { color: var(--color-accent); background: rgba(0, 113, 227, 0.1); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15); }
.footer-bottom { max-width: 1100px; margin: 1.5rem auto 0; text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: var(--color-text-muted); }

.learn-cta-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-desktop { display: none; }
    .hero-mobile { display: flex; }
    .nav { background: rgba(255, 255, 255, 0.9); padding: 1rem 1.25rem; }
    .section { padding: 4rem 1.5rem; }
    .section-title { font-size: 2.25rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .learn-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .cta-title { font-size: 2.25rem; }
}
@media (max-width: 640px) {
    .mobile-title-line { font-size: 2rem; }
    .mobile-video-container { height: 50vh; }
    .mobile-info-card { margin: -2rem 0.75rem 0; padding: 1.5rem; }
    .section { padding: 3rem 1rem; }
    .section-title { font-size: 1.875rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 1.75rem; }
    .cta-title { font-size: 1.875rem; }
    .cta-text { font-size: 1rem; }
    .faq-question { padding: 1.25rem; font-size: 1rem; }
    .faq-item.active .faq-answer { padding: 0 1.25rem 1.25rem; }
    .social-links { gap: 0.75rem; }
    .social-link { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}