* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'danafanum', sans-serif;
}

body {
    color: #2d3748;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: url(https://checkimei.ir/banner-1.webp);
    background-position: center center !important;
    background-size: cover !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

.logo {
    width: 140px;
    height: auto;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: #03A9F4;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #03A9F4;
    color: #03A9F4;
}

.hero {
    text-align: center;
    padding: 90px 0 0;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 0;
    color: #1e293b;
    font-weight: 900;
}

.hero p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 0;
    line-height: 1.6;
}

button.btn-dark {
    background: #FFECB3;
    color: #FF8F00;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px !important;
    fill: #FF8F00;
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.service-card {
    background-color: rgb(255 255 255);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid #EEEEEE;
    box-shadow: 0px 11px 15px 1px #00000005;
    transition: all 0.3s;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e293b;
}

.service-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.cta {
    text-align: center;
    margin: 60px 0;
}

.cta .btn {
    padding: 14px 30px;
    font-size: 16px;
}

/* Help Popup Styles */
.help-popup {
    position: fixed;
    background-color: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    padding: 20px 20px 10px 15px;
    z-index: 1000;
    max-width: 100%;
    transition: transform 0.1s ease-in-out;
}

/* Mobile popup (slides from bottom) */
@media (max-width: 768px) {
    .help-popup {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }

    .help-popup.active {
        transform: translateY(0);
    }

    .help-popup:not(.active) {
        transform: translateY(100%);
    }
}

/* Desktop popup (bottom right corner) */
@media (min-width: 769px) {
    .help-popup {
        bottom: 20px;
        right: 20px;
        width: 450px;
        max-height: 500px;
        border-radius: 16px;
        transform: scale(0);
        transform-origin: bottom right;
        display: flex;
        flex-direction: column;
    }

    .help-popup.active {
        transform: scale(1);
    }
}

.help-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    flex-shrink: 0;
}

.help-popup-title {
    font-size: 0px;
    color: #03A9F4;
    margin-right: 75px;
    font-weight: 900;
}

.help-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.help-popup-close:hover {
    background-color: #f1f5f9;
}

/* Custom Scrollbar Container */
.help-popup-content-wrapper {
    overflow-y: auto;
    flex-grow: 1;

    /* Custom Scrollbar Styles */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Webkit Scrollbar Styles */
.help-popup-content-wrapper::-webkit-scrollbar {
    width: 5px;
}

.help-popup-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 5px;
}

.help-popup-content-wrapper::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.help-popup-content-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.help-popup-content {
    color: #64748b;
    line-height: 1.6;
    padding-left: 10px;
}

.help-popup-content h3 {
    margin: 15px 0 10px;
    color: #1e293b;
}

.help-popup-content p {
    margin-bottom: 10px;
}

.help-popup-content ul {
    margin-bottom: 15px;
    padding-right: 20px;
}

.help-popup-content li {
    margin-bottom: 5px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .services {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }
}

/* Bell Notification Animation */
.image-notif {
    transform-origin: top center;
    animation: bell-swing 2s infinite ease-in-out;
    display: inline-flex;
    width: 60px;
    height: auto;
    position: absolute;
    top: 8px;
    right: 17px;
}

@keyframes bell-swing {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-13deg);
    }

    60% {
        transform: rotate(8deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Jelly Particle Effect Styles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle-cursor {
    display: none !important;
}

/* Footer Styles */
footer {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 0;
    z-index: 1;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}