@charset "UTF-8";

/* ==========================================================================
   ۱. لود فونت استاندارد دانا پرو (Dana Pro) و یکان
   ========================================================================== */
@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaPro(10Wt)/Dana-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   ۲. متغیرها و ریست پایه‌ای
   ========================================================================== */
:root {
    --font-primary: 'Dana', 'Yekan', 'Vazir', system-ui, -apple-system, sans-serif;
    --bg-page: #f8fafc;
    --surface-card: #ffffff;
    --text-title: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --border-card: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary) !important;
    background-color: var(--bg-page);
    color: var(--text-title);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.015em;
}

/* ==========================================================================
   ۳. بنر اصلی نئومورفیک تیره
   ========================================================================== */
.hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #090d16 0%, #0f172a 55%, #064e3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    color: #ffffff;
    box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.45);
    overflow: hidden;
}

.hero-glow-back {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.status-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-pulse {
    width: 0.55rem;
    height: 0.55rem;
    background: #10b981;
    border-radius: 9999px;
    box-shadow: 0 0 10px #10b981;
}

/* ==========================================================================
   ۴. فرآیند ۵ مرحله‌ای (Timeline Steps)
   ========================================================================== */
.steps-pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

@media (max-width: 1024px) {
    .steps-pipeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .steps-pipeline {
        grid-template-columns: 1fr;
    }
}

.pipeline-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.85rem 1.15rem;
    border-radius: 1.25rem;
    transition: all 0.25s ease;
}

.pipeline-item.active {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px -5px rgba(16, 185, 129, 0.25);
}

.pipeline-num {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.pipeline-item.active .pipeline-num {
    background: #10b981;
    color: #022c22;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   ۵. کارت‌های عملیاتی اینترپرایز با آیکون‌های اختصاصی
   ========================================================================== */
.cards-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.custom-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: 1.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.custom-card.highlight {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.07);
}

.custom-card.highlight:hover {
    border-color: #10b981;
    box-shadow: 0 25px 40px -10px rgba(16, 185, 129, 0.18);
}

/* استایل باکس آیکون‌های SVG اختصاصی */
.icon-box {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.custom-card:hover .icon-box {
    transform: scale(1.06);
}

.icon-box.green {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.icon-box.blue {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0284c7;
}

.icon-box.amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #d97706;
}

/* دکمه‌های اکشن استاندارد */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.4rem;
    border-radius: 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-action.primary {
    background: #0f172a;
    color: #ffffff;
}

.btn-action.primary:hover {
    background: #059669;
    box-shadow: 0 8px 18px -4px rgba(5, 150, 105, 0.4);
}

.btn-action.secondary {
    background: #f1f5f9;
    color: #1e293b;
}

.btn-action.secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================================
   ۶. باکس استعلام پرونده
   ========================================================================== */
.tracking-dock {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: 1.75rem;
    padding: 2.25rem 2.5rem;
    margin-top: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.input-styled {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    width: 100%;
    color: #0f172a;
    font-family: inherit;
    transition: all 0.2s;
}

.input-styled:focus {
    outline: none;
    background: #ffffff;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

/* کادر رسمی مشخصات واریز بانکی */
.bank-info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px dashed #86efac;
    border-radius: 1.5rem;
    padding: 1.75rem;
}

.card-number-box {
    background: #0f172a;
    color: #38bdf8;
    font-family: monospace;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 1.5rem;
    background: #f8fafc;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-color: #059669;
    background: #f0fdf4;
}