:root {
    --bg: #0f4166;
    --bg-2: #0b2f4a;
    --pri: #0c8ce9;
    --pri-2: #0973be;
    --ink: #0d1b2a;
    --mut: #5b6b7a;
    --card: #ffffff;
    --soft: #f4f7fb;
    --ok: #12b886;
    --shadow: 0 10px 24px rgba(2, 28, 55, .08);
    --radius: 16px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    color: var(--pri);
    text-decoration: none
}

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

.btn {
    display: inline-block;
    background: var(--pri);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow)
}

.btn:hover {
    filter: brightness(1.06)
}

.btn-outline {
    background: #fff;
    color: var(--pri);
    border: 2px solid var(--pri)
}

/* Login button (header) */
.btn-login{
    border:2px solid #fff; color:#fff; padding:8px 14px;
    border-radius:10px; font-weight:700; line-height:1;
}
.btn-login:hover{ background:rgba(255,255,255,.12); }
.nav-actions{ display:flex; align-items:center; gap:14px; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf5ff;
    color: #0a64a8;
    font-weight: 600;
    font-size: 12px
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 65%, rgba(15, 65, 102, 0.92) 100%);
    box-shadow: 0 4px 10px rgba(9, 40, 66, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: #fff
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800
}

.lang {
    display: flex;
    gap: 12px;
    font-size: 14px
}

.lang a {
    color: #fff;
    opacity: .8;
    cursor: pointer;
}

.lang a.active {
    opacity: 1;
    text-decoration: underline
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    background: radial-gradient(1000px 500px at -10% -50%, #135b8f 0%, transparent 70%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
    color: #fff
}

.hero .grid {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 32px;
    align-items: center;
    padding: 56px 0
}

.hero h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: .2em 0 .35em
}

.hero p {
    color: #e5f2ff;
    margin: 0 0 22px
}

.hero .art img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow)
}

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

/* Sections */
section {
    padding: 68px 0
}

h2 {
    font-size: 32px;
    margin: 0 0 16px
}

.lead {
    color: var(--mut);
    margin: 0 0 28px
}

.cards {
    display: grid;
    gap: 18px
}

.cards.cols-3 {
    grid-template-columns:repeat(3, minmax(0, 1fr))
}

.card {
    background: var(--card);
    border: 1px solid #e9edf3;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 0 0 8px
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eaf5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px
}

/* Pricing */
.pricing .price {
    font-size: 28px;
    font-weight: 800;
    margin: 4px 0 8px
}

.pricing ul {
    margin: 0;
    padding-left: 18px;
    color: var(--mut)
}

.pricing .highlight {
    outline: 2px solid var(--pri);
}

/* Testimonials */
.testimonial {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-left: 4px solid var(--pri);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px
}

.quote {
    font-style: italic
}

/* FAQ */
details {
    border: 1px solid #e9edf3;
    border-radius: 12px;
    padding: 14px;
    margin: 10px 0;
    background: #fff
}

details > summary {
    cursor: pointer;
    font-weight: 700
}

details[open] {
    box-shadow: var(--shadow)
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

/* Footer */
footer {
    background: #091f33;
    color: #cfe6ff;
    padding: 28px 0;
    margin-top: 60px
}

.foot a {
    color: #cfe6ff
}

/* Responsive */
@media (max-width: 980px) {
    .hero .grid {
        grid-template-columns:1fr
    }

    .cards.cols-3 {
        grid-template-columns:1fr
    }

    .cta-strip {
        flex-direction: column;
        align-items: flex-start
    }

    .hero h1 {
        font-size: 40px
    }
}

#approfondimenti .card {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
    color: inherit;
}

#approfondimenti .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
