﻿:root {
    --primary: #003366;
    --primary-light: #0a4d8c;
    --primary-dark: #002244;
    --gold: #F4B400;
    --gold-light: #FFD24C;
    --gold-dark: #B8860B;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ============================================
           HERO SECTION
           ============================================ */
.fragrance-hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

    .fragrance-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(244, 180, 0, 0.08), transparent 40%), radial-gradient(circle at 80% 70%, rgba(244, 180, 0, 0.06), transparent 40%);
        pointer-events: none;
    }

    .fragrance-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to top, var(--bg-main), transparent);
        pointer-events: none;
    }

/* ذرات شناور */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.6), transparent 70%);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 180, 0, 0.15);
    border: 1px solid rgba(244, 180, 0, 0.3);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

    .hero-badge i {
        font-size: 14px;
    }

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

    .hero-title .gold-highlight {
        background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
    }

.hero-description {
    font-size: clamp(15px, 1.3vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    padding: 16px 42px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 8px 30px rgba(244, 180, 0, 0.4);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

    .btn-hero-primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 15px 50px rgba(244, 180, 0, 0.5);
        color: var(--primary-dark);
    }

    .btn-hero-primary i {
        transition: transform 0.3s ease;
    }

    .btn-hero-primary:hover i {
        transform: translateX(-5px);
    }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

    .btn-hero-outline:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--gold);
        color: var(--gold);
        transform: translateY(-4px);
    }

/* آمار Hero */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat-item {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    min-width: 140px;
    transition: all 0.4s ease;
}

    .hero-stat-item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(244, 180, 0, 0.3);
        transform: translateY(-4px);
    }

.hero-stat-number {
    font-size: 26px;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
           FEATURES SECTION
           ============================================ */
.fragrance-features {
    padding: 80px 20px;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header .section-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(244, 180, 0, 0.1);
        color: var(--gold-dark);
        padding: 6px 18px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 14px;
    }

    .section-header h2 {
        font-size: clamp(24px, 3.5vw, 38px);
        font-weight: 900;
        color: var(--primary);
        margin-bottom: 12px;
        letter-spacing: -0.5px;
    }

        .section-header h2 span {
            color: var(--gold-dark);
        }

    .section-header p {
        font-size: 16px;
        color: var(--text-gray);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.9;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--gold), var(--gold-dark));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .feature-card:hover::before {
        opacity: 1;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    color: #fff;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-6deg);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #7e56c6, #5a3a9e);
}

.feature-icon.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
}

.feature-icon.green {
    background: linear-gradient(135deg, #24c06d, #1a9e58);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #1fbcf3, #0e8fc7);
}

.feature-icon.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.9;
    margin: 0;
}

/* ============================================
           SEARCH SECTION
           ============================================ */
.fragrance-search-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

    .fragrance-search-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 80% 20%, rgba(244, 180, 0, 0.1), transparent 40%), radial-gradient(circle at 20% 80%, rgba(244, 180, 0, 0.08), transparent 40%);
        pointer-events: none;
    }

.search-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .search-content .section-eyebrow {
        background: rgba(244, 180, 0, 0.15);
        color: var(--gold);
        border: 1px solid rgba(244, 180, 0, 0.3);
    }

    .search-content h2 {
        color: #fff;
    }

        .search-content h2 span {
            color: var(--gold);
        }

    .search-content p {
        color: rgba(255, 255, 255, 0.8);
    }

.search-box-large {
    display: flex;
    gap: 10px;
    background: var(--bg-white);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-top: 32px;
    align-items: center;
    transition: all 0.3s ease;
}

    .search-box-large:focus-within {
        box-shadow: 0 20px 60px rgba(244, 180, 0, 0.3), 0 0 0 3px rgba(244, 180, 0, 0.2);
    }

    .search-box-large i {
        color: var(--gold-dark);
        font-size: 20px;
        margin-right: 8px;
    }

    .search-box-large input {
        flex: 1;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 16px;
        padding: 14px 0;
        color: var(--text-dark);
        background: transparent;
    }

        .search-box-large input::placeholder {
            color: var(--text-light);
        }

    .search-box-large button {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 14px 36px;
        font-family: inherit;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

        .search-box-large button:hover {
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
        }

.search-hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.search-hint-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .search-hint-item:hover {
        background: rgba(244, 180, 0, 0.2);
        border-color: var(--gold);
        color: var(--gold);
        transform: translateY(-2px);
    }

/* ============================================
           STATS SECTION
           ============================================ */
.fragrance-stats-section {
    padding: 60px 20px;
    background: var(--bg-main);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card-large {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .stat-card-large:hover {
        transform: translateY(-6px);
        border-color: var(--gold);
        box-shadow: var(--shadow-md);
    }

    .stat-card-large .stat-icon-circle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin: 0 auto 16px;
        color: var(--primary-dark);
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        transition: all 0.4s ease;
    }

    .stat-card-large:hover .stat-icon-circle {
        transform: scale(1.1) rotate(8deg);
    }

    .stat-card-large .stat-number-large {
        font-size: 32px;
        font-weight: 900;
        color: var(--primary);
        display: block;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .stat-card-large .stat-label-large {
        font-size: 13px;
        color: var(--text-gray);
        font-weight: 500;
    }

/* ============================================
           CTA SECTION
           ============================================ */
.fragrance-cta-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 51, 102, 0.2);
}

    .cta-box::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.1), transparent 60%);
        pointer-events: none;
    }

    .cta-box .cta-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: rgba(244, 180, 0, 0.15);
        border: 2px solid rgba(244, 180, 0, 0.2);
        color: var(--gold);
        font-size: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        position: relative;
        z-index: 2;
        animation: pulseCta 2.5s ease-in-out infinite;
    }

@keyframes pulseCta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(244, 180, 0, 0);
    }
}

.cta-box h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

    .cta-box h2 span {
        color: var(--gold);
    }

.cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.9;
    position: relative;
    z-index: 2;
}

/* ============================================
           RESPONSIVE
           ============================================ */

@media (max-width: 768px) {
    .fragrance-hero {
        min-height: 85vh;
        padding: 40px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-stat-item {
        min-width: 120px;
        padding: 12px 16px;
    }

    .hero-stat-number {
        font-size: 22px;
    }

    .fragrance-features,
    .fragrance-search-section,
    .fragrance-stats-section,
    .fragrance-cta-section {
        padding: 50px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .search-box-large {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 16px;
        gap: 12px;
    }

        .search-box-large i {
            display: none;
        }

        .search-box-large input {
            width: 100%;
            text-align: center;
            padding: 10px 0;
        }

        .search-box-large button {
            width: 100%;
            justify-content: center;
            padding: 14px 24px;
        }

    .stats-grid-large {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-card-large {
        padding: 20px 14px;
    }

        .stat-card-large .stat-number-large {
            font-size: 24px;
        }

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 12px;
    }

    .hero-stat-item {
        min-width: calc(50% - 6px);
    }

    .stats-grid-large {
        grid-template-columns: 1fr;
    }
}
