@font-face {
    font-family: 'Iransans';
    src: url('../font/Iransans.ttf') format('truetype'), url('../font/Iransans.woff') format('woff');
}

* {
    font-family: 'Vazirmatn', 'Iransans';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary-rgb: 15, 118, 200;
    --color-primary: #4fb0ff;
    --color-primary-dark: #0a4a8a;
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-primary-r: 56;
    --color-primary-g: 189;
    --color-primary-b: 248;
}

html,
body {
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: #f0f0f0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

.hero-section {
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-80px) translateX(20px);
        opacity: 0.1;
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.glow-card {
    box-shadow: 0 0px 0px rgba(var(--color-primary-rgb), 0);
    transition: box-shadow 0.4s ease;
}

.card-border {
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    transition: border-color 0.3s ease;
}

.card-border:hover {
    border-color: rgba(var(--color-primary-rgb), 0.25);
}

/* ========| FAQ Search |======== */
.faq-search-wrap {
    position: relative;
}

.faq-search-wrap svg {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid #1f2937;
    border-radius: 1rem;
    padding: 0.9rem 3rem 0.9rem 1.25rem;
    font-size: 0.9rem;
    color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-search-input::placeholder {
    color: #6b7280;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 14px rgba(var(--color-primary-rgb), 0.2);
}

.faq-empty-state {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.faq-empty-state.show {
    display: block;
}

/* ========| FAQ Category Nav |======== */
.faq-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.faq-cat-chip {
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.faq-cat-chip:hover {
    color: #fff;
    border-color: rgba(var(--color-primary-rgb), 0.4);
}

.faq-cat-chip.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border-color: transparent;
}

/* ========| FAQ Groups |======== */
.faq-group.faq-hidden {
    display: none;
}

.faq-group-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.1rem;
}

.faq-group-title-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb), 0.12);
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ========| FAQ Accordion |======== */
.faq-item {
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    border-radius: 1rem;
    background: rgb(var(--color-surface));
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.faq-item.open {
    border-color: rgba(var(--color-primary-rgb), 0.35);
}

.faq-item.faq-hidden {
    display: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.3s ease;
}

.faq-item.open .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-inner p {
    padding: 0 1.4rem 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 2;
}
