/* assets/css/mainsite-custom.css */

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX/woff2/IRANSansX-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX/woff2/IRANSansX-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    --bs-body-font-family: 'IRANSansX', sans-serif;
    --primary-dark: #0b0f19;
    --primary-slate: #1e293b;
    --accent-gold: #f59e0b;
}

body {
    font-family: 'IRANSansX', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Header Styling */
.custom-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1030;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-link-custom {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link-custom:hover {
    color: #0f172a;
}

.btn-outline-custom {
    color: #0f172a;
    border-color: #cbd5e1;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(135deg, #07090e 0%, #0f172a 50%, #1e293b 100%);
    color: #ffffff;
    padding: 7rem 0 6rem 0;
    position: relative;
}

.hero-glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.badge-pill-custom {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-outline-light-custom {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-card-preview {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
}

/* Worker Cards */
.worker-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.worker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1 !important;
}

.badge-custom {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Step Cards */
.step-number {
    width: 45px;
    height: 45px;
    background: #0f172a;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Buttons & Footer */
.btn-primary-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 0.75rem;
    font-weight: bold;
    border: none;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e293b 100%, #334155 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

.custom-footer {
    background: #07090e;
    color: #94a3b8;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    background: #f59e0b;
    color: #07090e;
    border-color: #f59e0b;
}