﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #0061A4;
    --primary-light: #E1F0FF;
    --secondary: #535F70;
    --accent: #2196F3;
    --bg: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text: #1A1C1E;
    --text-muted: #44474E;
    --glass-border: rgba(0, 97, 164, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 97, 164, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 97, 164, 0.4);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Features */
.features { padding: 100px 0; background: #FFF; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 { font-size: 2.5rem; font-weight: 800; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 15px; font-weight: 700; }

/* Pricing */
.pricing { padding: 100px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.price-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
}

.price-value span { font-size: 1rem; color: var(--text-muted); }

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li i { color: #4CAF50; }

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

.footer-logo { font-weight: 800; font-size: 1.5rem; margin-bottom: 20px; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hardware Visualization */
.hw-showcase {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hw-item {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 180px;
}

.hw-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.hw-item h4 { font-size: 0.9rem; font-weight: 700; }

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.fab:hover { transform: scale(1.1); }

/* --- PREMIUM ENHANCEMENTS --- */
body { background: radial-gradient(circle at top right, #E1F0FF 0%, #F8FAFC 50%); }

.hero-image { border: 8px solid white; box-shadow: 0 30px 60px rgba(0,0,0,0.12); position: relative; }
.hero-image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.2)); pointer-events: none; }

.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.testimonial-card { background: white; padding: 40px; border-radius: 32px; box-shadow: var(--shadow); border: 1px solid var(--glass-border); position: relative; }
.testimonial-card p { font-style: italic; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { color: var(--primary); font-size: 1.1rem; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

.price-card.featured { position: relative; overflow: hidden; background: linear-gradient(135deg, white 0%, #F0F7FF 100%); }
.price-card.featured::before { content: 'PIU SCELTO'; position: absolute; top: 20px; right: -30px; background: var(--accent); color: white; padding: 5px 40px; font-size: 0.7rem; font-weight: 800; transform: rotate(45deg); }

@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding: 60px 0; }
    .hero-content h1 { font-size: 3rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

.logo img { box-shadow: 0 0 15px rgba(0, 97, 164, 0.4); border: 2px solid white; }
