@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazirmatn, sans-serif;
    direction: rtl;
    text-align: right;
    background: linear-gradient(to bottom, #eff6ff, #f3e8ff);
    min-height: 100vh;
}

/* Container */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
}

header .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header .logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, #f04438, #0ea5e9);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #f04438, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

header nav a:hover {
    color: #f04438;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero .grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .gradient-text {
    background: linear-gradient(to right, #f04438, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #f04438, #de2f24);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(240, 68, 56, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, #de2f24, #bb231a);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(240, 68, 56, 0.4);
}

.btn-outline {
    border: 2px solid #f04438;
    color: #f04438;
    background: transparent;
}

.btn-outline:hover {
    background: #fef3f2;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 16rem;
    background: linear-gradient(to bottom right, #fee4e2, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.25rem;
}

.card-content h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.card-content .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f04438;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f9fafb, white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to bottom right, #f04438, #de2f24);
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

footer h3,
footer h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

@media (max-width: 767px) {
    .md-hidden {
        display: none;
    }
}

/* Mobile Menu */
#mobile-menu {
    padding-bottom: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    text-decoration: none;
}

#mobile-menu a:hover {
    color: #f04438;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    header nav {
        display: none;
    }
}