    
:root {
    --bg: #0f1013;
    --line: rgba(255,255,255,.028);
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #4a9eff;
    --accent-hover: #3d8bdb;
    --border: #333333;
    --shadow: rgba(0, 0, 0, 0.459);
    --glass-bg:#3030305d;
    --glass-border:rgba(255,255,255,.10);
    --box-shadow1:rgba(0,0,0,.22);
    --box-shadow2: rgba(255,255,255,.14);
    --radius:9999px;

    --popup-bg:#0F0F0F;
    --auth-bt-bg:#0F0F0F;
    --auth-bt-hover:#262626
}

:root.Light-theme {
    --bg: #fafafa;
    --bg-primary: #bebebe;
    --bg-secondary: #d6d6d6;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --accent: #4a9eff;
    --accent-hover: #3d8bdb;
    --border: #b5b7b9;
    --shadow: rgba(0, 0, 0, 0.1);
    --line: rgba(0,0,0,.035);
    --glass-bg:rgba(247, 247, 247, 0.61);
    --glass-border:rgba(194, 193, 193, 0.45);
    --box-shadow1:rgba(31, 38, 135, 0.08);
    --box-shadow2: rgba(255, 255, 255, 0.4);

    --popup-bg:#fdfdfd;
    --auth-bt-bg:#fdfdfd;
    --auth-bt-hover:#e0dede;
}
li{
    display: flex;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Inter', 'Vazirmatn', sans-serif;
}

body{
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 20px;
    z-index: -1;
}

body::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index: -1;

    background:
        repeating-linear-gradient(
            135deg,
            transparent 0px,
            transparent 10px,
            var(--line) 10px,
            var(--line) 11px
        );
}
body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-2;
    pointer-events:none;

    background:
        radial-gradient(600px circle at 5% 10%, rgba(74,158,255,.05), transparent 70%),
        radial-gradient(600px circle at 85% 90%, rgba(120,90,255,.05), transparent 70%);
}

/* ================================= */

@keyframes fadeD {
    from{
        opacity: 0;
        transform: translate(-50%,-50px);
        scale: 1.0;

    }
    to{
        opacity: 1;
        transform: translate(-50%,0px);
        scale: 1;
    }
}
@keyframes fadeU {
    from{
        opacity: 0;
        transform: translate(-50%,50px);
        scale: 1.0;

    }
    to{
        opacity: 1;
        transform: translate(-50%,0px);
        scale: 1;
    }
}
@keyframes fadeL {
    from{
        opacity: 0;
        transform: translateX(-100px);
        scale: 0.5;
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        scale: 1;
    }
}
@keyframes fadeR {
    from{
        opacity: 0;
        transform: translateX(50px);
        scale: 0.5;
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        scale: 1;
    }
}
@keyframes fadeRR {
    from{
        opacity: 0;
        transform: translateX(100px);
        scale: 0.5;
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        scale: 1;
    }
}

.glass-nav{

    position:fixed;
    display:flex;
    align-items:center;
    opacity: 0;

    padding:6px;
    z-index: 110;
    border-radius:var(--radius);

    backdrop-filter:blur(10px) saturate(180%);
    -webkit-backdrop-filter:blur(30px) saturate(180%);

    background:var(--glass-bg);

    border:1px solid var(--glass-border);
    border-bottom: 1px solid rgba(255,255,255,.05);

    box-shadow:
        0 8px 28px var(--box-shadow1),
        inset 0 1px var(--box-shadow2);
    animation: fadeD 1.0s ease forwards;
    transition: all 0.3s cubic-bezier(1, 0, 0, 1);
    /* animation-delay: 0.2s; */
}   

.glass-navbar{

    position:fixed;
    top:8px;
    left: 50%;

    display:flex;
    align-items:center;
    opacity: 0;
    z-index: 10;

    padding:6px;

    border-radius:var(--radius);

    backdrop-filter:blur(10px) saturate(180%);
    -webkit-backdrop-filter:blur(30px) saturate(180%);

    background:var(--glass-bg);

    border:1px solid var(--glass-border);
    border-bottom: 1px solid rgba(255,255,255,.05);

    box-shadow:
        0 8px 28px var(--box-shadow1),
        inset 0 1px var(--box-shadow2);
    animation: fadeD 1.0s ease forwards;
    transition: all 0.3s cubic-bezier(1, 0, 0, 1);
    /* animation-delay: 0.2s; */
}  

a,span,img{
    -webkit-user-drag: none;
    user-select: none;
}
*:focus{
    outline: none;
}

 
@font-face {
    font-family: "nova";
    src: url(fonts/Nova-Regular.woff2)format(wiff2),
    url(fonts/Nova-Regular.ttf)format(ttf);
    font-display: swap;
}
.logo{
    color: var(--text-primary);
    /* position:relative; */

    display:block;

    width: 100px;
    height: 34px;

    border-radius:var(--radius);
    background: var(--text-primary); /* Any color */
    mask: url("Images/Morixs-logo-full.svg") center / contain no-repeat;
    -webkit-mask: url("Images/Morixs-logo-full.svg") center / contain no-repeat;
    mask-size: 77px 124px;




    letter-spacing:.35px;
    font-weight: normal;

    font-size:19px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
}


/* =============== Header ================== */

header{
    padding: 8px;
    display:flex;
    gap: 50px;
    left: 0px;
    padding-right: 15px;
    width: 100vw;
    overflow: hidden;
    position: fixed;
    z-index: 10;

    
}
/* ================================= */
/* From Uiverse.io by Cevorob */ 
.burger {
  position: relative;
  width: 24px;
  height: 30px;
  padding: 3px;
  background: transparent;
  cursor: pointer;
  display: block;
  scale: 0.6;
  margin: 1px 4px 1px 4px;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--text-secondary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 4px;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 22px;
  left: 4px;
}
/* ================================= */
.nav-list{

    position:relative;

    display:flex;

    list-style:none;

    gap:5px;
}

/* Active Glass */

.active-pill{

    position:absolute;

    inset:auto;

    top:0;

    left:0;

    height:100%;

    border-radius:var(--radius);

    background:
        linear-gradient(
            rgba(255,255,255,.18),
            rgba(255,255,255,.07)
        );

    border:1px solid rgba(255,255,255,.05);
    border-bottom: transparent;

    box-shadow:
        inset 0 1px rgba(255,255,255,.18);

    transition:
        left .28s cubic-bezier(.25,.8,.25,1),
        width .28s cubic-bezier(.25,.8,.25,1);
}

/* ================================= */

.nav-item{
    position:relative;
    display:block;
    padding:10px 20px;
    border-radius:var(--radius);
    color:var(--text-secondary);
    text-decoration:none;
    font-size:14px;
    cursor: pointer;
    font-weight:500;
    letter-spacing:.15px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item:hover{
    
    color:var(--text-primary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.nav-item::after{
    background:rgba(255, 255, 255, 0.021);
    border-radius:var(--radius);
    opacity: 0;
    z-index: -1;
    content: '';
    position: absolute;
    inset: 0;
    transform: scale(0.6);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item:hover::after{
    background:rgba(255, 255, 255, 0.089);
    border-radius:var(--radius);
    opacity: 1;
    z-index: -1;
    content: '';
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item:active::after{
    background:rgba(255, 255, 255, 0.089);
    border-radius:var(--radius);
    opacity: 1;
    z-index: -1;
    content: '';
    position: absolute;
    inset: 0;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item.active{

    color:var(--accent);

}
.nav-item.active:hover{

    color:var(--accent-hover);

}

/* =============== avater ================== */
.avatar{
    transform: scale(0.95);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    pointer-events: none;
    background: var(--text-secondary); /* Any color */
    mask: url("icons/profile.svg") center / contain no-repeat;
    -webkit-mask: url("icons/profile.svg") center / contain no-repeat;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.avatar.User{
    transform: scale(0.95);
    height: 34px;
    width: 34px;
    opacity: 0.8;
    background: none; /* Any color */
    mask: none;
    -webkit-mask: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.glass-nav:hover .avatar{
    color: var(--text-secondary);
    background: var(--text-primary);
    transform: scale(1);
    height: 34px;
    width: 34px; /* Any color */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* =============== menu ================== */
.menu{
    position:fixed;
    display:flex;
    opacity: 0;
    gap: 0px;
    flex-direction: row;
    align-items:end;
    direction: rtl;
    padding:6px;
    margin-left: 5px;
    border-radius:var(--radius);
    backdrop-filter:blur(10px) saturate(180%);
    -webkit-backdrop-filter:blur(30px) saturate(180%);
    background:var(--glass-bg);
    border:1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.05);
    box-shadow:
        0 8px 28px rgba(0,0,0,.22),
        inset 0 1px rgba(255,255,255,.14);
    z-index: 201;
    transition: all 0.3s ease;
    animation: fadeR 1s ease forwards;
    animation-delay: 0.4s;
    top: 8px;
    right:3px;
} 

.menu.open{
    gap: 14px;
    padding-left: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
} 
.menu.open{
    gap: 14px;
    padding-left: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
} 
.menu-icon{
    color: var(--text-secondary);
    transform: scale(0.95);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    opacity: 0.8;
    background: var(--text-primary); /* Any color */
    mask: url("icons/settings.svg") center / contain no-repeat;
    -webkit-mask: url("icons/settings.svg") center / contain no-repeat;
        
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-icon:hover{
    rotate: 45deg;
    filter: brightness(1.4)saturate(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.menu.open .menu-icon{
    rotate: -180deg;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============== menu theme switch ================== */
.menu-item{
    align-items:center;
    opacity: 0;
    width: 0px;
    height: 0px;
    font-weight: bold;
    transform: translateY(-20px) rotate(90deg);
    pointer-events: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    color:var(--text-secondary);
    /* border: 1px solid var(--border); */
    /* background: var(--border); */
}
.menu-item:hover{
    opacity: 0;

    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color:var(--text-primary);
}

.menu-item svg{
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    scale: 0.7;

}
.menu.open .menu-item{
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: translateY(-2px);
    pointer-events: all;
    text-align: center;
    justify-content: center;
    align-content: center;
    transition: all 0.3s ease;
}

/* =============== Glass nav ================== */

.glass-nav .profile{
    color: var(--text-secondary);
    transform: scale(0.88);
    height: 34px;
    width: 34px;
    /* filter: brightness(0.9)saturate(0); */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.glass-nav:hover .profile{
    color: var(--text-primary);
    transform: scale(0.92);
    /* filter: brightness(1.5)saturate(0); */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.glass-nav:hover .logo{
    background: var(--accent);
    transition: all 0.3s ease;
}




.glass-nav:first-child{
    animation: fadeL 1.0s ease forwards;
}
.glass-nav:nth-child(3){
    top: 8px;
    right:58px;
    z-index: 10;
    animation: fadeRR 1.0s ease forwards;
}
.glass-nav:nth-child(3).open{
    /* right:158px; */
    /* transform: translateX(-100px); */
    translate: -100px;
    transition: all 0.2s ease;
}
@media (max-width:740px){
    .logo{

        padding:5px 10px 3px 8px;

        font-size:14px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    }
    .logo-icon{
        display: none

    }
    .glass-nav .profile{
        height: 32px;
        width: 32px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .menu-icon{
        height: 32px;
        width: 32px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .glass-nav{
        transform: translateY(200px);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .glass-navbar{
        top: auto;
        bottom: 10px;
        animation: fadeU 1.0s ease forwards;
        /* transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); */
    }

}
/* -------------------------------------------------------------------- main ------------------------------------------------------------------------------------------------ */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    z-index: 6;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
    background-clip: content-box;
}


::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

[data-theme="light"] html {
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}


html {
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */




/* Main Content */
main {
    margin-top: 70px;
    min-height: calc(100% - 70px);
    z-index: 5;
}

.page {
    display: none;
    padding: 3rem 0;
    animation: pageSlideIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes pageSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Page */
.hero {
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-content {
    position: relative;

}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

[lang="fa"] .hero h1 {
    font-family: 'Amiri', 'Vazirmatn', serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    min-height: 2rem;
}

.hero-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #6c5ce7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px rgba(74, 158, 255, 0.3);
    animation: logoFloat 1.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px); 
        box-shadow: 0 8px 32px rgba(74, 158, 255, 0.3);
    }
    50% { 
        transform: translateY(-8px); 
        box-shadow: 0 12px 40px rgba(74, 158, 255, 0.4);
    }
}

@keyframes countUp {
    0% { 
        opacity: 0; 
        transform: scale(0.5) rotate(-180deg);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2) rotate(0deg);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    overflow: hidden;

}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}



/* Projects Page */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .search-bar {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 30px rgba(74, 158, 255, 0.2);
}

.search-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    background: var(--accent);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
@keyframes show {
    0%{opacity: 0;
        transform: translateY(40%) scale(0.7);
    }
    100%{opacity: 1;
        transform: translateY(0) scale(1);
    }
    
}
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: show 0.4s ease forwards;
}

.project-card:hover {
    box-shadow: 0 8px 40px rgba(74, 158, 255, 0.3), 0 0 20px rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.4);
}



.project-header {
    padding: 1rem 1rem 0.5rem;
    display: flex;
    align-items: flex-start;
    direction: ltr;
    gap: 0.75rem;
}

.project-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--glass-bg), var(--bg-card));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(69, 69, 70, 0.3);
}

.project-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-card h3 {
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.project-category {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 0 1rem 1rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.project-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stars {
    display: flex;
    gap: 2px;
    direction: ltr;
    
}
.star {
    width: 14px;
    height: 14px;
    color: #fbbf24;
}

.rating-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.project-version {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.project-price {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.project-tag {
    background: rgba(74, 158, 255, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.project-action {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.project-action:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.project-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Others Page */
.others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .info-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}





/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 1rem;
    }

    .projects-grid,
    .others-grid {
        grid-template-columns: 1fr;
    }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}


/* Footer */
footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 3rem auto 2rem;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}


.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    text-align: left;
    max-width: 100%;
    flex-direction: row;
    width: 100%;
    margin: 0 auto;
}

.footer-logo .logo {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 150px;
    flex: 1;
    align-items: flex-start;
    text-align: left;
    max-width: 200px;
}


.footer-section h4 {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}
.footer-link img {
    filter: saturate(0) contrast(0);
    transition: all 0.3s ease;
}
.footer-link:hover img {
    filter: saturate(1);
    transition: all 0.3s ease;
    
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
}

.secure-text {
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: secureGlow 2s ease-in-out infinite alternate;
}

@keyframes secureGlow {
    from { text-shadow: 0 0 5px rgba(34, 197, 94, 0.3); }
    to { text-shadow: 0 0 10px rgba(34, 197, 94, 0.6); }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px var(--shadow);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 158, 255, 0.3);
    border-color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.65rem;
    margin: 0;
}

@media (max-width: 768px) {


    footer {
        margin: 2rem 1rem 2rem;
        padding: 1rem 0;
    }

    .footer-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .footer-section {
        min-width: 120px;
        flex: 1;
    }


    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        text-align: center;
        gap: 0.75rem;
    }

    .footer-social {
        justify-content: flex-start;
    }
    @font-face {
        font-family: "nova";
        src: url(fonts/Nova-Regular.woff2)format(wiff2),
        url(fonts/Nova-Regular.ttf)format(ttf);
    }

}
/* ----------------Custom ------------------ */
@keyframes shake{
    0%,100%{transform:translateX(0)}
    10%{transform:translateX(5px)}
    80%{transform:translateX(-5px)}
    30%{transform:translateX(-10px)}
    60%{transform:translateX(10px)}
}

.overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity .3s ease, visibility .3s ease;

}


.popup {
    width: 70%;
    max-width: 400px;
    padding: 34px;
    border-radius: 20px;

    background: var(--popup-bg);
    backdrop-filter: blur(20px);
    display: flex;
    gap:10px;
    flex-direction: column;

    border: 1px solid var(--line);
    color: white;

    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup.shake{
    animation: shake 0.33s ease-in-out;
}
/* ----------------------------- */
.authBt{
    display: flex;
    width: auto;
    padding: 3px;
    gap:5px;
    padding-top: 10px;
    border-radius: 15px;
    justify-content: center;
    background: var(--auth-bt-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.authBt:hover{
    background: var(--auth-bt-hover);

    color: var(--text-primary);
}
.authBt *{
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.authBt img{
    height: 24px;
    width: 24px;
}
/* ----------------------------- */
.divider {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  gap: 15px;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}
.divider span {
  white-space: nowrap;
}
/* ----------------------------- */
.popup h2,p {
    display: block;
    width: auto;
    text-align: center;
    justify-content: center;
}
.popup a {
    display: block;
    width: auto;
    margin: 0 4px 0 4px;
}
/* ----------------------------- */
.Bt{
    display: flex;
    width: auto;
    border-radius: 15px;
    justify-content: center;
    background: var(--accent);
    border: 1px solid var(--box-shadow1);
    color: var(--text-primary);
    padding: 12px;
    gap: 10px;
    cursor: pointer;
    margin-top: 20px;

    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}
.Bt:hover{
    transform: scale(1);
    background: var(--accent-hover);
    border: 1px solid var(--box-shadow2);
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.Bt:active{
    transform: scale(0.92);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* ----------------------------- */
.Email {
    text-align: left;
    direction: ltr;
    border-radius: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    height: 45px;
    padding: 15px;

    margin: 1px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.Password {
    text-align: left;
    direction: ltr;

    border-radius: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    height: 45px;
    padding: 15px;
    margin: 1px;
    flex:1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* mask: url(icons/eye0.svg)center / contain no-repeat; */
}
.eye{
    color: var(--text-secondary);
    transform: scale(0.95);
    width: 50px;
    border-radius: 30%;
    background: none; /* Any color */
    mask-size: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: -53px;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--border) inset;
  -webkit-text-fill-color: #ffffff;
  caret-color: var(--text-primary);
}
.eye.auto
.eye::after{
    color: var(--text-secondary);
    transform: scale(0.95);
    height: 100%;
    width: 100%;
    border-radius: 50%;
    pointer-events: none;
    inset: 0;
    content: "";
    border-radius: 30%;
    background: var(--text-secondary); /* Any color */
    mask: url("icons/eye0.svg") center / contain no-repeat;
    -webkit-mask: url("icons/eye0.svg") center / contain no-repeat;
    mask-size: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.eye.visible::after{
    mask: url("icons/eye1.svg") center / contain no-repeat;
    -webkit-mask: url("icons/eye1.svg") center / contain no-repeat;
    mask-size: 20px;

}
.eye:hover::after{
    background: var(--text-primary);
}
.popup input:focus {
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

.popup input:hover {
    
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}
.popup button span {
    color: var(--text-primary);
    margin-top: 6px;
}

.overlay.show .popup {

    transform: scale(1);
}

.popup *{
    display: flex;
    color: var(--text-primary);
}
.popup a{
    font-size: 14px;
    align-content: center;
    color: var(--text-secondary);
}

.link{
    font-size: 14px;
    text-decoration:none;
    color: var(--accent)!important;
}
.link:hover{
    color: var(--accent-hover)!important;
}
.formError{
    display: none;
    color:rgba(255, 0, 0, 0.562)!important;
    font-size: 13px;
    padding-top: 6px;
}
.cf-turnstile{
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}


.wrapper {
  width: 200px;
  left: 50%;
  translate:-50%;
  height: 60px;
  bottom: 140px;
  position: fixed;
  scale: 0.25;
  margin:-5px 200px -15px 0px;
  visibility: hidden;
}

@media (max-width: 580px) {
    .popup {
        width: 85%;
        gap:10px;
        padding: 20px;
    }
    .popup a{
        font-size: 13px;
    }
    .popup h2{font-size: 22px;}
    .wrapper{bottom: 125px;}
    .cf-turnstile{
        transform: scale(0.9);
    }
}
.wrapper.go{
    visibility: visible;
}
.circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: var(--text-primary);
  left: 15%;
  transform-origin: 50%;
  animation: circle7124 .5s alternate infinite ease;
}

@keyframes circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

.circle:nth-child(2) {
  left: 45%;
  animation-delay: .2s;
}

.circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: .3s;
}

.shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.9);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: shadow046 .5s alternate infinite ease;
}

@keyframes shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: .7;
  }

  100% {
    transform: scaleX(.2);
    opacity: .4;
  }
}

.shadow:nth-child(4) {
  left: 45%;
  animation-delay: .2s
}

.shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: .3s;
}

