﻿/* ==========================================================================
   ALPESOFT GENESIS â€” Design System (allineato ad Alpesoft Master 2030)
   ========================================================================== */
:root {
    --brand-blue:   #3d7abf;
    --brand-green:  #3a9e5f;
    --brand-orange: #e06b1f;
    --tech-dark:    #1a2030;
    --tech-navy:    #0f1420;
    --tech-gray:    #f5f7fa;
    --white:        #ffffff;
    --text-main:    #2d3748;
    --text-dim:     #718096;
    --border-soft:  rgba(15, 20, 32, 0.09);
    --ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   HERO CON INFINITY PERSPECTIVE GRID
   ========================================================================== */
.master-hero {
    min-height: calc(92vh - var(--top-bar-h));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #f7f9fc;
    padding: 64px 40px;
    border-bottom: 1px solid var(--border-soft);
}

.master-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(61, 122, 191, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 122, 191, 0.11) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center bottom;
    transform: perspective(800px) rotateX(75deg) scale(3) translateY(-10%);
    transform-origin: top center;
    opacity: 0.75;
    pointer-events: none;
    animation: slideLines 22s linear infinite;
}

@keyframes slideLines {
    from { background-position: center 0; }
    to { background-position: center 60px; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(61, 122, 191, 0.1);
    border: 1px solid rgba(61, 122, 191, 0.22);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.12;
    margin-bottom: 22px;
    color: var(--tech-dark);
    letter-spacing: -0.025em;
}

.hero-title strong {
    font-weight: 700;
    color: var(--tech-navy);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-highlight-box {
    padding: 20px 24px;
    background: var(--white);
    border-left: 4px solid var(--brand-blue);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 1px 2px rgba(15, 20, 32, 0.04), 0 8px 24px rgba(15, 20, 32, 0.05);
    margin-bottom: 28px;
    font-size: 15px;
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    background: var(--brand-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(61, 122, 191, 0.28);
    transition: all 180ms var(--ease);
}

.btn-primary:hover {
    background: #2f65a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(61, 122, 191, 0.38);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--tech-dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid rgba(15, 20, 32, 0.14);
    box-shadow: 0 1px 2px rgba(15, 20, 32, 0.04), 0 4px 10px rgba(15, 20, 32, 0.03);
    cursor: pointer;
    transition: all 180ms var(--ease);
}

.btn-outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 20, 32, 0.07);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 122, 191, 0.32);
}

/* Hero Architecture Card */
.hero-pipeline-card {
    background: var(--tech-navy);
    color: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 6px rgba(15, 20, 32, 0.08), 0 24px 55px rgba(15, 20, 32, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-variant-numeric: tabular-nums;
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.pipeline-node {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.pipeline-node:last-child {
    margin-bottom: 0;
}

.node-step {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(61, 122, 191, 0.22);
    color: #90cdf4;
    flex-shrink: 0;
    margin-top: 2px;
}

.node-step.green {
    background: rgba(58, 158, 95, 0.22);
    color: #9ae6b4;
}

.node-step.orange {
    background: rgba(224, 107, 31, 0.22);
    color: #fbd38d;
}

.pipeline-node h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.pipeline-node p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
}

/* ==========================================================================
   SEZIONI SOBRIE (Master 2030)
   ========================================================================== */
.section-sober {
    padding: 96px 40px;
}

.section-container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-container.narrow {
    max-width: 760px;
}

.section-kicker {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 300;
    margin-bottom: 18px;
    text-align: center;
    color: var(--tech-dark);
    letter-spacing: -0.025em;
}

.section-title strong {
    font-weight: 700;
}

.section-lead {
    text-align: center;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 52px;
    font-size: 16.5px;
}

.bg-gray {
    background: var(--tech-gray);
}

.bg-navy {
    background: var(--tech-navy);
    color: var(--white);
}

.bg-navy .section-title,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
    color: var(--white);
}

.bg-navy .section-lead,
.bg-navy p,
.bg-navy li {
    color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   INTERACTIVE VIDEO DEMO PLAYER
   ========================================================================== */
.demo-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.scenario-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scenario-tab {
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid rgba(15, 20, 32, 0.16);
    background: var(--white);
    color: var(--tech-dark);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.scenario-tab:hover {
    border-color: var(--brand-blue);
}

.scenario-tab.is-active {
    background: var(--tech-navy);
    color: var(--white);
    border-color: var(--tech-navy);
}

.demo-disclaimer {
    font-size: 12px;
    color: var(--text-dim);
    background: var(--tech-gray);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-soft);
}

.video-mp4-wrapper {
    background: #060910;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.video-mp4-player {
    width: 100%;
    max-height: 540px;
    display: block;
    background: #060910;
    aspect-ratio: 16 / 9;
}

.demo-mode-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    background: #0b0f19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
}

.demo-mode-pills {
    display: flex;
    gap: 8px;
}

.mode-pill {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.mode-pill.is-active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--white);
}

.prerequisite-banner {
    background: var(--white);
    border: 1px solid rgba(61, 122, 191, 0.25);
    border-left: 5px solid var(--brand-orange);
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 22px rgba(15, 20, 32, 0.05);
}

.prerequisite-banner h3 {
    font-size: 16px;
    color: var(--tech-navy);
    margin-bottom: 4px;
}

.prerequisite-banner p {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 700px;
}

.video-player-shell {
    background: var(--tech-navy);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 20, 32, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-stage {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 440px;
}

.video-camera-pane {
    position: relative;
    background: #090d16;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.video-presenter-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.6s var(--ease);
}

.video-player-shell.is-playing .video-presenter-img {
    transform: scale(1.03);
}

.video-camera-overlay {
    position: relative;
    z-index: 2;
    padding: 22px;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.96) 15%, rgba(9, 13, 22, 0.72) 65%, transparent 100%);
    color: var(--white);
}

.rec-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(15, 20, 32, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    padding: 5px 11px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53e3e;
}

.video-player-shell.is-playing .rec-dot {
    animation: pulseRec 1.1s infinite;
}

@keyframes pulseRec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.channel-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    background: rgba(61, 122, 191, 0.35);
    color: #90cdf4;
    margin-bottom: 10px;
}

.audio-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
    margin-bottom: 10px;
}

.audio-wave span {
    width: 3px;
    height: 6px;
    background: #63b3ed;
    border-radius: 2px;
    transition: height 0.2s;
}

.video-player-shell.is-playing .audio-wave span {
    animation: waveBar 0.9s ease-in-out infinite;
}

.video-player-shell.is-playing .audio-wave span:nth-child(2n) { animation-delay: 0.15s; }
.video-player-shell.is-playing .audio-wave span:nth-child(3n) { animation-delay: 0.3s; }
.video-player-shell.is-playing .audio-wave span:nth-child(5n) { animation-delay: 0.45s; }

@keyframes waveBar {
    0%, 100% { height: 5px; }
    50% { height: 20px; }
}

.subtitle-box {
    background: rgba(15, 20, 32, 0.85);
    border-left: 3px solid var(--brand-blue);
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    border-radius: 0 4px 4px 0;
}

/* Right pane: Engine + Mockup Site Preview */
.video-engine-pane {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    color: var(--white);
}

.engine-steps-list {
    display: grid;
    gap: 8px;
}

.engine-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.62);
    transition: all 0.25s var(--ease);
}

.engine-step.is-active {
    background: rgba(61, 122, 191, 0.18);
    border-color: rgba(61, 122, 191, 0.6);
    color: var(--white);
}

.engine-step.is-done {
    background: rgba(58, 158, 95, 0.12);
    border-color: rgba(58, 158, 95, 0.4);
    color: rgba(255, 255, 255, 0.92);
}

.engine-step-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: #90cdf4;
    margin-right: 8px;
}

.engine-step-status {
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Simulated Site Preview Card */
.sim-browser {
    background: var(--white);
    color: var(--text-main);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sim-browser-bar {
    background: #edf2f7;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.sim-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    color: var(--text-dim);
    background: var(--white);
    padding: 3px 10px;
    border-radius: 3px;
    border: 1px solid #e2e8f0;
}

.sim-diff-toggle {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #cbd5e0;
}

.sim-diff-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    background: var(--white);
    color: var(--text-dim);
    cursor: pointer;
}

.sim-diff-btn.is-active {
    background: var(--brand-blue);
    color: var(--white);
}

.sim-site-body {
    padding: 16px;
    min-height: 158px;
}

.sim-site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.sim-site-hero h4 {
    font-size: 15px;
    color: var(--tech-navy);
    margin-bottom: 6px;
}

.sim-site-hero p {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.sim-injected-block {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    background: rgba(58, 158, 95, 0.08);
    border: 1px dashed var(--brand-green);
    animation: fadeUp 0.35s var(--ease);
}

.sim-injected-block strong {
    display: block;
    font-size: 12.5px;
    color: var(--tech-navy);
    margin-bottom: 3px;
}

.sim-injected-block span {
    display: block;
    font-size: 11.5px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sim-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sim-meta-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--tech-navy);
    color: #9ae6b4;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Video Controls Bar */
.video-controls-bar {
    background: #0b0f19;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ctrl-btn {
    padding: 7px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.ctrl-btn.primary {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.ctrl-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
}

.ctrl-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    transition: width 0.25s linear;
}

.ctrl-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    min-width: 78px;
    text-align: right;
}

/* ==========================================================================
   STEPS, GRIDS, CARDS, RESPONSIBILITY TABLE
   ========================================================================== */
.steps-linear {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.step-item {
    border-top: 2px solid rgba(15, 20, 32, 0.12);
    padding-top: 24px;
}

.step-label {
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.step-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--tech-dark);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-dim);
    font-size: 15px;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(15, 20, 32, 0.04);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 20, 32, 0.08);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(61, 122, 191, 0.1);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon.green {
    background: rgba(58, 158, 95, 0.12);
    color: var(--brand-green);
}

.feature-icon.orange {
    background: rgba(224, 107, 31, 0.12);
    color: var(--brand-orange);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--tech-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-dim);
}

.human-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.human-pillar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--brand-blue);
    padding: 28px 24px;
    border-radius: 4px;
}

.human-pillar.green {
    border-top-color: var(--brand-green);
}

.human-pillar.orange {
    border-top-color: var(--brand-orange);
}

.human-pillar h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.human-pillar p {
    font-size: 14.5px;
}

.responsibility-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
}

.resp-col {
    padding: 44px 36px;
}

.resp-col.highlight {
    background: rgba(255, 255, 255, 0.04);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.resp-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.resp-list li {
    margin-bottom: 12px;
    font-size: 15px;
    padding-left: 22px;
    position: relative;
}

.resp-list li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: 700;
}

/* Packages */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.package-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 2px rgba(15, 20, 32, 0.04), 0 8px 24px rgba(15, 20, 32, 0.04);
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(15, 20, 32, 0.05), 0 18px 40px rgba(15, 20, 32, 0.08);
    border-color: rgba(61, 122, 191, 0.25);
}

.package-card.featured {
    border: 1px solid rgba(61, 122, 191, 0.35);
    border-top: 5px solid var(--brand-blue);
    box-shadow: 0 2px 6px rgba(15, 20, 32, 0.04), 0 18px 44px rgba(61, 122, 191, 0.13);
}

.package-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-blue);
    margin-bottom: 10px;
}

.package-card h3 {
    font-size: 22px;
    color: var(--tech-dark);
    margin-bottom: 10px;
}

.package-card > div > p {
    font-size: 14.5px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.package-list {
    border-top: 1px solid var(--border-soft);
    padding-top: 18px;
    margin-bottom: 26px;
}

.package-list li {
    font-size: 14px;
    color: var(--text-main);
    padding: 6px 0 6px 20px;
    position: relative;
}

.package-list li::before {
    content: 'â€¢';
    position: absolute;
    left: 4px;
    color: var(--brand-blue);
    font-weight: 700;
}

/* Contact / Activation Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contact-form-box {
    background: var(--tech-gray);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 32px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--tech-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(15, 20, 32, 0.16);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(61, 122, 191, 0.15);
}

.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--text-dim);
    margin: 16px 0 20px;
}

.form-feedback {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 13.5px;
    background: rgba(58, 158, 95, 0.12);
    border: 1px solid var(--brand-green);
    color: #22543d;
    display: none;
}

.form-feedback.is-visible {
    display: block;
}

/* ==========================================================================
   MASTER FOOTER (Stile Alpesoft)
   ========================================================================== */
.master-footer {
    background: var(--tech-navy);
    color: var(--white);
    padding: 72px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    max-width: 1080px;
    margin: 0 auto;
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 44px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col p,
.footer-col li {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: var(--brand-blue);
}

.srv-item {
    margin-bottom: 12px;
}

.srv-status-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.srv-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9ae6b4;
    font-weight: 600;
}

.srv-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.srv-bar-fill {
    height: 100%;
    background: var(--brand-green);
}

.footer-system-note {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-system-note a {
    color: #90cdf4;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .hero-inner,
    .video-stage,
    .contact-grid,
    .footer-top-row,
    .responsibility-table {
        grid-template-columns: 1fr;
    }

    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-linear,
    .cards-grid-3,
    .human-pillars,
    .package-grid {
        grid-template-columns: 1fr;
    }

    .video-camera-pane {
        min-height: 290px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .resp-col.highlight {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 640px) {
    .master-hero,
    .section-sober,
    .master-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cards-grid-4 {
        grid-template-columns: 1fr;
    }
}
