* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: 'Yekan Bakh', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at 50% 20%, #172554 0%, #080c14 70%);
    background-color: #080c14;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
}

.trust-container {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 44px 36px;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(62, 105, 254, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 640px;
    width: 100%;
    position: relative;
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.trust-icon-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(62, 105, 254, 0.2), rgba(14, 165, 233, 0.2));
    border: 1px solid rgba(62, 105, 254, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}

h1 {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 28px;
}

.seals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.seal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 20px 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.seal-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(62, 105, 254, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.seal-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.seal-img-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}

.seal-card:hover .seal-img-box {
    transform: scale(1.04);
}

.seal-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.seal-title {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.seal-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

.trust-footer-actions {
    display: flex;
    justify-content: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #3e69fe 0%, #2563eb 100%);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(62, 105, 254, 0.35);
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, #4f79ff 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 105, 254, 0.5);
    color: #fff;
}

@media (max-width: 540px) {
    .trust-container {
        padding: 32px 20px;
    }
    .seals-grid {
        grid-template-columns: 1fr;
    }
    .seal-img-box {
        width: 130px;
        height: 130px;
    }
}
