:root {
            --navy: #0f172a;
            --navy-light: #1e293b;
            --gold: #b8860b;
            --gold-light: #daa520;
            --gray-bg: #f8fafc;
            --white: #ffffff;
            --text-main: #334155;
            --text-light: #64748b;
            --radius: 16px;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            outline: none;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--gray-bg);
            color: var(--text-main);
            line-height: 1.8;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }

        /* دکمه‌ها */
        .btn-gold {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: white;
            padding: 12px 28px;
            border-radius: 12px;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .btn-gold:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
        }

        .btn-outline {
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 10px 24px;
            border-radius: 12px;
            font-weight: 600;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
        }

        /* استایل‌های عمومی پروفایل */
        .hero-cover {
            height: 320px;
            width: 100%;
            background-color: var(--navy);
            position: relative;
            overflow: hidden;
        }

        .hero-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 0%, var(--gray-bg) 100%);
        }

        .profile-grid {
            display: grid;
            grid-template-columns: 340px 1fr;
            gap: 30px;
            margin-top: -100px;
            position: relative;
            z-index: 2;
        }

        .sidebar-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 30px;
            text-align: center;
            box-shadow: var(--shadow);
            position: sticky;
            top: 20px;
            border-top: 6px solid var(--gold);
        }

        .company-logo-box {
            width: 140px;
            height: 140px;
            background: var(--white);
            border-radius: 24px;
            padding: 10px;
            margin: 0 auto 20px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
        }

        .company-logo-box img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 16px;
        }

        .def-logo {
            font-size: 60px;
            color: #cbd5e1;
        }

        .comp-name {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--navy);
            margin-bottom: 5px;
        }

        .comp-en-name {
            font-size: 0.95rem;
            color: var(--gold);
            font-weight: 600;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }

        .side-info-row {
            display: flex;
            justify-content: space-between;
            padding: 14px 0;
            border-bottom: 1px dashed #e2e8f0;
            font-size: 0.95rem;
            color: #475569;
        }

        .side-info-row:last-of-type {
            border-bottom: none;
        }

        .side-info-row i {
            color: var(--gold);
            width: 24px;
        }

        .side-info-row strong {
            color: var(--navy);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        .social-btn {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: #f1f5f9;
            color: var(--navy-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: 0.3s;
        }

        .social-btn:hover {
            background: var(--navy);
            color: var(--gold);
            transform: translateY(-3px);
        }

        /* محتوا */
        .main-section {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .content-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 35px;
            box-shadow: var(--shadow);
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--navy);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f1f5f9;
        }

        .section-title i {
            color: var(--gold);
            font-size: 1.4rem;
        }

        .description-text {
            text-align: justify;
            color: #4b5563;
            line-height: 2.2;
            white-space: pre-wrap;
        }

        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
        }

        .detail-item {
            background: #f8fafc;
            padding: 16px;
            border-radius: 14px;
            border: 1px solid #e2e8f0;
            transition: 0.3s;
        }

        .detail-item:hover {
            border-color: var(--gold);
            background: #fffdf5;
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--text-light);
            display: block;
            margin-bottom: 6px;
        }

        .detail-value {
            font-size: 1rem;
            font-weight: 700;
            color: var(--navy);
            display: block;
        }

        .tag {
            display: inline-block;
            padding: 6px 14px;
            background: #f1f5f9;
            color: var(--navy);
            border-radius: 8px;
            font-size: 0.9rem;
            margin: 0 6px 8px 0;
            font-weight: 600;
            border: 1px solid #e2e8f0;
        }

        .tag-gold {
            background: #fffbeb;
            color: #b45309;
            border-color: #fcd34d;
        }

        .tag-blue {
            background: #eff6ff;
            color: #1d4ed8;
            border-color: #bfdbfe;
        }

        .tag-red {
            background: #fef2f2;
            color: #b91c1c;
            border-color: #fecaca;
        }

        /* گالری */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }

        .gallery-item {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            height: 160px;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.4s;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 2rem;
            opacity: 0;
            transition: 0.3s;
            z-index: 2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .gallery-item:hover .gallery-overlay-icon {
            opacity: 1;
        }

        /* استایل سیستم ستاره‌دهی */
        .star-rating-wrapper {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 5px;
            margin-bottom: 15px;
        }

        .star-icon {
            font-size: 1.8rem;
            color: #cbd5e1;
            cursor: pointer;
            transition: color 0.2s;
        }

        .star-icon.active,
        .star-icon:hover,
        .star-icon:hover~.star-icon {
            color: #fbbf24;
        }

        /* استایل لایت‌باکس */
        .lightbox-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            padding-top: 60px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
        }

        .lightbox-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 85vh;
            border-radius: 8px;
            border: 2px solid white;
        }

        .lightbox-close {
            position: absolute;
            top: 25px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }

        .lightbox-close:hover {
            color: #bbb;
        }

        /* دانلود */
        .catalog-box {
            background: linear-gradient(135deg, #fef2f2, #fff1f2);
            border: 2px dashed #fecaca;
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            margin-top: 10px;
        }

        /* نظرات */
        .review-item {
            border-bottom: 1px solid #f1f5f9;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .review-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .review-user {
            font-weight: 700;
            color: var(--navy);
        }

        .review-stars {
            color: #fbbf24;
        }

        /* استایل‌های صفحه ایندکس */
        .index-header {
            background: var(--navy);
            color: white;
            padding: 20px 0 80px;
            border-bottom-left-radius: 60px;
            border-bottom-right-radius: 60px;
            margin-bottom: 50px;
            box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.4);
        }

        .nav-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 900;
            letter-spacing: -1px;
        }

        .logo-text span {
            color: var(--gold);
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: #94a3b8;
            margin-bottom: 30px;
        }

        .stats-row {
            display: flex;
            gap: 20px;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 16px;
            flex: 1;
            text-align: center;
            backdrop-filter: blur(10px);
        }

        .stat-num {
            font-size: 2rem;
            font-weight: 800;
            display: block;
            color: var(--gold);
        }

        .stat-lbl {
            font-size: 0.8rem;
            color: #cbd5e1;
        }

        .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        .comp-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
            transition: 0.3s;
            display: flex;
            flex-direction: column;
        }

        .comp-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
        }

        .card-header {
            height: 160px;
            position: relative;
            background: #e2e8f0;
        }

        .card-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card-logo {
            width: 70px;
            height: 70px;
            background: white;
            border-radius: 14px;
            position: absolute;
            bottom: -35px;
            right: 25px;
            padding: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .card-logo img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
            object-fit: contain;
        }

        .card-body {
            padding: 45px 25px 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--navy);
            margin-bottom: 5px;
        }

        .card-industry {
            font-size: 0.9rem;
            color: var(--gold);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .card-excerpt {
            font-size: 0.9rem;
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #f1f5f9;
            padding-top: 15px;
            margin-top: auto;
        }

        .card-city {
            font-size: 0.85rem;
            color: #94a3b8;
        }

        @media (max-width: 992px) {
            .profile-grid {
                grid-template-columns: 1fr;
                margin-top: -50px;
            }

            .sidebar-card {
                position: static;
                margin-bottom: 30px;
            }

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .stats-row {
                justify-content: center;
            }
        }
        .nav-btns {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .nav-btns .btn-outline span {
        display: none;
    }

    .nav-btns .btn-outline {
        padding: 0;
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .nav-btns .btn-outline i {
        font-size: 1.2rem;
        margin: 0;
    }
}
