/* تنظیمات فونت لوکال */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- کامپوننت‌های عمومی --- */
.section-padding { padding: 100px 0; }

.section-header { margin-bottom: 60px; text-align: center; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.tagline {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.15);
    color: #818cf8;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(79, 70, 229, 0.3);
}

/* --- دکمه‌ها --- */
.btn-modern {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-modern.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5);
}
.btn-modern.primary:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.6); }

.btn-modern.glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}
.btn-modern.glass:hover { background: rgba(255, 255, 255, 0.1); }

.btn-modern.large { padding: 18px 48px; font-size: 1.1rem; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
    opacity: 0.25;
    filter: blur(100px);
    z-index: -1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #818cf8;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.trust-indicators {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.indicator strong { display: block; font-size: 1.5rem; color: white; }
.indicator span { font-size: 0.9rem; color: var(--text-muted); }

/* --- Ecosystem Visual --- */
.ecosystem-cards {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.service-card {
    position: absolute;
    width: 240px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transition: 0.5s;
}

.service-card:hover {
    z-index: 10;
    transform: scale(1.1) !important;
    border-color: var(--primary);
}

.hipsp { top: 20%; right: 10%; transform: rotate(-5deg); z-index: 1; }
.console { top: 10%; left: 15%; transform: rotate(5deg); z-index: 2; background: rgba(79, 70, 229, 0.15); }
.falcon { bottom: 10%; right: 50%; transform: translateX(50%) rotate(0deg); z-index: 3; border-color: var(--secondary); }

.card-icon { font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; opacity: 0.7; }
.service-card h4 { font-size: 1.2rem; margin-bottom: 5px; }
.service-card span { font-size: 0.85rem; color: #cbd5e1; }

/* --- Products Section --- */
.products-section { background: #0b1120; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-10px); border-color: var(--primary); background: rgba(30, 41, 59, 0.6); }

.product-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.product-header h3 { font-size: 1.4rem; color: #fff; }

.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-box.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.icon-box.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.icon-box.orange { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

.feature-list { list-style: none; margin: 20px 0; flex-grow: 1; }
.feature-list li { margin-bottom: 12px; color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; }
.feature-list li::before { content: '•'; color: var(--primary); font-weight: bold; margin-left: 10px; font-size: 1.2rem; }

.card-link { text-decoration: none; color: var(--primary); font-weight: bold; display: inline-flex; align-items: center; margin-top: auto; }
.card-link:hover { color: #818cf8; transform: translateX(5px); }

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card-modern {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0) 100%);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: 0.3s;
}
.feature-card-modern:hover { border-color: var(--primary); transform: translateY(-5px); }

.feature-icon-box { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature-icon-box.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.feature-icon-box.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.feature-icon-box.orange { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.feature-icon-box.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* --- Timeline --- */
.timeline-section { background: #0f172a; }
.timeline { display: flex; justify-content: space-between; margin-top: 60px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 25px; right: 0; left: 0; height: 2px; background: var(--glass-border); z-index: 0; }
.timeline-item { position: relative; z-index: 1; flex: 1; text-align: center; }
.step-marker { width: 50px; height: 50px; background: var(--dark-bg); border: 2px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: bold; font-size: 1.2rem; box-shadow: 0 0 15px rgba(79, 70, 229, 0.3); }

/* --- Security --- */
.security-section { background: linear-gradient(to bottom, #0f172a, #0b1120); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.security-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }
.shield-lock { margin: 0 auto; color: var(--primary); filter: drop-shadow(0 0 20px rgba(79, 70, 229, 0.5)); animation: pulse-shield 3s infinite; }
@keyframes pulse-shield { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } }

/* --- FAQ --- */
.faq-section { background: #0b1120; }
.faq-item { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; }
.faq-answer { padding: 0 20px 20px; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--primary); }

/* --- CTA --- */
.cta-section { padding: 100px 0; }
.cta-card { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); border-radius: 30px; padding: 80px 40px; text-align: center; border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.2), transparent 50%); }
.cta-note { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }

/* --- Footer --- */
footer { background: #020617; padding: 60px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }


   /* استایل‌های تکمیلی برای هدر و فوتر که در فایل اصلی نبود */
   /* Navbar Style */
        .navbar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            z-index: 100;
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--glass-border);
        }
        .nav-content { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.5rem; font-weight: bold; color: white; text-decoration: none; }
        .nav-links a { color: var(--text-muted); margin-right: 20px; font-size: 0.95rem; }
        .nav-links a:hover, .nav-links a.active { color: white; }
        
        
        .navbar {
            position: fixed; /* چسبان شدن منو */
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 0;
            z-index: 1000;
            background: rgba(15, 23, 42, 0.85); /* پس‌زمینه نیمه‌شفاف */
            backdrop-filter: blur(12px); /* افکت بلور */
            border-bottom: 1px solid var(--glass-border);
            transition: all 0.3s ease;
        }
        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 1.6rem;
            font-weight: 900;
            color: white;
            text-decoration: none;
            letter-spacing: -1px;
        }
        .logo span { color: var(--primary); }
        
        .nav-links { display: flex; align-items: center; gap: 30px; }
        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: 0.3s;
            position: relative;
        }
        .nav-links a:hover, .nav-links a.active {
            color: white;
        }
        /* خط زیر لینک فعال */
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        
        /* تنظیمات فاصله برای اینکه هدر محتوا را نپوشاند */
        .hero { padding-top: 120px; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .trust-indicators { justify-content: center; }
    .ecosystem-cards { height: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; perspective: none; margin-top: 40px; }
    .service-card { position: relative; top: auto !important; left: auto !important; right: auto !important; transform: none !important; width: 100%; max-width: 350px; }
    .timeline { flex-direction: column; gap: 40px; }
    .timeline::before { width: 2px; height: 100%; right: 50%; top: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-container { grid-template-columns: 1fr; margin-top: 20px; }
            .page-title { font-size: 2rem; }
}

@media (max-width: 600px) {
    .gradient-text { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-container { grid-template-columns: 1fr; margin-top: 20px; }
            .page-title { font-size: 2rem; }
}

@media (max-width: 768px) {
            .nav-links { display: none; } /* در موبایل برای سادگی مخفی شده، می‌توانید منوی همبرگری اضافه کنید */
            .logo { font-size: 1.4rem; }
            .contact-container { grid-template-columns: 1fr; margin-top: 20px; }
            .page-title { font-size: 2rem; }
        }