/*
Theme Name: LifoAI
Author: Hadi
Version: 1.2
Text Domain: lifoai
*/

html, body,
button, input, select, textarea,
.menu-item, .submenu-item,
h1, h2, h3, h4, h5, h6, p, span {
    font-family:
        -apple-system, BlinkMacSystemFont, /* macOS / iOS */
        "Segoe UI",                        /* Windows */
        Roboto,                            /* Android / ChromeOS */
        "Helvetica Neue", Arial,           /* fallback های قدیمی‌تر */
        sans-serif !important;
}

/* ====== تنظیمات کلی و متغیرها ====== */
:root {
    --gold-primary: #FFD700;
    --gold-dark: #B8860B;
    
    /* ✅ تغییر مهم: شفافیت بیشتر برای دیده شدن افکت شیشه */
    --glass-bg: rgba(15, 15, 15, 0.6); 
    
    /* حاشیه سفید بسیار کمرنگ برای حس شیشه‌ای */
    --glass-border: rgba(255, 255, 255, 0.12);
    
    --text-white: #ffffff;
    --text-gray: #cccccc;
}

body {
    background-color: #000;
    margin: 0;
    /* این پدینگ را برمی‌داریم تا محتوا برود زیر هدر و شیشه‌ای بودن معلوم شود */
    /* padding-top: 80px; */ 
}

/* ====== کانتینر فیکس شده (چسبیده به سقف) ====== */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

/* ====== هدر اصلی (تمام عرض و شیشه‌ای) ====== */
.site-header {
    width: 100%;
    border-radius: 0;
    
    /* ✅ جادوی شیشه‌ای شدن (iOS Blur) */
    background-color: var(--glass-bg);
    
    /* این خط برای کروم و فایرفاکس است */
    backdrop-filter: blur(1px) saturate(180%);
    
    /* ⚠️ این خط برای آیفون (Safari) است - حتما این را هم ۱ کنید */
    -webkit-backdrop-filter: blur(1px) saturate(180%);
    
    /* سایه نرم برای جدا شدن از زمینه */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
    
    transition: background-color 0.3s ease;
}

.header-inner {
    max-width: 1400px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px 25px;
    gap: 20px;
}

/* ====== لوگو (گرادینت طلایی لوکس) ====== */
.site-logo a { text-decoration: none; display: block; }

.logo-text {
    font-size: 24px;
    font-weight: 900;
    /* گرادینت طلایی براق */
    background: linear-gradient(to right, #fff 0%, #FFD700 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* ====== منوی دسکتاپ ====== */
.main-nav { justify-self: center; }

.menu-list {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list a {
    color: rgba(255, 255, 255, 0.8); /* کمی شفاف */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.menu-list a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); /* درخشش متن */
}

/* ====== دکمه سمت راست ====== */
.header-right { display: flex; align-items: center; gap: 15px; }

.gold-gradient-btn {
    display: inline-block;
    /* گرادینت زرد به مشکی */
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    font-weight: 800; /* بولدتر */
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 99px;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.gold-gradient-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #fff 0%, #FFD700 100%); /* روشن‌تر شدن در هاور */
}

/* ====== پنهان‌سازی بخش‌های موبایل در دسکتاپ ====== */
.menu-toggle { display: none; }
.mobile-nav { display: none; }
.menu-overlay { display: none; }


/* ====== استایل موبایل (زیر 900 پیکسل) ====== */
@media (max-width: 900px) {
    
    .header-inner {
        display: flex;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .main-nav { display: none; }
    .desktop-cta { display: none; }

    /* دکمه همبرگری */
    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        flex-direction: column;
        gap: 6px;
        padding: 5px;
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
    }

    /* --- منوی موبایل (شیشه‌ای تمام صفحه) --- */
    .mobile-nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        inset: 0;
        
        /* شیشه‌ای خیلی تیره برای موبایل */
        background: rgba(10, 10, 10, 0.85); 
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        
        z-index: 9999;
        padding: 25px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        visibility: hidden;
    }

    .mobile-nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-nav__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }

    .menu-close {
        background: rgba(255,255,255,0.1);
        border: none;
        color: #fff;
        width: 40px; height: 40px;
        border-radius: 50%;
        font-size: 20px; cursor: pointer;
    }

    .mobile-menu-list {
        list-style: none; margin: 0; padding: 0;
        display: flex; flex-direction: column; gap: 25px;
    }

    .mobile-menu-list a {
        color: #fff;
        text-decoration: none;
        font-size: 24px;
        font-weight: 600;
        display: block;
    }

    .mobile-ctas { margin-top: auto; }
    
    .mobile-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 16px;
        font-size: 18px;
    }
}




/* =========================
   فوتر تیره شبیه Runway
   ========================= */
/* 🎨 پس‌زمینه تیره، متن روشن */
.site-footer{
  background:#0c0c0c;
  color:#eaeaea;
  padding:60px 40px 30px;
  margin-top:0px;
}

/* 🧱 شبکه 4 ستونه دسکتاپ */
.footer-inner{
  max-width:1200px;
  margin:0 auto 40px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:40px 60px;
}

/* 🏷️ تیتر هر ستون */
.footer-col h4{
  margin:0 0 16px;
  font-size:18px;
  font-weight:600;
  color:#9aa3ad; /* خاکستری تیتر مثل نمونه */
}

/* 📋 لیست لینک‌ها */
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:14px 0}
.footer-col a{
  color:#fff;
  text-decoration:none;
  font-size:22px; /* درشت مثل تصویر */
  line-height:1.35;
}
.footer-col a:hover{opacity:.85}

/* ──────────────────────────
   نوار پایینی
   ────────────────────────── */
.footer-bottom{
  max-width:1200px;
  margin:0 auto;
  padding-top:24px;
  border-top:1px solid #262626;
  display:grid;
  grid-template-columns: 1fr auto; /* چپ متن، راست لوگو */
  align-items:center;
  gap:16px;
}

/* متن حقوقی */
.footer-legal{
  font-size:14px;
  color:#cfcfcf;
  line-height:1.6;
}
.footer-legal a{color:#cfcfcf;text-decoration:none}
.footer-legal a:hover{color:#fff}

/* لوگو متنی */
.footer-logo a{
  color:#fff;
  font-weight:800;
  font-size:20px;
  text-decoration:none;
}

/* ──────────────────────────
   حالت موبایل
   ────────────────────────── */
@media (max-width:768px){
  /* ستون‌ها زیر هم، چپ‌چین */
  .footer-inner{
    grid-template-columns: 1fr;
    gap:28px;
    margin-bottom:28px;
  }
  .footer-col a{font-size:20px}

  /* نوار پایینی: اول لوگو، بعد متن */
  .footer-bottom{
    grid-template-columns: 1fr;
    gap:14px;
  }
  .footer-logo{order:1;justify-self:start}
  .footer-legal{order:2;text-align:left}
}