:root {
    --primary: #0a84ff;
    --primary-dark: #0066cc;
    --secondary: #ff375f;
    --accent: #bf5af2;
    --dark: #121212;
    --darker: #0a0a0a;
    --card-bg: rgba(25, 25, 25, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --glow: 0 0 15px rgba(10, 132, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;

}

body {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    -moz-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    overflow-x: hidden;
    position: relative;

}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 92, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(191, 90, 242, 0.15) 0%, transparent 40%) !important;
    z-index: -1;
}

header {
    padding: 15px 5% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.8);

    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}

header.scrolled {
    padding: 10px 5% !important;
    background: rgba(10, 10, 10, 0.95)!important;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}



.logo {
    border-radius: 12px;
    background: var(--gradient);
    width: 45px;
    height: 45px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow);
}



.logo i {
    font-size: 20px;
    color: white;
}

.headerTitle {
    font-size: 1.4rem;
    white-space: nowrap;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 16px !important;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.05);
}



.nav-link {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 14px;
}

main {
    flex: 1;
    padding: 100px 5% 90px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.content {
    position: relative;
    z-index: 1;
    padding: 30px;
    width: 100%;
    border-radius: 16px;
    background: var(--card-bg);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}



.content:nth-child(1):hover { border-top-color: var(--primary); }
.content:nth-child(2):hover { border-top-color: var(--secondary); }
.content:nth-child(3):hover { border-top-color: var(--accent); }

.contentTitle {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contentTitle i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
}

.contentParagraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

.glow-on-hover {
    width: 100%;
    max-width: 220px;
    height: 48px;
    border: none;
    outline: none;
    background: var(--gradient);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}
        

        
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--glow);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}



.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    width: 0%;
    z-index: 1001;
}
        
.glow-on-hover:hover::before {
    opacity: 1;
}



@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

footer {
    z-index: 100;
    padding: 20px 5% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-logo {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow);
}

.footer-logo i {
    font-size: 16px;
    color: white;
}

.footer-text {
    font-size: 0.9rem;
    white-space: nowrap;
    margin-right: 10px;
    color: var(--text-secondary);
}

.footer-message {
    font-size: 0.85rem;
    text-align: right;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}




@media (max-width: 768px) {
    .content,
    .logo,
    .nav-item,
    .glow-on-hover,
    .back-to-top {
        transition: none;
    }
    .loading-bar{
        display: none;
    }
    .glow-on-hover{
        animation: none;
    }
    header {
        padding: 12px 4% !important;
    }
    
    .headerTitle {
        font-size: 1.2rem;
    }
    
    .nav-item {
        padding: 6px 12px !important;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 16px;
    }
    
    main {
        padding: 90px 4% 80px;
    }
    
    .content {
        padding: 20px;
    }
    
    .contentTitle {
        font-size: 1.4rem;
    }
    
    footer {
        padding: 15px 4% !important;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-text {
        font-size: 0.8rem;
        margin-right: 0;
    }
    
    .footer-message {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    .glow-on-hover::before {
        animation: none;
    }
    
    .headerTitle {
        font-size: 1.1rem;
    }
    
    .content {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .contentTitle {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contentParagraph {
        font-size: 0.95rem;
    }
    
    .glow-on-hover {
        height: 44px;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
    

    .glow-on-hover {
        -webkit-tap-highlight-color: transparent;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    main {
        padding: 100px 5% 90px;
        max-width: 90%;
    }
    
    .content {
        padding: 25px;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content,
    .logo,
    .nav-item,
    .glow-on-hover,
    .back-to-top {
        transition: none;
    }
    
    .content {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .glow-on-hover::before {
        animation: none;
    }
}
@media (min-width: 1280px) {
.content:nth-child(1) { animation-delay: 0.1s; }
.content:nth-child(2) { animation-delay: 0.2s; }
.content:nth-child(3) { animation-delay: 0.3s; }
.content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}
.content:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.back-to-top:hover {
    transform: translateY(-5px);
}
.logo-container:hover {
    transform: translateY(-2px);
}
.logo:hover {
    transform: rotate(10deg);
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.7);
}
.glow-on-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(10, 132, 255, 0.4);
}
.glow-on-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0000, #ff7300, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 800%;
    z-index: -1;
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}
.back-to-top{
    transition: all 0.3s ease;
    will-change: transform, opacity;
}
.glow-on-hover{
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    touch-action: manipulation;
}
.content{
    transition: all 0.4s ease;
    will-change: transform, box-shadow;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}
footer{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.logo{
    transition: all 0.3s ease;
}
.logo-container{
    transition: transform 0.3s;
}
.nav-item{
    transition: all 0.3s ease;
}
.loading-bar{
    transition: all 0.6s ease;
}
header{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
}