@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX-Regular.woff2') format('woff2');
    font-weight: normal;
}

:root {
    --primary: #0071e3;
    --primary-gradient: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
    --bg-gradient: radial-gradient(circle at top, #f8fafc 0%, #f1f5f9 100%);
    --glass-card: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(226, 232, 240, 0.8);
    --text-dark: #0f172a;
    --text-muted: #475569;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'IRANYekanX', Tahoma, sans-serif; }

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 22px; font-weight: 800; text-decoration: none; color: var(--text-dark); }
.logo span { color: var(--primary); }

.navbar { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.25s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(0, 113, 227, 0.08);
}

/* Top Recommendation Box */
.top-recommendation {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 24px;
    margin: 30px auto 10px auto;
    max-width: 1240px;
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.03);
}
.rec-badge {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.rec-text { font-size: 15px; color: #1e3a8a; font-weight: 600; text-align: justify; }

/* Grid Layout for Professional Services */
.main-content { max-width: 1240px; margin: 20px auto 60px auto; padding: 0 20px; flex-grow: 1; width: 100%; }
.page-title-section { margin-bottom: 35px; text-align: center; }
.page-title-section h1 { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.page-title-section p { color: var(--text-muted); font-size: 15px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(0, 113, 227, 0.2);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary-gradient); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }

.card-header h2, .card-header h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.card-header p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; min-height: 50px; }

.feature-list { list-style: none; margin-bottom: 25px; }
.feature-list li { font-size: 13.5px; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; color: #10b981; font-weight: 900; }

.btn-order {
    display: block; width: 100%; text-align: center; background: #fff; color: var(--primary); border: 2px solid var(--primary); padding: 12px; border-radius: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.2s; font-size: 14.5px;
}
.btn-order:hover { background: var(--primary-gradient); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0, 113, 227, 0.25); }

/* Discount Special Styles */
.discount-container { max-width: 700px; margin: 40px auto; text-align: center; }
.coupon-box {
    background: #fff; border: 2px dashed var(--primary); border-radius: 16px; padding: 25px; display: flex; justify-content: space-between; align-items: center; margin: 30px 0; gap: 15px;
}
.coupon-code { font-size: 24px; font-weight: 900; color: #1e293b; letter-spacing: 2px; direction: ltr; }
.btn-copy { background: var(--text-dark); color: #fff; border: none; padding: 12px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-copy:hover { background: #1e293b; }

/* Footer */
.main-footer { text-align: center; padding: 25px; border-top: 1px solid var(--glass-border); background: rgba(255,255,255,0.5); margin-top: auto; font-size: 13px; color: #94a3b8; }

/* Responsive */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .navbar { justify-content: center; }
    .top-recommendation { flex-direction: column; text-align: center; }
    .coupon-box { flex-direction: column; }
}