:root {
    /* Color Palette - Cyberpunk / Tech Dark Mode */
    --bg-primary: #050505;
    --bg-secondary: #0F1115;
    --bg-card: #16181D;

    --text-primary: #ffffff;
    --text-secondary: #A0A0A0;
    --text-accent: #00f2ff;
    /* Cyan Neon */
    --text-accent-secondary: #7000ff;
    /* Purple Neon */

    --gradient-title: linear-gradient(135deg, #00f2ff 0%, #7000ff 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    --shadow-neon: 0 0 10px rgba(0, 242, 255, 0.3), 0 0 20px rgba(112, 0, 255, 0.2);
    --border-dim: 1px solid rgba(255, 255, 255, 0.08);

    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-accent);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-title);
    margin: 1rem auto;
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: var(--border-dim);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    color: var(--text-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.05) 0%, transparent 20%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    perspective: 1200px;
}

/* 3D Cube Styles */
.cube-wrapper {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 140px;
    height: 140px;
    transform-style: preserve-3d;
    animation: cube-float 15s ease-in-out infinite;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cube-rotate 25s linear infinite;
}

.cube-face {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(0, 242, 255, 0.2);
}

.front {
    transform: rotateY(0deg) translateZ(70px);
}

.back {
    transform: rotateY(180deg) translateZ(70px);
}

.right {
    transform: rotateY(90deg) translateZ(70px);
}

.left {
    transform: rotateY(-90deg) translateZ(70px);
}

.top {
    transform: rotateX(90deg) translateZ(70px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(70px);
}

/* Sphere Styles */
.sphere-wrapper {
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 160px;
    height: 160px;
    transform-style: preserve-3d;
}

.sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
            rgba(112, 0, 255, 0.4) 0%,
            rgba(112, 0, 255, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 100%);
    box-shadow:
        inset -25px -25px 60px rgba(0, 0, 0, 0.6),
        inset 15px 15px 40px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(112, 0, 255, 0.15);
    animation: sphere-float 12s ease-in-out infinite;
}

/* Glass Ring */
.ring {
    position: absolute;
    top: 45%;
    left: 28%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 18px solid rgba(0, 242, 255, 0.08);
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1), inset 0 0 40px rgba(0, 242, 255, 0.1);
    transform: rotateX(65deg) rotateY(15deg);
    animation: ring-rotate 20s linear infinite;
}

@keyframes cube-rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes cube-float {

    0%,
    100% {
        transform: translateY(0) rotateX(15deg) rotateY(10deg);
    }

    50% {
        transform: translateY(-50px) rotateX(-15deg) rotateY(-10deg);
    }
}

@keyframes sphere-float {

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

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

@keyframes ring-rotate {
    from {
        transform: rotateX(65deg) rotateY(0deg);
    }

    to {
        transform: rotateX(65deg) rotateY(360deg);
    }
}

/* Shards */
.shard {
    position: absolute;
    background: var(--gradient-glass);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
    animation: shard-float 15s ease-in-out infinite;
    z-index: -2;
}

.shard-1 {
    width: 60px;
    height: 100px;
    top: 5%;
    left: 20%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 80%);
    animation-delay: -2s;
}

.shard-2 {
    width: 80px;
    height: 60px;
    top: 15%;
    left: 60%;
    clip-path: polygon(0% 20%, 60% 0%, 100% 40%, 40% 100%);
    animation-delay: -5s;
}

.shard-3 {
    width: 70px;
    height: 90px;
    bottom: 10%;
    right: 25%;
    clip-path: polygon(20% 0%, 80% 20%, 100% 100%, 0% 70%);
    animation-delay: -8s;
}

.shard-4 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 5%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: -3s;
}

/* Secondary Shapes */
.cube-wrapper.small {
    width: 60px;
    height: 60px;
    opacity: 0.6;
}

.cube-wrapper.small .cube-face {
    width: 60px;
    height: 60px;
}

.cube-wrapper.small .front {
    transform: rotateY(0deg) translateZ(30px);
}

.cube-wrapper.small .back {
    transform: rotateY(180deg) translateZ(30px);
}

.cube-wrapper.small .right {
    transform: rotateY(90deg) translateZ(30px);
}

.cube-wrapper.small .left {
    transform: rotateY(-90deg) translateZ(30px);
}

.cube-wrapper.small .top {
    transform: rotateX(90deg) translateZ(30px);
}

.cube-wrapper.small .bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

.cube-wrapper.left-top {
    top: 10%;
    left: 15%;
}

.sphere-wrapper.small {
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 10%;
}

.sphere.secondary {
    background: radial-gradient(circle at 35% 35%,
            rgba(0, 242, 255, 0.4) 0%,
            rgba(0, 242, 255, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 100%);
}

/* Floating Dots */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-accent);
    border-radius: 50%;
    box-shadow: 0 0-10px var(--text-accent);
    animation: pulse 4s ease-in-out infinite;
}

.dot:nth-child(1) {
    top: 20%;
    left: 40%;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: -1s;
}

.dot:nth-child(3) {
    bottom: 30%;
    right: 40%;
    animation-delay: -2s;
}

.dot:nth-child(4) {
    top: 40%;
    right: 20%;
    animation-delay: -0.5s;
}

.dot:nth-child(5) {
    top: 10%;
    right: 30%;
    animation-delay: -1.5s;
}

.dot:nth-child(6) {
    bottom: 20%;
    right: 15%;
    animation-delay: -2.5s;
}

.dot:nth-child(7) {
    top: 70%;
    right: 35%;
    animation-delay: -3s;
}

.dot:nth-child(8) {
    top: 30%;
    right: 8%;
    animation-delay: -0.8s;
}

@keyframes shard-float {

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

    50% {
        transform: translateY(-30px) rotate(15deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* Right side ring */
.ring-right {
    top: 30%;
    left: auto;
    right: 8%;
    width: 100px;
    height: 100px;
    border-width: 12px;
    transform: rotateX(70deg) rotateZ(30deg);
    animation: ring-rotate 18s linear infinite reverse;
}

/* More shards for right side */
.shard-5 {
    width: 90px;
    height: 70px;
    top: 25%;
    right: 18%;
    clip-path: polygon(10% 0%, 90% 20%, 70% 100%, 0% 80%);
    animation-delay: -4s;
}

.shard-6 {
    width: 40px;
    height: 80px;
    bottom: 25%;
    right: 8%;
    clip-path: polygon(50% 0%, 100% 30%, 80% 100%, 20% 100%, 0% 30%);
    animation-delay: -6s;
}

.shard-7 {
    width: 55px;
    height: 55px;
    top: 65%;
    right: 22%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-delay: -1s;
}

/* Hexagon */
.hexagon {
    position: absolute;
    top: 55%;
    right: 12%;
    width: 80px;
    height: 92px;
    background: rgba(112, 0, 255, 0.08);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(112, 0, 255, 0.3);
    animation: hex-float 14s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.2);
}

@keyframes hex-float {

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

    50% {
        transform: translateY(-25px) rotate(30deg);
    }
}

/* Pyramid */
.pyramid-wrapper {
    position: absolute;
    top: 8%;
    right: 25%;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: pyramid-float 16s ease-in-out infinite;
}

.pyramid {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: pyramid-rotate 30s linear infinite;
}

.pyramid-face {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(0, 242, 255, 0.08);
    transform-origin: bottom center;
}

.pyramid-front {
    transform: rotateX(30deg) translateZ(23px);
}

.pyramid-right {
    transform: rotateY(90deg) rotateX(30deg) translateZ(23px);
}

.pyramid-back {
    transform: rotateY(180deg) rotateX(30deg) translateZ(23px);
}

.pyramid-left {
    transform: rotateY(-90deg) rotateX(30deg) translateZ(23px);
}

.pyramid-bottom {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.05);
    transform: rotateX(90deg) translateZ(-35px);
    border: none;
}

@keyframes pyramid-rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes pyramid-float {

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

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

/* Orbiting particles */
.orbit-container {
    position: absolute;
    top: 40%;
    right: 5%;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(0, 242, 255, 0.15);
    border-radius: 50%;
    animation: orbit-spin 12s linear infinite;
    transform: rotateX(70deg);
}

.orbit-2 {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    animation: orbit-spin 8s linear infinite reverse;
    border-color: rgba(112, 0, 255, 0.15);
}

.orbit-particle {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--text-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--text-accent);
}

.orbit-2 .orbit-particle {
    background: var(--text-accent-secondary);
    box-shadow: 0 0 15px var(--text-accent-secondary);
}

@keyframes orbit-spin {
    from {
        transform: rotateX(70deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

/* Glowing lines */
.glow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
    opacity: 0.4;
    animation: glow-pulse 5s ease-in-out infinite;
}

.glow-line-1 {
    width: 150px;
    top: 35%;
    right: 3%;
    transform: rotate(-20deg);
}

.glow-line-2 {
    width: 100px;
    top: 60%;
    right: 15%;
    transform: rotate(15deg);
    animation-delay: -2s;
}

.glow-line-3 {
    width: 80px;
    bottom: 35%;
    right: 5%;
    transform: rotate(-45deg);
    animation-delay: -4s;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.6;
    }
}

/* Section-level floating shapes */
.has-shapes {
    position: relative;
    overflow: hidden;
}

.section-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.section-shard {
    opacity: 0.5;
}

.shard-a {
    top: 10%;
    left: 5%;
    width: 50px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 70%);
}

.shard-b {
    bottom: 15%;
    right: 8%;
    width: 60px;
    height: 50px;
    clip-path: polygon(0% 20%, 80% 0%, 100% 80%, 20% 100%);
}

.shard-c {
    top: 20%;
    right: 5%;
    width: 70px;
    height: 60px;
    clip-path: polygon(30% 0%, 100% 30%, 70% 100%, 0% 70%);
}

.shard-d {
    bottom: 20%;
    left: 10%;
    width: 55px;
    height: 70px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shard-e {
    top: 15%;
    right: 12%;
    width: 45px;
    height: 65px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 80%);
}

.shard-f {
    bottom: 25%;
    left: 5%;
    width: 65px;
    height: 55px;
    clip-path: polygon(0% 30%, 60% 0%, 100% 70%, 40% 100%);
}

.shard-g {
    top: 30%;
    left: 8%;
    width: 50px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
}

.shard-h {
    top: 10%;
    right: 15%;
    width: 60px;
    height: 70px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shard-i {
    bottom: 10%;
    left: 12%;
    width: 55px;
    height: 50px;
    clip-path: polygon(50% 0%, 100% 100%, 0% 80%);
}

.shard-j {
    top: 25%;
    right: 6%;
    width: 65px;
    height: 60px;
    clip-path: polygon(0% 0%, 100% 20%, 80% 100%, 0% 80%);
}

.shard-k {
    bottom: 20%;
    right: 10%;
    width: 45px;
    height: 55px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Section floating rings */
.floating-ring {
    position: absolute;
    border-radius: 50%;
    border: 10px solid rgba(0, 242, 255, 0.06);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.08), inset 0 0 25px rgba(0, 242, 255, 0.08);
    animation: section-ring-float 18s ease-in-out infinite;
}

.ring-a {
    top: 30%;
    right: 10%;
    width: 80px;
    height: 80px;
    transform: rotateX(60deg);
}

.ring-b {
    bottom: 20%;
    left: 8%;
    width: 70px;
    height: 70px;
    transform: rotateX(55deg) rotateY(20deg);
    animation-delay: -4s;
}

.ring-c {
    top: 40%;
    left: 5%;
    width: 90px;
    height: 90px;
    transform: rotateX(70deg);
    animation-delay: -8s;
}

.ring-d {
    bottom: 30%;
    right: 12%;
    width: 75px;
    height: 75px;
    transform: rotateX(50deg) rotateZ(30deg);
    animation-delay: -2s;
}

.ring-e {
    top: 20%;
    right: 8%;
    width: 85px;
    height: 85px;
    transform: rotateX(65deg);
    animation-delay: -6s;
}

.ring-f {
    bottom: 15%;
    left: 12%;
    width: 65px;
    height: 65px;
    transform: rotateX(60deg) rotateY(-20deg);
    animation-delay: -10s;
}

.ring-g {
    top: 35%;
    right: 5%;
    width: 95px;
    height: 95px;
    transform: rotateX(55deg);
    animation-delay: -3s;
    border-color: rgba(112, 0, 255, 0.06);
}

.ring-h {
    bottom: 25%;
    left: 6%;
    width: 70px;
    height: 70px;
    transform: rotateX(70deg) rotateZ(-15deg);
    animation-delay: -7s;
}

.ring-i {
    top: 25%;
    left: 10%;
    width: 80px;
    height: 80px;
    transform: rotateX(60deg);
    animation-delay: -5s;
    border-color: rgba(112, 0, 255, 0.06);
}

@keyframes section-ring-float {

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

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

/* Section dots */
.section-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--text-accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: section-dot-pulse 3s ease-in-out infinite;
}

.section-shapes .section-dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.section-shapes .section-dot:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: -1s;
}

.section-shapes .section-dot:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: -2s;
}

.section-shapes .section-dot:nth-child(4) {
    top: 40%;
    right: 35%;
    animation-delay: -0.5s;
}

.section-shapes .section-dot:nth-child(5) {
    bottom: 15%;
    right: 10%;
    animation-delay: -1.5s;
}

@keyframes section-dot-pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.8);
    }
}

.hero-content {
    max-width: 800px;
}

.hero-hello {
    font-family: var(--font-mono);
    color: var(--text-accent);
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.typing-container {
    position: relative;
    display: inline-block;
    --highlight-progress: 0%;
}

.typing-text {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary);
    border-bottom: 2px solid var(--text-accent-secondary);
    transition: border-color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0 4px;
    z-index: 2;
}

.typing-text::after {
    content: '|';
    color: var(--text-accent);
    font-weight: 300;
    animation: cursorBlink 0.8s ease infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.mouse-active .typing-text::after {
    animation: none;
    opacity: 1;
}

.typing-text.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--highlight-progress);
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.35), rgba(112, 0, 255, 0.35));
    border-radius: 4px;
    z-index: -1;
}

.highlight-cursor {
    position: absolute;
    top: 65%;
    left: var(--highlight-progress);
    width: 22px;
    height: 22px;
    transform: translate(-3px, 0) rotate(10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z' fill='rgba(0, 242, 255, 0.2)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 20;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.typing-container.show-cursor .highlight-cursor {
    opacity: 1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-title);
    color: #000;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-accent);
    color: var(--text-accent);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(0, 242, 255, 0.1);
}

/* About Section */
section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    background: rgba(0, 242, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.academic-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: var(--border-dim);
}

.academic-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-accent);
}

.school-info {
    margin-bottom: 2rem;
}

.school-name {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
}

.class-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.class-list li::before {
    content: '▹';
    color: var(--text-accent-secondary);
    margin-right: 0.8rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: var(--border-dim);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-accent);
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    color: var(--text-secondary);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-title);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 242, 255, 0.3);
    text-transform: uppercase;
    z-index: 10;
}


/* Experience & Leadership */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--bg-card);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-accent);
    box-shadow: 0 0 10px var(--text-accent);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-role {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.highlight-box {
    background: rgba(112, 0, 255, 0.05);
    border-left: 3px solid var(--text-accent-secondary);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 5px 5px 0;
}

.highlight-box ul {
    padding-left: 1rem;
}

.highlight-box li {
    list-style: disc;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

/* Featured Achievement Sections */
.featured-achievement {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.featured-achievement.alt-bg {
    background: var(--bg-secondary);
}

.featured-achievement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.achievement-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.achievement-hero.reverse {
    direction: rtl;
}

.achievement-hero.reverse>* {
    direction: ltr;
}

.achievement-hero-content {
    position: relative;
    z-index: 1;
}

.achievement-category {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.achievement-hero-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-subtitle {
    font-size: 1.3rem;
    color: var(--text-accent-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.achievement-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.achievement-description strong {
    color: var(--text-accent);
}

.achievement-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--text-accent);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(0, 242, 255, 0.05);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--text-accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.highlight-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.achievement-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.achievement-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(112, 0, 255, 0.1));
}

.hero-image-placeholder i {
    font-size: 5rem;
    color: var(--text-accent);
    opacity: 0.5;
}

@media (max-width: 900px) {
    .achievement-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement-hero.reverse {
        direction: ltr;
    }

    .achievement-hero-content h2 {
        font-size: 2.2rem;
    }

    .achievement-hero-image {
        height: 300px;
    }
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.award-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: var(--border-dim);
    transition: all 0.3s ease;
}

.award-card.featured {
    border-color: rgba(0, 242, 255, 0.3);
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-accent);
    box-shadow: var(--shadow-neon);
}

.award-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.award-card:hover .award-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(112, 0, 255, 0.1));
    color: var(--text-secondary);
    gap: 0.5rem;
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--text-accent);
}

.image-placeholder span {
    font-size: 0.9rem;
}

.award-content {
    padding: 1.5rem;
}

.award-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-accent);
    background: rgba(0, 242, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.award-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.award-subtitle {
    color: var(--text-accent-secondary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.award-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.award-list {
    margin-top: 1rem;
}

.award-list li {
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.award-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--text-accent);
}

/* Secondary Awards */
.awards-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.award-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: var(--border-dim);
    transition: all 0.3s ease;
}

.award-mini:hover {
    border-color: var(--text-accent);
    transform: translateX(5px);
}

.award-mini-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(112, 0, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-mini-icon i {
    font-size: 1.3rem;
    color: var(--text-accent);
}

.award-mini-content h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.award-mini-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Contact */
.contact-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: var(--border-dim);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--text-accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

/* Photo Gallery for Achievements */
.photo-gallery {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--text-accent);
    transform: translateY(-3px);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.3;
}

.gallery-placeholder i {
    font-size: 2rem;
}


footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: var(--border-dim);
    background: var(--bg-secondary);
}

/* Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 242, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(0, 242, 255, 0.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: -10px;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -14px;
    }
}

/* Animations JS classes */
section.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}