/* Fonts */
@font-face{font-family:'IRSansx';src:  url('../fonts/IRSansx.woff2') format('woff2');font-weight:normal;font-style:normal;font-display: swap;}
@font-face{font-family:'IRSansx-Bold';src:  url('../fonts/IRSansx-Bold.woff2') format('woff2');font-weight:normal;font-style:normal;font-display: swap;}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: IRSansx;
	text-decoration: none;
}

:root {
    --primary-color: #0099ff;
    --secondary-color: #fea000;
    --accent-color: #ff6b6b;
    --dark-color: #2c2c54;
    --light-color: #f5f6fa;
    --success-color: #2ed573;
    --text-color: #444;
    --transition: all 0.3s ease;
}

body {
    background-color: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-left: 10px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
	display: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
	font-family: IRSansx-Bold;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Animated Hero Section */
.hero {
    background: linear-gradient(-45deg, #0099ff, #4e54c8, #fea000, #ff6b6b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    text-align: center;
    padding: 100px 20px 70px;
    margin-bottom: 50px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	font-family: IRSansx-Bold;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin: 30px auto 0;
}

.info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.info-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
	font-family: IRSansx-Bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-btn a {
    color: #fff;
	font-family: IRSansx-Bold;
}
.hero-btn.secondary {
    background: var(--secondary-color);
}

.hero-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Demo Templates Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
	font-family: IRSansx-Bold;
    color: var(--dark-color);
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.demo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .demo-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.demo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.demo-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.demo-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 2s ease;
}

.demo-item:hover .demo-image img {
    transform: translateY(calc(-350px + 250px));
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 153 255 / 38%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.demo-item:hover .demo-overlay {
    opacity: 1;
}

.demo-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.demo-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.demo-info {
    padding: 20px;
    text-align: center;
}

.demo-info h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}
.demo-info a {
    color: var(--dark-color);
}

/* FAQ Section */
.faq {
    background: var(--light-color);
    padding: 80px 0;
    margin: 50px 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Animated Footer */
footer {
    background: linear-gradient(-45deg, #0099ff, #4e54c8, #fea000, #ff6b6b);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.sticky-buy-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 998;
    animation: pulse 2s infinite;
}

.sticky-buy-btn.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.sticky-buy-btn:hover {
    opacity: 0.9;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 153, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
    }
}

/* برای صفحه‌های کوچک */
@media (max-width: 768px) {
    .sticky-buy-btn {
        bottom: 70px;
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }
    
    nav {
        display: none;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: center;
    }
    
    .info-box {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
}