/* ========================================================
   پالت رنگی استخراج شده از لوگوی ویزباکس (Wizbox)
   ======================================================== */
:root {
    --wb-green: #00D287;          /* سبز نئونی و اصلی لوگو */
    --wb-green-dark: #00B873;     /* سبز تیره برای هاور */
    --wb-green-light: #E6FAF2;    /* پس‌زمینه لایت سبز */
    
    --wb-gray: #4A4A4D;           /* رنگ گرافیتی لوگو */
    --wb-gray-dark: #23252B;      /* تیره پس‌زمینه و فوتر */
    --wb-gray-light: #6C757D;     /* متون فرعی */
    
    --wb-bg-light: #F8FAF9;       /* پس‌زمینه سکشن‌ها */
    --wb-card-border: #E8ECEB;    /* کادرهای مینیمال */
    --wb-font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========================================================
   استایل‌های پایه و فونت وزیر
   ======================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--wb-font-main);
    color: #2D3139;
    background-color: #FFFFFF;
    line-height: 1.7;
    overflow-x: hidden;
}

/* تایپوگرافی و کمک‌کننده‌ها */
.fw-extrabold { font-weight: 800; }
.text-accent { color: var(--wb-green) !important; }
.text-accent-dark { color: var(--wb-green-dark) !important; }
.text-dark-primary { color: var(--wb-gray-dark) !important; }
.text-muted-light { color: #A0AEC0 !important; }
.text-muted-dark { color: #525B6A !important; }
.bg-light-surface { background-color: var(--wb-bg-light); }
.bg-accent-subtle { background-color: var(--wb-green-light); }
.bg-gray-subtle { background-color: #ECEEF2; }
.max-w-700 { max-width: 700px; }
.max-w-500 { max-width: 500px; }

/* ========================================================
   دکمه‌ها و المان‌های تعاملی
   ======================================================== */
.btn-brand {
    background-color: var(--wb-green);
    color: #122820;
    font-weight: 700;
    border-radius: 12px;
    padding: 10px 24px;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--wb-green-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 210, 135, 0.3);
}

.btn-outline-custom {
    color: var(--wb-gray);
    border: 1.5px solid var(--wb-gray);
    border-radius: 12px;
    padding: 9px 22px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--wb-gray);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-accent-action {
    background-color: var(--wb-green);
    color: #0E291E;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 20px;
    border: none;
    transition: all 0.3s;
}

.btn-accent-action:hover {
    background-color: #ffffff;
    color: var(--wb-gray-dark);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--wb-green-light);
    color: var(--wb-green-dark);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 210, 135, 0.25);
}

/* ========================================================
   نوار بالا و هدر
   ======================================================== */
.topbar {
    background-color: var(--wb-gray-dark);
}

.main-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wb-card-border);
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.site-logo-sm {
    height: 38px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: #3C424E !important;
    transition: color 0.2s;
    font-size: 0.96rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--wb-green-dark) !important;
}

/* دکمه منوی همبرگری اختصاصی موبایل */
.mobile-menu-btn {
    background: #F1F4F3;
    border-radius: 10px;
    cursor: pointer;
}

.menu-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--wb-gray-dark);
    border-radius: 2px;
}

.nav-link-mobile {
    display: block;
    padding: 12px 16px;
    color: var(--wb-gray-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s;
}

.nav-link-mobile:hover {
    background-color: var(--wb-green-light);
    color: var(--wb-green-dark);
}

/* ========================================================
   سکشن اول (Hero)
   ======================================================== */
.hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F8F6 100%);
}

.hero-blob-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 135, 0.12);
    filter: blur(90px);
    top: -50px;
    left: -50px;
    border-radius: 50%;
    z-index: 0;
}

.hero-blob-2 {
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(74, 74, 77, 0.08);
    filter: blur(80px);
    bottom: -30px;
    right: -50px;
    border-radius: 50%;
    z-index: 0;
}

.text-highlight {
    color: var(--wb-green-dark);
    position: relative;
    display: inline-block;
}

.hero-img {
    border: 6px solid #ffffff;
    box-shadow: 0 25px 60px rgba(35, 37, 43, 0.15);
    max-height: 420px;
    width: 100%;
    object-fit: cover;
}

.hero-image-wrapper {
    position: relative;
}

.floating-stat-card {
    position: absolute;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.card-1 {
    bottom: 25px;
    right: -15px;
}

.card-2 {
    top: 20px;
    left: -15px;
    animation-delay: 2s;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.smaller {
    font-size: 0.78rem;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.partner-name {
    font-weight: 700;
    color: var(--wb-gray);
    font-size: 0.95rem;
}

/* ========================================================
   کارت‌های خدمات ۴ گانه
   ======================================================== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wb-gray-dark);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--wb-card-border);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--wb-green);
    box-shadow: 0 16px 40px rgba(0, 210, 135, 0.12);
}

.service-card.featured {
    border: 2px solid var(--wb-green);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFFFD 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wb-green);
    color: #122820;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 20px;
}

.service-icon-box {
    width: 65px;
    height: 65px;
    margin: 0 auto;
    background: var(--wb-green-light);
    color: var(--wb-green-dark);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--wb-green);
    color: #ffffff;
}

/* ========================================================
   امکانات و جعبه کد API
   ======================================================== */
.feature-item {
    background: #ffffff;
    border: 1px solid var(--wb-card-border);
    transition: border-color 0.2s;
}

.feature-item:hover {
    border-color: var(--wb-green);
}

.feature-icon {
    font-size: 1.4rem;
    color: var(--wb-green-dark);
    background: var(--wb-green-light);
    padding: 8px 12px;
    border-radius: 10px;
}

.bg-dark-card {
    background-color: var(--wb-gray-dark) !important;
}

.code-preview {
    background-color: #18191E;
    border: 1px solid #33363F;
    font-size: 0.88rem;
    direction: ltr;
    text-align: left;
}

/* ========================================================
   پلن‌های قیمت‌گذاری
   ======================================================== */
.pricing-card {
    border: 1px solid var(--wb-card-border);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.featured-pricing {
    border: 2px solid var(--wb-green);
    box-shadow: 0 15px 35px rgba(0, 210, 135, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--wb-green);
    color: #122820;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 8px;
}

/* ========================================================
   بخش فراخوان (CTA) و فوتر
   ======================================================== */
.cta-box {
    background: linear-gradient(135deg, var(--wb-gray-dark) 0%, #353842 100%);
    border: 1px solid #444854;
    box-shadow: 0 20px 50px rgba(35, 37, 43, 0.2);
}

.footer {
    background-color: var(--wb-gray-dark);
    color: #CCD2E0;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover, .hover-accent:hover {
    color: var(--wb-green) !important;
}
