@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/misc/Farsi-Digits/font-face.css');

:root {
    --bg-dark: #050505;
    --bg-surface: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    /* طیف برنزی برای گرما و لوکس بودن */
    --bronze: #cd7f32;
    --bronze-glow: rgba(205, 127, 50, 0.3);

    /* طیف نقره‌ای و لایت‌مون برای تکنولوژی */
    --silver: #e0e0e0;
    --moon-light: #f8f9fa;
    --moon-glow: 0 0 25px rgba(224, 224, 224, 0.15);

    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--moon-light);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--moon-light);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 28px;
    height: 2px;
    background-color: var(--silver);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(30, 30, 30, 0.4) 0%, rgba(5, 5, 5, 1) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.tagline {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--bronze);
    color: var(--bronze);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    background: rgba(205, 127, 50, 0.05);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--moon-light);
    letter-spacing: -1px;
}

.text-gradient-silver {
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--moon-light);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--silver);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--silver);
    background: rgba(255, 255, 255, 0.03);
}

/* Process Flow Section */
.process-section {
    padding: 6rem 5%;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--moon-light);
    margin-bottom: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

/* خط اتصال بین مراحل */
.process-grid::after {
    content: '';
    position: absolute;
    top: 50px; /* تنظیم ارتفاع خط */
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
    z-index: 0;
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 100px;
    height: 100px;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: var(--moon-glow);
}

.icon-box svg {
    width: 40px;
    height: 40px;
    stroke: var(--silver);
    stroke-width: 1.5;
}

.process-step:hover .icon-box {
    border-color: var(--bronze);
    transform: scale(1.05);
}

.process-step:hover .icon-box svg {
    stroke: var(--bronze);
}

.process-step h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 1rem;
}

/* Features Grid */
.features-section {
    padding: 6rem 5%;
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, #121212, #0a0a0a);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--silver);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.feature-card .card-icon {
    margin-bottom: 1.5rem;
    color: var(--bronze);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--moon-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Box Section */
.contact-cta {
    padding: 6rem 5%;
    background: var(--bg-dark);
}

.contact-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 1px solid var(--bronze);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(205, 127, 50, 0.15);
    border-color: #fff;
}

.contact-box h2 {
    font-size: 2.5rem;
    color: var(--moon-light);
    margin-bottom: 1.5rem;
}

.contact-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--bronze);
    font-size: 1.3rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.email-box:hover {
    background: var(--bronze);
    color: var(--bg-dark);
    border-color: var(--bronze);
    transform: scale(1.05);
}

.email-box svg {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    background: #020202;
    padding: 4rem 5%;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--bronze);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--silver);
}

/* Animations */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-element.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero h1 { font-size: 2.5rem; }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-grid::after {
        display: none; /* مخفی کردن خط در موبایل */
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

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