:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-left: 0.5rem;
}

.btn-login {
    background: var(--gradient);
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-left: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: bold;
}

.btn-primary {
    background: var(--gradient);
    border: none;
}

/* Floating Phone Animation */
.floating-phone {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.floating-phone i {
    font-size: 4rem;
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Social Section */
.social-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 1rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-link i {
    margin-left: 0.5rem;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link:hover {
    transform: scale(1.05);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .social-link {
        display: block;
        margin: 1rem 0;
    }
}
/* Add to the end of style.css */

/* Mobile Menu Button (will be added by JS) */
.mobile-menu-btn {
    transition: all 0.3s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Mobile Overlay */
.mobile-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


@supports (padding: max(0px)) {
    .container {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
}