/* General styles */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    direction: rtl;
}

/* Navbar */
.navbar {
    background: rgba(52, 52, 52, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

.brand img {
    height: 35px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.cta-primary {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
}

.cta-secondary {
    border: 2px solid #3498db;
    color: #3498db;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* Categories Preview */
.categories-preview {
    padding: 4rem 2rem;
    text-align: center;
}

.categories-preview h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.category-tile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.category-tile img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.view-all {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.view-all:hover {
    background: rgba(52, 152, 219, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    text-align: center;
}

#visit-counter {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .navbar {
        padding: 1rem;
    }

    .brand div {
        font-size: 0.9rem;
    }
}