/* home.css - اصلاحی */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800;900&display=swap');

:root {
    --bg: #030712;
    --bg2: #060d1d;
    --primary: #2563eb;
    --secondary: #7c3aed;
    --accent: #00e5ff;
    --white: #ffffff;
    --glass: rgba(255,255,255,.05);
    --glass-border: rgba(255,255,255,.08);
    --shadow: 0 20px 60px rgba(0,0,0,.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: radial-gradient(circle at top right, #111827 0%, #030712 40%),
                radial-gradient(circle at bottom left, #0c1222 0%, #030712 50%);
    color: white;
    overflow-x: hidden;
    user-select: none;
}

/* ========== SITE BACKGROUND (DARK NAVY + ANIMATED STARS) ========== */
.site-bg {
    background: #050816; /* fallback */
    position: relative;
    overflow-x: hidden;
}

/* لایه گرادیان متحرک */
.site-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 50%, #0F172A 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, #1E293B 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, #0A0E1A 0%, transparent 50%),
        linear-gradient(180deg, #050816 0%, #0F172A 100%);
    animation: bg-shift 20s ease-in-out infinite alternate;
}

@keyframes bg-shift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-2%, 1%);
    }
}

/* لایه ستاره‌های چشمک‌زن (با box-shadow های تصادفی) */
.site-bg::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.6;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, #fff, transparent),
        radial-gradient(2px 2px at 20% 40%, #fff, transparent),
        radial-gradient(1px 1px at 30% 10%, #fff, transparent),
        radial-gradient(2px 2px at 40% 60%, #fff, transparent),
        radial-gradient(1px 1px at 50% 30%, #fff, transparent),
        radial-gradient(2px 2px at 60% 80%, #fff, transparent),
        radial-gradient(1px 1px at 70% 50%, #fff, transparent),
        radial-gradient(2px 2px at 80% 15%, #fff, transparent),
        radial-gradient(1px 1px at 90% 70%, #fff, transparent),
        radial-gradient(2px 2px at 15% 85%, #fff, transparent),
        radial-gradient(1px 1px at 25% 75%, #fff, transparent),
        radial-gradient(1px 1px at 45% 45%, #fff, transparent);
    background-size: 200px 200px;
    animation: stars-twinkle 4s ease-in-out infinite alternate;
}

@keyframes stars-twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none; /* مهم: جلوگیری از تداخل با موس */
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.4));
    pointer-events: none;
    z-index: -1;
}

/* ======================
LOADER
====================== */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #020617;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}
.loader-logo {
    font-size: 90px;
    font-weight: 900;
    background: linear-gradient(135deg, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}
.loader-bar {
    width: 260px;
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
}
#loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00e5ff, #7c3aed);
}

/* ======================
NAVBAR
====================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: .4s;
}
#navbar.scrolled {
    backdrop-filter: blur(25px);
    background: rgba(0,0,0,.25);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.container {
    width: min(1400px, 92%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #85818126;
    padding: 15px;
    border-radius: 50px;
    backdrop-filter: blur(25px);
}
.logo {
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav {
    display: flex;
    gap: 35px;
}
nav a {
    color: #cbd5e1;
    font-size: 15px;
    transition: .3s;
}
nav a:hover {
    color: #00e5ff;
}
.nav-btn {
    padding: 12px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37,99,235,.35);
}

/* ======================
SECTIONS
====================== */
section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-section {
    padding-top: 120px;
}
.hero-grid {
    width: min(1400px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.2);
    color: #00e5ff;
    font-size: 14px;
    margin-bottom: 25px;
}
.hero-title {
    font-size: clamp(48px,7vw,110px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}
.hero-description {
    font-size: 20px;
    line-height: 2;
    color: #cbd5e1;
    max-width: 650px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 16px 35px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(37,99,235,.35);
}
.btn-secondary {
    padding: 16px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,.03);
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.floating-laptop {
    width: 520px;
    height: 320px;
    position: relative;
    transform-style: preserve-3d;
    animation: laptopFloat 6s ease-in-out infinite;
}
@keyframes laptopFloat {
    0%,100% { transform: translateY(0) rotateY(-12deg) rotateX(10deg); }
    50% { transform: translateY(-30px) rotateY(12deg) rotateX(-6deg); }
}
.laptop-screen {
    height: 250px;
    border-radius: 25px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,229,255,.2);
}
.screen-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,229,255,.35), transparent 60%);
    animation: pulseGlow 4s infinite;
}
@keyframes pulseGlow {
    50% { opacity: .3; }
}
.screen-ui {
    position: absolute;
    inset: 25px;
    display: grid;
    gap: 12px;
}
.screen-ui div {
    background: linear-gradient(90deg, rgba(0,229,255,.15), rgba(124,58,237,.15));
    border-radius: 15px;
}
.laptop-keyboard {
    width: 580px;
    height: 25px;
    margin-right: -30px;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

/* حذف فوتبال متحرک سنگین */
#football-ball {
    display: none;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    display: block;
}
.section-tag {
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 25px;
}
.section-header h2 {
    font-size: clamp(42px,6vw,90px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header p {
    font-size: 18px;
    color: #94a3b8;
}

/* SERVICES */
.services-section {
    display: block;
    width: min(1400px,92%);
    margin: auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.service-card {
    position: relative;
    padding: 35px;
    border-radius: 30px;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    transition: .5s;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,.08), rgba(124,58,237,.08));
    opacity: 0;
    transition: .5s;
}
.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0,229,255,.4);
    box-shadow: 0 20px 60px rgba(0,229,255,.15);
}
.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(37,99,235,.25), rgba(124,58,237,.25));
    color: #00e5ff;
}
.service-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}
.service-card p {
    color: #94a3b8;
    line-height: 2;
}

/* ANALYTICS */
.analytics-wrapper {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.analytics-card {
    padding: 35px;
    text-align: center;
    border-radius: 30px;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.08);
}
.analytics-number {
    display: block;
    font-size: 60px;
    font-weight: 900;
    background: linear-gradient(135deg, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.analytics-label {
    color: #cbd5e1;
    font-size: 15px;
}

/* PORTFOLIO */
.portfolio-section {
    display: block;
    width: min(100%,100%);
    margin: auto;
}
.portfolio-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
    padding: 20px 0;
}
.portfolio-card {
    flex: 1;
    min-width: 320px;
    border-radius: 35px;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.08);
    transition: .6s;
    cursor: pointer;
}
.portfolio-card:hover {
    flex: 1.6;
    transform: translateY(-15px);
}
.portfolio-image {
    height: 340px;
    overflow: hidden;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}
.portfolio-card:hover img {
    transform: scale(1.1);
}
.portfolio-content {
    padding: 30px;
}
.portfolio-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 800;
}
.portfolio-content p {
    line-height: 2;
    color: #94a3b8;
    margin-bottom: 25px;
}
.portfolio-more {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-family: inherit;
    cursor: pointer;
}

/* TEAM */
.team-section {
    display: block;
    width: min(1400px,92%);
    margin: auto;
    margin-bottom: 180px;
}
.team-carousel {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.team-card {
    border-radius: 40px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    transition: .6s;
    /* حذف filter و opacity برای نمایش یکسان همه کارت‌ها */
    filter: none;
    opacity: 1;
}
.team-card.active {
    width: 420px;
    transform: scale(1.05);
    border-color: rgba(0,229,255,.5);
    box-shadow: 0 20px 40px rgba(0,229,255,.2);
}
.team-image {
    height: 320px;
    overflow: hidden;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-info {
    padding: 30px;
    text-align: center;
}
.team-info h3 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 10px;
}
.team-info span {
    display: block;
    color: #00e5ff;
    margin-bottom: 20px;
    font-weight: 700;
}
.team-info p {
    line-height: 2;
    color: #94a3b8;
}
.team-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}
.team-navigation button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    color: white;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    cursor: pointer;
}

/* CONTACT */
.contact-section {
    width: min(1200px,92%);
    margin: auto;
}
.contact-wrapper {
    position: relative;
    padding: 80px;
    border-radius: 50px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(30px);
}
.contact-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,.15), transparent 70%);
    top: -300px;
    left: -300px;
}
.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.contact-content h2 {
    font-size: clamp(42px,6vw,90px);
    font-weight: 900;
    margin: 25px 0;
}
.contact-content p {
    font-size: 20px;
    line-height: 2;
    max-width: 700px;
    margin: auto auto 40px;
    color: #cbd5e1;
}
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    margin-top: 120px;
    padding: 100px 0 30px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.5));
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
    width: min(1400px,92%);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}
.footer-about h3 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 25px;
}
.footer-about p {
    line-height: 2.2;
    color: #94a3b8;
}
.footer-links h4, .footer-social h4, .footer-enamad h4 {
    font-size: 22px;
    margin-bottom: 25px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-links a {
    color: #94a3b8;
    transition: .3s;
}
.footer-links a:hover {
    color: #00e5ff;
    padding-right: 8px;
}
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.social-icons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: .3s;
}
.social-icons a:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.enamad-box {
    height: 130px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
}
.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    color: #64748b;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00e5ff, #7c3aed);
    border-radius: 50px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-visual {
        order: 1;
    }
    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .analytics-wrapper {
        grid-template-columns: repeat(2,1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    #cursor-dot, #cursor-ring {
        display: none;
    }
    nav {
        display: none;
    }
    .hero-title {
        font-size: 52px;
    }
    .hero-description {
        font-size: 16px;
    }
    .floating-laptop {
        width: 320px;
        height: auto;
    }
    .laptop-keyboard {
        width: 360px;
        margin-right: -20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .analytics-wrapper {
        grid-template-columns: 1fr;
    }
    .portfolio-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
    }
    .portfolio-card {
        min-width: 320px;
        scroll-snap-align: center;
    }
    .team-carousel {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 15px;
    }
    .team-card {
        min-width: 280px;
    }
    .team-card.active {
        width: 320px;
    }
    .contact-wrapper {
        padding: 50px 25px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 42px;
    }
    .section-header h2 {
        font-size: 38px;
    }
    .contact-content h2 {
        font-size: 38px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .contact-actions {
        flex-direction: column;
    }
}

/*强制修复服务网格*/
.services-section .services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    direction: rtl !important;
}

.services-section .service-card {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 30px !important;
    padding: 35px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/*强制修复统计网格*/
.services-section .analytics-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    margin-top: 60px !important;
}

.services-section .analytics-card {
    text-align: center !important;
    padding: 35px 20px !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 30px !important;
}

.analytics-number {
    font-size: 55px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #00e5ff, #7c3aed) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: block !important;
    line-height: 1.2 !important;
}

.analytics-label {
    font-size: 18px !important;
    color: #cbd5e1 !important;
    display: block !important;
    margin-top: 10px !important;
}

/* موبایل */
@media (max-width: 992px) {
    .services-section .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .services-section .analytics-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    .services-section .services-grid,
    .services-section .analytics-wrapper {
        grid-template-columns: 1fr !important;
    }
}


/* From Uiverse.io by Smit-Prajapati */ 
.card {
  width: 230px;
  border-radius: 20px;
  background: #1b233d;
  padding: 5px;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.05);
}

.card .top-section {
  height: 150px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(45deg, rgb(4, 159, 187) 0%, rgb(80, 246, 255) 100%);
  position: relative;
}

.card .top-section .border {
  border-bottom-right-radius: 10px;
  height: 30px;
  width: 130px;
  background: white;
  background: #1b233d;
  position: relative;
  transform: skew(-40deg);
  box-shadow: -10px -10px 0 0 #1b233d;
}

.card .top-section .border::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  right: -15px;
  background: rgba(255, 255, 255, 0);
  border-top-left-radius: 10px;
  box-shadow: -5px -5px 0 2px #1b233d;
}

.card .top-section::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  background: rgba(255, 255, 255, 0);
  height: 15px;
  width: 15px;
  border-top-left-radius: 15px;
  box-shadow: -5px -5px 0 2px #1b233d;
}

.card .top-section .icons {
  position: absolute;
  top: 0;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: space-between;
}

.card .top-section .icons .logo {
  height: 100%;
  aspect-ratio: 1;
  padding: 7px 0 7px 15px;
}

.card .top-section .icons .logo .top-section {
  height: 100%;
}

.card .top-section .icons .social-media {
  height: 100%;
  padding: 8px 15px;
  display: flex;
  gap: 7px;
}

.card .top-section .icons .social-media .svg {
  height: 100%;
  fill: #1b233d;
}

.card .top-section .icons .social-media .svg:hover {
  fill: white;
}

.card .bottom-section {
  margin-top: 15px;
  padding: 10px 5px;
}

.card .bottom-section .title {
  display: block;
  font-size: 17px;
  font-weight: bolder;
  color: white;
  text-align: center;
  letter-spacing: 2px;
}

.card .bottom-section .row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.card .bottom-section .row .item {
  flex: 30%;
  text-align: center;
  padding: 5px;
  color: rgba(170, 222, 243, 0.721);
}

.card .bottom-section .row .item .big-text {
  font-size: 12px;
  display: block;
}

.card .bottom-section .row .item .regular-text {
  font-size: 9px;
}

.card .bottom-section .row .item:nth-child(2) {
  border-left: 1px solid rgba(255, 255, 255, 0.126);
  border-right: 1px solid rgba(255, 255, 255, 0.126);
}


/* ========== PORTFOLIO CARDS (LUMINOUS) ========== */
.pcard {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #3a3a3a 0%, #1a1a1a 64%);
    box-shadow: inset 0 1.01rem 0.2rem -1rem #fff0, inset 0 -1.01rem 0.2rem -1rem #0000, 0 -1.02rem 0.2rem -1rem #fff0, 0 1rem 0.2rem -1rem #0000, 0 0 0 1px #fff3, 0 4px 4px 0 #0004, 0 0 0 1px #333;
    width: 18rem;
    height: 24rem;
    border-radius: 1.8rem;
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: all 0.4s ease-in-out, translate 0.4s ease-out;
    margin: auto;
}
.pcard::before {
    content: "";
    display: block;
    --offset: 1rem;
    width: calc(100% + 2 * var(--offset));
    height: calc(100% + 2 * var(--offset));
    position: absolute;
    left: calc(-1 * var(--offset));
    right: calc(-1 * var(--offset));
    top: calc(-1 * var(--offset));
    bottom: calc(-1 * var(--offset));
    margin: auto;
    box-shadow: inset 0 0 0px 0.06rem #fff2;
    border-radius: 2.6rem;
    --ax: 4rem;
    clip-path: polygon(var(--ax) 0, 0 0, 0 var(--ax), var(--ax) var(--ax), var(--ax) calc(100% - var(--ax)), 0 calc(100% - var(--ax)), 0 100%, var(--ax) 100%, var(--ax) calc(100% - var(--ax)), calc(100% - var(--ax)) calc(100% - var(--ax)), calc(100% - var(--ax)) 100%, 100% 100%, 100% calc(100% - var(--ax)), calc(100% - var(--ax)) calc(100% - var(--ax)), calc(100% - var(--ax)) var(--ax), 100% var(--ax), 100% 0, calc(100% - var(--ax)) 0, calc(100% - var(--ax)) var(--ax), var(--ax) var(--ax));
    transition: all 0.4s ease-in-out;
}
.pcard:hover {
    translate: 0 -0.2rem;
}
.pcard:hover::before {
    --offset: 0.5rem;
    --ax: 8rem;
    border-radius: 2.2rem;
    box-shadow: inset 0 0 0 0.08rem #fff1;
}
.pcard .pcard-light-layer {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    perspective: 400px;
}
.pcard .pcard-slit {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 64%;
    height: 1.2rem;
    transform: rotateX(-76deg);
    background: #121212;
    box-shadow: 0 0 4px 0 #fff0;
    transition: all 0.4s ease-in-out;
}
.pcard .pcard-lumen {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 400px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.pcard .pcard-lumen .pcard-min {
    width: 70%;
    height: 3rem;
    background: linear-gradient(#fff0, #fffa);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 2.5rem;
    margin: auto;
    transform: rotateX(-42deg);
    opacity: 0.4;
}
.pcard .pcard-lumen .pcard-mid {
    width: 74%;
    height: 13rem;
    background: linear-gradient(#fff0, #fffa);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 10em;
    margin: auto;
    transform: rotateX(-42deg);
    filter: blur(1rem);
    opacity: 0.8;
    border-radius: 100% 100% 0 0;
}
.pcard .pcard-lumen .pcard-hi {
    width: 50%;
    height: 13rem;
    background: linear-gradient(#fff0, #fffa);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 12em;
    margin: auto;
    transform: rotateX(22deg);
    filter: blur(1rem);
    opacity: 0.6;
    border-radius: 100% 100% 0 0;
}
.pcard .pcard-darken {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 400px;
    opacity: 0.5;
    transition: opacity 0.4s ease-in-out;
}
.pcard .pcard-darken > * {
    transition: opacity 0.4s ease-in-out;
}
.pcard .pcard-darken .pcard-sl {
    width: 64%;
    height: 10rem;
    background: linear-gradient(#000, #0000);
    position: absolute;
    left: 0;
    right: 0;
    top: 9.6em;
    bottom: 0;
    margin: auto;
    filter: blur(0.2rem);
    opacity: 0.1;
    border-radius: 0 0 100% 100%;
    transform: rotateX(-22deg);
}
.pcard .pcard-darken .pcard-ll {
    width: 62%;
    height: 10rem;
    background: linear-gradient(#000a, #0000);
    position: absolute;
    left: 0;
    right: 0;
    top: 11em;
    bottom: 0;
    margin: auto;
    filter: blur(0.8rem);
    opacity: 0.4;
    border-radius: 0 0 100% 100%;
    transform: rotateX(22deg);
}
.pcard .pcard-darken .pcard-slt {
    width: 0.5rem;
    height: 4rem;
    background: linear-gradient(#0005, #0000);
    position: absolute;
    left: 0;
    right: 11.5rem;
    top: 3.9em;
    bottom: 0;
    margin: auto;
    opacity: 0.6;
    border-radius: 0 0 100% 100%;
    transform: skewY(42deg);
}
.pcard .pcard-darken .pcard-srt {
    width: 0.5rem;
    height: 4rem;
    background: linear-gradient(#0005, #0000);
    position: absolute;
    right: 0;
    left: 11.5rem;
    top: 3.9em;
    bottom: 0;
    margin: auto;
    opacity: 0.6;
    border-radius: 0 0 100% 100%;
    transform: skewY(-42deg);
}
.pcard .pcard-content .pcard-icon {
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    filter: drop-shadow(0 -1.2rem 1px transparent);
    transition: filter 0.4s ease-in-out;
}
.pcard .pcard-content .pcard-bottom {
    position: relative;
}
.pcard .pcard-content .pcard-bottom h4 {
    margin: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #ccc;
}
.pcard .pcard-content .pcard-bottom p {
    margin: 0;
    padding-bottom: 0.6rem;
    color: #fff4;
    font-size: 0.6rem;
    font-weight: 100;
    border-bottom: 1px solid #fff1;
    max-width: 100%;
    display: flex;
    justify-content: end;
}
.pcard .pcard-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2rem;
    width: 4.8rem;
    border-radius: 0.6rem;
    background: #000;
    box-shadow: inset 0 -8px 8px 0.3rem #0004, inset 0 0 1px 0.3rem #ddd, inset 0 -2px 1px 0.3rem #fff, inset 0 1px 2px 0.3rem #0006, inset 0 0 1px 0.8rem #aaa;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.pcard .pcard-toggle::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 3.4rem;
    height: 0.68rem;
    border-radius: 0.2rem;
    background: #000;
    transition: all 0.4s ease-in-out;
}
.pcard .pcard-toggle .pcard-handle {
    position: absolute;
    top: 0;
    bottom: 0.04rem;
    margin: auto;
    left: 0.68rem;
    width: 40%;
    height: 30%;
    background: #aaa;
    border-radius: 0.2rem;
    box-shadow: inset 0 1px 4px 0 #fff, inset 0 -1px 1px 0 #000a, 0 0 1px 1px #0003, 1px 3px 6px 1px #000a;
    transition: all 0.4s ease-in-out;
}
.pcard .pcard-toggle.pcard-active .pcard-handle {
    transform: translateX(1.58rem);
}
.pcard .pcard-toggle span {
    pointer-events: none;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: calc(100% + 0.4rem);
    font-size: 0.6rem;
    font-weight: 100;
    color: #555;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.pcard .pcard-toggle:hover span {
    opacity: 1;
}
.pcard .pcard-toggle:not(.pcard-active):hover .pcard-handle {
    transform: translateX(0.2rem);
}
/* Active state */
.pcard.pcard-active {
    box-shadow: inset 0 1.01rem 0.1rem -1rem #fffa, inset 0 -4rem 3rem -3rem #000a, 0 -1.02rem 0.2rem -1rem #fffa, 0 1rem 0.2rem -1rem #000, 0 0 0 1px #fff2, 0 4px 4px 0 #0004, 0 0 0 1px #333;
}
.pcard.pcard-active .pcard-slit {
    background: #fff;
    box-shadow: 0 0 4px 0 #fff;
}
.pcard.pcard-active .pcard-lumen {
    opacity: 0.5;
}
.pcard.pcard-active .pcard-darken {
    opacity: 0.8;
}
.pcard.pcard-active .pcard-darken .pcard-sl { opacity: 0.2; }
.pcard.pcard-active .pcard-darken .pcard-ll { opacity: 1; }
.pcard.pcard-active .pcard-darken .pcard-slt { opacity: 1; }
.pcard.pcard-active .pcard-darken .pcard-srt { opacity: 1; }
.pcard.pcard-active .pcard-content .pcard-icon {
    filter: drop-shadow(0 -1.2rem 2px #0003) brightness(1.64);
}
.pcard.pcard-active .pcard-toggle::before {
    background: #fffc;
    box-shadow: 0 0 0.3rem 0.2rem #fff7;
}
.pcard.pcard-active .pcard-toggle .pcard-handle {
    box-shadow: inset 0 1px 12px 0 #fff, inset 0 -1px 1px 0 #fffa, 0 0 2px 1px #4443, 1px 3px 6px 1px #0004;
}





/* From Uiverse.io by Ashon-G */ 
.macbook {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -85px 0 0 -78px;
  perspective: 500px;
}

.shadow {
  position: absolute;
  width: 60px;
  height: 0px;
  left: 40px;
  top: 160px;
  transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
  box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  animation: shadow infinite 7s ease;
}

.inner {
  z-index: 20;
  position: absolute;
  width: 150px;
  height: 96px;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  animation: rotate infinite 7s ease;
}

.screen {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #ddd;
  transform-style: preserve-3d;
  transform-origin: 50% 93px;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  animation: lid-screen infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.34) 0%,rgba(0,0,0,0) 100%);
  background-position: left bottom;
  background-size: 300px 300px;
  box-shadow: inset 0 3px 7px rgba(255,255,255,0.5);
}

.screen .logo {
  position: absolute;
  width: 20px;
  height: 24px;
  left: 50%;
  top: 50%;
  margin: -12px 0 0 -10px;
  transform: rotateY(180deg) translateZ(0.1px);
}

.screen .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #d3d3d3;
  transform: translateZ(2px);
  background-image: linear-gradient(45deg,rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.screen .face-one .camera {
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: #000;
  position: absolute;
  left: 50%;
  top: 4px;
  margin-left: -1.5px;
}

.screen .face-one .display {
  width: 130px;
  height: 74px;
  margin: 10px;
  background-color: #000;
  background-size: 100% 100%;
  border-radius: 1px;
  position: relative;
  box-shadow: inset 0 0 2px rgba(0,0,0,1);
}

.screen .face-one .display .shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 130px;
  height: 74px;
  background: linear-gradient(-135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.1) 47%,rgba(255,255,255,0) 48%);
  animation: screen-shade infinite 7s ease;
  background-size: 300px 200px;
  background-position: 0px 0px;
}

.screen .face-one span {
  position: absolute;
  top: 85px;
  left: 57px;
  font-size: 6px;
  color: #666
}

.macbody {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #cbcbcb;
  transform-style: preserve-3d;
  transform-origin: 50% bottom;
  transform: rotateX(-90deg);
  animation: lid-macbody infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.macbody .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  transform-style: preserve-3d;
  background: #dfdfdf;
  animation: lid-keyboard-area infinite 7s ease;
  transform: translateZ(-2px);
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.macbody .touchpad {
  width: 40px;
  height: 31px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 4px;
  margin: -44px 0 0 -18px;
  background: #cdcdcd;
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  box-shadow: inset 0 0 3px #888;
}

.macbody .keyboard {
  width: 130px;
  height: 45px;
  position: absolute;
  left: 7px;
  top: 41px;
  border-radius: 4px;
  transform-style: preserve-3d;
  background: #cdcdcd;
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  box-shadow: inset 0 0 3px #777;
  padding: 0 0 0 2px;
}

.keyboard .key {
  width: 6px;
  height: 6px;
  background: #444;
  float: left;
  margin: 1px;
  transform: translateZ(-2px);
  border-radius: 2px;
  box-shadow: 0 -2px 0 #222;
  animation: keys infinite 7s ease;
}

.key.space {
  width: 45px;
}

.key.f {
  height: 3px;
}

.macbody .pad {
  width: 5px;
  height: 5px;
  background: #333;
  border-radius: 100%;
  position: absolute;
}

.pad.one {
  left: 20px;
  top: 20px;
}

.pad.two {
  right: 20px;
  top: 20px;
}

.pad.three {
  right: 20px;
  bottom: 20px;
}

.pad.four {
  left: 20px;
  bottom: 20px;
}

@keyframes rotate {
  0% {
    transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  }

  5% {
    transform: rotateX(-20deg) rotateY(-20deg) rotateZ(0deg);
  }

  20% {
    transform: rotateX(30deg) rotateY(200deg) rotateZ(0deg);
  }

  25% {
    transform: rotateX(-60deg) rotateY(150deg) rotateZ(0deg);
  }

  60% {
    transform: rotateX(-20deg) rotateY(130deg) rotateZ(0deg);
  }

  65% {
    transform: rotateX(-20deg) rotateY(120deg) rotateZ(0deg);
  }

  80% {
    transform: rotateX(-20deg) rotateY(375deg) rotateZ(0deg);
  }

  85% {
    transform: rotateX(-20deg) rotateY(357deg) rotateZ(0deg);
  }

  87% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes lid-screen {
  0% {
    transform: rotateX(0deg);
    background-position: left bottom;
  }

  5% {
    transform: rotateX(50deg);
    background-position: left bottom;
  }

  20% {
    transform: rotateX(-90deg);
    background-position: -150px top;
  }

  25% {
    transform: rotateX(15deg);
    background-position: left bottom;
  }

  30% {
    transform: rotateX(-5deg);
    background-position: right top;
  }

  38% {
    transform: rotateX(5deg);
    background-position: right top;
  }

  48% {
    transform: rotateX(0deg);
    background-position: right top;
  }

  90% {
    transform: rotateX(0deg);
    background-position: right top;
  }

  100% {
    transform: rotateX(0deg);
    background-position: right center;
  }
}

@keyframes lid-macbody {
  0% {
    transform: rotateX(-90deg);
  }

  50% {
    transform: rotateX(-90deg);
  }

  100% {
    transform: rotateX(-90deg);
  }
}

@keyframes lid-keyboard-area {
  0% {
    background-color: #dfdfdf;
  }

  50% {
    background-color: #bbb;
  }

  100% {
    background-color: #dfdfdf;
  }
}

@keyframes screen-shade {
  0% {
    background-position: -20px 0px;
  }

  5% {
    background-position: -40px 0px;
  }

  20% {
    background-position: 200px 0;
  }

  50% {
    background-position: -200px 0;
  }

  80% {
    background-position: 0px 0px;
  }

  85% {
    background-position: -30px 0;
  }

  90% {
    background-position: -20px 0;
  }

  100% {
    background-position: -20px 0px;
  }
}

@keyframes keys {
  0% {
    box-shadow: 0 -2px 0 #222;
  }

  5% {
    box-shadow: 1 -1px 0 #222;
  }

  20% {
    box-shadow: -1px 1px 0 #222;
  }

  25% {
    box-shadow: -1px 1px 0 #222;
  }

  60% {
    box-shadow: -1px 1px 0 #222;
  }

  80% {
    box-shadow: 0 -2px 0 #222;
  }

  85% {
    box-shadow: 0 -2px 0 #222;
  }

  87% {
    box-shadow: 0 -2px 0 #222;
  }

  100% {
    box-shadow: 0 -2px 0 #222;
  }
}

@keyframes shadow {
  0% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  5% {
    transform: rotateX(80deg) rotateY(10deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  20% {
    transform: rotateX(30deg) rotateY(-20deg) rotateZ(-20deg);
    box-shadow: 0 0 50px 30px rgba(0,0,0,0.3);
  }

  25% {
    transform: rotateX(80deg) rotateY(-20deg) rotateZ(50deg);
    box-shadow: 0 0 35px 15px rgba(0,0,0,0.1);
  }

  60% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(-50deg) translateX(30px);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  100% {
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
}





/* ========== HERO LAPTOP (FULLSCREEN) ========== */
.hero-laptop-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 30%, #0F172A 0%, #050816 80%);
    padding: 0 1rem;
    overflow: hidden;
}

/* Canvas ذرات */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-laptop {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-laptop-screen {
    border-radius: 20px;
    box-shadow: inset 0 0 0 2px #c8cacb, inset 0 0 0 10px #000;
    width: 100%;
    height: 55vw;
    max-height: 730px;
    padding: 9px 9px 23px 9px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* گرادیانت جدید با رنگ‌های سایت */
    background: linear-gradient(
        135deg,
        #0F172A 0%,
        #1E293B 25%,
        #2563EB 50%,
        #7C3AED 75%,
        #00E5FF 100%
    );
    transform-style: preserve-3d;
    transform: perspective(1900px) rotateX(-88.5deg);
    transform-origin: 50% 100%;
    animation: heroLaptopOpen 3s ease-out forwards;
    overflow: hidden;
    margin-top: 150px;
}

@keyframes heroLaptopOpen {
    0% {
        transform: perspective(1900px) rotateX(-88.5deg);
    }
    100% {
        transform: perspective(1000px) rotateX(0deg);
    }
}

.hero-laptop-screen::before {
    content: "";
    width: 100%;
    height: 12px;
    position: absolute;
    background: linear-gradient(#979899, transparent);
    top: -3px;
    left: 0;
    transform: rotateX(90deg);
    border-radius: 5px 5px;
    z-index: 1;
}

.hero-laptop-screen::after {
    background: linear-gradient(to bottom, #272727, #0d0d0d);
    border-radius: 0 0 20px 20px;
    bottom: 2px;
    content: "";
    height: 24px;
    left: 2px;
    right: 2px;
    position: absolute;
    z-index: 1;
}

.hero-laptop-header {
    width: 100px;
    height: 12px;
    position: absolute;
    background-color: #000;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 6px 6px;
    z-index: 2;
}

.hero-laptop-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    animation: heroContentFadeIn 1s ease-out 2.5s forwards;
}

@keyframes heroContentFadeIn {
    to { opacity: 1; }
}

.hero-laptop-title {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(255,255,255,0.8);
}

.hero-laptop-title span.text-gradient {
    background: linear-gradient(135deg, #00E5FF, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-laptop-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.6rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.hero-laptop-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,99,235,0.6);
}

.hero-btn-secondary {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border: 2px solid #00E5FF;
    border-radius: 9999px;
    color: #00E5FF;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.hero-btn-secondary:hover {
    background: rgba(0,229,255,0.2);
}

.hero-laptop-keyboard {
    background: radial-gradient(circle at center, #e2e3e4 85%, #a9abac 100%);
    border: solid #a0a3a7;
    border-radius: 2px 2px 12px 12px;
    border-width: 1px 2px 0 2px;
    box-shadow: inset 0 -2px 8px 0 #6c7074;
    height: 24px;
    margin-top: -10px;
    position: relative;
    width: 115%;
    max-width: 1400px;
    z-index: 9;
}

.hero-laptop-keyboard::after {
    background: #e2e3e4;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 0 4px 2px #babdbf;
    content: "";
    height: 10px;
    left: 50%;
    margin-left: -60px;
    position: absolute;
    top: 0;
    width: 120px;
}

.hero-laptop-keyboard::before {
    background: 0 0;
    border-radius: 0 0 3px 3px;
    bottom: -2px;
    box-shadow: -270px 0 #272727, 250px 0 #272727;
    content: "";
    height: 2px;
    left: 50%;
    margin-left: -10px;
    position: absolute;
    width: 40px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-laptop {
        width: 98vw;
    }
    .hero-laptop-screen {
        height: 70vw; /* افزایش ارتفاع برای نمایش بهتر متن */
        border-radius: 12px;
    }
    .hero-laptop-content {
        padding: 1rem 0.5rem;
    }
    .hero-laptop-title {
        font-size: 1.6rem;
    }
    .hero-laptop-desc {
        font-size: 0.8rem;
        max-width: 95%;
    }
    .hero-laptop-actions {
        gap: 0.8rem;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}


/* ========== HERO MATRIX BACKGROUND ========== */
.hero-matrix-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6; /* مات‌تر برای خوانایی محتوای Hero */
    pointer-events: none;
}

.jp-matrix {
    background-color: #050816;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    grid-auto-rows: 30px;
    font-size: 24px;
    color: rgba(0, 229, 255, 0.3);
    font-family: "Courier New", Courier, monospace;
    justify-content: center;
    align-content: center;
}

.jp-matrix > span {
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
    user-select: none;
    transition: color 0.5s, text-shadow 0.5s;
    line-height: 1;
}

/* انیمیشن‌های پالس با رنگ‌های نئونی */
.jp-matrix > span:nth-child(19n + 2) {
    animation: matrix-pulse 3.5s ease-in-out infinite 0.2s;
}
.jp-matrix > span:nth-child(29n + 1) {
    animation: matrix-pulse 4.1s ease-in-out infinite 0.7s;
}
.jp-matrix > span:nth-child(11n) {
    color: rgba(124, 58, 237, 0.7);
    animation: matrix-pulse 2.9s ease-in-out infinite 1.1s;
}
.jp-matrix > span:nth-child(37n + 10) {
    animation: matrix-pulse 5.3s ease-in-out infinite 1.5s;
}
.jp-matrix > span:nth-child(41n + 1) {
    animation: matrix-pulse 3.9s ease-in-out infinite 0.4s;
}
.jp-matrix > span:nth-child(17n + 9) {
    animation: matrix-pulse 2.8s ease-in-out infinite 0.9s;
}
.jp-matrix > span:nth-child(23n + 18) {
    animation: matrix-pulse 4.3s ease-in-out infinite 1.3s;
}
.jp-matrix > span:nth-child(31n + 4) {
    animation: matrix-pulse 5.6s ease-in-out infinite 0.1s;
}
.jp-matrix > span:nth-child(43n + 20) {
    animation: matrix-pulse 3.6s ease-in-out infinite 1.8s;
}
.jp-matrix > span:nth-child(13n + 6) {
    animation: matrix-pulse 3.2s ease-in-out infinite 1.2s;
}
.jp-matrix > span:nth-child(53n + 5) {
    animation: matrix-pulse 4.9s ease-in-out infinite 0.5s;
}
.jp-matrix > span:nth-child(47n + 15) {
    animation: matrix-pulse 5.9s ease-in-out infinite 1s;
}

@keyframes matrix-pulse {
    0%, 100% {
        color: rgba(0, 229, 255, 0.3);
        text-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
    }
    30% {
        color: rgba(124, 58, 237, 1);
        text-shadow: 0 0 10px rgba(124, 58, 237, 0.8), 0 0 15px rgba(124, 58, 237, 0.6);
    }
    50% {
        color: rgba(37, 99, 235, 1);
        text-shadow: 0 0 10px rgba(37, 99, 235, 0.8), 0 0 15px rgba(37, 99, 235, 0.6);
    }
    70% {
        color: rgba(0, 229, 255, 0.9);
        text-shadow: 0 0 10px rgba(0, 229, 255, 0.9), 0 0 20px rgba(0, 229, 255, 0.5);
    }
}

/* ریسپانسیو برای ماتریکس */
@media (max-width: 768px) {
    .jp-matrix {
        grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
        grid-auto-rows: 20px;
        font-size: 16px;
    }
}




/* ========== SERVICES – GLITCH TITLE & 3D CARDS ========== */

/* عنوان گلیچ (همان قبلی، بدون تغییر) */
.srv-glitch {
    position: relative;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    mix-blend-mode: lighten;
    text-align: center;
    margin-bottom: 3rem;
}
.srv-glitch::before,
.srv-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    background: #050816;
    clip: rect(0, 0, 0, 0);
}
.srv-glitch::before {
    right: -1px;
    text-shadow: 2px 0 rgba(0, 229, 255, 0.7);
}
.srv-glitch::after {
    right: 1px;
    text-shadow: -2px 0 rgba(124, 58, 237, 0.7);
}
.srv-glitch:hover::before {
    text-shadow: 4px 0 rgba(0, 229, 255, 0.9);
    animation: srv-glitch-loop-1 0.8s infinite ease-in-out alternate-reverse;
}
.srv-glitch:hover::after {
    text-shadow: -4px 0 rgba(124, 58, 237, 0.9);
    animation: srv-glitch-loop-2 0.8s infinite ease-in-out alternate-reverse;
}

@keyframes srv-glitch-loop-1 {
    0% { clip: rect(36px, 9999px, 9px, 0) }
    25% { clip: rect(25px, 9999px, 99px, 0) }
    50% { clip: rect(50px, 9999px, 102px, 0) }
    75% { clip: rect(30px, 9999px, 92px, 0) }
    100% { clip: rect(91px, 9999px, 98px, 0) }
}
@keyframes srv-glitch-loop-2 {
    0% { top: -1px; left: 1px; clip: rect(65px, 9999px, 119px, 0) }
    25% { top: -6px; left: 4px; clip: rect(79px, 9999px, 19px, 0) }
    50% { top: -3px; left: 2px; clip: rect(68px, 9999px, 11px, 0) }
    75% { top: 0px; left: -4px; clip: rect(95px, 9999px, 53px, 0) }
    100% { top: -1px; left: -1px; clip: rect(31px, 9999px, 149px, 0) }
}

/* حذف انیمیشن خودکار – فقط با hover اجرا شود */

/* گرید کارت‌ها */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    width: min(1400px, 92%);
    margin: 0 auto;
    perspective: 1200px; /* برای عمق کلی */
}

/* کارت والد (perspective جداگانه) */
.srv-card-parent {
    width: 100%;
    padding: 20px;
    perspective: 1000px;
}

/* کارت اصلی */
.srv-card {
    padding-top: 50px;
    border: 3px solid #0F172A;
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #0000 18.75%, #0F172A 0 31.25%, #0000 0),
                repeating-linear-gradient(45deg, #0F172A -6.25% 6.25%, #1E293B 0 18.75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 0;
    background-color: #1E293B;
    width: 100%;
    box-shadow: rgba(0, 229, 255, 0.2) 0px 30px 30px -10px;
    transition: all 0.5s ease-in-out;
    border-radius: 8px;
}

.srv-card:hover {
    background-position: -100px 100px, -100px 100px;
    transform: rotate3d(0.5, 1, 0, 30deg);
    box-shadow: rgba(0, 229, 255, 0.4) 0px 40px 40px -10px;
    border-color: rgba(0, 229, 255, 0.5);
}

/* جعبه محتوای کارت */
.srv-card-content-box {
    background: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
    transition: all 0.5s ease-in-out;
    padding: 60px 25px 25px 25px;
    transform-style: preserve-3d;
    color: #fff;
    border-radius: 8px;
}

.srv-card-title {
    display: inline-block;
    font-size: 25px;
    font-weight: 900;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 50px);
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.srv-card-title:hover {
    transform: translate3d(0px, 0px, 60px);
}

.srv-card-desc {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    transition: all 0.5s ease-in-out;
    transform: translate3d(0px, 0px, 30px);
    color: rgba(255,255,255,0.9);
}

.srv-card-desc:hover {
    transform: translate3d(0px, 0px, 60px);
}

/* باکس آیکون (بالا-راست) */
.srv-card-icon-box {
    position: absolute;
    top: 30px;
    right: 30px;
    height: 60px;
    width: 60px;
    background: #0F172A;
    border: 1px solid #00E5FF;
    padding: 10px;
    transform: translate3d(0px, 0px, 80px);
    box-shadow: rgba(0, 229, 255, 0.3) 0px 17px 10px -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #00E5FF;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .srv-card {
        padding-top: 30px;
    }
    .srv-card-content-box {
        padding: 50px 20px 20px 20px;
    }
    .srv-card-icon-box {
        top: 20px;
        right: 20px;
        height: 45px;
        width: 45px;
        font-size: 22px;
    }
    .srv-card-title {
        font-size: 20px;
    }
    .srv-card-desc {
        font-size: 13px;
    }
}

.pcard-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: filter 0.4s ease-in-out;
    color: #fff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.363)) !important;
}


/* ========== TEAM SECTION ========== */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: min(1400px, 92%);
    margin: 0 auto;
}

.team-card {
    width: 280px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 2rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}

.team-card-top {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.team-card-border {
    position: absolute;
    inset: 0;
    border-bottom: 2px solid rgba(0, 229, 255, 0.5);
}

.team-card-icons {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.2rem;
    height: 100%;
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F172A;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar i {
    font-size: 2.2rem;
    color: #00E5FF;
}

.team-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.team-social .svg {
    width: 24px;
    height: 24px;
    fill: rgba(255,255,255,0.7);
    transition: fill 0.3s, transform 0.3s;
}

.team-social a:hover .svg {
    fill: #00E5FF;
    transform: scale(1.2);
}

.team-card-bottom {
    padding: 1.2rem;
    text-align: center;
}

.team-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}

.team-role {
    display: block;
    font-size: 0.9rem;
    color: #00E5FF;
    margin-bottom: 1rem;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    color: #94A3B8;
    text-transform: uppercase;
}




#portfolio {
  position: relative;
  overflow: hidden; /* جلوی بیرون‌زدن canvas را می‌گیرد */
}

#portfolio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: black;
  pointer-events: auto; /* اجازهٔ تعامل ماوس */
}

/* محتوای داخل سکشن باید z-index بالاتری داشته باشد */
#portfolio .section-header,
#portfolio .pcard {
  position: relative;
  z-index: 1;
}



/* ========== ELECTRIC BORDER PRICING CARDS ========== */
.eb-pricing-section {
    display: block;
    padding: 80px 0;
    background: radial-gradient(circle at 50% 30%, #0F172A 0%, #050816 80%);
    margin-bottom: 150px;
}

.eb-svg-container {
    position: absolute;
    width: 0;
    height: 0;
}

.eb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-items: center;
}

/* کارت */
.eb-card-container {
    padding: 2px;
    border-radius: 24px;
    position: relative;
    width: 350px;
    height: 500px;
    background: linear-gradient(
            -30deg,
            var(--eb-border-color),
            transparent 40%,
            transparent 60%,
            var(--eb-border-color)
        ),
        linear-gradient(to bottom, oklch(0.185 0 0), oklch(0.185 0 0));
    transition: transform 0.3s ease;
}
.eb-card-container:hover {
    transform: translateY(-8px);
}

.eb-inner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.eb-border-outer {
    border: 2px solid color-mix(in srgb, var(--eb-border-color) 50%, transparent);
    border-radius: 24px;
    padding-right: 4px;
    padding-bottom: 4px;
    width: 100%;
    height: 100%;
}

.eb-main-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 2px solid var(--eb-border-color);
    margin-top: -4px;
    margin-left: -4px;
    filter: url(#eb-turbulent-displace);
}

.eb-glow-layer-1 {
    border: 2px solid color-mix(in srgb, var(--eb-border-color) 60%, transparent);
    border-radius: 24px;
    position: absolute;
    inset: 0;
    filter: blur(1px);
    pointer-events: none;
}

.eb-glow-layer-2 {
    border: 2px solid var(--eb-border-color);
    border-radius: 24px;
    position: absolute;
    inset: 0;
    filter: blur(4px);
    pointer-events: none;
}

.eb-background-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    filter: blur(32px);
    transform: scale(1.1);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(-30deg, var(--eb-border-color), transparent, var(--eb-border-color));
}

/* محتوای داخل کارت */
.eb-content-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.eb-content-top {
    display: flex;
    flex-direction: column;
    padding: 48px 40px 16px;
    height: 100%;
}

.eb-content-bottom {
    display: flex;
    flex-direction: column;
    padding: 16px 40px 40px;
}

/* برچسب شیشه‌ای */
.eb-scrollbar-glass {
    background: radial-gradient(47.2% 50% at 50.39% 88.37%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 100%),
        rgba(255,255,255,0.04);
    border-radius: 14px;
    width: fit-content;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    position: relative;
}
.eb-scrollbar-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(150deg, rgba(255,255,255,0.48) 16.73%, rgba(255,255,255,0.08) 30.2%, rgba(255,255,255,0.08) 68.2%, rgba(255,255,255,0.6) 81.89%);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* عنوان قیمت */
.eb-title {
    font-size: 36px;
    font-weight: 600;
    margin-top: auto;
    color: #fff;
}

/* خط جداکننده */
.eb-divider {
    margin: 0 40px;
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.1);
    mask-image: linear-gradient(to right, transparent, white, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white, transparent);
}

/* توضیحات */
.eb-description {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #ccc;
}

/* ویژگی‌ها */
.eb-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #aaa;
}

.eb-features li {
    display: flex;
    align-items: center;
}

/* دکمه سفارش */
.eb-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    align-self: flex-start;
}
.eb-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}



/* ========== LIGHT BUTTON (SOCIAL ICONS) ========== */
.hero-laptop-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    z-index: 20;
    position: relative;
}

.ls-button button.ls-bt {
    position: relative;
    height: 120px;          /* کمی کوچک‌تر از نمونه اصلی */
    display: flex;
    align-items: flex-end;
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
}

.ls-button button.ls-bt .ls-button-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    background-color: #0a0a0a;
    border-radius: 5px;
    color: #0f0f0f;
    font-weight: 700;
    font-size: 10px;
    transition: 300ms;
    outline: #0f0f0f 2px solid;
    outline-offset: 10;
}

.ls-button button.ls-bt .ls-button-holder i {
    font-size: 24px;        /* جایگزین SVG با Font Awesome */
    color: #0f0f0f;
    transition: 300ms;
}

.ls-button button.ls-bt .ls-light-holder {
    position: absolute;
    height: 120px;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-button button.ls-bt .ls-light-holder .ls-dot {
    position: absolute;
    top: 0;
    width: 6px;
    height: 6px;
    background-color: #0a0a0a;
    border-radius: 10px;
    z-index: 2;
}

.ls-button button.ls-bt .ls-light-holder .ls-light {
    position: absolute;
    top: 0;
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 25% 100%, 75% 100%);
    background: transparent;
}

.ls-button button.ls-bt:hover .ls-button-holder i,
.ls-button button.ls-bt:hover .ls-button-holder {
    color: rgba(88, 101, 242, 1);
}

.ls-button button.ls-bt:hover .ls-button-holder {
    outline: rgba(88, 101, 242, 1) 2px solid;
    outline-offset: 2px;
}

.ls-button button.ls-bt:hover .ls-light-holder .ls-light {
    background: linear-gradient(
        180deg,
        rgba(88, 101, 242, 1) 0%,
        rgba(255, 255, 255, 0) 75%,
        rgba(255, 255, 255, 0) 100%
    );
}


/* دکمه‌های اصلی Hero */
.hero-laptop-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .hero-laptop-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* دکمه‌های اجتماعی */
.hero-laptop-socials {
    margin-top: 1.5rem;
}

.ls-button {
    transition: transform 0.2s;
}

/* اگر scale به تنهایی کافی نبود، می‌توانیم اندازه‌های ثابت را هم کاهش دهیم */
@media (max-width: 640px) {
    .ls-button button.ls-bt {
        height: 80px;
    }
    .ls-button button.ls-bt .ls-button-holder {
        height: 40px;
        width: 40px;
    }
    .ls-button button.ls-bt .ls-button-holder i {
        font-size: 18px;
    }
    .ls-button button.ls-bt .ls-button-holder p {
        font-size: 8px;
    }
    .ls-button button.ls-bt .ls-light-holder {
        height: 80px;
        width: 40px;
    }
    .ls-button button.ls-bt .ls-light-holder .ls-light {
        width: 80px;
        height: 80px;
    }
}




/* Custom Cursor */
/* .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid #00E5FF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), 0 0 30px rgba(0, 229, 255, 0.2);
    will-change: transform, width, height;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
} */

/* نقطه داخلی (اختیاری) */
/* .custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #00E5FF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #00E5FF;
    transition: background 0.2s, transform 0.2s;
} */

/* حالت hover روی المان‌های تعاملی */
/* .custom-cursor.pointer {
    width: 48px;
    height: 48px;
    border-color: #fff;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    box-shadow: 0 0 20px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.2);
} */

/* .custom-cursor.pointer::after {
    background: #fff;
    box-shadow: 0 0 15px #fff;
    width: 8px;
    height: 8px;
} */



/* === removing default button style ===*/
.button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  direction: ltr;
}

/* button styling */
.button {
  --border-right: 6px;
  --text-stroke-color: rgba(255,255,255,0.6);
  --animation-color: #00e5ff;
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
/* this is the text, when you hover on button */
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}
/* hover */
.button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
}




/* ========== BOTTOM NAVIGATION (MOBILE/TABLET) ========== */
.bottom-nav {
    display: none; /* مخفی در دسکتاپ */
    position: fixed;
    left: 50%;
    bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 520px;
    backdrop-filter: blur(12px) saturate(180%) contrast(200%);
    -webkit-backdrop-filter: blur(12px) saturate(180%) contrast(200%);
    background: rgba(0, 229, 255, 0.08); /* آبی نئونی با شفافیت */
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 6px 4px;
    border-radius: 100px;
    justify-content: space-evenly;
    align-items: center;
    gap: 2px;
    z-index: 1000;
    list-style: none;
}

.bottom-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 2px 2px 5px -2px rgba(255, 255, 255, 0.2),
        inset -2px -2px 5px 2px rgba(0, 0, 0, 0.3),
        inset 0 -2px 0 rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 999px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
    transition: transform 0.25s;
}

.bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #00E5FF;
    box-shadow:
        inset 2px 2px 5px -2px rgba(255, 255, 255, 0.4),
        inset -2px -1px 5px 0 rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

/* فعال‌سازی لینک فعال (با JavaScript به‌روز می‌شود) */
.bottom-nav-item.active i {
    transform: scale(1.2);
}

/* نمایش فقط در موبایل و تبلت */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
}






