/* Variables & Reset */
:root {
    /* Colori Principali - Tema Chiaro */
    --bg-main: #F8FAFC;
    --bg-surface: rgba(255, 255, 255, 0.8);
    --bg-surface-light: rgba(255, 255, 255, 0.95);
    
    /* Accenti */
    --accent-blue: #2563EB;
    --accent-blue-hover: #1D4ED8;
    --accent-red: #EF4444;
    --accent-yellow: #EAB308;
    --accent-green: #10B981;
    --accent-orange: #F97316;

    /* Testi */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-dark: #000000;

    /* Spaziature & Altri */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Glows (Glassmorphism Environment) */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(11,17,32,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.glow-bg-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239,68,68,0.1) 0%, rgba(11,17,32,0) 70%);
    bottom: 20%;
    left: -200px;
    top: auto;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent-blue);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(59, 130, 246, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1f77b4, #005288);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(31, 119, 180, 0.4);
    border: none;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e5243b, #c5192d);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(229, 36, 59, 0.5);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    background: linear-gradient(90deg, #1f77b4, #ffb900, #e5243b, #4c9f38);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.logo i {
    color: var(--accent-blue);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav a:not(.btn):hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero.relative-overflow {
    overflow: hidden;
}

/* Weather UI Animations */
.weather-animations {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.weather-icon {
    position: absolute;
    opacity: 0;
    color: var(--accent-blue);
}

.sun {
    font-size: 8rem;
    color: var(--accent-yellow);
    top: 15%; right: 10%;
    animation: rotateScale 15s linear infinite, fadeInOut 15s ease-in-out infinite;
}

.cloud-1 {
    font-size: 6rem;
    color: #94A3B8;
    top: 30%; left: 5%;
    animation: floatDrift 20s ease-in-out infinite, fadeInOut 20s ease-in-out infinite;
    animation-delay: 2s;
}

.rain {
    font-size: 5rem;
    color: #3B82F6;
    top: 50%; right: 20%;
    animation: rainDrop 10s ease-in infinite, fadeInOut 10s ease-in-out infinite;
    animation-delay: 5s;
}

.bolt {
    font-size: 7rem;
    color: var(--accent-yellow);
    bottom: 20%; left: 15%;
    animation: flash 8s infinite, float 12s ease-in-out infinite;
    animation-delay: 3s;
}

.wind {
    font-size: 5rem;
    color: #64748B;
    top: 60%; left: -10%;
    animation: windBreeze 18s cubic-bezier(0.4, 0, 0.2, 1) infinite, fadeInOut 18s ease-in-out infinite;
}

@keyframes rotateScale {
    0% { transform: rotate(0deg) scale(0.8); opacity: 0; }
    20% { transform: rotate(72deg) scale(1.1); opacity: 0.8; }
    50% { transform: rotate(180deg) scale(1); opacity: 0.6; }
    80% { transform: rotate(288deg) scale(1.1); opacity: 0.8; }
    100% { transform: rotate(360deg) scale(0.8); opacity: 0; }
}

@keyframes floatDrift {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 0.6; }
    50% { transform: translate(200px, -50px); opacity: 0.7; }
    80% { opacity: 0.6; }
    100% { transform: translate(400px, 20px); opacity: 0; }
}

@keyframes rainDrop {
    0% { transform: translateY(-50px) scale(0.9); opacity: 0; }
    30% { transform: translateY(0px) scale(1); opacity: 0.7; }
    70% { transform: translateY(50px) scale(1); opacity: 0.7; }
    100% { transform: translateY(100px) scale(0.9); opacity: 0; }
}

@keyframes flash {
    0%, 90%, 100% { opacity: 0; filter: drop-shadow(0 0 0 transparent); }
    92% { opacity: 1; filter: drop-shadow(0 0 20px var(--accent-yellow)); }
    94% { opacity: 0; }
    96% { opacity: 1; filter: drop-shadow(0 0 30px var(--accent-yellow)); transform: scale(1.1); }
    98% { opacity: 0; transform: scale(1); }
}

@keyframes windBreeze {
    0% { transform: translateX(0) scale(0.8); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(50vw) scale(1.2); opacity: 0.6; }
    80% { opacity: 0.4; }
    100% { transform: translateX(100vw) scale(0.8); opacity: 0; }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: auto; } /* Inherits the opacity driven by other animations or specific rule, we fallback inside individual keyframes if needed */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Glass Mockup (Wow Factor) */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-mockup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.glass-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: rgba(241, 245, 249, 0.8);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: var(--accent-red); }
.dot.yellow { background-color: var(--accent-yellow); }
.dot.green { background-color: var(--accent-green); }

.mockup-body {
    padding: 30px;
}

.widget-demo {
    background: var(--text-primary);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    overflow: hidden;
}

.widget-demo-header {
    background: #FEF2F2;
    color: var(--accent-red);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #FEE2E2;
}

.widget-demo-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.widget-demo-content {
    padding: 20px;
}

.alert-level {
    background: var(--accent-red);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.alert-level h4 { font-size: 1.2rem; }
.alert-level p { font-size: 0.9rem; margin: 0; opacity: 0.9; }

.demo-zone { margin-bottom: 5px; color: #475569; }
.demo-date { font-size: 0.85rem; color: #64748B; margin-bottom: 20px; }

.demo-btn {
    width: 100%;
    padding: 10px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    color: #334155;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.floating-wrapper {
    position: absolute;
    z-index: 10;
}

.fb-wrapper {
    top: 50px;
    right: -30px;
    animation: float 4s ease-in-out infinite;
}

.tg-wrapper {
    bottom: 50px;
    left: -40px;
    animation: float 5s ease-in-out infinite alternate;
}

.floating-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.fb-panel i { color: #1877F2; font-size: 1.2rem; }
.tg-panel i { color: #229ED9; font-size: 1.2rem; }

/* Sequence Animations */
.sequence-1 {
    animation: activateWidget 6s infinite;
}
.sequence-2 {
    animation: activatePanelFB 6s infinite;
}
.sequence-3 {
    animation: activatePanelTG 6s infinite;
}

@keyframes activateWidget {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) scale(1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
    15% { transform: rotateY(0deg) rotateX(0deg) scale(1.02); box-shadow: 0 0 40px rgba(239, 68, 68, 0.3); border-color: rgba(239, 68, 68, 0.5); }
    30% { transform: rotateY(-5deg) rotateX(5deg) scale(1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
}

@keyframes activatePanelFB {
    0%, 100%, 15%, 45% { transform: scale(1); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: rgba(0, 0, 0, 0.05); }
    30% { transform: scale(1.08); box-shadow: 0 0 25px rgba(24, 119, 242, 0.5); border-color: rgba(24, 119, 242, 0.7); }
}

@keyframes activatePanelTG {
    0%, 100%, 30%, 60% { transform: scale(1); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: rgba(0, 0, 0, 0.05); }
    45% { transform: scale(1.08); box-shadow: 0 0 25px rgba(34, 158, 217, 0.5); border-color: rgba(34, 158, 217, 0.7); }
}

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

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0f172a;
    background: linear-gradient(90deg, #1f77b4, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-surface-light);
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.red-icon { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
.orange-icon { background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); }
.blue-icon { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* How It Works (Timeline) */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.step-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #1f77b4, #00aed9);
    box-shadow: 0 4px 15px rgba(31, 119, 180, 0.4);
}
.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #ffb900, #f36d25);
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.4);
}
.step:nth-child(5) .step-number {
    background: linear-gradient(135deg, #4c9f38, #8cbe22);
    box-shadow: 0 4px 15px rgba(76, 159, 56, 0.4);
}

.step:nth-child(1):hover .step-number { box-shadow: 0 8px 25px rgba(31, 119, 180, 0.6); }
.step:nth-child(3):hover .step-number { box-shadow: 0 8px 25px rgba(255, 185, 0, 0.6); }
.step:nth-child(5):hover .step-number { box-shadow: 0 8px 25px rgba(76, 159, 56, 0.6); }

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px; right: -5px; bottom: -5px; left: -5px;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.step:hover .step-number::after {
    opacity: 0.4;
    transform: scale(1.3);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step:nth-child(1) .step-content h3 { color: #005288; }
.step:nth-child(3) .step-content h3 { color: #d65a00; }
.step:nth-child(5) .step-content h3 { color: #377d24; }

.step-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.step-image {
    width: 160px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: transparent;
    padding: 10px;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-image img {
    transform: scale(1.1) rotate(2deg) translateY(-5px);
    filter: drop-shadow(0 15px 25px rgba(37, 99, 235, 0.2));
}

.vector-line {
    text-align: center;
    padding: 25px 0;
    color: rgba(37, 99, 235, 0.3);
    font-size: 1.5rem;
    position: relative;
    z-index: 0;
}

.vector-line i {
    animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(12px); opacity: 1; }
}

/* Canali Section (Screenshots) */
.canali-section {
    background: var(--bg-surface-light);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.canali-mockup-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.banner-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 30px;
}

.bot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.canale-card {
    display: flex;
    flex-direction: column;
}

.canale-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.canale-info h3 i {
    color: var(--accent-blue);
}

.canale-info p {
    color: var(--text-secondary);
}

.mockup-browser {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.browser-header {
    background: #F1F5F9;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mockup-img-full {
    width: 100%;
    display: block;
}

.homepage-content {
    position: relative;
    overflow-y: hidden;
    overflow-x: hidden;
}

.mockup-render {
    border-radius: 20px;
    background: transparent;
    overflow: hidden;
    margin: 20px auto 0;
    max-width: 380px; 
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.glass-card:hover .mockup-browser,
.glass-card:hover .mockup-render {
    transform: translateY(-5px);
}

/* CTA Section */
.cta-section {
    padding-bottom: 150px;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-radius: 24px;
    color: white;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    color: #94A3B8;
    font-size: 1.1rem;
}

.cta-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width,
.captcha-box.full-width,
.form-footer.full-width {
    grid-column: span 2;
}

.cta-form input,
.cta-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .cta-form form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width,
    .captcha-box.full-width,
    .form-footer.full-width {
        grid-column: span 1;
    }
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.4);
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 0 30px;
    background: #FFFFFF;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 15px;
    max-width: 250px;
}

.footer-brand .company-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-brand .company-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-brand .company-info a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer-brand .company-info a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations (Scroll Triggered) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { order: 1; }
    .hero-visual { order: 2; margin-top: 40px; }
    .hero p { max-width: 100%; margin: 0 auto 30px; }
    .hero-cta { justify-content: center; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .banner-card { grid-template-columns: 1fr; }
    .bot-grid { grid-template-columns: 1fr; }
    
    .cta-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    nav { display: none; /* In una versione reale ci sarebbe l'hamburger menu */ }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .section-title h2 { font-size: 2.2rem; }
    
    .fb-panel { right: 0; top: -20px; }
    .tg-panel { left: 0; bottom: -20px; }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .step-image {
        width: 100%;
        max-width: 200px;
        margin-top: 10px;
    }
    
    .footer-container { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 30px; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    color: #cbd5e1;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
