/* =========================================
   VILO LUXURY LANDING THEME (With Hero Image)
   ========================================= */

:root {
    --bg-body: #030305;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    /* رنگ‌های برند */
    --accent-gold: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-teal: #14b8a6;
    --accent-blue: #3b82f6;
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    
    --font-main: 'Vazirmatn', sans-serif;
    
    /* تصویر پس‌زمینه (لینک تصویر با کیفیت خود را اینجا بگذارید) */
    --hero-bg: url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?q=80&w=2070&auto=format&fit=crop');
}

* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    direction: rtl;
}

/* ================= HERO SECTION (IMAGE BACKGROUND) ================= */
.hero {
    position: relative;
    min-height: 100vh; /* تمام صفحه */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

/* لایه تصویر پس‌زمینه */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.6); /* کمی تیره‌تر کردن تصویر */
}

/* لایه گرادینت برای محو شدن پایین تصویر */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3,3,5,0.3) 0%, rgba(3,3,5,0.8) 70%, #030305 100%);
    z-index: -1;
}

/* محتوای روی هیرو */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 40%, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* دکمه اصلی */
.btn-hero {
    background: #fff;
    color: #000;
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-hero:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
}

/* ================= NAVBAR ================= */
.navbar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 10;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-symbol {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 900; font-size: 20px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
}
.logo-text {
    font-size: 22px; font-weight: 700; color: #fff;
    letter-spacing: -0.5px;
}

.nav-actions { display: flex; gap: 12px; }

.btn-nav {
    padding: 12px 24px; border-radius: 100px; font-size: 14px; font-weight: 600;
    transition: 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.btn-nav.ghost {
    color: #fff; border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.2); backdrop-filter: blur(5px);
}
.btn-nav.ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; }

.btn-nav.primary { background: #fff; color: #000; }
.btn-nav.primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.3); }

/* ================= FEATURES GRID ================= */
.features {
    max-width: 1200px; margin: -100px auto 100px; /* Overlap Hero */
    padding: 0 20px; position: relative; z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(10, 10, 12, 0.6); /* تیره‌تر */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column;
    height: 320px;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 25, 0.8);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.icon-box {
    width: 60px; height: 60px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
    color: #fff; position: relative; z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-glow {
    position: absolute; top: -50px; right: -50px;
    width: 150px; height: 150px;
    filter: blur(80px); opacity: 0.4; z-index: 1;
    transition: 0.4s;
}
.feature-card:hover .card-glow { opacity: 0.6; filter: blur(60px); }

.card-glow.orange { background: var(--accent-gold); }
.card-glow.teal { background: var(--accent-teal); }
.card-glow.purple { background: var(--accent-purple); }
.card-glow.blue { background: var(--accent-blue); }

.feature-card h3 {
    font-size: 22px; margin-bottom: 12px; font-weight: 700; color: #fff;
    position: relative; z-index: 2;
}
.feature-card p {
    font-size: 15px; color: var(--text-muted); line-height: 1.7;
    position: relative; z-index: 2;
}

/* ================= FOOTER ================= */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 20px;
    text-align: center;
    background: #000;
}
.footer p { font-size: 13px; color: #555; margin-bottom: 20px; }
.socials { display: flex; justify-content: center; gap: 24px; }
.socials a { color: #666; font-size: 20px; transition: 0.2s; }
.socials a:hover { color: #fff; transform: scale(1.2); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 48px; }
    .navbar { padding: 20px; }
    .features { margin-top: 0; } /* Remove overlap on mobile */
    .feature-card { height: auto; min-height: 250px; }
}