.web-dev-page {
    background: var(--dark-bg);
    min-height: 100vh;
    font-family: "Vazir", sans-serif;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(93, 63, 211, 0.1);
    border: 1px solid rgba(93, 63, 211, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.code-window {
    background: #1e1e2e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Fira Code', monospace;
    text-align: left;
    direction: ltr;
}

.window-header {
    background: #252535;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca3f;
}

.window-body {
    padding: 24px;
    color: #a9b1d6;
    font-size: 0.95rem;
    line-height: 1.8;
}

.keyword {
    color: #bb9af7;
}

.variable {
    color: #7aa2f7;
}

.class {
    color: #e0af68;
}

.method {
    color: #7dcfff;
}

.string {
    color: #9ece6a;
}

.boolean {
    color: #ff9e64;
}

.comment {
    color: #565f89;
    font-style: italic;
}

.service-intro {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-card:first-child {
    grid-column: span 2;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-types {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.type-card {
    background: var(--dark-elevated);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.type-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, rgba(93, 63, 211, 0.1), var(--dark-elevated));
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.type-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.type-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.type-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.type-features {
    list-style: none;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.type-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.service-process {
    padding: 80px 0;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    left: 20px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-advantages {
    padding: 100px 0;
}

.advantages-wrapper {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.advantage-item i {
    font-size: 2rem;
    margin-bottom: 16px;
    color: white;
}

.advantage-item h4 {
    font-size: 1rem;
    font-weight: 500;
}

.service-faq {
    padding: 80px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.final-cta {
    padding: 80px 0 120px;
}

.cta-box {
    text-align: center;
    background: rgba(30, 30, 40, 0.6);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 18px) clamp(28px, 3vw, 36px);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 52px;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(93, 63, 211, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(93, 63, 211, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}



    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.2rem;
        }

        .intro-grid {
            grid-template-columns: 1fr;
        }

        .advantages-wrapper {
            padding: 30px;
        }

        .cta-box {
            padding: 40px 20px;
        }
}
