/* ===== تعریف فونت وزیرمتن ===== */
    @font-face {
      font-family: 'Vazirmatn';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: url('/assets/fonts/Vazirmatn.ttf') format('truetype');
    }
    @font-face {
      font-family: 'Vazirmatn';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url('/assets/fonts/Vazirmatn-Bold.ttf') format('truetype');
    }

    body {
      font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
      background-color: #0f172a;
      color: #f8fafc;
      line-height: 1.7;
      margin: 0;
      padding: 20px;
      direction: rtl;
      min-height: 100vh;
      overflow-x: hidden;
    }

    .container {
        max-width: 900px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* ===== کارت‌های شیشه‌ای ===== */
    .glass-card {
        background: #1e293b;
        border: 1px solid #334155;
        border-radius: 18px;
        padding: 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .glass-card:hover {
        border-color: #38bdf8;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    }

    /* ===== هدر ===== */
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
    }
    .logo-area {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .logo-area img {
        height: 50px;
        width: auto;
        border-radius: 8px;
    }
    .shop_text .shop-name {
        font-weight: 800;
        font-size: 1.2rem;
        color: #f8fafc;
    }
    .shop_text .service-name {
        font-size: 0.85rem;
        color: #94a3b8;
    }
    .btn-yellow {
        background: #38bdf8;
        color: #0f172a;
        padding: 10px 18px;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        transition: 0.25s;
        border: none;
        cursor: pointer;
    }
    .btn-yellow:hover {
        background: #0ea5e9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
    }
    .btn-primary {
        background: #38bdf8;
        color: #0f172a;
        padding: 12px 24px;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        transition: 0.25s;
        border: none;
        cursor: pointer;
    }
    .btn-primary:hover {
        background: #0ea5e9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
    }
    .btn-outline {
        background: transparent;
        color: #38bdf8;
        border: 2px solid #38bdf8;
        padding: 10px 22px;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        transition: 0.25s;
    }
    .btn-outline:hover {
        background: rgba(56, 189, 248, 0.08);
        transform: translateY(-2px);
    }

    /* ===== هیرو ===== */
    .hero-section {
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 900;
        color: #f8fafc;
        margin-bottom: 8px;
    }
    .hero-section h1 .highlight { color: #38bdf8; }
    .hero-section .subtitle {
        color: #cbd5e1;
        font-size: 1.1rem;
    }
    .rubika-line {
        margin: 16px 0 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .rubika-line a {
        font-weight: 700;
        color: #38bdf8;
        text-decoration: none;
        font-size: 1.1rem;
    }
    .rubika-line a:hover { text-decoration: underline; }
    .rubika-line p {
        color: #94a3b8;
        font-size: 0.85rem;
        margin: 0;
    }
    .urgent-note {
        background: rgba(56, 189, 248, 0.06);
        border-right: 4px solid #38bdf8;
        padding: 12px 16px;
        border-radius: 8px;
        color: #94a3b8;
        font-size: 0.85rem;
        text-align: right;
        margin-top: 12px;
    }

    /* ===== پاسخ‌ها ===== */
    .section-title {
        font-size: 1.6rem;
        font-weight: 800;
        color: #f8fafc;
        margin-bottom: 20px;
        border-bottom: 3px solid #38bdf8;
        padding-bottom: 10px;
    }
    .update-date {
        font-size: 0.8rem;
        color: #38bdf8;
        background: rgba(56, 189, 248, 0.06);
        border: 1px solid #334155;
        border-radius: 20px;
        padding: 4px 14px;
        display: inline-block;
        margin-bottom: 12px;
    }
    .answer-item {
        background: #1e293b;
        border: 1px solid #334155;
        border-radius: 16px;
        padding: 20px 24px;
        margin-bottom: 16px;
        transition: 0.25s;
    }
    .answer-item:hover { border-color: #38bdf8; }
    .answer-item .question {
        font-size: 1rem;
        color: #f8fafc;
        margin-bottom: 12px;
        font-weight: 600;
    }
    .code-wrapper {
        background: #0f172a;
        border-radius: 10px;
        padding: 16px;
        overflow-x: auto;
        margin-bottom: 10px;
        border: 1px solid #334155;
    }
    .code-wrapper pre {
        margin: 0;
        padding: 0;
    }
    .code-wrapper code {
        font-family: 'Courier New', monospace;
        font-size: 0.85rem;
        color: #cbd5e1;
        white-space: pre-wrap;
        line-height: 1.8;
        direction: ltr;
        text-align: left;
        display: block;
    }
    .copy-btn {
        background: #273548;
        color: #94a3b8;
        border: 1px solid #334155;
        border-radius: 8px;
        padding: 6px 14px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: 0.25s;
        font-family: 'Vazirmatn', sans-serif;
    }
    .copy-btn:hover {
        background: #38bdf8;
        color: #0f172a;
        border-color: #38bdf8;
    }

    /* ===== کال‌آوت ===== */
    .callout-box {
        background: rgba(56, 189, 248, 0.06);
        border: 2px solid #38bdf8;
        border-radius: 18px;
        padding: 24px 28px;
        text-align: center;
        margin-top: 24px;
    }
    .callout-box p {
        color: #cbd5e1;
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 8px;
    }
    .callout-box .price {
        font-size: 1.3rem;
        font-weight: 800;
        color: #38bdf8;
    }
    .callout-box .legal-note {
        font-size: 0.85rem;
        color: #94a3b8;
        border-top: 1px solid #334155;
        padding-top: 12px;
        margin-top: 12px;
    }
    .callout-box .legal-note i {
        color: #38bdf8;
        margin-left: 6px;
    }

    /* ===== FAQ ===== */
    .faq-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    @media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

    .faq-item {
        background: #1e293b;
        border: 1px solid #334155;
        border-radius: 12px;
        padding: 16px 20px;
        transition: 0.25s;
        cursor: pointer;
    }
    .faq-item:hover { border-color: #38bdf8; }
    .faq-item .faq-question {
        font-weight: 600;
        color: #f8fafc;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .faq-item .faq-question::after {
        content: '▾';
        color: #38bdf8;
        transition: transform 0.25s;
        font-size: 1.2rem;
    }
    .faq-item.active .faq-question::after {
        transform: rotate(180deg);
    }
    .faq-item .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        color: #94a3b8;
        font-size: 0.9rem;
        line-height: 1.8;
    }
    .faq-item.active .faq-answer {
        max-height: 300px;
        padding-top: 12px;
    }

    /* ===== نظرات ===== */
    .testimonial-slider {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    .testimonial-card {
        background: #1e293b;
        border: 1px solid #334155;
        border-radius: 16px;
        padding: 20px;
        text-align: center;
        transition: 0.25s;
    }
    .testimonial-card:hover {
        border-color: #38bdf8;
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    }
    .testimonial-text {
        color: #cbd5e1;
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 10px;
    }
    .stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 6px; }
    .author { color: #94a3b8; font-size: 0.85rem; font-weight: 600; }

    /* ===== فوتر ===== */
    .footer-new {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 30px;
        padding: 20px 0;
        border-top: 1px solid #334155;
        margin-top: 20px;
    }
    .footer-column h4 {
        font-weight: 700;
        font-size: 1.05rem;
        color: #f8fafc;
        margin-bottom: 14px;
        padding-bottom: 10px;
        border-bottom: 2px solid #38bdf8;
    }
    .footer-column p, .footer-column a, .footer-column li {
        color: #94a3b8;
        font-size: 0.88rem;
        line-height: 2;
        text-decoration: none;
        list-style: none;
    }
    .footer-column a:hover { color: #38bdf8; }
    .footer-column ul { padding: 0; }
    .license-box {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }
    .license-box img {
        max-height: 60px;
        border-radius: 8px;
        border: 1px solid #334155;
        padding: 4px;
        background: #fff;
        cursor: pointer;
        transition: 0.25s;
    }
    .license-box img:hover {
        transform: scale(1.05);
        border-color: #38bdf8;
    }
    .copyright {
        text-align: center;
        color: #64748b;
        font-size: 0.82rem;
        padding: 16px 0;
        border-top: 1px solid #334155;
    }

    /* ===== دکمه شناور ===== */
    .floating-rubika {
        position: fixed;
        bottom: 70px;
        right: 20px;
        z-index: 999;
    }
    .floating-rubika a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #38bdf8;
        color: #0f172a;
        font-size: 2rem;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
        transition: 0.25s;
    }
    .floating-rubika a:hover {
        transform: scale(1.1);
        background: #0ea5e9;
    }

    .back-to-top {
        position: fixed;
        bottom: 30px;
        left: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #2c7da0;
        color: white;
        border: none;
        font-size: 28px;
        cursor: pointer;
        transition: 0.3s;
        opacity: 0;
        visibility: hidden;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }
    .back-to-top:hover {
        background: #1f5e7a;
        transform: translateY(-5px);
    }

    /* ===== ریسپانسیو ===== */
    @media (max-width: 600px) {
        body { padding: 12px; }
        .glass-card { padding: 16px; }
        .hero-section h1 { font-size: 1.6rem; }
        .header { flex-direction: column; align-items: stretch; text-align: center; }
        .logo-area { justify-content: center; }
        .header-buttons { display: flex; justify-content: center; }
        .answer-item { padding: 16px; }
        .code-wrapper code { font-size: 0.75rem; }
        .callout-box { padding: 18px 16px; }
        .floating-rubika { bottom: 50px; right: 14px; }
        .floating-rubika a { width: 50px; height: 50px; font-size: 1.6rem; }
        .footer-new { grid-template-columns: 1fr; text-align: center; }
        .license-box { justify-content: center; }
        .testimonial-slider { grid-template-columns: 1fr; }
        .back-to-top { left: 12px; width: 44px; height: 44px; font-size: 22px; bottom: 20px; }
    }

/* ===== کادر هشدار قرمز ===== */
.warning-box {
    background: rgba(220, 38, 38, 0.12);
    border: 2px solid #dc2626;
    border-radius: 16px;
    padding: 18px 22px;
    margin: 16px 0;
    color: #fca5a5;
    font-size: 0.95rem;
    line-height: 2;
    text-align: right;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

.warning-box i {
    color: #dc2626;
    font-size: 1.4rem;
    margin-left: 10px;
}

.warning-box strong {
    color: #fca5a5;
}

.warning-box .highlight-red {
    color: #f87171;
}

.warning-box .highlight-green {
    color: #34d399;
}

/* ===== بخش اعتماد و کانال اطلاع‌رسانی ===== */
.trust-channel-section {
    margin-top: 8px;
}

.trust-channel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.trust-channel-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
}

.trust-channel-title i {
    color: #38bdf8;
    margin-left: 8px;
}

.trust-channel-inner p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
}

.trust-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-icons img {
    max-height: 60px;
    border-radius: 8px;
    border: 1px solid #334155;
    padding: 4px;
    background: #fff;
    transition: 0.25s;
    cursor: pointer;
}

.trust-icons img:hover {
    transform: scale(1.05);
    border-color: #38bdf8;
}

.channel-divider {
    width: 80px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
}

.channel-invite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.channel-invite i {
    font-size: 2rem;
    color: #38bdf8;
}

.channel-invite h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.channel-invite p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 500px;
}

.btn-channel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #38bdf8;
    color: #0f172a;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.25s;
    border: none;
    cursor: pointer;
}

.btn-channel:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.channel-note {
    font-size: 0.8rem;
    color: #64748b;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 600px) {
    .trust-icons img {
        max-height: 50px;
    }
    
    .btn-channel {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}