/* ============================================
   STILE CENTRALIZZATO - ingegneria.cloud
   ============================================ */

/* ---------- VARIABILI ---------- */
:root {
    --bs-primary: #38bdf8;
    --bs-primary-rgb: 56, 189, 248;
    --bg-dark-start: #0f172a;
    --bg-dark-end: #1e293b;
}

/* ---------- ICONE ---------- */
.bi {
    transition: transform 0.3s;
}

.prodotto-card:hover .bi {
    transform: scale(1.1);
}

.text-primary {
    color: #38bdf8 !important;
}

.display-3 {
    font-size: 3.5rem;
}

/* ---------- BASE ---------- */
body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark-start) 0%, var(--bg-dark-end) 100%);
    color: #f8fafc;
    min-height: 100vh;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

.navbar-brand .text-primary {
    color: #38bdf8 !important;
}

.nav-link {
    color: #94a3b8 !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #f8fafc !important;
}

/* ---------- HERO ---------- */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--bg-dark-start) 0%, var(--bg-dark-end) 100%);
}

.hero-logo {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 2px;
    margin: 20px auto;
}

.text-light-emphasis {
    color: #cbd5e1 !important;
}

/* ---------- BOTTONI ---------- */
.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #818cf8) !important;
    border: none !important;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7dd3fc, #a78bfa) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(56, 189, 248, 0.4);
}

.btn-outline-primary {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

.btn-outline-primary:hover {
    background: #38bdf8 !important;
    color: #0f172a !important;
}

.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #38bdf8 !important;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #38bdf8 !important;
    color: #7dd3fc !important;
}

.btn-back-link {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-back-link:hover {
    color: #7dd3fc;
}

/* ---------- BOTTONE UTILITY ---------- */
.btn-utility {
    display: inline-block;
    padding: 14px 36px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.btn-utility:hover {
    background: rgba(34, 197, 94, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

/* ---------- CARD PRODOTTI ---------- */
.prodotto-card {
    background: rgba(30, 41, 59, 0.5) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    transition: all 0.3s;
}

.prodotto-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.prodotto-card .card-body {
    padding: 30px 24px !important;
}

.prodotto-card .text-primary {
    color: #38bdf8 !important;
}

/* ---------- DETTAGLIO PRODOTTO ---------- */
.detail-card {
    background: rgba(30, 41, 59, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.bg-primary-soft {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
}

.descrizione {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- PREMIUM CARD ---------- */
.premium-card {
    border: 2px solid rgba(56, 189, 248, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stargate-card-body {
    display: flex;
    flex-direction: column;
}

.stargate-card-image {
    width: 100%;
    height: 148px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.stargate-eyebrow {
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.stargate-promise {
    color: #bae6fd;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0.25rem 0 1.5rem;
}

.stargate-detail-section {
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.22), transparent 34%);
}

.stargate-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 360px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.25);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.78);
}

.stargate-detail-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.stargate-detail-content {
    align-self: center;
    padding: 2.5rem;
}

.stargate-detail-content h1,
.stargate-content-section h2,
.stargate-cta h2 {
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.stargate-detail-content h1 {
    font-size: 3.25rem;
    margin: 0.35rem 0 0.75rem;
}

.stargate-product-badge,
.stargate-product-badge-outline,
.stargate-mini-badge,
.stargate-inline-badges span,
.stargate-hero-tags span {
    align-items: center;
    border: 1px solid rgba(103, 232, 249, 0.42);
    color: #cffafe;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.35rem;
    letter-spacing: 0.05em;
    padding: 0.42rem 0.7rem;
}

.stargate-product-badge { background: #0891b2; border-color: #0891b2; color: #ecfeff; }
.stargate-product-badge-outline { background: rgba(8, 145, 178, 0.16); }
.stargate-hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.stargate-hero-tags span { background: rgba(15, 23, 42, 0.6); font-weight: 600; letter-spacing: 0; }

.stargate-detail-lead {
    color: #e0f2fe;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.45;
}

.stargate-statement {
    border-left: 3px solid #22d3ee;
    color: #e0f2fe;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    margin: 2.5rem 0;
    padding: 0.25rem 0 0.25rem 1.25rem;
}

.stargate-outcome-grid {
    background: rgba(103, 232, 249, 0.2);
    border: 1px solid rgba(103, 232, 249, 0.2);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 2.5rem 0;
}

.stargate-outcome-grid > div { background: rgba(15, 23, 42, 0.65); display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem; }
.stargate-outcome-grid i { color: #22d3ee; font-size: 1.25rem; }
.stargate-outcome-grid strong { color: #f8fafc; font-family: 'Outfit', sans-serif; font-size: 1.1rem; }
.stargate-outcome-grid span { color: #94a3b8; font-size: 0.82rem; }

.stargate-content-section {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    padding: 2.5rem 0;
}

.stargate-content-section > p,
.stargate-benefit-grid span,
.stargate-feature-grid span,
.stargate-adoption-grid p,
.stargate-highlight span,
.stargate-cta p {
    color: #cbd5e1;
    line-height: 1.65;
}

.stargate-section-label {
    color: #67e8f9;
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.stargate-section-heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; }
.stargate-mini-badge { background: rgba(8, 145, 178, 0.12); flex: 0 0 auto; letter-spacing: 0; }

.stargate-flow { align-items: center; display: grid; gap: 0.65rem; grid-template-columns: 1fr auto 1fr auto 1fr; margin-top: 2rem; text-align: center; }
.stargate-flow > div:not(.stargate-flow-connector) { align-items: center; display: flex; flex-direction: column; gap: 0.4rem; }
.stargate-flow-icon { align-items: center; background: rgba(8, 145, 178, 0.13); border: 1px solid rgba(103, 232, 249, 0.34); border-radius: 50%; color: #67e8f9; display: inline-flex; font-size: 1.3rem; height: 54px; justify-content: center; width: 54px; }
.stargate-flow strong { color: #f8fafc; font-size: 0.92rem; }
.stargate-flow small { color: #94a3b8; }
.stargate-flow-core .stargate-flow-icon { background: #0891b2; border-color: #22d3ee; color: white; }
.stargate-flow-connector { color: #67e8f9; display: flex; flex-direction: column; font-size: 1.25rem; gap: 0.1rem; }
.stargate-flow-connector span { color: #64748b; font-size: 0.7rem; white-space: nowrap; }

.stargate-feature-grid,
.stargate-benefit-grid,
.stargate-adoption-grid {
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.stargate-feature-grid > div {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
}

.stargate-feature-grid i {
    color: #22d3ee;
    font-size: 1.25rem;
}

.stargate-benefit-grid > div,
.stargate-adoption-grid > div {
    border-left: 2px solid rgba(56, 189, 248, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 1rem;
}

.stargate-benefit-grid strong,
.stargate-adoption-grid h3,
.stargate-highlight strong {
    color: #f8fafc;
    font-size: 1rem;
}

.stargate-adoption-grid h3 { margin: 0; }
.stargate-adoption-grid p { margin: 0; }
.stargate-adoption-grid > div > i { color: #67e8f9; font-size: 1.4rem; margin-bottom: 0.4rem; }

.stargate-security-section { align-items: center; background: rgba(8, 47, 73, 0.18); display: grid; gap: 1.5rem; grid-template-columns: auto 1fr; padding-left: 1.5rem; padding-right: 1.5rem; }
.stargate-security-icon { align-items: center; background: rgba(8, 145, 178, 0.16); border: 1px solid rgba(103, 232, 249, 0.35); border-radius: 50%; color: #67e8f9; display: flex; font-size: 2.2rem; height: 80px; justify-content: center; width: 80px; }
.stargate-inline-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.stargate-inline-badges span { background: rgba(15, 23, 42, 0.5); font-weight: 600; letter-spacing: 0; }
.stargate-inline-badges i { color: #22d3ee; font-size: 1rem; }

.stargate-highlight {
    align-items: flex-start;
    border-top: 1px solid rgba(103, 232, 249, 0.25);
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.stargate-highlight i { color: #67e8f9; font-size: 1.5rem; }
.stargate-highlight div { display: flex; flex-direction: column; gap: 0.25rem; }

.stargate-cta {
    align-items: center;
    background: rgba(14, 116, 144, 0.25);
    border: 1px solid rgba(103, 232, 249, 0.3);
    border-radius: 12px;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 2rem;
}

.stargate-cta h2 { font-size: 1.7rem; margin: 0.3rem 0; }
.stargate-cta p { margin: 0; }

@media (max-width: 768px) {
    .stargate-detail-hero { grid-template-columns: 1fr; }
    .stargate-detail-content { padding: 1.5rem; }
    .stargate-detail-content h1 { font-size: 2.5rem; }
    .stargate-feature-grid, .stargate-benefit-grid, .stargate-adoption-grid, .stargate-outcome-grid { grid-template-columns: 1fr 1fr; }
    .stargate-section-heading { align-items: flex-start; flex-direction: column; }
    .stargate-flow { grid-template-columns: 1fr; }
    .stargate-flow-connector { flex-direction: row; justify-content: center; transform: rotate(90deg); }
    .stargate-flow-connector span { display: none; }
    .stargate-security-section { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
    .stargate-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
    .stargate-outcome-grid { grid-template-columns: 1fr; }
}

/* ---------- UTILITY CARD ---------- */
.utility-card {
    background: rgba(30, 41, 59, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.utility-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3) !important;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.utility-card .text-success {
    color: #4ade80 !important;
}

.btn-outline-success {
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #4ade80 !important;
}

.btn-outline-success:hover {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}

/* ---------- BADGE COLORS ---------- */
.bg-primary-soft {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
}

.bg-success-soft {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
}

.bg-warning {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.bg-success {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bg-primary {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ---------- UTILITY SECTION ---------- */
.utility-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
}

/* ---------- BADGE IN COSTRUZIONE ---------- */
.badge.bg-warning {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(4px);
}

.btn-warning {
    background: rgba(251, 191, 36, 0.15) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}

.btn-warning:hover {
    background: rgba(251, 191, 36, 0.25) !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-2px);
}

/* ---------- DEMO ---------- */
.demo-card {
    background: rgba(30, 41, 59, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ---------- CALCOLATRICE ---------- */
.calc-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    padding: 20px;
}

.calc-display {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: right;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    min-height: 70px;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-calc {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: #f8fafc !important;
    font-weight: 600 !important;
    padding: 15px !important;
    transition: all 0.2s;
}

.btn-calc:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: scale(1.02);
}

.btn-calc-operator {
    background: rgba(56, 189, 248, 0.2) !important;
    border: none !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
    padding: 15px !important;
}

.btn-calc-operator:hover {
    background: rgba(56, 189, 248, 0.3) !important;
}

.btn-calc-equals {
    background: #38bdf8 !important;
    border: none !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 15px !important;
}

.btn-calc-equals:hover {
    background: #7dd3fc !important;
}

.btn-calc-clear {
    background: rgba(239, 68, 68, 0.2) !important;
    border: none !important;
    color: #f87171 !important;
    font-weight: 600 !important;
    padding: 15px !important;
}

.btn-calc-clear:hover {
    background: rgba(239, 68, 68, 0.3) !important;
}

.btn-clear-entry {
    background: rgba(251, 191, 36, 0.2) !important;
    border: none !important;
    color: #fbbf24 !important;
    font-weight: 600 !important;
    padding: 15px !important;
}

.btn-clear-entry:hover {
    background: rgba(251, 191, 36, 0.3) !important;
}

/* ---------- CONVERTITORE ---------- */
.converter-wrapper {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 24px;
}

.converter-wrapper .form-control,
.converter-wrapper .form-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.converter-wrapper .form-control:focus,
.converter-wrapper .form-select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.result-box {
    padding: 16px;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 8px;
    border-left: 3px solid #38bdf8;
    text-align: center;
}

.result-box .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #38bdf8;
}

.result-box .rate {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ---------- GENERATORE PASSWORD ---------- */
.password-wrapper {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 24px;
}

.password-display {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-align: center;
    color: #38bdf8;
    margin-bottom: 12px;
    word-break: break-all;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-box {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-align: center;
}

.strength-box .label {
    color: #94a3b8;
    font-size: 0.8rem;
}

.strength-box .value {
    font-weight: 600;
}

.strength-weak { color: #f87171; }
.strength-medium { color: #fbbf24; }
.strength-strong { color: #4ade80; }

/* ---------- ANALISI TESTO ---------- */
.analyze-wrapper {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 24px;
}

.analyze-wrapper .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.analyze-wrapper .form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
}

.stat-item .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    display: block;
}

.stat-item .label {
    color: #94a3b8;
    font-size: 0.7rem;
    display: block;
    margin-top: 2px;
}

.word-frequency {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.word-cloud .word {
    background: rgba(56, 189, 248, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.word-cloud .word .count {
    color: #38bdf8;
    font-weight: 600;
    margin-left: 4px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 40px 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .row > div {
    text-align: center;
}

.footer-products-list {
    transform: translateX(-1.75rem);
}

.footer-contact-details {
    line-height: 1.45;
}

.footer-contact-details address {
    margin: 0.5rem 0 0.35rem;
    font-style: normal;
}

.footer-contact-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.35rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.footer a {
    transition: color 0.3s;
}

.footer a:hover {
    color: #38bdf8 !important;
}

.privacy-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1050;
    max-width: 360px;
    padding: 1rem;
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    color: #e2e8f0;
}

.privacy-notice p {
    margin: 0;
    padding-right: 1.5rem;
}

.privacy-notice-close {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    border: 0;
    background: transparent;
    color: #e2e8f0;
    font-size: 1.25rem;
    line-height: 1;
}

.social-links a {
    font-size: 1.2rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .footer-contact-meta {
        font-size: 0.7rem;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .detail-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .demo-card {
        padding: 16px;
    }
    
    .calc-display {
        font-size: 1.5rem;
        min-height: 60px;
    }
    
    .btn-calc,
    .btn-calc-operator,
    .btn-calc-equals,
    .btn-calc-clear,
    .btn-clear-entry {
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
    
    .result-box .amount {
        font-size: 1.5rem;
    }
    
    .password-display {
        font-size: 1.2rem;
    }
    
    .stat-item .number {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-logo {
        height: 80px !important;
    }
    
    .btn-primary,
    .btn-outline-primary,
    .btn-outline-secondary {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 800px;
    width: calc(100% - 40px);
    background: rgba(15, 23, 42, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-title {
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cookie-title i {
    color: #38bdf8;
}

.cookie-description {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-options {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.cookie-options .form-check-label {
    color: #e2e8f0;
    font-size: 0.85rem;
}

.cookie-options .form-check-input:disabled {
    opacity: 0.6;
}

.cookie-options .form-check-input:checked {
    background-color: #38bdf8;
    border-color: #38bdf8;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-actions .btn {
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.cookie-actions .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.15);
    color: #94a3b8;
}

.cookie-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
}

.cookie-actions .btn-primary {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border: none;
    color: #0f172a;
    font-weight: 600;
}

.cookie-actions .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        padding: 16px;
        width: calc(100% - 20px);
        border-radius: 12px;
    }
    
    .cookie-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-actions .btn {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}