/* ============================================
   VSEC Protection - Main Stylesheet
   Theme: Dark Purple Gradient
   ============================================ */

/* ============================================
   1. Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    direction: rtl;
    text-align: right;
}

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

/* ============================================
   2. Header & Navigation
   ============================================ */
header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #6366f1;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-links a:hover {
    color: #6366f1;
}

/* ============================================
   3. Hero Section
   ============================================ */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Main Hero Title - Special Styling */
.hero-main-title {
    font-size: 52px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.title-icon {
    font-size: 58px;
    animation: plugPulse 2s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
}

@keyframes plugPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(99, 102, 241, 1));
    }
}

.title-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
}

.title-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 38px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    line-height: 2;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    position: relative;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #c7c7ff;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* ============================================
   4. Sections Common
   ============================================ */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #6366f1;
}

.section-subtitle {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 20px;
    font-size: 18px;
}

.section-subtitle:last-of-type {
    margin-bottom: 50px;
}

/* ============================================
   5. Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #a0a0a0;
    line-height: 1.8;
}

/* ============================================
   6. How it works Section
   ============================================ */
.steps {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.step p {
    color: #a0a0a0;
}

.security-box {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.security-box h3 {
    color: #6366f1;
    margin-bottom: 15px;
    font-size: 22px;
}

.security-box p {
    color: #a0a0a0;
    margin-bottom: 20px;
}

.security-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.security-badges span {
    color: #6366f1;
    font-size: 15px;
}

/* ============================================
   7. Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.popular {
    border-color: #6366f1;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.pricing-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-desc {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: bold;
    color: #6366f1;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 16px;
    color: #a0a0a0;
}

.pricing-note {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 15px;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: right;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.pricing-features li:before {
    content: "✓";
    color: #6366f1;
    font-weight: bold;
    margin-left: 10px;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* ============================================
   8. FAQ Section
   ============================================ */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.5);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.1);
}

.faq-toggle {
    transition: transform 0.3s;
    color: #6366f1;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #a0a0a0;
    display: none;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Video Demo Section */
.video-demo-section {
    background: rgba(99, 102, 241, 0.05);
    padding: 80px 0;
}

.video-section {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
    max-width: 1000px;
}

.video-section h2 {
    color: #6366f1;
    margin-bottom: 15px;
    font-size: 28px;
}

.video-desc {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 16px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
    background: #000;
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Additional Price Box */
.additional-price-box {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.additional-price-box p {
    color: #6366f1;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 768px) {
    .video-section {
        padding: 20px;
    }
    
    .additional-price-box {
        margin: 40px 20px 0;
    }
}

/* ============================================
   10. Footer
   ============================================ */
footer {
    background: rgba(10, 14, 39, 0.95);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 40px;
}

footer p {
    color: #a0a0a0;
}

/* ============================================
   11. Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1f3a;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    color: #6366f1;
    margin-bottom: 20px;
    font-size: 26px;
}

.modal-content p {
    color: #a0a0a0;
    margin-bottom: 20px;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #a0a0a0;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.phone-number {
    font-size: 32px;
    font-weight: bold;
    color: #6366f1;
    margin: 20px 0;
    letter-spacing: 2px;
    direction: ltr;
}

.contact-time {
    margin-top: 20px;
    font-size: 14px;
}

.modal-btn {
    margin-top: 30px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Vazir', Tahoma, sans-serif;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}
/* Video Demo Section */
.video-demo-section {
    background: rgba(99, 102, 241, 0.05);
}

.video-section {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
    max-width: 1000px;
}

.video-section h2 {
    color: #6366f1;
    margin-bottom: 15px;
    font-size: 28px;
}

.video-desc {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 16px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Additional Price Box */
.additional-price-box {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.additional-price-box p {
    color: #6366f1;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 768px) {
    .video-section {
        padding: 20px;
    }
    
    .additional-price-box {
        margin: 40px 20px 0;
    }
}
/* ============================================
   12. Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
    }
    
    .title-icon {
        font-size: 42px;
    }
    
    .title-text {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .video-section {
        padding: 20px;
    }
    
    .phone-number {
        font-size: 24px;
    }
    
    .steps {
        flex-direction: column;
    }
}