/* style.css - آژانس خلاق بزیه (Bezier.ir) */

/* ۱. وارد کردن فونت ارزشمند و معتبر ایران سنس با اولویت وب‌فونت محلی */
@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX-Medium.woff2') format('woff2'),
         url('../fonts/IRANSansX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansX-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ۲. ساخت متغیرهای تعاملی CSS رنگ‌ها بر اساس پیشرفت بزیه (تم تاریک به عنوان تم پیش فرض) */
:root {
    --bg-universe: #020205;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --card-background: rgba(10, 10, 18, 0.45);
    --border-universe: rgba(255, 255, 255, 0.06);
    --input-background: rgba(255, 255, 255, 0.03);
    
    --accent: #ec4899;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --shadow-main: rgba(0, 0, 0, 0.55);
    --header-bg: rgba(4, 4, 9, 0.75);
    
    --font-sans: 'IRANSansX', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* سوئیچ پویای تم روشن - به صورت اتوماتیک با کشیدن هندل بزیه در جاوااسکریپت فعال می‌شود */
body.theme-light {
    --bg-universe: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --card-background: rgba(255, 255, 255, 0.72);
    --border-universe: rgba(15, 23, 42, 0.08);
    --input-background: rgba(15, 23, 42, 0.02);
    
    --accent: #db2777;
    --accent-purple: #9333ea;
    --accent-blue: #2563eb;
    --shadow-main: rgba(31, 38, 135, 0.05);
    --header-bg: rgba(255, 255, 255, 0.85);
}

/* ۳. ریست و ساختار صفحه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-universe);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.max-w-small {
    max-w: 720px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ۴. شبیه‌ساز گلس مورفیسم */
.glass {
    background: var(--card-background);
    border: 1px solid var(--border-universe);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px var(--shadow-main);
    transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* افکت‌های نوری پس‌زمینه شناور */
.blob-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -10;
    pointer-events: none;
    transition: background 0.8s ease, transform 1s ease;
}

.blob-1 {
    top: 50px;
    right: 5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 75%);
    animation: flowPulse 10s infinite alternate ease-in-out;
}

.blob-2 {
    top: 35%;
    left: 5%;
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 75%);
    animation: flowPulse 12s infinite alternate-reverse ease-in-out;
}

.blob-3 {
    bottom: 50px;
    right: 25%;
    width: 32vw;
    height: 32vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.11) 0%, transparent 75%);
    animation: flowPulse 9s infinite alternate ease-in-out;
}

@keyframes flowPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(30px, -20px); opacity: 1; }
}

/* ۵. هدر استایل */
.main-header {
    position: sticky;
    top: 15px;
    z-index: 100;
    margin: 15px auto;
    width: calc(100% - 2rem);
    max-width: 1152px;
    padding: 10px 24px;
    border-radius: 20px;
    background: var(--header-bg);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-svg-vector {
    width: 40px;
    height: 40px;
    transition: transform 0.5s ease;
}

.logo-wrapper:hover .logo-svg-vector {
    transform: rotate(12deg);
}

.logo-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.brand-accent {
    background: linear-gradient(to left, #ec4899, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.brand-subtitle {
    font-size: 8px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ۶. دکمه‌ها و افکت‌های تابش رادیوم */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    color: var(--text-primary);
    padding: 8px 16px;
    font-size: 11px;
}

.btn-header-contact:hover {
    background: var(--border-universe);
}

.icon-pulse {
    font-size: 7px;
    animation: iconBlink 2s infinite;
}

@keyframes iconBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 60%, var(--accent-blue) 100%);
    color: #ffffff;
    padding: 10px 18px;
    font-weight: 800;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent) 100%);
    color: #ffffff;
    padding: 15px 28px;
    font-size: 12px;
    border-radius: 16px;
    font-weight: 800;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
    color: #ffffff;
    padding: 12px 24px;
    font-size: 12px;
    border-radius: 14px;
    font-weight: 800;
}

.btn-outline {
    background: var(--input-background);
    color: var(--text-primary);
    border: 1px solid var(--border-universe);
    padding: 15px 28px;
    font-size: 12px;
    border-radius: 16px;
    font-weight: 800;
}

.btn-outline:hover {
    background: var(--border-universe);
}

/* انیمیشن تابش دکمه‌های طلایی */
@keyframes glowSparks {
    0%, 100% {
        box-shadow: 0 0 10px 1px rgba(236, 72, 153, 0.35), 0 0 16px 2px rgba(168, 85, 247, 0.15);
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(236, 72, 153, 0.7), 0 0 32px 6px rgba(168, 85, 247, 0.4);
    }
}

.shadow-glow-btn, .btn-cta {
    animation: glowSparks 3.5s infinite ease-in-out;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ۷. بخش هیرو */
.hero-section {
    padding: 110px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-cols: 1.25fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: #c084fc;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

body.theme-light .hero-badge {
    background: rgba(168, 85, 247, 0.06);
    color: var(--accent-purple);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 14px;
    color: var(--text-muted);
    text-align: justify;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px dashed var(--border-universe);
    padding-top: 24px;
    margin-top: 32px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 22px;
    font-weight: 900;
    font-family: monospace;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ۸. بخش ابزار تعاملی بزیه */
.bezier-widget-wrapper {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-b: 1px solid var(--border-universe);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.widget-badge {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--accent-purple);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.widget-header h3 {
    font-size: 17px;
    font-weight: 800;
}

.widget-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    background: var(--input-background);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--border-universe);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.widget-subtitle-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.blue-highlight { color: var(--accent-blue); }
.purple-highlight { color: var(--accent-purple); }

.svg-canvas-box {
    background: #040409;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 6px;
}

/* استایل هندل‌های لنگر بزیه */
.draggable-handle {
    cursor: grab;
}

.draggable-handle:active {
    cursor: grabbing;
}

.handle-ring {
    transition: transform 0.2s;
}

.draggable-handle:hover .handle-ring {
    transform: scale(1.25);
}

.guide-line {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1.5;
    stroke-dasharray: 4,4;
}

body.theme-light .guide-line {
    stroke: rgba(15, 23, 42, 0.12);
}

.coordinates-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    font-size: 10px;
}

.coord-box {
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.coord-label {
    color: var(--text-muted);
    font-size: 9px;
    margin-bottom: 2px;
}

.coord-value {
    font-weight: 700;
}

.text-blue { color: #60a5fa; }
.text-purple { color: #c084fc; }

.theme-slider-track {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    font-size: 11px;
}

.slider-label {
    font-weight: 700;
}

.visual-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-light .visual-progress-bar {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.04);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    border-radius: 50px;
    transition: width 0.1s;
}

/* ۹. جداکننده سکشن */
.decorative-separator {
    width: 100%;
    max-width: 1152px;
    margin: 20px auto;
    padding: 0 24px;
}

@keyframes pingPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(3); opacity: 0.8; }
}

.separator-ping-1, .separator-ping-2 {
    transform-origin: center;
    animation: pingPulse 4s infinite;
}

.separator-ping-2 {
    animation-delay: 2s;
}

/* ۱۰. سکشن خدمات با فیلتر دسته‌بندی پیج */
.services-section {
    padding: 60px 0;
}

.badge-category {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.15);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 13px;
    line-height: 1.7;
}

.text-muted {
    color: var(--text-muted);
}

.filter-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--border-universe);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 60%, var(--accent-blue) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 24px -6px rgba(236, 72, 153, 0.3);
}

.services-cards-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* استایل دهی به کارت‌های خدمات */
.srv-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s;
}

.srv-card:hover {
    transform: translateY(-6px);
}

.srv-gradient-halo {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.4s;
}

.srv-card:hover .srv-gradient-halo {
    transform: scale(1.5);
}

.shadow-blue { background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%); }
.shadow-pink { background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }
.shadow-purple { background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%); }
.shadow-rose { background: radial-gradient(circle, #f43f5e 0%, transparent 70%); }

.card-top {
    position: relative;
    z-index: 5;
    margin-bottom: 16px;
}

.flex-row {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.icon-block {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

body.theme-light .icon-block {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.stroke-blue { color: var(--accent-blue); }
.stroke-pink { color: var(--accent); }
.stroke-purple { color: var(--accent-purple); }
.stroke-rose { color: #f43f5e; }

.card-badge {
    font-size: 8px;
    font-weight: 700;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    padding: 4px 10px;
    border-radius: 50px;
}

.card-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.card-title-en {
    font-size: 8px;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-description {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.card-features-list {
    border-top: 1px dashed var(--border-universe);
    padding-top: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 11px;
}

.check-green {
    color: #10b981;
    font-weight: 900;
}

.pt-dashed {
    border-top: 1px dashed var(--border-universe);
    padding-top: 16px;
}

.price-lbl {
    font-size: 9px;
    color: var(--text-muted);
    display: block;
}

.price-val {
    font-size: 13px;
    font-weight: 800;
    color: #10b981;
}

/* استایل دکمه‌های انتخاب خدمت */
.btn-select-srv {
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    color: var(--text-primary);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    gap: 6px;
}

.btn-select-srv:hover {
    background: var(--border-universe);
}

/* کارت در وضعیت انتخاب شده */
.srv-card.active-selected {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
    box-shadow: 0 12px 30px -10px rgba(168, 85, 247, 0.25);
}

.srv-card.active-selected .btn-select-srv {
    background: var(--accent-purple);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px rgba(168, 85, 247, 0.4);
}

/* پنهان کردن کارت‌هایی که در دسته‌بندی فیلتر شده نیستند */
.srv-card.filtered-out {
    display: none !important;
}

/* ۱۱. سکشن درباره ما */
.about-section {
    padding: 50px 0;
}

.about-banner {
    padding: 40px;
}

.about-grid-inner {
    display: grid;
    grid-template-cols: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-badge {
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent);
    border: 1px solid rgba(236, 72, 153, 0.15);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.about-h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 16px;
}

.about-p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.bullet-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
}

.bullet-check {
    color: #f43f5e;
    font-weight: 900;
}

.founders-column-deck {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.founders-title-header {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.founder-item-card {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    ring: 4px solid rgba(236, 72, 153, 0.08);
}

.avatar-gradient-1 {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
}

.avatar-gradient-2 {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
}

.founder-details {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.founder-role-en {
    font-size: 8px;
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.founder-role-fa {
    font-size: 10.5px;
    color: var(--text-primary);
    font-weight: 700;
    margin: 2px 0;
}

.founder-bio {
    font-size: 10.5px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: justify;
}

/* ۱۲. ماشین حساب و فریم سفارش */
.calculator-trigger-section {
    padding: 40px 0;
}

.calculator-panel {
    padding: 32px;
}

.panel-header {
    border-bottom: 1px solid var(--border-universe);
    padding-bottom: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.panel-top-tag {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--accent-blue);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.panel-title-h3 {
    font-size: 20px;
    font-weight: 900;
}

.panel-subtitle-p {
    font-size: 12px;
    margin-top: 4px;
}

/* مینی کارت‌های انتخابگر سریع صرافی */
.mini-grid-checker {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.mini-check-card {
    border: 1px solid var(--border-universe);
    background: var(--input-background);
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
}

.border-slate { border-color: var(--border-universe); }
.border-rose { border-color: var(--border-universe); }

.check-header-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
}

.card-mini-title {
    font-size: 11.5px;
    font-weight: 700;
}

.bullet-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-footer-row {
    font-size: 10px;
    display: flex;
    flex-direction: column;
}

.mini-price-lbl {
    color: var(--text-muted);
    font-size: 9px;
}

.mini-price-val {
    font-weight: 700;
}

.text-green { color: #10b981; }

/* کارت انتخاب شده ماشین حساب سریع */
.mini-check-card.active-checked {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
}

.mini-check-card.active-checked .bullet-checkbox {
    border-color: var(--accent);
    background: var(--accent);
}

.mini-check-card.active-checked .bullet-checkbox::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.calc-footer-row-bar {
    padding-top: 16px;
    border-top: 1px dashed var(--border-universe);
    flex-wrap: wrap;
    gap: 16px;
}

.sel-count {
    font-size: 10px;
    display: block;
}

.sel-summary-text {
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

.px-extra { padding-left: 32px; padding-right: 32px; }
.py-medium { padding-top: 14px; padding-bottom: 14px; }

/* ۱۳. فوتر */
.main-footer {
    border-top: 1px solid var(--border-universe);
    padding: 32px 0;
    margin-top: 40px;
}

.footer-p-1 {
    font-size: 11.5px;
    margin-bottom: 6px;
}

.footer-p-2 {
    font-size: 9.5px;
    color: #64748b;
}

/* ۱۴. مودال شناور ثبت نهایی قرارداد */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

.modal-card {
    width: 100%;
    max-width: 640px;
    position: relative;
    padding: 30px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.space-y {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gap-mini { gap: 8px; }
.items-center { align-items: center; }

.modal-micro-title {
    font-size: 9px;
    text-transform: uppercase;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
}

.modal-subtitle {
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.6;
}

.modal-form-label {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    display: block;
    margin-bottom: 8px;
}

.modal-srv-checklist-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 10px;
}

.modal-check-item {
    border: 1px solid var(--border-universe);
    background: var(--input-background);
    padding: 12px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.chk-inner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
}

.chk-titles {
    display: flex;
    flex-direction: column;
}

.chk-title-fa {
    font-size: 11.5px;
    font-weight: 700;
}

.chk-title-en {
    font-size: 7.5px;
    color: var(--text-muted);
}

.chk-price {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
}

/* وضعیت فشرده شده در چک لیست مودال */
.modal-check-item.active {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.12);
}

.modal-check-item.active .dot-indicator {
    background: var(--accent-purple);
}

/* گزینه کلاینت سطح باجت */
.budget-options-wrapper {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 8px;
}

.budget-opt-card {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--border-universe);
    background: var(--input-background);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.budget-opt-card.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.budget-opt-card .lvl-title {
    font-size: 11px;
}

.inputs-row-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 16px;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
}

.modal-form-group input, .modal-form-group textarea {
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 12px;
    outline: none;
    font-size: 12px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.modal-form-group input:focus, .modal-form-group textarea:focus {
    border-color: var(--accent-purple);
}

.text-left { text-align: left; }

.modal-submit-row-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.border-top {
    border-top: 1px solid var(--border-universe);
}

.pt-medium {
    padding-top: 16px;
}

.est-lbl-micro {
    font-size: 9px;
    color: var(--text-muted);
    display: block;
}

.est-lbl-price {
    font-size: 18px;
    font-weight: 800;
}

.px-large { padding-left: 24px; padding-right: 24px; }
.px-medium { padding-left: 18px; padding-right: 18px; }
.py-small { padding-top: 10px; padding-bottom: 10px; }

/* کارت پیام موفقیت */
.modal-success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.success-bounce-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
    font-size: 32px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successBounce 1s infinite alternate;
}

@keyframes successBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.success-heading {
    font-size: 20px;
    font-weight: 800;
}

.success-desc {
    font-size: 12.5px;
    max-width: 420px;
    line-height: 1.7;
}

.text-contract-clipboard-box {
    width: 100%;
    background: var(--input-background);
    border: 1px solid var(--border-universe);
    padding: 16px;
    border-radius: 16px;
}

.sub-clip-title {
    font-size: 11px;
    margin-bottom: 8px;
    font-weight: bold;
}

.clipboard-box-textarea {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.15);
    color: #f87171;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 11px;
    padding: 10px;
    resize: none;
    line-height: 1.7;
    text-align: left;
    direction: ltr;
}

body.theme-light .clipboard-box-textarea {
    background: rgba(0, 0, 0, 0.04);
}

.success-btn-group {
    display: flex;
}

.border-white-10 {
    border: 1px solid var(--border-universe);
}

/* ۱۵. مباحث ریسپانسیو فوق ریسپانسیو و تلفن همراه */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-cols: 1fr;
        gap: 32px;
    }
    .about-grid-inner {
        grid-template-cols: 1fr;
        gap: 32px;
    }
    .nav-links {
        display: none; /* بر روی تلفن همراه دکمه سفارش هدر کار ناوبری همبرگری دارد */
    }
    .main-header {
        position: relative;
        top: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .hero-section {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .about-banner {
        padding: 24px;
    }
    .modal-srv-checklist-grid {
        grid-template-cols: 1fr;
    }
    .inputs-row-grid {
        grid-template-cols: 1fr;
    }
}
