/* ============================================
   Bale Notifier - Landing Page Styles
   Theme: Green - با فونت Vazir آفلاین
   ============================================ */

/* تعریف فونت Vazir به صورت آفلاین */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazir-Thin.woff2') format('woff2'),
         url('../fonts/Vazir-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Light.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #15803d;
    --primary-light: #22c55e;
    --primary-dark: #166534;
    --primary-gradient: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    --primary-soft: rgba(34, 197, 94, 0.1);
    
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    
    --text-dark: #1a2634;
    --text-gray: #4a5568;
    --text-light: #64748b;
    
    --border-light: #e2e8f0;
    
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f5 100%);
    color: var(--text-dark);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo span {
    font-size: 26px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-download {
    background: var(--primary-gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a2634, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Mobile Screenshots */
.mobile-screenshots {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
    width: 250px;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-item img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    background: white;
}

.screenshot-item span {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.preview {
    margin: 60px auto 40px;
    max-width: 900px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: white;
}

.preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-light);
}

/* ============================================
   Settings Section
   ============================================ */
.settings {
    padding: 80px 0;
    background: var(--bg-light);
}

.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.settings-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    width: 100%;
}

.settings-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.settings-card-header {
    padding: 28px 32px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    gap: 16px;
}

.settings-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-icon i {
    font-size: 28px;
    color: white;
}

.settings-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.settings-card-body {
    padding: 32px;
}

.settings-card-body img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.settings-card-body p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.settings-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 80px 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo span {
        font-size: 20px;
    }
    
    .mobile-screenshots {
        gap: 20px;
    }
    
    .screenshot-item {
        width: 180px;
    }
    
    .screenshot-item img {
        max-width: 160px;
    }
    
    .settings-grid {
        max-width: 100%;
        gap: 30px;
    }
    
    .settings-card-header {
        padding: 20px 24px;
    }
    
    .settings-icon {
        width: 48px;
        height: 48px;
    }
    
    .settings-icon i {
        font-size: 24px;
    }
    
    .settings-card-header h3 {
        font-size: 20px;
    }
    
    .settings-card-body {
        padding: 24px;
    }
    
    .settings-card-body p {
        font-size: 14px;
    }
}

.settings-card-body #sendtest{
width:50% !important;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo span {
        font-size: 18px;
    }
    
    .mobile-screenshots {
        flex-direction: column;
        align-items: center;
    }
    
    .screenshot-item {
        width: 220px;
    }
    
    .screenshot-item img {
        max-width: 200px;
    }
    
    .settings-card-header {
        padding: 16px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .settings-card-header h3 {
        font-size: 18px;
    }
    
    .settings-card-body {
        padding: 20px;
    }
    
    .cta h2 {
        font-size: 24px;
    }
}