/* استایل‌های سفارشی برای رباتساز کانکت یور بات */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: #ffffff;
    min-height: 100vh;
    color: #333333;
    transition: all 0.3s ease;
}

body.dark {
    background: #111827;
    color: #f3f4f6;
}

.dark .glass {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark .glass-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    color: #f3f4f6;
}

.dark .glass-button {
    color: #f3f4f6;
}

.dark .price-card {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
}

.dark .text-gray-300 {
    color: #d1d5db !important;
}

.dark .text-gray-400 {
    color: #9ca3af !important;
}

.dark .text-gray-500 {
    color: #6b7280 !important;
}

.dark .border-gray-600 {
    border-color: #4b5563 !important;
}

.dark .bg-gray-800 {
    background-color: #1f2937 !important;
}

.dark .plan-tab:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.dark .plan-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    color: #333333;
    transition: all 0.3s ease;
}

.glass-button {
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    color: #333333;
}

.glass-button:hover {
    background: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

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

.pro-gradient {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.feature-icon {
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.price-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333333;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.popular-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    animation: pulse 2s infinite;
}

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

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

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

.telegram-blue {
    color: #0088cc;
}

.success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.text-gray-300 {
    color: #666666 !important;
}

.text-gray-400 {
    color: #888888 !important;
}

.text-gray-500 {
    color: #999999 !important;
}

.border-gray-600 {
    border-color: #cccccc !important;
}

.bg-gray-800 {
    background-color: #f5f5f5 !important;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.plan-tab {
    padding: 0.75rem 2rem;
    cursor: pointer;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.plan-tab:not(.active) {
    background: rgba(0, 0, 0, 0.05);
}

.plan-tab:not(.active):hover {
    background: rgba(0, 0, 0, 0.1);
}

.pro-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.dark .hamburger span {
    background: #f3f4f6;
}

.hamburger span:nth-child(1) {
    top: 6px;
}

.hamburger span:nth-child(2) {
    top: 12px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:n极速加速器h-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 12px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 90;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.dark .mobile-menu {
    background: rgba(17, 24, 39, 0.95);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .mobile-menu a {
    color: #f3f4f6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dark .mobile-menu a:hover {
    color: #8b9df2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 16px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    margin-right: 8px;
    transition: background 0.3s;
}

.dark .toggle-switch {
    background: #4b5563;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    right: 2px;
    transition: transform 0.3s;
}

.dark .toggle-switch::before {
    transform: translateX(-26px);
    background: #f3f4f6;
}

.toggle-icon {
    font-size: 18px;
}

/* Bottom Mobile Menu */
.bottom-mobile-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 70;
    padding: 10px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.dark .bottom-mobile-menu {
    background: rgba(17, 24, 39, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.bottom-menu-items {
    display: flex;
    justify-content: space-around;
}

.bottom-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
}

.dark .bottom-menu-item {
    color: #f3f4f6;
}

.bottom-menu-item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}

.bottom-menu-item:hover {
    color: #667eea;
}

.dark .bottom-menu-item:hover {
    color: #8b9df2;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .dark-mode-toggle {
        margin-right: 0;
        margin-left: 16px;
    }

    .bottom-mobile-menu {
        display: block;
    }
}

/* استایل‌های سفارشی برای آیکون‌ها */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.price-card .price-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.dark .price-card .price-icon {
    color: #8b9df2;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* استایل‌های اضافی برای بهبود ظاهر */
.hero-cta {
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}
