/* Volans - Design System (dark theme con accenti cyan) */
:root {
    --background: 222 47% 6%;
    --foreground: 210 40% 98%;
    --card: 222 47% 8%;
    --card-foreground: 210 40% 98%;
    --primary: 187 85% 53%;
    --primary-foreground: 222 47% 6%;
    --secondary: 222 30% 14%;
    --muted: 222 30% 12%;
    --muted-foreground: 215 20% 55%;
    --accent: 187 85% 53%;
    --border: 222 30% 18%;
    --input: 222 30% 18%;
    --ring: 187 85% 53%;
    --radius: 0.75rem;

    --gradient-primary: linear-gradient(135deg, hsl(187 85% 53%) 0%, hsl(200 90% 45%) 100%);
    --gradient-glow: radial-gradient(ellipse at center, hsl(187 85% 53% / 0.15) 0%, transparent 70%);
    --gradient-card: linear-gradient(145deg, hsl(222 47% 10%) 0%, hsl(222 47% 7%) 100%);
    --shadow-glow: 0 0 60px -12px hsl(187 85% 53% / 0.4);
    --shadow-card: 0 8px 32px -8px hsl(0 0% 0% / 0.5);
}

* {
    box-sizing: border-box;
    border: 0 solid hsl(var(--border));
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow-effect { box-shadow: var(--shadow-glow); }
.card-gradient { background: var(--gradient-card); }

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* ================== HERO ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(hsl(var(--border) / 0.3) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--border) / 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
}

.hero-floating {
    position: absolute;
    border-radius: 9999px;
    filter: blur(64px);
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-floating.f1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: hsl(var(--primary) / 0.1);
}
.hero-floating.f2 {
    bottom: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: hsl(var(--primary) / 0.05);
    animation-delay: 1.5s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: hsl(var(--primary));
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero p.lead {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 80px -8px hsl(var(--primary) / 0.6);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
}

.btn-outline:hover {
    background-color: hsl(var(--secondary));
    border-color: hsl(var(--primary) / 0.5);
}

.hero-stats {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ================== SECTIONS ================== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.625;
}

/* ================== SERVIZI ================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}

.service-card:hover .service-icon {
    background-color: hsl(var(--primary) / 0.2);
}

.service-icon svg { width: 1.5rem; height: 1.5rem; }

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.9375rem;
    line-height: 1.625;
}

/* ================== CHI SIAMO ================== */
.about {
    background-color: hsl(var(--secondary) / 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-text h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.about-text p {
    color: hsl(var(--muted-foreground));
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: hsl(var(--foreground));
}

.check-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.check-icon svg { width: 0.875rem; height: 0.875rem; }

.about-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
}

.about-visual img {
    position: relative;
    z-index: 1;
    max-width: 60%;
    height: auto;
    filter: drop-shadow(0 0 40px hsl(var(--primary) / 0.5));
    animation: float 6s ease-in-out infinite;
}

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

/* ================== CONTATTI ================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-4px);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 9999px;
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.contact-icon svg { width: 1.5rem; height: 1.5rem; }

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-card p, .contact-card a {
    color: hsl(var(--muted-foreground));
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact-card a:hover { color: hsl(var(--primary)); }

/* ================== CTA ================== */
.cta-section {
    text-align: center;
    padding: 6rem 0 3rem;
}

.cta-box {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-box p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ================== FOOTER ================== */
footer {
    border-top: 1px solid hsl(var(--border) / 0.5);
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

footer .footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    list-style: none;
    margin-top: 1rem;
}

footer .footer-links a {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

