/* ============================================
   LILO NATURE - MASTER STYLESHEET
   استایل مادر گروه صنعتی چوب رنگ لیلو
   نسخه: 2.0 | طراحی: طاها قاسمی
   ============================================ */

/* ============================================
   ۱. متغیرهای رنگی - طبیعت سبز
   ============================================ */
:root {
    /* رنگ‌های اصلی طبیعت */
    --nature-dark: #0d1f12;
    --nature-primary: #1a3a2a;
    --nature-medium: #2d6a4f;
    --nature-light: #52b788;
    --nature-lighter: #b7e4c7;
    --nature-bg: #f0f7f2;
    
    /* رنگ‌های متن */
    --text-dark: #0d1f12;
    --text-light: #ffffff;
    --text-muted: #5a7a6a;
    
    /* رنگ‌های تاکیدی */
    --gold: #74c69d;
    --gold-light: #b7e4c7;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #2563eb;
    
    /* شیشه‌ای */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-dark: rgba(13, 31, 18, 0.6);
    --glass-dark-strong: rgba(13, 31, 18, 0.85);
    
    /* سایه‌ها */
    --shadow-sm: 0 2px 20px rgba(13, 31, 18, 0.06);
    --shadow-md: 0 8px 40px rgba(13, 31, 18, 0.10);
    --shadow-lg: 0 20px 80px rgba(13, 31, 18, 0.15);
    --shadow-xl: 0 40px 120px rgba(13, 31, 18, 0.20);
    --shadow-glow: 0 8px 40px rgba(82, 183, 136, 0.3);
    
    /* گوشه‌ها */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-pill: 50px;
    
    /* انتقال */
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   ۲. تنظیمات پایه
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, 'Segoe UI', Arial, sans-serif;
    background: var(--nature-bg);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    line-height: 1.7;
}

/* ============================================
   ۳. اسکرول بار مدرن
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--nature-bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--nature-light), var(--nature-medium));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--nature-medium), var(--nature-light));
}

/* ============================================
   ۴. هدر شیشه‌ای (سازگار با صفحات عمومی)
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 32px;
    height: 80px;
    background: var(--glass-dark);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.main-header.scrolled {
    background: var(--glass-dark-strong);
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(82, 183, 136, 0.2));
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, var(--nature-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--nature-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: #fff;
    background: rgba(82, 183, 136, 0.15);
}

.nav-link.active::after {
    width: 60%;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--nature-light), var(--nature-medium));
    color: var(--text-light);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fff, var(--nature-lighter));
    opacity: 0;
    transition: var(--transition);
}

.login-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.login-btn:hover::before {
    opacity: 0.15;
}

.login-btn i,
.login-btn span {
    position: relative;
    z-index: 1;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   ۵. هدر صفحه (Page Header) - طبیعت
   ============================================ */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--nature-dark);
    overflow: hidden;
    padding: 120px 32px 80px;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(82, 183, 136, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 50%, rgba(45, 106, 79, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, #0d1f12 0%, #1a3a2a 50%, #0d1f12 100%);
}

.page-header .hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.page-header .header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroFadeIn 1.5s ease;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

.page-header .header-badge {
    display: inline-block;
    padding: 6px 24px;
    border-radius: var(--radius-pill);
    background: rgba(82, 183, 136, 0.12);
    border: 1px solid rgba(82, 183, 136, 0.2);
    color: var(--nature-light);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.page-header .header-badge i {
    margin-left: 8px;
}

.page-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.page-header h1 .highlight {
    background: linear-gradient(135deg, var(--nature-light), var(--nature-lighter), var(--nature-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmerGreen 4s ease-in-out infinite;
}

@keyframes shimmerGreen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-header p {
    font-size: clamp(16px, 1.5vw, 20px);
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   ۶. دکمه‌های پایه
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-pill);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 50px;
    position: relative;
    overflow: hidden;
}

.btn:hover:not(:disabled) {
    transform: translateY(-3px);
}

.btn:active:not(:disabled) {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nature-light), var(--nature-medium));
    color: var(--text-light);
    box-shadow: 0 8px 30px rgba(82, 183, 136, 0.2);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.08);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(82, 183, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--nature-light);
    border: 2px solid var(--nature-light);
}

.btn-outline:hover:not(:disabled) {
    background: var(--nature-light);
    color: var(--text-light);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #15803d);
    color: var(--text-light);
}

.btn-danger {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger);
    color: var(--text-light);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    min-height: 38px;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 17px;
    min-height: 60px;
}

/* ============================================
   ۷. کارت‌های شیشه‌ای (Glass Cards)
   ============================================ */
.glass-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(82, 183, 136, 0.15);
}

.glass-card-dark {
    background: linear-gradient(145deg, var(--nature-primary), var(--nature-dark));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.glass-card-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   ۸. بخش‌های عمومی
   ============================================ */
.section {
    padding: 80px 32px;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 20px;
    border-radius: var(--radius-pill);
    background: rgba(82, 183, 136, 0.1);
    color: var(--nature-light);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--nature-light);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================
   ۹. فرم‌ها
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group label .required {
    color: var(--danger);
    margin-right: 2px;
}

.form-group .hint {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 5px;
    padding-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-sm);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background: var(--nature-bg);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--nature-light);
    outline: none;
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.08);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper:focus-within i {
    opacity: 0.9;
    color: var(--nature-light);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    padding-right: 48px;
}

/* ============================================
   ۱۰. پیام‌ها
   ============================================ */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    border-right: 4px solid;
    background: #fff;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease;
    margin-bottom: 16px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    border-color: var(--success);
    color: #155724;
    background: #f0fdf4;
}
.alert-success i { color: var(--success); }

.alert-danger {
    border-color: var(--danger);
    color: #721c24;
    background: #fef2f2;
}
.alert-danger i { color: var(--danger); }

.alert-warning {
    border-color: var(--warning);
    color: #856404;
    background: #fffbeb;
}
.alert-warning i { color: var(--warning); }

.alert-info {
    border-color: var(--info);
    color: #0c5460;
    background: #eff6ff;
}
.alert-info i { color: var(--info); }

/* ============================================
   ۱۱. فوتر
   ============================================ */
.main-footer {
    background: var(--nature-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
    opacity: 0.4;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--nature-light);
    padding-right: 4px;
}

.footer-column ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-column ul li i {
    color: var(--nature-light);
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
    background: rgba(82, 183, 136, 0.1);
    color: var(--nature-light);
    transform: translateY(-2px);
    border-color: rgba(82, 183, 136, 0.15);
}

/* ============================================
   ۱۲. انیمیشن‌های عمومی
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn { animation: fadeIn 0.8s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.6s ease forwards; }

/* ============================================
   ۱۳. اسپینر
   ============================================ */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-top-color: var(--nature-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 0;
}

.loading-spinner.active {
    display: flex;
}

.loading-spinner span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   ۱۴. Badge و Pill
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(82, 183, 136, 0.12);
    color: var(--nature-light);
}

.badge-success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
}

.badge-danger {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
}

.badge-warning {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.badge-gold {
    background: rgba(116, 198, 157, 0.15);
    color: var(--gold);
}

.pill {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: rgba(82, 183, 136, 0.08);
    color: var(--nature-light);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   ۱۵. Dark Mode Support
   ============================================ */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: #0d1f12;
        border-color: rgba(255, 255, 255, 0.04);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #0d1f12;
        border-color: rgba(255, 255, 255, 0.06);
        color: var(--nature-lighter);
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: #1a3a2a;
    }
}

/* ============================================
   ۱۶. پاسخگو (Responsive)
   ============================================ */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 24px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0 16px;
        height: 64px;
    }

    .brand-name {
        font-size: 16px;
    }
    .brand-logo {
        height: 32px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(13, 31, 18, 0.95);
        padding: 16px 24px;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .hamburger-menu {
        display: flex;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .page-header {
        min-height: 40vh;
        padding: 100px 16px 60px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
        min-height: 50px;
    }
}
/* ============================================
   نوار ناوبری - Dropdown
   ============================================ */

/* آیتم Dropdown */
.nav-dropdown {
    position: relative;
}

/* دکمه Toggle */
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.active .nav-dropdown-arrow {
    transform: rotate(180deg);
}

/* منوی Dropdown */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) translateY(-10px);
    min-width: 280px;
    background: rgba(13, 31, 18, 0.98);
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    pointer-events: none;
}

/* فلش بالای Dropdown */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(13, 31, 18, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
    pointer-events: auto;
}

/* آیتم‌های Dropdown */
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-dropdown-item:hover {
    background: rgba(82, 183, 136, 0.12);
    color: #fff;
    padding-right: 18px;
}

.nav-dropdown-item.active {
    background: rgba(82, 183, 136, 0.15);
    color: var(--nature-light);
}

.nav-dropdown-item > i {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.15), rgba(45, 106, 79, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nature-light);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-dropdown-item:hover > i,
.nav-dropdown-item.active > i {
    background: linear-gradient(135deg, var(--nature-light), var(--nature-medium));
    color: #fff;
    transform: scale(1.05);
}

.nav-dropdown-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-dropdown-item > div span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.nav-dropdown-item > div small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    line-height: 1.4;
}

.nav-dropdown-item:hover > div small,
.nav-dropdown-item.active > div small {
    color: rgba(255, 255, 255, 0.6);
}

/* خط جداکننده */
.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 4px;
}

/* ============================================
   موبایل - Dropdown
   ============================================ */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        padding: 8px 0 0 0;
        margin-top: 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        opacity: 0;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 600px;
        opacity: 1;
        margin-top: 8px;
    }

    .nav-dropdown-item {
        padding: 10px 12px;
    }

    .nav-dropdown-item > i {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .nav-dropdown-item > div span {
        font-size: 13px;
    }

    .nav-dropdown-item > div small {
        font-size: 10px;
    }
}
/* ==========================================================
   LILO OFFICIAL LOGO - Nature Green Brand System
   ========================================================== */
.brand-logo,
.footer-logo {
    object-fit: contain;
    object-position: center;
}
.brand-logo {
    height: 52px;
    width: auto;
    max-width: 220px;
    filter: drop-shadow(0 0 18px rgba(82,183,136,.18));
}
.footer-logo {
    height: 58px;
    width: auto;
    max-width: 240px;
    filter: drop-shadow(0 0 18px rgba(183,228,199,.14));
}
@media (max-width: 700px) {
    .brand-logo { height: 44px; max-width: 190px; }
    .footer-logo { height: 50px; max-width: 210px; }
}
