  /* Reset و فونت‌ها */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* --primary-color: #d4af37; رنگ طلایی */
    --primary-color: #1DE9B6; /* رنگ طلایی */
    --secondary-color: #333;
    --text-color: #444;
    --light-bg: #f9f9f9;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    text-align: right;
}

/* هدر و نوار ناوبری */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* بخش اصلی */
main {
    margin-top: 80px;
}

section {
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    /* margin-bottom: 1.5rem; */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* بخش قهرمان */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-left: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    /* box-shadow: var(--shadow); */
}

/* دکمه‌ها */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 1rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn.primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-top: 1rem;
}

.btn.outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ویژگی‌ها */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    /* margin-top: 2rem; */
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* محصولات */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 1.5rem;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* بخش اپلیکیشن */
.app-section {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
}

.app-content {
    flex: 1;
    padding: 2rem;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-width: 80%;
    height: auto;
}

.app-section ul {
    list-style-type: none;
    margin: 2rem 0;
}

.app-section li {
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1.5rem;
}

.app-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-store img {
    height: 50px;
}

/* تماس با ما */
.contact-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    /* flex: 1; */
    /* padding: 2rem; */
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-left: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* فوتر */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: #222;
    margin-top: 2rem;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .hero, .app-section, .contact-container {
        flex-direction: column;
    }
    
    .hero-content, .app-content {
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .hero-image, .app-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .download-buttons {
        flex-direction: column;
    }
    
    .btn {
        margin-left: 0;
        margin-bottom: 1rem;
        display: block;
        text-align: center;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}