/* Scudo WAF v1.0.0 — Enterprise Cybersecurity & Trust-First Design System */

:root {
    --navy-950: #060e1a;
    --navy-900: #0b172a;
    --navy-800: #16243d;
    --trust-blue: #1d4ed8;
    --trust-blue-hover: #1e40af;
    --trust-blue-light: #eff6ff;
    --trust-blue-border: #bfdbfe;
    --safe-emerald: #059669;
    --safe-emerald-hover: #047857;
    --safe-emerald-bg: #ecfdf5;
    --safe-emerald-border: #a7f3d0;
    --slate-bg: #f8fafc;
    --slate-surface: #f1f5f9;
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
    --border-strong: #cbd5e1;
    --warn-amber: #b45309;
    --warn-amber-bg: #fffbeb;
    --protected-teal: #0f766e;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

code, pre, .font-monospace {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Navbar Istituzionale */
.navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.7rem 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--navy-900) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.brand-shield {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--trust-blue) 0%, var(--safe-emerald) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
}

.nav-link-clean {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.nav-link-clean:hover {
    color: var(--trust-blue);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--safe-emerald-bg);
    color: #065f46;
    border: 1px solid var(--safe-emerald-border);
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--safe-emerald);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55);
    animation: pulse-green 2.2s infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Bottoni Rassicuranti & Istituzionali */
.btn-trust {
    background: var(--trust-blue);
    border: 1px solid var(--trust-blue);
    color: #ffffff;
    font-weight: 600;
    border-radius: 9px;
    padding: 0.75rem 1.45rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.18);
}

.btn-trust:hover {
    background: var(--trust-blue-hover);
    border-color: var(--trust-blue-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.26);
}

.btn-emerald {
    background: var(--safe-emerald);
    border: 1px solid var(--safe-emerald);
    color: #ffffff;
    font-weight: 600;
    border-radius: 9px;
    padding: 0.75rem 1.45rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.18);
}

.btn-emerald:hover {
    background: var(--safe-emerald-hover);
    border-color: var(--safe-emerald-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.25);
}

.btn-navy {
    background: var(--navy-900);
    border: 1px solid var(--navy-900);
    color: #ffffff;
    font-weight: 600;
    border-radius: 9px;
    padding: 0.75rem 1.45rem;
    transition: all 0.2s ease;
}

.btn-navy:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-slate {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    color: var(--navy-900);
    font-weight: 600;
    border-radius: 9px;
    padding: 0.75rem 1.45rem;
    transition: all 0.2s ease;
}

.btn-outline-slate:hover {
    background: var(--slate-surface);
    border-color: var(--navy-900);
    color: var(--navy-900);
}

/* Hero Section */
.hero-wrapper {
    background: radial-gradient(110% 85% at 50% 0%, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 112px 0 64px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--trust-blue-border);
    color: var(--trust-blue);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.06);
}

.hero-title {
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.12;
    color: var(--navy-900);
}

.text-highlight {
    color: var(--trust-blue);
}

.text-emerald {
    color: var(--safe-emerald) !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.pip-copy-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 8px 10px 8px 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    max-width: 100%;
}

.pip-copy-box code {
    color: var(--navy-900);
    font-size: 0.92rem;
    font-weight: 600;
}

.btn-copy-mini {
    background: var(--slate-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-copy-mini:hover {
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    border-color: var(--trust-blue-border);
}

.tech-badge {
    background: #ffffff;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Security Engine Console (Hero Right) */
.engine-console-card {
    background: var(--navy-900);
    border: 1px solid #1e293b;
    border-radius: 16px;
    box-shadow: 0 24px 50px -12px rgba(11, 23, 42, 0.28);
    overflow: hidden;
    color: #e2e8f0;
}

.engine-console-header {
    background: #111f36;
    border-bottom: 1px solid #1e293b;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.engine-console-body {
    padding: 20px 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    line-height: 1.65;
}

.engine-console-footer {
    background: rgba(5, 150, 105, 0.12);
    border-top: 1px solid rgba(5, 150, 105, 0.25);
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #a7f3d0;
    font-weight: 600;
}

.code-comment { color: #64748b; }
.code-keyword { color: #60a5fa; }
.code-string { color: #34d399; }

/* Fascia 4 KPI di Affidabilità */
.assurance-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 28px 0;
}

.assurance-kpi {
    text-align: center;
    padding: 8px 12px;
}

.assurance-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.assurance-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Pilastri & Architettura a 4 Livelli */
.trust-section {
    background-color: var(--slate-bg);
    padding: 76px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-title {
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.6px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.pillar-card:hover {
    border-color: var(--trust-blue-border);
    box-shadow: 0 14px 32px rgba(29, 78, 216, 0.08);
    transform: translateY(-2px);
}

.icon-box-blue {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.icon-box-emerald {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--safe-emerald-bg);
    color: var(--safe-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.layer-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--trust-blue);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    height: 100%;
}

.layer-card.layer-safe {
    border-left-color: var(--safe-emerald);
}

.layer-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--trust-blue);
    margin-bottom: 4px;
}

.failopen-banner {
    background: linear-gradient(90deg, #ecfdf5 0%, #eff6ff 100%);
    border: 1px solid var(--safe-emerald-border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}

/* Console di Verifica Sicurezza (Ex Playground) */
.verification-section {
    background: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.verification-shell {
    background: var(--slate-bg);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}

.verification-topbar {
    background: var(--navy-900);
    color: #f8fafc;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.verification-body {
    padding: 1.75rem 2rem;
}

.scenario-pill {
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.scenario-pill:hover {
    background: var(--trust-blue-light);
    border-color: var(--trust-blue);
    color: var(--trust-blue);
}

.audit-panel {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.verdict-badge-protected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    border: 1px solid var(--trust-blue-border);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
}

.verdict-badge-allowed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--safe-emerald-bg);
    color: #065f46;
    border: 1px solid var(--safe-emerald-border);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
}

/* Pricing & Garanzie Contrattuali */
.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.25rem;
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.08);
}

.pricing-card.pro {
    border: 2px solid var(--trust-blue);
    box-shadow: 0 20px 40px -15px rgba(29, 78, 216, 0.14);
}

.pricing-card.agency {
    border: 2px solid var(--navy-900);
    box-shadow: 0 20px 40px -15px rgba(11, 23, 42, 0.12);
}

.badge-pro {
    background: var(--trust-blue-light);
    color: var(--trust-blue);
    border: 1px solid var(--trust-blue-border);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-agency {
    background: var(--navy-900);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.price-tag {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.8px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li i.bi-check-circle-fill {
    color: var(--safe-emerald);
    margin-top: 2px;
}

.feature-list li i.bi-x-circle {
    color: #cbd5e1;
    margin-top: 2px;
}

.contract-guarantee-bar {
    background: var(--slate-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.35rem 1.75rem;
}

/* Form Iscrizione & Radio Card */
.waitlist-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 76px 0;
}

.waitlist-box {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 22px 45px -15px rgba(15, 23, 42, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.input-email {
    border: 1px solid var(--border-strong);
    padding: 0.85rem 1rem;
    border-radius: 9px;
    font-weight: 500;
    font-size: 1rem;
}

.input-email:focus {
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.14);
    border-color: var(--trust-blue);
}

.radio-card-input {
    display: none;
}

.radio-card-label {
    border: 2px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--slate-bg);
}

.radio-card-label:hover {
    border-color: var(--border-strong);
}

.radio-card-input:checked + .radio-card-label.free-label {
    border-color: var(--safe-emerald);
    background: var(--safe-emerald-bg);
    color: #065f46;
}

.radio-card-input:checked + .radio-card-label.pro-label {
    border-color: var(--trust-blue);
    background: var(--trust-blue-light);
    color: #1e3a8a;
}

.radio-card-input:checked + .radio-card-label.agency-label {
    border-color: var(--navy-900);
    background: #f1f5f9;
    color: var(--navy-900);
}

/* FAQ Accordion */
.accordion-item {
    border-radius: 12px !important;
    border: 1px solid var(--border-subtle) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.accordion-button {
    font-weight: 700;
    color: var(--navy-900);
    background: #ffffff;
    box-shadow: none !important;
    padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: var(--trust-blue);
    background: var(--trust-blue-light);
}

/* Footer Trust Center */
.footer-trust {
    background: var(--navy-900);
    color: #cbd5e1;
    padding: 40px 0;
}

.footer-trust a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-trust a:hover {
    color: #ffffff;
}

/* CTA Istruzioni dopo Richiesta API Key (Tono Azzurro) */
.post-apikey-docs-bar {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
}

.text-azure-dark {
    color: #0369a1;
}

.btn-azure-docs {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    border: 1px solid #0284c7;
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.7rem 1.35rem;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.24);
    transition: all 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-azure-docs:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1e40af 100%);
    border-color: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(2, 132, 199, 0.30);
}

/* Tasto Copia Migliorato in Tono Azzurro */
.btn-copy-azure {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    border: 1px solid #38bdf8;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9px;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.28);
    transition: all 0.18s ease;
}

.btn-copy-azure:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border-color: #7dd3fc;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.36);
}

.btn-copy-azure.is-copied {
    background: #0369a1;
    border-color: #7dd3fc;
    color: #f0f9ff;
    transform: none;
}

/* Pagina Dedicata /istruzioni — Azure Docs Studio */
.azure-docs-hero {
    background: linear-gradient(180deg, #dff2fe 0%, #f0f9ff 65%, #ffffff 100%);
    border-bottom: 1px solid #bae6fd;
    padding: 124px 0 52px;
}

.azure-docs-hero :not(pre) > code,
.azure-docs-main :not(pre) > code {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.86em;
}

.azure-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
    font-weight: 700;
    font-size: 0.74rem;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.azure-key-bar {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 12px 30px -16px rgba(2, 132, 199, 0.22);
    max-width: 760px;
    margin: 0 auto 2rem;
}

.azure-step-pill {
    position: relative;
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    box-shadow: 0 8px 20px -14px rgba(2, 132, 199, 0.22);
}

.azure-step-num {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #7dd3fc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.azure-docs-main {
    background: #f8fbff;
    padding: 48px 0 72px;
    border-bottom: 1px solid #e0f2fe;
}

/* Pulsanti Scelta Tipologia (5 bottoni azzurri) */
.tipologia-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 1.75rem;
}

@media (max-width: 1199.98px) {
    .tipologia-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 479.98px) {
    .tipologia-grid {
        grid-template-columns: 1fr;
    }
}

.btn-tipologia {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 14px;
    padding: 14px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    color: var(--navy-900);
    transition: all 0.18s ease;
    box-shadow: 0 6px 16px -12px rgba(2, 132, 199, 0.2);
}

.btn-tipologia:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(2, 132, 199, 0.28);
}

.btn-tipologia .tipologia-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.btn-tipologia.active {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 12px 28px -10px rgba(2, 132, 199, 0.42);
}

.btn-tipologia.active .tipologia-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn-tipologia .tipologia-sub {
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
}

.btn-tipologia.active .tipologia-sub {
    color: #bae6fd;
}

/* Pannello Contenuto Tipologia Selezionata */
.pannello-tipologia {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 18px 42px -20px rgba(2, 132, 199, 0.22);
}

@media (max-width: 767.98px) {
    .pannello-tipologia {
        padding: 1.35rem;
    }
}

.azure-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #0369a1;
    font-weight: 600;
}

.azure-timeline {
    position: relative;
    padding-left: 36px;
    margin-top: 1.35rem;
}

.azure-timeline::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 6px;
    bottom: 12px;
    width: 2px;
    background: #bae6fd;
}

.azure-step {
    position: relative;
    margin-bottom: 1.75rem;
}

.azure-step:last-child {
    margin-bottom: 0;
}

.azure-step-badge {
    position: absolute;
    left: -36px;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px #7dd3fc;
}

/* Finestra Codice IDE in Tono Azzurro */
.ide-window-azure {
    background: #0c1e35;
    color: #e0f2fe;
    border: 1.5px solid #1e4976;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px -14px rgba(12, 30, 53, 0.48);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ide-window-azure.copied-flash {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.ide-header-azure {
    background: #102a49;
    border-bottom: 1px solid #1e4976;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ide-lang-azure {
    background: rgba(56, 189, 248, 0.16);
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.ide-window-azure pre {
    margin: 0;
    padding: 16px 18px;
    color: #e0f2fe;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-x: auto;
}

.tok-kw { color: #38bdf8; font-weight: 600; }
.tok-str { color: #7dd3fc; }
.tok-cmt { color: #6488a8; }
.tok-fn { color: #f0f9ff; font-weight: 600; }
.tok-dec { color: #bae6fd; font-weight: 600; }
.tok-num { color: #93c5fd; }

.azure-output-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    border-radius: 10px;
    padding: 0.95rem 1.15rem;
    font-size: 0.82rem;
    color: #0c4a6e;
}

.config-ref-card {
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
    box-shadow: 0 12px 28px -18px rgba(2, 132, 199, 0.18);
}

.config-table {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.config-table thead th {
    background: #f0f9ff;
    color: #0369a1;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 1px solid #bae6fd;
    padding: 0.75rem 0.9rem;
}

.config-table tbody td {
    padding: 0.75rem 0.9rem;
    color: var(--text-secondary);
    vertical-align: middle;
    border-color: #e0f2fe;
}
