/* ===== VARIABLES ===== */
:root {
    --navy: #0D1B2A;
    --navy2: #162436;
    --navy3: #1E3148;
    --gold: #C9A84C;
    --gold2: #E8C96A;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --white: #FFFFFF;
    --gray: #F4F6F9;
    --text: #1a2a3a;
    --text-light: #5a6a7a;
    --border: rgba(201, 168, 76, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(13, 27, 42, 0.10);
    --shadow-lg: 0 8px 40px rgba(13, 27, 42, 0.16);
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
    direction: rtl;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold2);
    border-color: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
        color: var(--white);
    }
    
    .btn-full {
        width: 100%;
        justify-content: center;
    }
    
    /* ===== NAVBAR ===== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 18px 0;
        transition: var(--transition);
    }
    
    .navbar.scrolled {
        background: rgba(13, 27, 42, 0.97);
        backdrop-filter: blur(12px);
        padding: 12px 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-container {
        display: flex;
        align-items: center;
        gap: 32px;
    }
	
	.logo-text-wrap {
		display: flex;
		flex-direction: column;
		line-height: 1.2;
	}

	.logo-title {
		font-size: 1.2rem;
		font-weight: 700;
		color: #fff;
	}

	.logo-sub {
		font-size: 0.7rem;
		color: #c9a84c;
		letter-spacing: 0.03em;
	}
    
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 1.3rem;
        color: var(--white);
        margin-left: auto;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        background: var(--gold);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--navy);
        font-size: 1rem;
    }
    
    .nav-links {
        display: flex;
        gap: 8px;
        margin-right: auto;
    }
    
    .nav-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        font-weight: 500;
        padding: 8px 14px;
        border-radius: 8px;
        transition: var(--transition);
    }
    
    .nav-links a:hover {
        color: var(--gold);
        background: var(--gold-dim);
    }
    
    .nav-cta {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    
    .nav-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }
    
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    /* ===== HERO ===== */
    .hero {
        min-height: 100vh;
        background: var(--navy);
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding: 120px 0 80px;
    }
    
    .hero-bg {
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
            radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
        max-width: 760px;
    }
    
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--gold-dim);
        color: var(--gold);
        border: 1px solid var(--border);
        padding: 8px 18px;
        border-radius: 100px;
        font-size: 0.88rem;
        font-weight: 600;
        margin-bottom: 28px;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.4rem);
        font-weight: 800;
        color: var(--white);
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-desc {
        color: rgba(255, 255, 255, 0.7);
        font-size: clamp(1rem, 2vw, 1.15rem);
        max-width: 560px;
        margin-bottom: 36px;
    }
    
    .hero-actions {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 56px;
    }
    
    .hero-stats {
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
    }
    
    .stat {
        text-align: center;
    }
    
    .stat-num {
        display: block;
        font-size: 2rem;
        font-weight: 800;
        color: var(--gold);
        line-height: 1;
    }
    
    .stat-label {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 4px;
    }
    
    .stat-divider {
        width: 1px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .scroll-down {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-size: 1.2rem;
        animation: bounce 2s infinite;
    }
    
    @keyframes bounce {
    
        0%,
        100% {
            transform: translateX(-50%) translateY(0);
        }
    
        50% {
            transform: translateX(-50%) translateY(8px);
        }
    }
    
    /* ===== ABOUT ===== */
    .about {
        background: var(--gray);
    }
    
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
    
    .about-text p {
        color: var(--text-light);
        margin-bottom: 16px;
        font-size: 1rem;
    }
    
    .about-features {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .about-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        color: var(--text);
    }
    
    .about-features li i {
        color: var(--gold);
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .about-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .about-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 24px 20px;
        transition: var(--transition);
    }
    
    .about-card:hover {
        border-color: var(--gold);
        box-shadow: var(--shadow);
        transform: translateY(-3px);
    }
    
    .about-card i {
        font-size: 1.5rem;
        color: var(--gold);
        margin-bottom: 12px;
    }
    
    .about-card h3 {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 6px;
    }
    
    .about-card p {
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.6;
    }
    
    /* ===== PRODUCTS ===== */
    .products {
        background: var(--white);
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .product-card {
        background: var(--white);
        border: 1px solid #e8edf2;
        border-radius: var(--radius-lg);
        padding: 32px 28px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }
    
    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 0;
        background: var(--gold);
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        transition: height 0.4s ease;
    }
    
    .product-card:hover {
        border-color: var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }
    
    .product-card:hover::before {
        height: 100%;
    }
    
    .product-icon {
        width: 52px;
        height: 52px;
        background: var(--gold-dim);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: var(--gold);
        margin-bottom: 18px;
    }
    
    .product-card h3 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .product-card>p {
        color: var(--text-light);
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.7;
    }
    
    .product-features {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .product-features li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.88rem;
        color: var(--text);
    }
    
    .product-features li i {
        color: var(--gold);
        font-size: 0.8rem;
        margin-top: 4px;
        flex-shrink: 0;
    }
    
    /* محصول پنجم - wide */
    .product-card--wide {
        grid-column: 1 / -1;
    }
    
    .product-wide-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
    
    .product-wide-badge {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        background: var(--navy);
        color: var(--gold);
        padding: 24px 32px;
        border-radius: var(--radius);
        text-align: center;
    }
    
    .product-wide-badge i {
        font-size: 2rem;
    }
    
    .product-wide-badge span {
        font-weight: 700;
        font-size: 1rem;
    }
    
    .product-wide-badge small {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.8rem;
    }
    
    /* ===== WHY US ===== */
    .why-us {
        background: var(--navy);
    }
    
    .why-us .section-header h2 {
        color: var(--white);
    }
    
    .why-us .section-header p {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .why-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .why-card {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(201, 168, 76, 0.15);
        border-radius: var(--radius-lg);
        padding: 32px 24px;
        transition: var(--transition);
    }
    
    .why-card:hover {
        background: rgba(201, 168, 76, 0.07);
        border-color: rgba(201, 168, 76, 0.4);
        transform: translateY(-4px);
    }
    
    .why-icon {
        width: 52px;
        height: 52px;
        background: var(--gold-dim);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: var(--gold);
        margin-bottom: 18px;
    }
    
    .why-card h3 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 10px;
    }
    
    .why-card p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.7;
    }
    
    /* ===== CONTACT ===== */
    .contact {
        background: var(--gray);
    }
    
    .contact-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 48px;
        align-items: start;
    }
    
    .contact-form-wrap {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 40px;
        box-shadow: var(--shadow);
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--navy);
    }
    
    .required {
        color: #e53e3e;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-family: 'Vazirmatn', sans-serif;
        font-size: 0.95rem;
        padding: 12px 16px;
        border: 1.5px solid #dde3ea;
        border-radius: var(--radius);
        background: var(--white);
        color: var(--text);
        transition: var(--transition);
        direction: rtl;
        outline: none;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
    }
    
    .form-group input.error,
    .form-group textarea.error {
        border-color: #e53e3e;
    }
    
    .field-error {
        font-size: 0.8rem;
        color: #e53e3e;
        min-height: 16px;
    }
    
    .form-group textarea {
        resize: vertical;
        min-height: 110px;
    }
    
    .form-message {
        margin-top: 16px;
        padding: 14px 18px;
        border-radius: var(--radius);
        font-size: 0.92rem;
        font-weight: 500;
        text-align: center;
    }
    
    .form-message.success {
        background: #f0fff4;
        color: #276749;
        border: 1px solid #9ae6b4;
    }
    
    .form-message.error {
        background: #fff5f5;
        color: #c53030;
        border: 1px solid #feb2b2;
    }
    
    /* contact info */
    .contact-info h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 28px;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .contact-item-icon {
        width: 44px;
        height: 44px;
        background: var(--gold-dim);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-item span {
        display: block;
        font-size: 0.8rem;
        color: var(--text-light);
        margin-bottom: 2px;
    }
    
    .contact-item a,
    .contact-item p {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--navy);
    }
    
    .contact-item a:hover {
        color: var(--gold);
    }
    
    .contact-note {
        display: flex;
        gap: 12px;
        background: var(--gold-dim);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 32px;
    }
    
    .contact-note i {
        color: var(--gold);
        font-size: 1rem;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .contact-note p {
        font-size: 0.88rem;
        color: var(--text-light);
        line-height: 1.6;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        background: var(--navy);
        padding: 64px 0 0;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 48px;
        padding-bottom: 48px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .footer-brand .logo {
        margin-bottom: 16px;
    }
    
    .footer-brand p {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.7;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 18px;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.5);
        transition: var(--transition);
    }
    
    .footer-links a:hover {
        color: var(--gold);
    }
    
    .footer-contact p {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 10px;
    }
    
    .footer-contact i {
        color: var(--gold);
        width: 16px;
    }
    
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.3);
    }
    
    /* ===== REVEAL ANIMATION ===== */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
        .about-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }
    
        .why-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    
        .footer-grid {
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }
    }
    
    @media (max-width: 768px) {
        .section {
            padding: 64px 0;
        }
    
        .nav-links,
        .nav-cta {
            display: none;
        }
    
        .nav-toggle {
            display: flex;
        }
    
        .nav-links.open {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--navy);
            align-items: center;
            justify-content: center;
            gap: 24px;
            z-index: 999;
        }
    
        .nav-links.open a {
            font-size: 1.2rem;
        }
    
        .hero-actions {
            flex-direction: column;
            align-items: flex-start;
        }
    
        .products-grid {
            grid-template-columns: 1fr;
        }
    
        .product-card--wide {
            grid-column: auto;
        }
    
        .product-wide-content {
            flex-direction: column;
        }
    
        .why-grid {
            grid-template-columns: 1fr;
        }
    
        .contact-grid {
            grid-template-columns: 1fr;
        }
    
        .form-row {
            grid-template-columns: 1fr;
        }
    
        .about-cards {
            grid-template-columns: 1fr;
        }
    
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
    }
    
    @media (max-width: 480px) {
        .hero-stats {
            gap: 20px;
        }
    
        .stat-num {
            font-size: 1.6rem;
        }
    
        .contact-form-wrap {
            padding: 24px 20px;
        }
    }

        #email,
        #phone {
            direction: ltr;
            text-align: left;
        }