/* 基础样式 */
:root {
    --primary-dark: #0A1128;
    --primary-gold: hsl(214, 85%, 73%);
    --tech-blue: #7daed8;
    --deep-purple: #120051;
    --text-white: #FFFFFF;
    --text-light: #E0E0E0;
    --gradient-dark: linear-gradient(135deg, #0A1128 0%, #1A2151 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    background-color: var(--primary-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-gold);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* 加载屏幕 */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightning-logo {
    width: 80px;
    height: 120px;
    background: var(--primary-gold);
    clip-path: polygon(40% 0%, 60% 0%, 50% 40%, 70% 40%, 30% 100%, 40% 55%, 20% 55%);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.loading-text {
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 0.2rem;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* 背景画布 */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Logo Button Link Wrapper */
.logo-button-link {
    position: fixed;
    top: 2rem;
    left: 1rem;
    z-index: 101;
    text-decoration: none;
    transition: top 0.3s ease;
}

.logo-button-link.scrolled {
    top: 1rem;
}

/* Logo Button */
.logo-button {
    position: relative;
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.8rem calc(2rem - 10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.logo-button-link:hover .logo-button {
    width: 10rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
    transform: translateY(-2px);
}

.logo-button .logo-icon {
    width: 20px;
    height: 30px;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-button-link:hover .logo-icon {
    transform: rotate(360deg);
}

.logo-button .logo-text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

.logo-button-link:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* 头部导航 */
header {
    position: fixed;
    top: 2rem;
    left: 0;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: top 0.3s ease;
}

header.scrolled {
    top: 1rem;
}

.logo {
    display: none;
}

.logo-icon {
    width: 30px;
    height: 45px;
    background: var(--primary-gold);
    clip-path: polygon(40% 0%, 60% 0%, 50% 40%, 70% 40%, 30% 100%, 40% 55%, 20% 55%);
    margin-right: 0.8rem;
}

.logo-text {
    font-family: 'Figtree', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
}

nav {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

nav:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    font-family: 'Figtree', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    position: relative;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.85);
}

nav ul li a:hover {
    background: hsla(214, 85%, 73%, 0.15);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

nav ul li a.active {
    background: hsla(214, 85%, 73%, 0.2);
    color: var(--primary-gold);
    box-shadow: 0 0 20px hsla(214, 85%, 73%, 0.3),
        inset 0 0 10px hsla(214, 85%, 73%, 0.1);
}

nav ul li a::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* 主要内容 */
main {
    padding-top: 80px;
}

.section {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

/* 首页部分 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8rem;
    align-items: center;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-top: -80px;
    /* pull up slightly */
}

.hero-content {
    flex: 0 1 auto;
    margin-left: 0rem;
}

.glitch-text {
    /* React Bits properties mapped to CSS Variables */
    --shiny-speed: 3s;
    --shiny-base: rgba(255, 255, 255, 0.4);
    --shiny-highlight: rgba(255, 255, 255, 1);

    font-size: 5rem;
    letter-spacing: 0.5rem;
    font-weight: 900;
    position: relative;
    display: inline-block;

    /* Setup the gradient shine */
    background-image: linear-gradient(120deg,
            var(--shiny-base) 40%,
            var(--shiny-highlight) 50%,
            var(--shiny-base) 60%);
    background-size: 200% 100%;

    /* Clip the background to the text */
    -webkit-background-clip: text;
    background-clip: text;

    /* Make text transparent to show the background */
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Apply the animation */
    animation: shine var(--shiny-speed) linear infinite;
}

@keyframes shine {
    0% {
        background-position: 100%;
    }

    100% {
        background-position: -100%;
    }
}

.tagline {
    font-size: 1.5rem;
    margin-top: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    transform: rotate(45deg);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

.intro {
    background: rgba(10, 17, 40, 0.3);
    padding: 5rem 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-white);
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: rgba(30, 136, 229, 0.15);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feature-icon.training {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M12 3L1 9l11 6 9-4.91V17h2V9M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82z"/></svg>');
}

.feature-icon.devices {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"/></svg>');
}

.feature-icon.research {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>');
}

.feature h3 {
    position: relative;
    color: var(--text-white);
}


/* 我们的工作部分 */
#work {
    background: rgba(10, 17, 40, 0.2);
    padding: 5rem 0;
}

#projects {
    background: rgba(10, 17, 40, 0.2);
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-white);
}

.section-desc {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    height: 400px;
    perspective: 1000px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.project-front,
.project-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    transition: transform 0.8s ease;
}

.project-front {
    background: rgba(30, 136, 229, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    transform: rotateY(0deg);
}

.project-back {
    background: rgba(74, 20, 140, 0.1);
    padding: 2rem;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.project-card:hover .project-front {
    transform: rotateY(180deg);
}

.project-card:hover .project-back {
    transform: rotateY(0deg);
}

.project-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover .project-image {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-image.nlp {
    background-image: url('../assets/images/service_erp.png');
    background-color: #0A1128;
    background-size: cover;
    background-position: center;
}

.project-image.vision {
    background-image: url('../assets/images/service_ecommerce.png');
    background-color: #0A1128;
    background-size: cover;
    background-position: center;
}

.project-image.health {
    background-image: url('../assets/images/service_network.png');
    background-color: #0A1128;
    background-size: cover;
    background-position: center;
}

.project-image.voice {
    background-image: url('../assets/images/service_mobile.png');
    background-color: #0A1128;
    background-size: cover;
    background-position: center;
}

.project-image.deploy {
    background-image: url('../assets/images/service_support.png');
    background-color: #0A1128;
    background-size: cover;
    background-position: center;
}

.project-image.hrm {
    background-image: linear-gradient(135deg, rgba(10, 17, 40, 0.8), rgba(0, 128, 0, 0.6)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
    background-color: #0A1128;
    background-size: 120% 120%;
    background-position: center;
}

.project-front h3 {
    font-size: 1.3rem;
    text-align: center;
}

.project-back h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.project-back p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.tech-highlights {
    margin-top: auto;
    list-style-type: none;
}

.tech-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tech-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-gold);
    border-radius: 50%;
}

.explore-btn {
    display: inline-block;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #fff;
    color: var(--primary-dark);
    box-shadow: 0 10px 28px hsla(214, 85%, 73%, 0.35), 0 0 14px hsla(214, 85%, 73%, 0.65);
}

.research-overview p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.research-areas {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.research-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(30, 136, 229, 0.03);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.research-item:hover {
    transform: translateX(10px);
}

.research-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.research-icon.edge {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"/></svg>');
}

.research-icon.multimodal {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3zm9.5 6c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c.83 0 1.5.67 1.5 1.5S19.33 6 18.5 6 17 5.33 17 4.5 17.67 3 18.5 3zm0 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg>');
}

.research-icon.compression {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3zm-9-3.82l-2.09-2.09L6.5 13.5 10 17l6.01-6.01-1.41-1.41z"/></svg>');
}

.research-icon.privacy {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%237DB9E8"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"/></svg>');
}

.research-content h3 {
    font-size: 1.5rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
}

.research-content p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.timeline {
    margin-bottom: 4rem;
}

.timeline h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--text-white);
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.timeline h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--tech-blue), var(--deep-purple));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    opacity: 1;
    transform: scale(1.02);
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-date {
    position: absolute;
    top: -20px;
    width: 140px;
    padding: 0.8rem;
    background: rgba(30, 136, 229, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    white-space: nowrap;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 45px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 45px);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 2.5rem 1.8rem 1.8rem 1.8rem;
    background: rgba(30, 136, 229, 0.03);
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 40px;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-gold), hsl(214, 85%, 65%));
    border-radius: 50%;
    box-shadow: 0 0 0 4px hsla(214, 85%, 73%, 0.2), 0 0 15px hsla(214, 85%, 73%, 0.5);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-gold);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.future-research {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.future-research:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
}

.future-research h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.future-research ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style-type: none;
}

.future-research ul li {
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    background: rgba(30, 136, 229, 0.12);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-light);
}

.future-research ul li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-gold);
    border-radius: 50%;
}

/* 联系我们部分 */
#contact {
    background: transparent;
    padding: 5rem 0;
}

/* Contact Methods Row */
.contact-methods-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-method-link {
    text-decoration: none;
    display: block;
}

.contact-method-btn {
    position: relative;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0;
    padding-left: calc(2rem - 12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.contact-method-link.phone:hover .contact-method-btn {
    width: 12rem;
}

.contact-method-link.telegram:hover .contact-method-btn {
    width: 10rem;
}

.contact-method-link.instagram:hover .contact-method-btn {
    width: 11rem;
}

.contact-method-link.email:hover .contact-method-btn {
    width: 10rem;
}

.contact-method-link.github:hover .contact-method-btn {
    width: 10rem;
}

.contact-method-link:hover .contact-method-btn {
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-method-link:hover .contact-icon {
    transform: rotate(360deg);
}

.method-text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

.contact-method-link:hover .method-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.contact-icon.phone {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.contact-icon.telegram {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z"/></svg>');
}

.contact-icon.instagram {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"/></svg>');
}

.contact-icon.email {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.contact-icon.github {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.45-1.15-1.11-1.46-1.11-1.46c-.9-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2z"/></svg>');
}

/* 页脚 */
footer {
    background-color: transparent;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 25px;
    height: 38px;
    background: var(--primary-gold);
    clip-path: polygon(40% 0%, 60% 0%, 50% 40%, 70% 40%, 30% 100%, 40% 55%, 20% 55%);
    margin-right: 0.8rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .glitch-text {
        font-size: 4rem;
    }

    .features {
        justify-content: center;
    }

    .timeline-container::before {
        left: 30px;
        background: linear-gradient(to bottom, var(--tech-blue), var(--deep-purple));
        width: 3px;
        box-shadow: 0 0 8px rgba(30, 136, 229, 0.4);
    }

    .timeline-item {
        justify-content: flex-start;
        padding-left: 80px;
        margin-bottom: 2.5rem;
        opacity: 1;
    }

    .timeline-date {
        left: 0;
        width: 110px;
        font-size: 0.9rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        top: -45px;
        width: 130px;
        padding: 0.7rem;
    }

    .timeline-content {
        width: 100%;
        padding: 2.2rem 1.5rem 1.5rem 1.5rem;
        margin-top: 25px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
        top: 20px;
    }
}

@media (max-width: 1250px) {
    nav {
        padding: 0.8rem 2rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    nav ul li a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1100px) {
    .logo-button-link {
        top: 1rem;
    }

    .logo-button-link.scrolled {
        top: 0.5rem;
    }

    header {
        top: 1rem;
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 1.5rem 0 calc(10rem + 1.5rem);
        justify-content: flex-end;
    }

    header.scrolled {
        top: 0.5rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 17, 40, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-radius: 0;
        padding: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 101;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 4rem;
        height: 4rem;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
        z-index: 102;
    }

    .menu-toggle span {
        width: 24px;
        height: 3px;
        margin: 0;
        display: block;
        background-color: var(--text-white);
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .glitch-text {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .research-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .research-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .glitch-text {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .feature {
        min-width: 100%;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 2rem;
    }

    .timeline h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .timeline-date {
        width: 110px;
        font-size: 0.8rem;
        top: -40px;
        padding: 0.6rem;
    }

    .timeline-content {
        padding: 2rem 1.2rem 1.2rem 1.2rem;
        margin-top: 20px;
    }

    .timeline-content::before {
        width: 15px;
        height: 15px;
        box-shadow: 0 0 0 3px hsla(214, 85%, 73%, 0.2);
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -37px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }
}

.shiny-text {
    position: relative;
    color: var(--text-white);
    display: inline-block;
}

.future-research {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.future-research:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
}

.future-research h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
}

/* === Gallery Grid System (for scaleable products/works pages) === */
.gallery-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    min-height: calc(100vh - 100px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: hsla(214, 85%, 73%, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px hsla(214, 85%, 73%, 0.2);
}

.glass-panel-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.glass-panel-title {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.glass-panel-desc {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-card {
    background: rgba(40, 150, 240, 0.05);
    /* Slightly brighter background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* More obvious border */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Added base shadow to separate from background */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: hsla(214, 85%, 73%, 0.5);
    /* Stronger hover border */
}

.gallery-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: rgba(10, 17, 40, 0.8);
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image-container img {
    transform: scale(1.05);
}

.gallery-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-title {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
    font-weight: 900;
}

.gallery-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.gallery-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    border-radius: 30px;
    text-align: center;
    font-weight: 900;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.gallery-link:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    box-shadow: 0 5px 15px hsla(214, 85%, 73%, 0.3);
}

/* Gallery Grid Responsive */
@media (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 650px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Team Section Styles */
.team-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.profile-card-wrapper {
    position: relative;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --glow-color: rgba(125, 190, 255, 0.67);
    --border-radius: 24px;
}

.profile-card-wrapper.big-card {
    --card-width: 340px;
    --card-height: 500px;
    width: var(--card-width);
    height: var(--card-height);
    max-width: 100%;
    z-index: 2;
}

.profile-card-wrapper.small-card {
    --card-width: 280px;
    --card-height: 420px;
    width: var(--card-width);
    height: var(--card-height);
    max-width: 100%;
    z-index: 1;
}

/* The ambient radial glow behind the card */
.behind-glow {
    position: absolute;
    inset: -20px;
    border-radius: var(--border-radius);
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y),
            var(--glow-color) 0%,
            transparent 50%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.profile-card-wrapper:hover .behind-glow {
    opacity: 1;
}

/* The main 3D Profile Card */
.profile-card {
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    z-index: 1;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.card-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0.1) 100%);
}

.card-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.15"/%3E%3C/svg%3E');
    pointer-events: none;
    mix-blend-mode: overlay;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    z-index: 4;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateZ(150px);
    transform-style: preserve-3d;
}

.card-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 8px;
    transform-style: preserve-3d;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(1500px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.name-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-align: left;
}

.user-info .tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
    color: var(--text-white);
    transform: translateY(-1px);
}

.user-info p.handle {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .user-info h2,
    .user-info p.handle {
        text-align: center;
    }

    .user-info .tech-stack-badges {
        justify-content: center;
    }

    .profile-card-wrapper.big-card,
    .profile-card-wrapper.small-card {
        height: 420px;
    }
}

/* Custom Profile Card Button styling */
.profile-card-wrapper .logo-button {
    background: rgba(255, 255, 255, 0.1) !important;
}

.profile-card-wrapper .logo-button-link:hover .logo-button {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* New Profile Sections */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.text-left {
    text-align: left;
}

#about p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

#about p:last-child {
    margin-bottom: 0;
}

/* Experience & Education */
.split-layout {
    display: flex;
    gap: 3rem;
}

.experience-col,
.education-col {
    flex: 1;
}

.timeline-box {
    position: relative;
    padding-left: 2rem;
}

.timeline-box::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-gold), rgba(255, 255, 255, 0.1));
}

.timeline-entry {
    position: relative;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-gold);
}

.timeline-entry h3 {
    margin-bottom: 0.2rem;
    color: var(--text-white);
    font-size: 1.4rem;
}

.timeline-entry h4 {
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.timeline-entry ul {
    list-style-type: none;
    color: var(--text-light);
}

.timeline-entry ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.timeline-entry ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
}

.edu-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Infinite Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark) 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
    gap: 2rem;
    padding-right: 2rem;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.skill-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
}

.custom-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ai-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2h1v-6.1c0-3.87 3.13-7 7-7s7 3.13 7 7V19h1c1.1 0 2-.9 2-2v-2c0-.73-.4-1.38-1-1.78zM12 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>');
}

.nlp-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z"/></svg>');
}

/* Extras Grid */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.extra-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.extra-card ul {
    list-style-type: none;
    color: var(--text-light);
}

.extra-card li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.extra-card li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--text-white);
}

.cert-item {
    margin-bottom: 1.5rem;
}

.cert-item:last-child {
    margin-bottom: 0;
}

.cert-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
    color: var(--text-white);
}

.cert-item p {
    font-size: 0.9rem;
    color: #a3a3a3;
}

.lang-list li::before {
    display: none;
}

.lang-list li {
    padding-left: 0;
}

.lang-list strong {
    color: var(--text-white);
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }
}