* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #fafafa;
    color: #2d3748;
    line-height: 1.8;
}

/* Protect header styles from pages.css override */
.header {
    background-color: var(--background-color) !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

.header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header .logo h1 {
    font-size: 22px !important;
    margin: 0 !important;
    color: var(--primary-color) !important;
}

.header .logo h1 span {
    color: var(--light-text-color) !important;
    font-size: 20px !important;
    margin-right: 5px !important;
}

.header .main-nav ul {
    display: flex !important;
    gap: 25px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header .main-nav a {
    font-size: 17px !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    color: #000000 !important;
}

.header .main-nav a:hover {
    color: var(--primary-color) !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.header-actions .auth-button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    font-family: inherit !important;
    text-decoration: none !important;
}

.header-actions .auth-button:hover {
    background-color: #388E3C !important;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: #ffffff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: right;
}

.hero-title .text-primary {
    color: #22c55e;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 2;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Image Container */
.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 400px;
    height: 500px;
    border-radius: 3rem;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bg-shape-green {
    position: absolute;
    width: 420px;
    height: 520px;
    background-color: #22c55e;
    border-radius: 3rem;
    transform: rotate(6deg);
    z-index: 0;
    opacity: 0.9;
}

.bg-shape-yellow {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #facc15;
    border-radius: 2rem;
    transform: rotate(-12deg);
    right: -2rem;
    bottom: -2rem;
    z-index: 1;
    opacity: 0.8;
}

/* Why Section */
.why-section {
    padding: 3rem 0;
    text-align: center;
}

.why-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #2d3748;
}

.why-section .subtitle {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 500;
    text-align: justify;
}

/* Feature Cards */
.feature-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: right;
    transition: all 0.3s ease;
    height: 100%;
    margin: 1rem;
}

.feature-card:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #e91e8c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card h5 {
    color: #e91e8c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card ul li {
    color: #64748b;
    font-size: 1rem;
    line-height: 2;
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        width: 300px;
        height: 400px;
    }

    .bg-shape-green {
        width: 320px;
        height: 420px;
    }

    .why-section h2 {
        font-size: 2rem;
    }

    .why-section .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .image-container {
        margin-top: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

