:root {
    --primary-color: #0f172a;
    --accent-color: #0d9488;
    --accent-light: #ccfbf1;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
}

html[lang="en"] body {
    font-family: 'Inter', sans-serif;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 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: 40px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

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

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

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    z-index: -1;
}

html[lang="ar"] .hero-overlay, html[lang="fa"] .hero-overlay {
    background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image img {
    max-width: 100%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.product {
    padding: 6rem 0;
    background: var(--bg-light);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.features div {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.about {
    padding: 6rem 0;
}

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

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact {
    padding: 6rem 0;
    background: var(--bg-light);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-box {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-box a {
    background: var(--white);
    color: var(--text-main);
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

@media (max-width: 968px) {
    .hero-content, .product-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
    }
    .features {
        grid-template-columns: 1fr;
    }
}
