@font-face {
    font-family: 'Muli'; 
    src: url('/Muli.woff2') format('woff2');
    font-weight: normal;
    font-style: normal; 
}

:root {
    --primary: #ff6f00d8;
    --primary-dark: #da5e00d5;
    --secondary: #ff375f;
    --accent: #2a6effe0;
    --dark: #121212;
    --darker: #0a0a0a;
    --card-bg: rgba(25, 25, 25, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient: linear-gradient(135deg, #ff6f00b4, #2a8dffb2);
    --glow: 0 0 15px rgba(255, 141, 10, 0.404);
}

* {
    font-family: Muli;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;

}

body {
    background: var(--dark);
    color: var(--text-primary);
    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%, #ff6f0031 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, #0051ff50 0%, transparent 40%);
    z-index: -1; 
}


body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-repeat:repeat;
    background-position: center;
    background-size: contain; 
    opacity: 1; 
    text-align: center;
    
    pointer-events: none; 
    z-index: -2; 
}


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-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

header.scrolled {
    padding: 10px 5% !important;
    background: rgba(10, 10, 10, 0.95)!important;
}

.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);
    transition: all 0.3s ease;
}


.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;
    text-decoration: none;
}

.nav-link i {
    font-size: 14px;
}

.nav-text {
    display: inline;
}


.hero-section {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

main {
    flex: 1 0 auto;
    padding: 0 0 60px;
    width: 100%;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.app-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.app-icon {
    padding: 30px 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.app-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon img {
    transform: scale(1.1);
}

.app-content {
    padding: 20px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.app-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app-card:hover .app-cta {
    color: var(--accent);
}


.divider {
    position: relative;
    text-align: center;
    margin: 50px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    display: inline-block;
    background: var(--darker);
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-weight: 500;
}


.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    background: transparent;
}

.protocol-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.protocol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.protocol-link {
    display: flex;
    flex-direction: column;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.protocol-icon {
    text-align: center;
    margin-bottom: 20px;
}

.protocol-icon img {
    width: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.protocol-card:hover .protocol-icon img {
    transform: scale(1.1);
}

.protocol-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.protocol-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.protocol-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.protocol-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 600;
    margin-top: auto;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.protocol-card:hover .protocol-cta {
    color: var(--accent);
}


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;
}



.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;
    transition: width 0.4s ease;
}


::selection {
    background: var(--primary);
    color: #cf6d6d;
}

::-moz-selection {
    background: var(--primary);
    color: rgb(218, 118, 118);
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}


.app-card, .protocol-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.additional-resources {
    margin: 60px 0 40px;
    text-align: center;
}

.resources-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.resource-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.resource-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .headerTitle {
        font-size: 1.2rem;
    }
    
    .nav-text {
        display: none;
    }
    
    .cards-grid, .protocols-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .app-content, .protocol-link {
        padding: 20px;
    }
    
    .app-icon, .protocol-icon {
        padding: 20px 20px 15px;
    }
    
    .app-icon img, .protocol-icon img {
        width: 70px;
        height: 70px;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px !important;
    }
    
    .footer-message {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .headerTitle {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .app-content, .protocol-link {
        padding: 15px;
    }
    
    .app-icon img, .protocol-icon img {
        width: 60px;
        height: 60px;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}
@media (max-width: 768px) {
    .resource-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .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 (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; }
.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.protocol-card:nth-child(1) { animation-delay: 0.4s; }
.protocol-card:nth-child(2) { animation-delay: 0.5s; }
.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::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;
}
.content{
    transition: all 0.4s ease;
    will-change: transform, box-shadow;

}
footer, header, .content, .app-cta, .protocol-cta{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.logo-container{
    transition: transform 0.3s;
}
.nav-item, header, .logo{
    transition: all 0.3s ease;
}
.loading-bar{
    transition: all 0.6s ease;
}

.protocol-cta, .app-cta{
    transition: color 0.3s ease;
}
}