/*This CSS is only for Coreinet.ir & CoreinetShop.ir*/
/*CopyRight for Coreinet Team 2026*/
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/irsans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-deep: #050507;
    --bg-card: rgba(14, 16, 22, 0.65);
    --bg-card-hover: rgba(22, 26, 36, 0.85);
    --accent-ice: #9cc9ff;
    --accent-glow: rgba(156, 201, 255, 0.4);
    --accent-cyber: #00f2fe;
    --text-main: #f5f7fa;
    --text-dim: #8895a5;
    --border: rgba(156, 201, 255, 0.06);
    --border-strong: rgba(156, 201, 255, 0.2);
    --radius-lg: 20px;
    --radius-sm: 10px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANSans', 'Segoe UI', Tahoma, sans-serif !important;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    direction: rtl;
    line-height: 1.65;
    font-size: 14px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 15% 75%, rgba(156, 201, 255, 0.04) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg width='80' height='138.56' viewBox='0 0 80 138.56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0l40 23.09v46.19L40 92.38 0 69.28V23.09zm0 138.56l40-23.09V69.28L40 92.38 0 115.47z' fill-opacity='0.025' fill='%239cc9ff' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-attachment: fixed;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(156, 201, 255, 0.03) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    z-index: -1;
    animation: floatingGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform; /* بهینه‌سازی رندرینگ انیمیشن اتمسفر */
}

@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

input, textarea, button, select {
    font-family: inherit;
    outline: none;
}

header {
    background: rgba(5, 5, 7, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    height: 65px;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-side, .left-side { display: flex; align-items: center; gap: 24px; }

.logo { 
    font-size: 19px; 
    font-weight: 900; 
    color: #fff; 
    text-decoration: none; 
    letter-spacing: 0.5px;
    position: relative;
}
.logo span {
    color: var(--accent-ice);
    text-shadow: 0 0 15px var(--accent-glow);
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-size: 13.5px; 
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}
nav a::after {
    content: ""; position: absolute; bottom: 0; right: 0; width: 0; height: 1.5px;
    background: var(--accent-ice); transition: var(--transition);
}
nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    position: relative;
}
.glass-card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
    padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent, rgba(156,201,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.glass-card:hover { 
    border-color: var(--border-strong); 
    background: var(--bg-card-hover);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 20px 40px rgba(156, 201, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-ice) 0%, #b3d7ff 100%);
    color: #050507;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(156, 201, 255, 0.2);
}
.btn-primary:hover { 
    background: #fff; 
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-glow);
}

/* ادغام اینپوت‌ها برای کد فشرده‌تر و سبک‌تر */
input, textarea {
    width: 100%;
    background: rgba(5, 5, 7, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    margin-bottom: 15px;
    transition: var(--transition);
}
input:focus, textarea:focus { 
    border-color: var(--accent-ice);
    background: rgba(14, 16, 22, 0.8);
    box-shadow: 0 0 15px rgba(156, 201, 255, 0.1);
}

.config-box, .config-box * {
    font-family: 'Consolas', monospace !important;
    background: #030304;
    border: 1px dashed rgba(156, 201, 255, 0.2);
    padding: 18px;
    border-radius: var(--radius-sm);
    color: var(--accent-ice);
    font-size: 13.5px;
    word-break: break-all;
    direction: ltr;
}

.alert-box {
    background: rgba(156, 201, 255, 0.03);
    border: 1px solid rgba(156, 201, 255, 0.15);
    color: var(--text-main);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 25px;
}

footer { padding: 35px 0; border-top: 1px solid var(--border); margin-top: 80px; text-align: center; color: var(--text-dim); font-size: 12.5px; }
.main-content { padding-top: 100px; min-height: 85vh; width: 90%; max-width: 1150px; margin: 0 auto; }

.status-badge {
    display: inline-flex; align-items: center; background: rgba(46, 204, 113, 0.04); color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2); padding: 5px 14px; border-radius: 50px;
    font-size: 11px; font-weight: 600; margin-bottom: 22px;
}
.status-dot {
    display: inline-block; width: 6px; height: 6px; background: #2ecc71; border-radius: 50%;
    margin-left: 8px; box-shadow: 0 0 10px #2ecc71; animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.stat-item { text-align: center; padding: 10px 30px; position: relative; }
.stat-number { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 2px; letter-spacing: -0.5px; }
.stat-label { color: var(--text-dim); font-size: 12px; }

.step-number {
    width: 35px; height: 35px; background: rgba(156, 201, 255, 0.1); color: var(--accent-ice);
    border: 1px solid rgba(156, 201, 255, 0.2); border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 14px; font-weight: bold; margin: 0 auto 15px auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonial-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollTrack 30s linear infinite;
}
.testimonial-track:hover {
    animation-play-state: paused;
}
@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius-lg);
    width: 300px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.support-trigger-btn {
    background: linear-gradient(135deg, rgba(156,201,255,0.03) 0%, rgba(156,201,255,0.08) 100%);
    border: 1px dashed rgba(156, 201, 255, 0.3);
    color: var(--accent-ice);
    padding: 14px 36px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.support-trigger-btn:hover {
    background: rgba(156, 201, 255, 0.12);
    border-color: var(--accent-ice);
    box-shadow: 0 0 20px rgba(156, 201, 255, 0.05);
}
.support-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
}
.support-accordion-content.open {
    max-height: 550px;
    opacity: 1;
    margin-top: 30px;
}

/* اصلاح و اصلاح ساختاری بخش رسپانسیو مدیا کوئری */
@media (max-width: 768px) {
    header { height: auto; padding: 12px 0; }
    .nav-container { flex-direction: column; gap: 12px; width: 92%; }
    .right-side, .left-side { flex-direction: row !important; gap: 14px; width: 100%; justify-content: space-between; }
    nav ul { gap: 16px; }
    nav a { font-size: 11.5px; }
    .main-content { padding-top: 140px; }
    .glass-card { padding: 22px; }
    .stat-item { padding: 8px 12px; }
    .stat-number { font-size: 22px; }
}