/* Flotty Premium Modern Design System (Vercel/Apple Style) */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --accent: #38BDF8;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-page: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --border: #E2E8F0;
    --radius-xl: 32px;
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text-main); line-height: 1.5; background-color: var(--bg-page); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav-container { position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000; }
.glass-nav { max-width: 1000px; margin: 0 auto; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(15px); border: 1px solid var(--border); border-radius: 100px; padding: 10px 12px 10px 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.logo-text { font-size: 1.3rem; font-weight: 900; letter-spacing: -1.5px; text-decoration: none; color: black; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.nav-login { border: 1px solid var(--border); padding: 6px 16px; border-radius: 100px; color: var(--text-main) !important; font-size: 0.8rem !important; }
.nav-cta { background: var(--text-main); color: white; padding: 10px 24px; border-radius: 100px; text-decoration: none; font-weight: 800; font-size: 0.85rem; }

/* NUOVA HERO MODERNA (CENTRATA) */
.hero-modern { padding: 180px 0 100px; text-align: center; background: radial-gradient(circle at top, #F1F5F9 0%, transparent 50%); }
.hero-badge { display: inline-block; padding: 6px 14px; background: white; border: 1px solid var(--border); border-radius: 100px; font-size: 0.75rem; font-weight: 800; color: var(--primary); margin-bottom: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.hero-title-giant { font-size: clamp(3rem, 10vw, 5.5rem); font-weight: 900; line-height: 1; letter-spacing: -4px; margin-bottom: 32px; }
.hero-title-giant span { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub-giant { font-size: 1.35rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 48px; font-weight: 500; }
.btn-primary-giant { background: var(--primary); color: white; padding: 20px 48px; border-radius: 20px; font-weight: 800; font-size: 1.1rem; text-decoration: none; display: inline-block; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2); }
.btn-primary-giant:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(37, 99, 235, 0.3); }
.cta-micro-text { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; font-weight: 600; }

/* PRODUCT SHOWCASE */
.product-showcase { margin-top: 100px; position: relative; max-width: 1000px; margin-left: auto; margin-right: auto; }
.dashboard-preview { background: white; border-radius: 24px; padding: 12px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.dashboard-preview img { width: 100%; border-radius: 16px; display: block; filter: grayscale(5%) contrast(105%); }
.phone-overlay { position: absolute; bottom: -40px; right: -20px; width: 220px; background: #000; border: 8px solid #1A1A1C; border-radius: 36px; overflow: hidden; }
.phone-screen-inner img { width: 100%; display: block; }

/* STATS BAR */
.stats-bar-modern { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-box strong { display: block; font-size: 3rem; font-weight: 900; color: var(--text-main); letter-spacing: -2px; }
.stat-box span { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

/* BENTO GRID REFINED */
.features-section { padding: 120px 0; }
.section-header-centered { text-align: center; margin-bottom: 80px; }
.section-header-centered .title { font-size: 3rem; font-weight: 800; letter-spacing: -2px; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 320px); gap: 24px; }
.bento-card { background: white; border: 1px solid var(--border); border-radius: 32px; padding: 40px; overflow: hidden; position: relative; transition: all 0.3s; }
.bento-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
.bento-card.large { grid-column: span 2; grid-row: span 2; }
.bento-card.medium { grid-column: span 2; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 800; margin-bottom: 16px; }
.badge.blue { background: #EFF6FF; color: var(--primary); }
.badge.red { background: #FEF2F2; color: #EF4444; }
.card-visual-simple { position: absolute; bottom: 0; right: 0; width: 100%; height: 50%; opacity: 0.1; }
.map-bg { background: url('https://images.unsplash.com/photo-1569336415962-a4bd4f7943aa?auto=format&fit=crop&q=80&w=800') center/cover; opacity: 0.05; }
.stats-bg { background: linear-gradient(to top, var(--primary), transparent); }
.card-icon-simple { font-size: 4rem; opacity: 0.1; position: absolute; bottom: 20px; right: 20px; }

/* TESTIMONIALS */
.trust-section { padding: 100px 0; background: var(--bg-subtle); }
.testimonial-slider { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.t-card { background: white; padding: 48px; border-radius: 32px; border: 1px solid var(--border); }
.t-stars { color: #F59E0B; margin-bottom: 24px; }
.t-author { margin-top: 32px; display: flex; flex-direction: column; }
.t-author strong { font-size: 1.1rem; }
.t-author span { color: var(--text-muted); font-size: 0.9rem; }

/* PRICING */
.pricing-section { padding: 120px 0; }
.pricing-grid { display: flex; justify-content: center; gap: 32px; }
.p-card { background: white; border: 1px solid var(--border); padding: 60px 48px; border-radius: 40px; width: 400px; text-align: center; transition: all 0.3s; }
.p-card.featured { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: 0 40px 80px rgba(37, 99, 235, 0.1); }
.p-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--primary); color: white; padding: 6px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 800; }
.p-price { font-size: 4.5rem; font-weight: 900; letter-spacing: -4px; margin: 24px 0; }
.p-price span { font-size: 1.2rem; color: var(--text-muted); letter-spacing: 0; }
.p-card ul { list-style: none; text-align: left; margin: 40px 0; }
.p-card li { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-weight: 500; }

/* FINAL CTA */
.final-banner { padding: 100px 0; }
.banner-box { background: var(--primary); border-radius: 48px; padding: 100px; text-align: center; color: white; box-shadow: 0 40px 100px rgba(37, 99, 235, 0.3); }
.banner-box h2 { font-size: 3.5rem; font-weight: 900; letter-spacing: -3px; margin-bottom: 24px; }
.banner-box p { font-size: 1.4rem; opacity: 0.9; margin-bottom: 48px; }
.btn-white { background: white; color: var(--primary); padding: 20px 56px; border-radius: 20px; font-weight: 900; text-decoration: none; font-size: 1.1rem; }

/* LEGAL & COOKIE */
.legal-page { background: white; padding-top: 150px; }
.legal-content { max-width: 800px; margin: 0 auto; padding-bottom: 100px; }
.legal-content h1 { font-size: 3.5rem; letter-spacing: -2px; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.8rem; margin-top: 60px; margin-bottom: 20px; }
.cookie-banner { position: fixed; bottom: 30px; left: 30px; width: 400px; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 24px; padding: 24px; z-index: 9999; box-shadow: 0 20px 50px rgba(0,0,0,0.1); display: none; }
.btn-cookie-primary { background: var(--primary); color: white; border: none; padding: 12px; border-radius: 12px; font-weight: 800; cursor: pointer; flex: 1; }
.btn-cookie-secondary { background: #F1F5F9; border: none; padding: 12px; border-radius: 12px; font-weight: 700; cursor: pointer; flex: 1; }

/* FOOTER REFINED */
.footer { padding: 120px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: flex; justify-content: space-between; margin-bottom: 80px; }
.f-brand p { color: var(--text-muted); margin-top: 20px; max-width: 320px; font-weight: 500; }
.f-links { display: flex; gap: 80px; }
.f-col h4 { margin-bottom: 24px; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; }
.f-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 14px; font-weight: 500; }
.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 40px; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 992px) {
    .hero-title-giant { font-size: 3.5rem; letter-spacing: -2px; }
    .product-showcase { margin-top: 60px; }
    .phone-overlay { width: 150px; bottom: -20px; right: -10px; }
    .stats-flex { flex-direction: column; gap: 40px; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-card.large, .bento-card.medium { grid-column: span 1; }
    .testimonial-slider { grid-template-columns: 1fr; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .f-links { display: none; }
    .nav-links { display: none; }
}
