:root {
    --ink: #07111a;
    --ink-2: #0b1824;
    --ink-3: #111b25;
    --paper: #f4f3ef;
    --paper-2: #e9e7e0;
    --line: rgba(7, 17, 26, 0.18);
    --line-dark: rgba(255,255,255,0.18);
    --yellow: #ffd000;
    --yellow-2: #e6b800;
    --white: #ffffff;
    --muted: #6f777d;
    --muted-dark: #a9b2bb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

body::selection { background: var(--yellow); color: var(--ink); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow-2); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, .display-cut {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 0.98;
}

h1 { font-size: clamp(2.85rem, 4.15vw, 4.85rem); }
h2 { font-size: clamp(1.85rem, 2.65vw, 3.25rem); }
h3 { font-size: clamp(1.08rem, 1.35vw, 1.45rem); }

.site-header {
    background: rgba(7, 17, 26, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.navbar { min-height: 72px; }
.navbar-toggler { border-radius: 0; border-color: rgba(255,255,255,0.28); }
.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup img { width: 156px; height: auto; }

.main-nav { gap: .82rem; }
.main-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.main-nav .nav-link:hover { color: var(--yellow) !important; }
.square-menu { border-radius: 0; border: 1px solid var(--line-dark); background: #07111a; }
.square-menu .dropdown-item { text-transform: uppercase; font-size: 0.78rem; font-weight: 800; }
.square-menu .dropdown-item:hover { background: var(--yellow); color: var(--ink); }

.lang-switch { display: flex; align-items: center; gap: .35rem; color: #fff; }
.lang-switch .nav-link { padding-left: .1rem !important; padding-right: .1rem !important; }

.btn {
    border-radius: 0 !important;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    padding: 0.82rem 1.14rem;
    border-width: 2px;
}

.btn-sm { padding: 0.68rem .95rem; font-size: 0.72rem; }
.btn-lg { padding: .88rem 1.35rem; font-size: .86rem; }

.btn-yellow {
    background: var(--yellow);
    color: var(--ink) !important;
    border-color: var(--yellow);
    box-shadow: none;
}

.btn-yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); color: var(--ink) !important; }

.btn-line {
    color: #fff !important;
    border-color: rgba(255,255,255,0.65);
    background: transparent;
}

.btn-line:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

.btn-line-dark {
    color: var(--ink) !important;
    border-color: var(--ink);
    background: transparent;
}

.btn-line-dark:hover { background: var(--ink); color: #fff !important; }

.hero-industrial {
    position: relative;
    min-height: 548px;
    padding: 118px 0 48px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7,17,26,0.98) 0%, rgba(7,17,26,0.9) 48%, rgba(7,17,26,0.35) 72%, rgba(7,17,26,0.88) 100%),
        radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12), transparent 24rem),
        #07111a;
    overflow: hidden;
}

.hero-industrial::before {
    content: "";
    position: absolute;
    right: 12%;
    top: 88px;
    width: min(28vw, 410px);
    height: 405px;
    background:
        linear-gradient(130deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 30%, rgba(0,0,0,0.55)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 2px, transparent 2px 56px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 58px);
    transform: skewX(-13deg) rotate(-7deg);
    border-left: 4px solid rgba(255,255,255,0.35);
    border-top: 2px solid rgba(255,255,255,0.25);
    opacity: .78;
}

.hero-industrial::after {
    content: "";
    position: absolute;
    right: -10vw;
    top: 0;
    width: 32vw;
    height: 100%;
    background: linear-gradient(135deg, transparent 0 34%, var(--yellow) 34% 100%);
    z-index: 0;
}

.hero-content { position: relative; z-index: 2; max-width: 840px; }
.kicker {
    display: inline-block;
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 950;
    font-size: .72rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.hero-industrial h1 { margin-bottom: 1.18rem; text-wrap: balance; }
.hero-industrial h1 .accent { color: var(--yellow); }
.hero-lead { max-width: 620px; color: #eef3f7; font-size: clamp(.96rem, 1.05vw, 1.08rem); margin-bottom: 1.45rem; }
.micro-disclaimer { color: #d2d8dc; font-size: .78rem; margin-top: 1rem; }
.hero-actions { gap: 1rem; }

.strip-targets {
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.target-panel {
    display: grid;
    grid-template-columns: 205px repeat(6, 1fr);
    min-height: 108px;
    align-items: stretch;
}

.target-title {
    padding: 1.45rem 1.55rem;
    border-right: 1px solid var(--line);
}
.target-title h2 { font-size: 1.12rem; margin: 0; }
.underline-yellow { display: block; width: 42px; height: 4px; background: var(--yellow); margin-top: .75rem; }

.target-item {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    text-align: center;
    padding: 1rem .6rem;
    border-right: 1px solid rgba(7,17,26,.11);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}
.target-item:last-child { border-right: 0; }
.target-icon {
    width: 34px;
    height: 34px;
    border: 2px solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 900;
}

.section-light { background: #f4f3ef; color: var(--ink); }
.section-white { background: #fff; color: var(--ink); }
.section-dark { background: #07111a; color: #fff; }
.section-split { background: linear-gradient(90deg, #07111a 0 36%, #0b1824 36% 100%); color: #fff; }
.section-block { padding: 64px 0; }
.section-tight { padding: 44px 0; }

.section-heading { max-width: 820px; margin-bottom: 2.1rem; }
.section-heading p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-heading p, .section-split .section-heading p { color: var(--muted-dark); }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.problem-cell {
    padding: 1.85rem;
    min-height: 240px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.46);
}
.problem-cell .icon { color: var(--yellow-2); font-size: 1.75rem; margin-bottom: 1.15rem; }
.problem-cell h3 { font-size: 1.08rem; margin-bottom: .85rem; }
.problem-cell p { color: #30373d; margin-bottom: 0; }

.solution-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.solution-list li { position: relative; padding-left: 1.7rem; margin-bottom: .95rem; color: #f0f4f7; }
.solution-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 950; }

.output-board {
    border: 1px solid rgba(255,255,255,.26);
    background: rgba(0,0,0,.18);
    padding: 1.3rem;
}
.output-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255,255,255,.2);
    border-top: 1px solid rgba(255,255,255,.2);
}
.output-cell {
    min-height: 104px;
    padding: 1.05rem;
    border-right: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.output-number { display: block; color: var(--yellow); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif; font-size: 1.35rem; margin-bottom: .3rem; }
.output-cell strong { display: block; color: #fff; line-height: 1.2; }

.process-line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    background: #fff;
}
.process-step {
    position: relative;
    min-height: 218px;
    padding: 1.55rem 1.05rem;
    border-right: 1px solid var(--line);
    text-align: center;
}
.process-step:last-child { border-right: 0; }
.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 42%;
    width: 26px;
    height: 26px;
    background: #fff;
    color: var(--yellow-2);
    font-weight: 950;
    z-index: 2;
}
.process-icon { width: 52px; height: 52px; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--yellow); color: var(--ink); font-weight: 950; margin-bottom: .75rem; }
.process-step h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.process-step p { color: #4a535b; font-size: .9rem; margin-bottom: 0; }

.module-grid, .pricing-grid, .faq-grid {
    display: grid;
    gap: 0;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
}
.module-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }

.module-card, .price-card, .faq-item, .feature-tile {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
    background: rgba(255,255,255,.52);
}
.module-card h3, .price-card h3, .faq-item h3 { font-size: 1.25rem; }
.module-card p, .faq-item p { color: #46505a; }

.feature-tile { min-height: 220px; }
.feature-tile .number { color: var(--yellow-2); font-weight: 950; margin-bottom: 1rem; display: block; }

.price-card { min-height: 500px; display: flex; flex-direction: column; }
.price-card.highlighted { background: #07111a; color: #fff; position: relative; }
.price-card.highlighted::before { content: "CONSIGLIATO"; position: absolute; right: 0; top: 0; background: var(--yellow); color: var(--ink); padding: .5rem .85rem; font-size: .68rem; font-weight: 950; }
.price { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif; font-size: 3rem; line-height: 1; margin: 1rem 0 1.15rem; color: var(--yellow-2); }
.price-card.highlighted .price { color: var(--yellow); }
.price-card p { color: #4b545d; }
.price-card.highlighted p { color: #c8d0d6; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 2rem; }
.price-card li { position: relative; padding-left: 1.45rem; margin-bottom: .65rem; }
.price-card li::before { content: "▰"; position: absolute; left: 0; color: var(--yellow-2); font-size: .68rem; top: .25rem; }
.price-card .btn { margin-top: auto; }

.lead-block { border-top: 1px solid rgba(255,255,255,.18); }
.lead-form {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.18);
    padding: 2rem;
}
.form-control, .form-select {
    border-radius: 0 !important;
    min-height: 48px;
    border: 2px solid rgba(7,17,26,.18);
    background: #fbfaf7;
}
.form-control:focus, .form-select:focus {
    border-color: var(--yellow-2);
    box-shadow: none;
}
.form-label { font-weight: 900; text-transform: uppercase; font-size: .78rem; }
.form-check-input { border-radius: 0 !important; }
.form-check-input:checked { background-color: var(--yellow-2); border-color: var(--yellow-2); }
.text-danger { font-weight: 700; }
.lead-note { border-left: 6px solid var(--yellow); padding: 1rem 1.1rem; background: rgba(255,208,0,.08); color: #eef4f8; }

.page-hero {
    padding: 122px 0 56px;
    background: linear-gradient(135deg, #07111a 0 62%, var(--yellow) 62% 100%);
    color: #fff;
}
.page-hero p { max-width: 800px; color: #d8e0e7; font-size: 1.1rem; }

.content-panel {
    border: 1px solid var(--line);
    background: #fff;
    padding: 2rem;
}
.content-panel h2 { font-size: 2rem; margin-top: 1.5rem; }
.content-panel h2:first-child { margin-top: 0; }
.content-panel p, .content-panel li { color: #424b53; }

.admin-table { background: #fff; border: 1px solid var(--line); }
.admin-table th, .admin-table td { border-color: var(--line) !important; vertical-align: top; }
.admin-table th a { text-decoration: underline; text-decoration-thickness: 2px; }

.site-footer { background: #07111a; color: #fff; }
.footer-cta { border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); padding: 2rem 0; background: linear-gradient(90deg, #07111a 0%, #0c1c2a 100%); }
.footer-cta h2 { color: var(--yellow); font-size: clamp(1.5rem, 2.4vw, 2.8rem); margin-bottom: 0; }
.footer-kicker { text-transform: uppercase; color: #fff; font-weight: 950; margin-bottom: .35rem; }
.footer-main { padding: 2.8rem 0 1.6rem; }
.footer-main h3 { font-size: 1rem; margin-bottom: 1rem; }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li { margin-bottom: .4rem; }
.footer-main a { color: #dce4ea; font-size: .9rem; }
.footer-main a:hover { color: var(--yellow); }
.muted { color: var(--muted-dark); }
.footer-form { display: grid; grid-template-columns: 1fr 54px; border: 1px solid rgba(255,255,255,.32); }
.footer-form input { min-width: 0; border: 0; background: transparent; color: #fff; padding: .85rem; }
.footer-form button { border: 0; background: var(--yellow); color: var(--ink); font-weight: 950; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted-dark); font-size: .78rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }

.disclaimer-box { border: 1px solid rgba(255,255,255,.28); padding: 1.5rem; background: rgba(255,255,255,.04); }
.disclaimer-box p { color: #dce4ea; margin-bottom: 0; }

@media (max-width: 1199.98px) {
    .target-panel { grid-template-columns: repeat(3, 1fr); }
    .target-title { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
    .problem-grid, .output-grid, .process-line, .module-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-industrial::before { opacity: .35; right: -10%; }
}

@media (max-width: 767.98px) {
    h1 { font-size: clamp(2.55rem, 15vw, 4.25rem); }
    .navbar { min-height: 76px; }
    .hero-industrial { min-height: auto; padding: 125px 0 55px; }
    .hero-industrial::after { width: 70vw; right: -45vw; opacity: .86; }
    .hero-actions { flex-direction: column; }
    .target-panel, .problem-grid, .output-grid, .process-line, .module-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
    .target-item { border-right: 0; border-bottom: 1px solid rgba(7,17,26,.11); }
    .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
    .process-step:not(:last-child)::after { display: none; }
    .section-split { background: #07111a; }
    .footer-bottom { flex-direction: column; }
}

/* V004 demo report gated download */
.demo-hero {
    background: linear-gradient(135deg, #07111a 0 68%, var(--yellow) 68% 100%);
}

.demo-facts {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(7,17,26,.74);
    display: grid;
    grid-template-columns: 1fr;
}

.demo-facts div {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.demo-facts div:last-child {
    border-bottom: 0;
}

.demo-facts strong,
.demo-facts span {
    display: block;
}

.demo-facts strong {
    color: var(--yellow);
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .08em;
    margin-bottom: .35rem;
}

.demo-facts span {
    color: #fff;
    font-weight: 900;
}

.large-copy {
    font-size: 1.1rem;
    color: #36414b;
    max-width: 640px;
}

.demo-outline {
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-top: 2rem;
}

.demo-outline div {
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(244,243,239,.68);
}

.demo-outline span {
    display: inline-block;
    color: var(--yellow-2);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size: 1.25rem;
    margin-bottom: .45rem;
}

.demo-outline strong {
    display: block;
    font-size: 1.05rem;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.demo-outline p {
    margin: 0;
    color: #4a535b;
}

.gated-form {
    border: 1px solid var(--line);
    box-shadow: 14px 14px 0 rgba(255,208,0,.24);
}

.form-headline {
    border-bottom: 1px solid var(--line);
    margin: -2rem -2rem 1.5rem;
    padding: 1.35rem 2rem;
    background: #f4f3ef;
}

.form-headline h2 {
    font-size: 1.55rem;
    margin-bottom: .35rem;
}

.form-headline p {
    color: #4a535b;
    margin: 0;
}

@media (max-width: 767.98px) {
    .gated-form {
        box-shadow: 8px 8px 0 rgba(255,208,0,.24);
    }
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1.15rem 0 1.45rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .42rem .7rem;
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    background: rgba(255,255,255,.045);
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    align-items: end;
    padding: 1rem;
    border: 1px solid var(--line);
    background: #f4f3ef;
    margin-bottom: 1rem;
}

.admin-toolbar .form-control,
.admin-toolbar .form-select {
    min-width: 170px;
}

.admin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .65rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .76rem;
}

.admin-badge strong {
    color: var(--yellow-2);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.status-cell {
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.status-cell span {
    display: block;
    color: var(--yellow-2);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
    margin-bottom: .45rem;
}

.status-cell strong {
    display: block;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
    font-size: 1.7rem;
    line-height: 1;
    text-transform: uppercase;
}

.status-cell p {
    margin: .55rem 0 0;
    color: #58616a;
    font-size: .92rem;
}

@media (max-width: 991.98px) {
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hero-proof span,
    .admin-badge {
        width: 100%;
    }

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

.legal-hero .container-fluid {
    max-width: 1280px;
}

.legal-panel {
    max-width: 1040px;
    padding: 2rem;
    border: 1px solid var(--line);
    background: #fff;
}

.legal-panel h2 {
    margin-top: 1.65rem;
    margin-bottom: .45rem;
    color: var(--ink);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.legal-panel h2:first-child {
    margin-top: 0;
}

.legal-panel p {
    color: #3c4650;
    line-height: 1.72;
}

.legal-panel a {
    color: var(--ink);
    font-weight: 900;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--yellow);
}

.lead-signal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    margin-right: .45rem;
    padding: .2rem .4rem;
    border: 1px solid var(--line);
    color: var(--ink);
    background: #f4f3ef;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lead-signal-hot {
    border-color: var(--yellow-2);
    background: var(--yellow);
    color: var(--ink);
}
