/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Icon Styling */
[data-lucide] {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-icon [data-lucide] {
    color: white;
    width: 24px;
    height: 24px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-desktop a:hover {
    color: #667eea;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.cta-desktop {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

.mobile-menu-btn [data-lucide] {
    color: #374151;
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #667eea;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    top: 80px;
    right: 80px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    bottom: 80px;
    left: 80px;
    animation-delay: 1s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    top: 160px;
    left: 160px;
    animation-delay: 2s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    text-align: right;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.stat {
    text-align: right;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.hero-cta .btn [data-lucide] {
    width: 20px;
    height: 20px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.phone-content {
    padding: 40px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
    height: 100%;
    text-align: center;
}

.app-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.app-icon [data-lucide] {
    color: white;
    width: 32px;
    height: 32px;
}

.phone-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.phone-content p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(-5px);
}

.feature-card [data-lucide] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-card:nth-child(1) [data-lucide] {
    color: #3b82f6;
}

.feature-card:nth-child(2) [data-lucide] {
    color: #8b5cf6;
}

.feature-card:nth-child(3) [data-lucide] {
    color: #10b981;
}

.feature-card span {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: bounce 3s ease-in-out infinite;
}

.floating-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    top: -40px;
    right: -40px;
}

.floating-2 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    bottom: -40px;
    left: -40px;
    animation-delay: 1s;
}

.floating-3 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    top: 50%;
    left: -80px;
    animation-delay: 2s;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
    transform: scale(1.1);
}

.feature-icon [data-lucide] {
    width: 32px;
    height: 32px;
}

.feature-item:nth-child(1) .feature-icon [data-lucide] { color: #3b82f6; }
.feature-item:nth-child(2) .feature-icon [data-lucide] { color: #10b981; }
.feature-item:nth-child(3) .feature-icon [data-lucide] { color: #8b5cf6; }
.feature-item:nth-child(4) .feature-icon [data-lucide] { color: #ef4444; }
.feature-item:nth-child(5) .feature-icon [data-lucide] { color: #f59e0b; }
.feature-item:nth-child(6) .feature-icon [data-lucide] { color: #6366f1; }
.feature-item:nth-child(7) .feature-icon [data-lucide] { color: #ec4899; }
.feature-item:nth-child(8) .feature-icon [data-lucide] { color: #06b6d4; }
.feature-item:nth-child(9) .feature-icon [data-lucide] { color: #84cc16; }

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
    transition: all 0.3s ease;
}

.feature-item:hover h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.popular {
    border: 2px solid #a855f7;
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
    transform: scale(1.1);
}

.service-icon [data-lucide] {
    width: 48px;
    height: 48px;
}

.service-card:nth-child(1) .service-icon [data-lucide] { color: #3b82f6; }
.service-card:nth-child(2) .service-icon [data-lucide] { color: #8b5cf6; }
.service-card:nth-child(3) .service-icon [data-lucide] { color: #10b981; }

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    padding: 8px 0;
    color: #374151;
    position: relative;
    padding-right: 20px;
    font-weight: 500;
}

.service-features li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.service-price {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-bottom: 24px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.price-note {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 4px;
}

.service-btn {
    width: 100%;
    justify-content: center;
}

.service-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.services-cta {
    background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.services-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.services-cta p {
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}

.services-cta .btn [data-lucide] {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

.newsletter {
    border-bottom: 1px solid #374151;
}

.newsletter-content {
    padding: 60px 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-content p {
    color: #9ca3af;
    margin-bottom: 32px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #374151;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-form .btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.footer-main {
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.social-links a [data-lucide] {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-nav a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item [data-lucide] {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item:nth-child(1) [data-lucide] { color: #3b82f6; }
.contact-item:nth-child(2) [data-lucide] { color: #8b5cf6; }
.contact-item:nth-child(3) [data-lucide] { color: #10b981; }

.contact-item p {
    color: white;
    font-weight: 500;
    margin: 0;
}

.contact-item span {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .cta-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta {
        padding: 40px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .feature-item,
    .service-card {
        padding: 24px;
    }
}