/* تعریف فونت‌های محلی */
@font-face {
    font-family: 'Yekan Bakh';
    src: url(../fonts/Yekan-Bakh-FaNum-07-Heavy.woff) format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan Bakh bold';
    src: url(../fonts/B\ yekan\ \ Bold.woff) format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan Bakh medium';
    src: url(../assets/fonts/B\ yekan\ \ Medium.woff) format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan Bakh regular';
    src: url(../assets/fonts/B\ yekan\ Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*{
    font-family: 'Yekan Bakh';
}
:root {
    --primary: #2B286A;        /* رنگ اصلی سرمه‌ای */
    --secondary: #75ABB7;      /* رنگ فیروزه‌ای */
    --accent: #AAA9C7;         /* رنگ بنفش روشن */
    --text: #2D3250;
    --light: #F4F2F9;
    --shadow: rgba(43, 40, 106, 0.1);
}
body {
    background: #FFFFFF;
    color: var(--text);
    font-family: 'Yekan Bakh medium', sans-serif;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Yekan Bakh bold', sans-serif;
    font-weight: 900;
}
a{
    text-decoration: none;
}
.navbar {
    background: var(--primary);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px var(--shadow);
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: white;
}
.nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin: 0 10px;
    font-weight: 500;
}
.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}
.hero {
    background: linear-gradient(135deg, var(--primary), #3A3F8F);
    padding: 8rem 1rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMDUiIGN4PSIyMCIgY3k9IjIwIiByPSIyMCIvPjxjaXJjbGUgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC4wNSIgY3g9IjgwIiBjeT0iNjAiIHI9IjMwIi8+PGNpcmNsZSBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjA1IiBjeD0iNDAiIGN5PSI4MCIgcj0iMTUiLz48L3N2Zz4=');
    opacity: 0.8;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}
.cta-button {
    background: var(--secondary);
    color: var(--primary);
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(117, 171, 183, 0.3);
    border: none;
}
.cta-button:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(117, 171, 183, 0.4);
    color: var(--primary);
}
.section {
    padding: 5rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: bold;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(170, 169, 199, 0.2);
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}
.feature-icon {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 2rem;
    background: rgba(117, 171, 183, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}
.module-card {
    background: var(--secondary);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    color: white;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMSIgY3g9IjIwIiBjeT0iMjAiIHI9IjIwIi8+PGNpcmNsZSBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjEiIGN4PSI4MCIgY3k9IjYwIiByPSIzMCIvPjxjaXJjbGUgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC4xIiBjeD0iNDAiIGN5PSI4MCIgcj0iMTUiLz48L3N2Zz4=');
    opacity: 0.2;
}
.wallet-card {
    background: var(--accent);
}
.courses-card {
    background: var(--primary);
}
.tools-card {
    background: #6c6d8a;
}
.module-content {
    position: relative;
    z-index: 1;
}
.module-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.pricing-section {
    background: var(--light);
}
.pricing-plan {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}
.pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}
.pricing-plan.featured {
    border: 3px solid var(--secondary);
    position: relative;
}
.pricing-plan.featured::before {
    content: "پیشنهاد ویژه";
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: var(--secondary);
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
}
.price {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}
.testimonial-section {
    background: linear-gradient(135deg, var(--light), #ffffff);
}
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(117, 171, 183, 0.1);
}
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow);
}
.form-control {
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(170, 169, 199, 0.2);
    margin-bottom: 1rem;
}
.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(117, 171, 183, 0.25);
}
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMDMiIGN4PSIyMCIgY3k9IjIwIiByPSIyMCIvPjxjaXJjbGUgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC4wMyIgY3g9IjgwIiBjeT0iNjAiIHI9IjMwIi8+PGNpcmNsZSBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjAzIiBjeD0iNDAiIGN5PSI4MCIgcj0iMTUiLz48L3N2Zz4=');
    opacity: 1;
}
.footer-content {
    position: relative;
    z-index: 1;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.footer-title {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
.footer-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.social-links a {
    color: var(--secondary);
    margin: 0 0.8rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.social-links a:hover {
    color: white;
    transform: translateY(-5px);
    background: var(--secondary);
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    position: relative;
    padding-right: 15px;
}
.footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary);
}
.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}
.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.contact-info i {
    color: var(--secondary);
    margin-left: 10px;
    font-size: 1.2rem;
}
.newsletter-form {
    position: relative;
    margin-top: 1.5rem;
}
.newsletter-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}
.newsletter-form button {
    position: absolute;
    left: 5px;
    top: 5px;
    background: var(--secondary);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    color: white;
    transition: all 0.3s ease;
}
.newsletter-form button:hover {
    background: white;
    color: var(--primary);
}
.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    .section {
        padding: 3rem 0;
    }
}
