* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    color: white;
    z-index: 99;
    margin: 0px auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}


/* 3D Canvas Container */
#threejs-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#threejs-bg canvas {
    width: 100vw !important;
    height: 100vh !important;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(9, 174, 184, 0.1) 0%,
            rgba(5, 6, 15, 0.8) 50%,
            rgba(9, 174, 184, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(9, 174, 184, 0.2);
    opacity: 0;
    transition: all 0.5s ease;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #09AEB8, #ffffff, #09AEB8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 3s ease-in-out infinite;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #09AEB8, #ffffff);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(9, 174, 184, 0.5));
}

@keyframes logoShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(9, 174, 184, 0.1);
    border-radius: 50px;
    padding: 0.5rem !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(9, 174, 184, 0.2);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(9, 174, 184, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(9, 174, 184, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
}

/* Navigation Click Effects */
.nav-links a.clicked {
    animation: navClickEffect 0.6s ease-out;
}

@keyframes navClickEffect {
    0% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
    }

    25% {
        transform: translateY(-2px) scale(1.1);
        box-shadow: 0 10px 30px rgba(9, 174, 184, 0.6);
    }

    50% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 15px 40px rgba(9, 174, 184, 0.8);
    }

    100% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(9, 174, 184, 0.2);
    transform: scale(1.1);
}

.nav-toggle:focus {
    background: rgba(9, 174, 184, 0.2);
    color: white;
    outline: 2px solid #09AEB8;
    outline-offset: 2px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 50;
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #09AEB8, #ffffff, #40E0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(9, 174, 184, 0.1);
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 2rem;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .hero-content {
        z-index: 1;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 0;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.85);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(9, 174, 184, 0.2);
        color: #fff;
        box-shadow: inset 0 0 10px rgba(9, 174, 184, 0.5);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
    }
}

.article-category {
    display: inline-block;
    background: rgba(9, 174, 184, 0.2);
    color: #09AEB8;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(9, 174, 184, 0.3);
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}


.single-article {
    width: 100%;
    margin: 0 auto;
}

.article-hero img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
}

.article-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2,
.article-content h3 {
    color: #09AEB8;
    margin-top: 20px;
    font-size: 2rem;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem !important;
}

.article-meta .article-category {
    margin-left: 0.5rem;
}

.article-meta .article-category a {
    color: white !important;
    text-decoration: none !important;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.article-meta .article-category a:hover {
    color: #09AEB8 !important;
    text-decoration: underline;
}

#ast-mobile-header {
    display: none !important;
}

#ast-scroll-top {
    display: none !important;
}

a {
    color: #D9D9DC !important;
}

a:hover {
    color: #09AEB8 !important;
}