:root {
    --softok-primary: #0d6efd;
    --softok-primary-dark: #0a58ca;
    --softok-accent: #ffc107;
    --softok-dark: #1a1a2e;
    --softok-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 50%, #1a1a2e 100%);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.hero-section {
    background: var(--softok-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--softok-primary);
}

.hero-scanner-img {
    max-height: 220px;
    object-fit: contain;
    background: #fff;
    padding: 0.75rem;
}

.pricing-main-card,
.pricing-scanner-card {
    border-radius: 16px;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--softok-primary);
}

.pricing-scanner-card .pricing-amount {
    color: #198754;
}

.pricing-scanner-thumb {
    max-height: 120px;
    object-fit: contain;
}

.support-option-card {
    border-radius: 12px;
    overflow: hidden;
}

.support-option-card.support-featured {
    border: 2px solid #198754;
}

.support-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--softok-primary-dark);
}

.support-features li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.gallery-card .card-img-top {
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hardware-card {
    border-radius: 12px;
    overflow: hidden;
}

.hardware-card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 1rem;
    display: block;
}

.hardware-pack-img {
    height: 90px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #f8f9fa;
    padding: 0.25rem;
    display: block;
}

.hardware-includes li {
    padding: 0.2rem 0;
    font-size: 0.95rem;
}

.hardware-option-card {
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.hardware-option-card:hover {
    border-color: var(--softok-primary);
}

.hardware-option-card.selected {
    border-color: var(--softok-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    background: rgba(13, 110, 253, 0.03);
}

.hardware-radio,
.hardware-checkbox {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.hardware-checkbox-card.selected {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
    background: rgba(25, 135, 84, 0.03);
}

.hardware-option-body {
    display: block;
    padding-right: 1.5rem;
}

.hardware-option-thumb {
    height: 70px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.25rem;
    display: block;
}


.section-title {
    color: var(--softok-primary);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 110, 253, 0.15);
    margin-bottom: 1rem;
}

.hero-contact a {
    font-weight: 600;
}

.contact-strip {
    background: #f8f9fa;
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.site-footer a.text-white-50:hover {
    color: #fff !important;
}

.confirm-card {
    border-radius: 16px;
}

.confirm-icon i {
    font-size: 4rem;
}

.confirm-details {
    background: #f8f9fa;
    border-radius: 12px;
}

.confirm-summary dt {
    font-weight: 600;
}

.confirm-summary dd {
    margin-bottom: 0.5rem;
}

.proforma-viewer {
    width: 100%;
    min-height: 720px;
    height: 80vh;
    border: 0;
    background: #525659;
}

@media (max-width: 768px) {
    .proforma-viewer {
        min-height: 480px;
        height: 65vh;
    }
}

.btn-primary {
    background-color: var(--softok-primary);
    border-color: var(--softok-primary);
}

.btn-primary:hover {
    background-color: var(--softok-primary-dark);
    border-color: var(--softok-primary-dark);
}

.admin-login-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.admin-body {
    background: #f4f6f9;
    min-height: 100vh;
}

.stat-card {
    border-radius: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.status-noua { background-color: #0d6efd; }
.status-contactata { background-color: #6f42c1; }
.status-proforma-trimisa { background-color: #17a2b8; }
.status-acceptata { background-color: #28a745; }
.status-platita { background-color: #20c997; }
.status-anulata { background-color: #dc3545; }

.content-body h2 {
    color: var(--softok-primary-dark);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-scanner-img {
        max-height: 200px;
        width: 100%;
    }

    .gallery-card .card-img-top {
        height: auto;
        min-height: 160px;
        max-height: 280px;
        width: 100%;
    }

    .hardware-card-img {
        height: auto;
        min-height: 160px;
        max-height: 260px;
    }

    .hardware-pack-img {
        height: auto;
        min-height: 80px;
        max-height: 140px;
    }

    .hardware-option-thumb {
        height: auto;
        min-height: 64px;
        max-height: 120px;
    }

    .pricing-scanner-thumb {
        max-height: 140px;
        width: auto;
        max-width: 100%;
    }

    .confirm-card .card-body {
        padding: 2rem 1.5rem !important;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
