:root {
    --accent-color: #0d9488;
    --accent-light: #f0fdf4;
    --text-main: #1e293b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-drop-btn {
    background: var(--white);
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-drop-btn:hover {
    border-color: var(--accent-color);
}

.lang-drop-content {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: var(--white);
    min-width: 150px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    z-index: 1001;
    overflow: hidden;
}

html[lang="en"] .lang-drop-content {
    right: auto;
    left: 0;
}

.lang-dropdown.active .lang-drop-content {
    display: block;
}

.lang-drop-content a {
    color: var(--text-main);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-drop-content a:hover {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Product Section */
.product {
    padding: 100px 0;
    background-color: #f8fafc;
}

.product-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 20px;
}

.product-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.product-content p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features div {
    background: var(--white);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.95krem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* About & Contact Sections */
.about, .contact {
    padding: 100px 0;
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-container p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact {
    background-color: #f8fafc;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact p {
    color: #475569;
    margin-bottom: 40px;
}

.contact-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-box a {
    background: var(--white);
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.contact-box a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.page-spacing {
    padding-top: 140px;
    min-height: calc(100vh - 80px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content, .product-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    .lang-drop-content {
        right: auto;
        left: 0;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        border-bottom: 1px solid #e2e8f0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-content, .product-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
