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

:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --text: #14161f;
    --muted: #687084;
    --line: #e6e9f0;
    --dark: #10131a;
    --primary: #1668d8;
    --primary-dark: #1450a8;
    --accent: #4fb327;
    --accent-dark: #3f9020;
    --grad: linear-gradient(120deg, #1668d8 0%, #2f9ad0 45%, #4fb327 100%);
    --grad-dark: linear-gradient(120deg, #1450a8 0%, #3f9020 100%);
    --soft-blue: #eef4ff;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(16, 19, 26, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 247, 251, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 233, 240, 0.8);
}

.nav {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: white;
    font-size: 13px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--muted);
    font-size: 15px;
}

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

.nav-cta {
    color: white !important;
    background: var(--dark);
    padding: 11px 16px;
    border-radius: 999px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
    gap: 52px;
    align-items: center;
    padding-top: 92px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary);
    background: var(--soft-blue);
    border: 1px solid #d8e6ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    letter-spacing: -0.055em;
    line-height: 1.02;
}

h1 {
    font-size: clamp(46px, 7vw, 82px);
    max-width: 840px;
}

h2 {
    font-size: clamp(34px, 4vw, 58px);
}

h3 {
    font-size: 22px;
}

.hero-text {
    color: var(--muted);
    font-size: 19px;
    max-width: 680px;
    margin-top: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--grad);
    color: white;
}

.btn-primary:hover {
    background: var(--grad-dark);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border-color: var(--line);
}

.full {
    width: 100%;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 44px;
    max-width: 690px;
}

.trust-row div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.trust-row strong,
.trust-row span {
    display: block;
}

.trust-row span {
    color: var(--muted);
    font-size: 14px;
    margin-top: 3px;
}

.hero-preview {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.browser-card {
    width: 100%;
    min-height: 480px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    overflow: hidden;
}

.browser-top {
    height: 58px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
}

.browser-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #d8dce5;
}

.mock-hero {
    margin: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1668d8 0%, #2f9ad0 50%, #4fb327 100%);
    min-height: 220px;
    padding: 26px;
}

.mock-pill,
.mock-title,
.mock-line,
.mock-buttons div,
.mock-grid div {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 999px;
}

.mock-pill {
    width: 105px;
    height: 19px;
}

.mock-title {
    width: 74%;
    height: 38px;
    margin-top: 22px;
}

.mock-line {
    width: 92%;
    height: 12px;
    margin-top: 16px;
    opacity: 0.65;
}

.mock-line.short {
    width: 58%;
}

.mock-buttons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.mock-buttons div {
    width: 116px;
    height: 36px;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 24px 24px;
}

.mock-grid div {
    min-height: 98px;
    background: #edf1f8;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 18px 40px rgba(16, 19, 26, 0.12);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card span {
    color: var(--muted);
    font-size: 14px;
}

.card-one {
    right: -14px;
    top: 74px;
}

.card-two {
    left: -24px;
    bottom: 64px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 36px;
}

.section-heading p,
.split p {
    color: var(--muted);
    font-size: 18px;
    margin-top: 16px;
}

.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 28px;
    align-items: end;
}

.problem-grid,
.template-grid,
.compare-grid,
.limits-grid {
    display: grid;
    gap: 18px;
}

.problem-grid {
    grid-template-columns: repeat(3, 1fr);
}

.problem-card,
.step,
.template-card,
.compare-card,
.contact-card,
details {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.problem-card {
    padding: 28px;
}

.problem-card span {
    color: var(--primary);
    font-weight: 800;
}

.problem-card h3 {
    margin: 16px 0 12px;
}

.problem-card p,
.step p,
.template-card p,
.compare-card li,
.contact-card p,
details p {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    padding: 26px;
}

.step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--dark);
    color: white;
    font-weight: 800;
    margin-bottom: 22px;
}

.step h3 {
    margin-bottom: 10px;
}

/* CATALOGO NUOVO */

.catalog-group {
    margin-top: 46px;
}

.catalog-group:first-of-type {
    margin-top: 0;
}

.catalog-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.catalog-title span {
    display: inline-flex;
    width: fit-content;
    color: var(--primary);
    background: var(--soft-blue);
    border: 1px solid #d8e6ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.catalog-title h3 {
    font-size: 28px;
}

.template-grid {
    grid-template-columns: repeat(3, 1fr);
}

.template-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(16, 19, 26, 0.08);
}

.template-preview {
    min-height: 240px;
    padding: 14px;
    display: flex;
    align-items: flex-end;
    background: #e9edf5;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.template-preview span {
    background: rgba(255, 255, 255, 0.92);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* BEAUTY STARTER — rosa, femminile, servizi */
.template-preview.beauty {
    background:
        linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)) 0 0 / 100% 26px no-repeat,
        linear-gradient(#b85072, #b85072) 12px 42px / 56% 9px no-repeat,
        linear-gradient(rgba(184, 80, 114, 0.5), rgba(184, 80, 114, 0.5)) 12px 57px / 38% 6px no-repeat,
        linear-gradient(#c7647f, #c7647f) 12px 74px / 22% 13px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)) 4% 102px / 29% 60px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)) 36% 102px / 29% 60px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)) 68% 102px / 29% 60px no-repeat,
        linear-gradient(165deg, #fde8f0 0%, #f5b5cc 60%, #e09ab8 100%);
}

/* RESTAURANT STARTER — scuro, arancio, menu */
.template-preview.food {
    background:
        linear-gradient(#120d0a, #120d0a) 0 0 / 100% 28px no-repeat,
        linear-gradient(#e16435, #e16435) 12px 8px / 28px 10px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) 12px 44px / 54% 10px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)) 12px 60px / 36% 7px no-repeat,
        linear-gradient(#e16435, #e16435) 12px 76px / 20% 13px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) 4% 104px / 29% 64px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) 36% 104px / 29% 64px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)) 68% 104px / 29% 64px no-repeat,
        linear-gradient(165deg, #1e1510 0%, #17110d 100%);
}

/* COACH STARTER — verde lime, metriche, energia */
.template-preview.fitness {
    background:
        linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)) 0 0 / 100% 26px no-repeat,
        linear-gradient(#b7ff4a, #b7ff4a) 0 26px / 100% 5px no-repeat,
        linear-gradient(rgba(28, 38, 16, 0.85), rgba(28, 38, 16, 0.85)) 12px 46px / 54% 10px no-repeat,
        linear-gradient(rgba(28, 38, 16, 0.45), rgba(28, 38, 16, 0.45)) 12px 62px / 36% 7px no-repeat,
        linear-gradient(#b7ff4a, #b7ff4a) 12px 78px / 20% 13px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)) 4% 106px / 21% 54px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)) 28% 106px / 21% 54px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)) 52% 106px / 21% 54px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)) 76% 106px / 21% 54px no-repeat,
        linear-gradient(165deg, #eef1e8 0%, #d8edbe 100%);
}

/* AURA SKIN GROWTH — scuro, verde salvia, oro */
.template-preview.beauty-growth {
    background:
        linear-gradient(rgba(12, 16, 12, 0.97), rgba(12, 16, 12, 0.97)) 0 0 / 100% 28px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)) 12px 44px / 56% 11px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)) 12px 61px / 38% 7px no-repeat,
        linear-gradient(#b89154, #b89154) 12px 78px / 20% 13px no-repeat,
        linear-gradient(rgba(184, 145, 84, 0.14), rgba(184, 145, 84, 0.14)) 4% 106px / 44% 66px no-repeat,
        linear-gradient(rgba(184, 145, 84, 0.14), rgba(184, 145, 84, 0.14)) 52% 106px / 44% 66px no-repeat,
        linear-gradient(165deg, #182518 0%, #0e1a10 100%);
}

/* STUDIO VALENTI GROWTH — layout a sidebar, beige, oro */
.template-preview.professional-growth {
    background:
        linear-gradient(#efebe2, #efebe2) 0 0 / 24% 100% no-repeat,
        linear-gradient(#9b7138, #9b7138) 3% 16px / 17% 8px no-repeat,
        linear-gradient(rgba(155, 113, 56, 0.5), rgba(155, 113, 56, 0.5)) 3% 42px / 13% 4px no-repeat,
        linear-gradient(rgba(155, 113, 56, 0.5), rgba(155, 113, 56, 0.5)) 3% 52px / 16% 4px no-repeat,
        linear-gradient(rgba(155, 113, 56, 0.5), rgba(155, 113, 56, 0.5)) 3% 62px / 10% 4px no-repeat,
        linear-gradient(rgba(155, 113, 56, 0.5), rgba(155, 113, 56, 0.5)) 3% 72px / 14% 4px no-repeat,
        linear-gradient(rgba(155, 113, 56, 0.15), rgba(155, 113, 56, 0.15)) 2% 110px / 20% 52px no-repeat,
        linear-gradient(rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07)) 24% 0 / 1px 100% no-repeat,
        linear-gradient(#2a2318, #2a2318) 28% 30px / 52% 11px no-repeat,
        linear-gradient(rgba(42, 35, 24, 0.4), rgba(42, 35, 24, 0.4)) 28% 47px / 36% 7px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) 26% 74px / 70% 32px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) 26% 112px / 70% 32px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) 26% 150px / 70% 32px no-repeat,
        #f5f1ea;
}

/* REAL ESTATE GROWTH — verde foresta scuro, sabbia */
.template-preview.real-growth {
    background:
        linear-gradient(#183c34, #183c34) 0 0 / 100% 30px no-repeat,
        linear-gradient(rgba(216, 185, 140, 0.9), rgba(216, 185, 140, 0.9)) 12px 48px / 56% 11px no-repeat,
        linear-gradient(rgba(216, 185, 140, 0.5), rgba(216, 185, 140, 0.5)) 12px 65px / 38% 7px no-repeat,
        linear-gradient(#d8b98c, #d8b98c) 12px 82px / 20% 13px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 4% 110px / 29% 68px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 36% 110px / 29% 68px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 68% 110px / 29% 68px no-repeat,
        linear-gradient(165deg, #112d27 0%, #0d2320 100%);
}

/* NOVAMED CLINIC PREMIUM — navy scuro, teal */
.template-preview.clinic-premium {
    background:
        linear-gradient(#06121f, #06121f) 0 0 / 100% 30px no-repeat,
        linear-gradient(rgba(75, 182, 216, 0.6), rgba(75, 182, 216, 0.6)) 0 30px / 100% 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) 12px 48px / 56% 11px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)) 12px 65px / 38% 7px no-repeat,
        linear-gradient(#123b63, #123b63) 12px 82px / 20% 13px no-repeat,
        linear-gradient(rgba(75, 182, 216, 0.12), rgba(75, 182, 216, 0.12)) 4% 108px / 21% 70px no-repeat,
        linear-gradient(rgba(75, 182, 216, 0.12), rgba(75, 182, 216, 0.12)) 28% 108px / 21% 70px no-repeat,
        linear-gradient(rgba(75, 182, 216, 0.12), rgba(75, 182, 216, 0.12)) 52% 108px / 21% 70px no-repeat,
        linear-gradient(rgba(75, 182, 216, 0.12), rgba(75, 182, 216, 0.12)) 76% 108px / 21% 70px no-repeat,
        linear-gradient(165deg, #0d2038 0%, #071526 100%);
}

/* DIGITAL AGENCY PREMIUM — nero, indigo, grafico a barre */
.template-preview.agency-premium {
    background:
        linear-gradient(rgba(6, 6, 12, 0.98), rgba(6, 6, 12, 0.98)) 0 0 / 100% 28px no-repeat,
        linear-gradient(rgba(240, 239, 255, 0.88), rgba(240, 239, 255, 0.88)) 12px 44px / 58% 11px no-repeat,
        linear-gradient(rgba(240, 239, 255, 0.45), rgba(240, 239, 255, 0.45)) 12px 61px / 40% 7px no-repeat,
        linear-gradient(#c6ff4b, #c6ff4b) 12px 78px / 20% 13px no-repeat,
        linear-gradient(rgba(17, 17, 32, 0.96), rgba(17, 17, 32, 0.96)) 4% 106px / 92% 88px no-repeat,
        linear-gradient(#5f4cec, #5f4cec) 8% 132px / 44% 9px no-repeat,
        linear-gradient(#5f4cec, #5f4cec) 8% 147px / 30% 9px no-repeat,
        linear-gradient(#c6ff4b, #c6ff4b) 8% 162px / 52% 9px no-repeat,
        linear-gradient(#5f4cec, #5f4cec) 8% 177px / 38% 9px no-repeat,
        #08080f;
}

/* AUTO DETAIL PREMIUM — nero, oro, pacchetti */
.template-preview.automotive-premium {
    background:
        linear-gradient(#000000, #000000) 0 0 / 100% 28px no-repeat,
        linear-gradient(#c9a84c, #c9a84c) 12px 9px / 32px 10px no-repeat,
        linear-gradient(rgba(240, 239, 232, 0.88), rgba(240, 239, 232, 0.88)) 12px 44px / 56% 11px no-repeat,
        linear-gradient(rgba(240, 239, 232, 0.48), rgba(240, 239, 232, 0.48)) 12px 61px / 38% 7px no-repeat,
        linear-gradient(#c9a84c, #c9a84c) 12px 78px / 20% 13px no-repeat,
        linear-gradient(rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.1)) 4% 106px / 29% 72px no-repeat,
        linear-gradient(rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0.22)) 36% 106px / 29% 72px no-repeat,
        linear-gradient(rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.1)) 68% 106px / 29% 72px no-repeat,
        linear-gradient(165deg, #141418 0%, #0a0a0c 100%);
}

.template-body {
    padding: 24px;
}

.template-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.template-meta span {
    display: inline-flex;
    width: fit-content;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 999px;
}

.template-body p {
    margin: 10px 0 20px;
}

.template-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.template-actions button {
    border: 0;
    color: white;
    background: var(--dark);
    padding: 11px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 750;
}

.template-actions button:hover {
    background: var(--grad);
}

.template-actions a {
    color: var(--primary);
    font-weight: 750;
}

.compare-grid {
    grid-template-columns: repeat(2, 1fr);
}

.compare-card {
    padding: 32px;
}

.compare-card h3 {
    margin-bottom: 18px;
}

.compare-card ul,
.plan-list {
    list-style: none;
    display: grid;
    gap: 13px;
}

.compare-card li,
.plan-list li {
    position: relative;
    padding-left: 26px;
}

.compare-card li::before,
.plan-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}

.compare-card.muted li::before {
    content: "–";
}

.compare-card.highlighted {
    background: var(--dark);
    color: white;
}

.compare-card.highlighted li {
    color: #d8dce5;
}

/* PRICING */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.plan-card.featured {
    background: var(--dark);
    color: white;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--grad);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 999px;
}

.plan-label {
    display: inline-flex;
    width: fit-content;
    background: var(--soft-blue);
    color: var(--primary);
    border: 1px solid #d8e6ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.plan-card.featured .plan-label {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
}

.plan-header h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.plan-header p {
    color: var(--muted);
    min-height: 78px;
}

.plan-card.featured .plan-header p {
    color: #cdd3df;
}

.plan-price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 26px 0;
}

.plan-price div {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.plan-card.featured .plan-price div {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.plan-price span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.plan-card.featured .plan-price span {
    color: #cdd3df;
}

.plan-price strong {
    display: block;
    font-size: 34px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.plan-list {
    margin-bottom: 28px;
    flex: 1;
}

.plan-list li {
    color: var(--muted);
}

.plan-card.featured .plan-list li {
    color: #d8dce5;
}

.plan-list li::before {
    color: var(--primary);
}

.plan-card.featured .plan-list li::before {
    color: white;
}

.limits-grid {
    grid-template-columns: repeat(3, 1fr);
}

.limits-grid div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    color: var(--muted);
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    padding: 22px 24px;
}

summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 18px;
}

details p {
    margin-top: 12px;
}

.contact-card {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 34px;
    padding: 34px;
    background: var(--dark);
    color: white;
}

.contact-card p {
    color: #cdd3df;
}

.contact-form {
    background: white;
    color: var(--text);
    border-radius: 22px;
    padding: 24px;
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 750;
}

.contact-form input,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 15px;
    outline: 0;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--primary);
}

.form-note {
    font-size: 13px;
    color: var(--muted) !important;
    text-align: center;
}

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 36px 0 50px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
}

.footer .logo {
    color: var(--text);
    margin-bottom: 12px;
}

.footer .logo small {
    font-weight: 500;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-vat {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--muted);
}

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

/* CURSORE GIUSTO */

h1,
h2,
h3,
p,
span,
strong,
li,
div,
section,
article {
    cursor: default;
}

a,
button,
.btn,
summary,
.nav-toggle,
.choose-template,
.plan-select {
    cursor: pointer;
}

input,
textarea {
    cursor: text;
}

select {
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 980px) {

    .hero,
    .contact-card,
    .split,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .hero-preview {
        min-height: 460px;
    }

    .problem-grid,
    .steps,
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .limits-grid,
    .trust-row {
        grid-template-columns: 1fr;
    }

    .catalog-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 78px 20px auto 20px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }
}

@media (max-width: 640px) {
    .section {
        width: min(100% - 28px, 1180px);
        padding: 64px 0;
    }

    .nav {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 58px;
    }

    h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions,
    .template-actions,
    .footer {
        flex-direction: column;
        align-items: stretch;
    }

    .problem-grid,
    .steps,
    .template-grid,
    .plan-price {
        grid-template-columns: 1fr;
    }

    .browser-card {
        min-height: 400px;
    }

    .mock-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: static;
        margin-top: 14px;
    }

    .hero-preview {
        display: block;
        min-height: auto;
    }

    .contact-card {
        padding: 20px;
    }

    .plan-card {
        padding: 24px;
    }

    .popular-badge {
        position: static;
        width: fit-content;
        margin-bottom: 14px;
    }

    .template-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-custom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
}

/* ─── Portfolio ───────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.portfolio-tag {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--soft-blue);
    padding: 6px 12px;
    border-radius: 999px;
}

.portfolio-card h3 {
    margin-top: 4px;
}

.portfolio-card p {
    color: var(--muted);
    flex: 1;
}

.portfolio-link {
    font-weight: 600;
    color: var(--primary);
}

.portfolio-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 36px;
    padding: 36px 40px;
    background: var(--dark);
    border-radius: var(--radius);
}

.portfolio-custom h3 {
    color: white;
}

.portfolio-custom p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

/* ─── Contact buttons ─────────────────────────── */
.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 24px;
    border-radius: 18px;
    color: white;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(16, 19, 26, 0.18);
    filter: brightness(1.05);
}

.contact-btn-icon {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.contact-btn strong {
    font-size: 1.12rem;
}

.contact-btn span:last-child {
    font-size: 0.9rem;
    opacity: 0.85;
}

.contact-btn.whatsapp {
    background: #25d366;
    color: #06351a;
}

.contact-btn.instagram {
    background: linear-gradient(120deg, #f9ce34, #ee2a7b 45%, #6228d7);
}

@media (max-width: 640px) {
    .contact-buttons {
        grid-template-columns: 1fr;
    }
}

/* --- Teaser: dashboard analytics in arrivo --- */
.analytics-teaser-card {
    position: relative;
    background: radial-gradient(900px 400px at 15% -20%, rgba(212, 175, 55, 0.18), transparent 60%), var(--dark);
    color: #f3f4f7;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius);
    padding: 56px 48px;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.analytics-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a1400;
    background: #d4af37;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.analytics-teaser-card h2 {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.analytics-teaser-card p {
    color: #c7ccd6;
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.analytics-teaser-card strong {
    color: #f0d98a;
    font-weight: 600;
}

.analytics-teaser-note {
    font-size: 15px;
}

.analytics-teaser-card .btn-secondary {
    margin-top: 14px;
}

@media (max-width: 640px) {
    .analytics-teaser-card {
        padding: 40px 24px;
    }
}