:root {
    --bg-color: #050505;
    --surface-color: rgba(15, 15, 15, 0.7);
    --primary: #7f00ff;
    --secondary: #bc19fe;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-shadow: 0 0 10px rgba(127, 0, 255, 0.5), 0 0 20px rgba(127, 0, 255, 0.2);
    --purple-shadow: 0 0 10px rgba(188, 25, 254, 0.5), 0 0 20px rgba(188, 25, 254, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    z-index: 99999;
    pointer-events: none;
    opacity: 0.3;
}

/* --- Boot Screen --- */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Space Mono', monospace;
    color: var(--primary);
    padding: 2rem;
    transition: opacity 1s ease-out;
}

.boot-log {
    width: 100%;
    max-width: 600px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.boot-line {
    margin-bottom: 4px;
    opacity: 0;
    animation: fadeIn 0.1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
.mono {
    font-family: 'Space Mono', monospace;
}

/* --- Background Canvas --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

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

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-shadow: var(--neon-shadow);
}

.menu-toggle {
    display: none;
    color: var(--text-main);
    cursor: pointer;
}

/* --- Sections Style --- */
section {
    min-height: 100vh;
    padding: 100px 10% 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    box-shadow: var(--neon-shadow);
}

/* --- Hero Section --- */
#hero {
    align-items: flex-start;
    position: relative;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 6px 6px 0 0;
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    display: inline-flex;
    gap: 6px;
    margin-bottom: -1px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-box {
    background: rgba(15, 15, 15, 0.85);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 0 12px 12px 12px;
    backdrop-filter: blur(20px);
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--primary);
}

.hero-name {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    word-wrap: break-word;
    position: relative;
    display: inline-block;
}

.hero-name::before,
.hero-name::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.hero-name::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.hero-name::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    4.16% {
        clip: rect(91px, 9999px, 43px, 0);
    }

    8.33% {
        clip: rect(65px, 9999px, 59px, 0);
    }

    12.5% {
        clip: rect(57px, 9999px, 16px, 0);
    }

    16.66% {
        clip: rect(32px, 9999px, 6px, 0);
    }

    20.83% {
        clip: rect(94px, 9999px, 30px, 0);
    }

    25% {
        clip: rect(63px, 9999px, 92px, 0);
    }

    29.16% {
        clip: rect(28px, 9999px, 24px, 0);
    }

    33.33% {
        clip: rect(9px, 9999px, 35px, 0);
    }

    37.5% {
        clip: rect(26px, 9999px, 7px, 0);
    }

    41.66% {
        clip: rect(28px, 9999px, 47px, 0);
    }

    45.83% {
        clip: rect(3px, 9999px, 20px, 0);
    }

    50% {
        clip: rect(26px, 9999px, 47px, 0);
    }

    54.16% {
        clip: rect(32px, 9999px, 30px, 0);
    }

    58.33% {
        clip: rect(48px, 9999px, 45px, 0);
    }

    62.5% {
        clip: rect(56px, 9999px, 42px, 0);
    }

    66.66% {
        clip: rect(11px, 9999px, 13px, 0);
    }

    70.83% {
        clip: rect(35px, 9999px, 5px, 0);
    }

    75% {
        clip: rect(20px, 9999px, 36px, 0);
    }

    79.16% {
        clip: rect(9px, 9999px, 67px, 0);
    }

    83.33% {
        clip: rect(65px, 9999px, 2px, 0);
    }

    87.5% {
        clip: rect(10px, 9999px, 14px, 0);
    }

    91.66% {
        clip: rect(95px, 9999px, 10px, 0);
    }

    95.83% {
        clip: rect(81px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(56px, 9999px, 64px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(67px, 9999px, 34px, 0);
    }

    4.16% {
        clip: rect(7px, 9999px, 81px, 0);
    }

    8.33% {
        clip: rect(57px, 9999px, 16px, 0);
    }

    12.5% {
        clip: rect(48px, 9999px, 17px, 0);
    }

    16.66% {
        clip: rect(38px, 9999px, 10px, 0);
    }

    20.83% {
        clip: rect(94px, 9999px, 30px, 0);
    }

    25% {
        clip: rect(63px, 9999px, 92px, 0);
    }

    29.16% {
        clip: rect(28px, 9999px, 24px, 0);
    }

    33.33% {
        clip: rect(9px, 9999px, 35px, 0);
    }

    37.5% {
        clip: rect(26px, 9999px, 1px, 0);
    }

    41.66% {
        clip: rect(28px, 9999px, 47px, 0);
    }

    45.83% {
        clip: rect(3px, 9999px, 2px, 0);
    }

    50% {
        clip: rect(26px, 9999px, 47px, 0);
    }

    54.16% {
        clip: rect(32px, 9999px, 10px, 0);
    }

    58.33% {
        clip: rect(48px, 9999px, 45px, 0);
    }

    62.5% {
        clip: rect(16px, 9999px, 12px, 0);
    }

    66.66% {
        clip: rect(1px, 9999px, 13px, 0);
    }

    70.83% {
        clip: rect(15px, 9999px, 5px, 0);
    }

    75% {
        clip: rect(20px, 9999px, 36px, 0);
    }

    79.16% {
        clip: rect(9px, 9999px, 67px, 0);
    }

    83.33% {
        clip: rect(65px, 9999px, 2px, 0);
    }

    87.5% {
        clip: rect(10px, 9999px, 1px, 0);
    }

    91.66% {
        clip: rect(95px, 9999px, 10px, 0);
    }

    95.83% {
        clip: rect(81px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(56px, 9999px, 24px, 0);
    }
}

.hero-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    min-height: 1.5em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Space Mono', monospace;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 242, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

.hero-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    flex: 1.2;
    min-width: 0;
}

.hero-image-container {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.hero-img-bg {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    z-index: 0;
}

.hero-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: var(--neon-shadow);
    z-index: 1;
    position: relative;
    filter: grayscale(20%) contrast(110%);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 0 30px rgba(127, 0, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image-container {
        order: -1;
        margin-bottom: 2rem;
    }
}


/* --- Stats Card --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Interactive Terminal --- */
#terminal-console {
    position: fixed;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 40px;
    background: rgba(10, 10, 10, 0.95);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid var(--glass-border);
    border-bottom: none;
    z-index: 10001;
    transition: height 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

#terminal-console.expanded {
    height: 250px;
}

.terminal-top-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
}

.terminal-body {
    height: calc(100% - 40px);
    padding: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
}

.terminal-input-line {
    display: flex;
    gap: 8px;
    align-items: center;
}

.terminal-prompt {
    color: #27c93f;
    white-space: nowrap;
}

#terminal-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

/* --- Signal Interference --- */
#glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10000;
    pointer-events: none;
    display: none;
    mix-blend-mode: overlay;
}

@keyframes glitch-action {
    0% {
        transform: translate(0);
        clip-path: inset(10% 0 80% 0);
    }

    20% {
        transform: translate(-5px, 5px);
        clip-path: inset(50% 0 10% 0);
    }

    40% {
        transform: translate(5px, -5px);
        clip-path: inset(20% 0 50% 0);
    }

    60% {
        transform: translate(-5px, -5px);
        clip-path: inset(80% 0 10% 0);
    }

    80% {
        transform: translate(5px, 5px);
        clip-path: inset(30% 0 60% 0);
    }

    100% {
        transform: translate(0);
    }
}

.active-glitch {
    display: block !important;
    animation: glitch-action 0.2s infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(110%);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.focus-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.focus-tag {
    background: rgba(188, 19, 254, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(188, 19, 254, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.focus-tag:hover {
    background: rgba(127, 0, 255, 0.2);
    box-shadow: var(--neon-shadow);
    transform: scale(1.05);
}

.visual-element {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-circle {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.cyber-circle-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    animation: rotate-reverse 10s linear infinite;
}

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

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

@keyframes rotate-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

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

.skill-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateX(-100%);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(127, 0, 255, 0.1);
}

.skill-card:hover::before {
    transform: translateX(0);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.skill-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.skill-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
    width: 0;
}

.skill-card:hover .skill-bar {
    box-shadow: 0 0 20px var(--primary);
}

.skills-category-title {
    grid-column: 1 / -1;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-category-title::before {
    content: '[';
}

.skills-category-title::after {
    content: ']';
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: translateY(-100%);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(188, 25, 254, 0.15);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    background: rgba(188, 25, 254, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(188, 25, 254, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(188, 25, 254, 0.2);
    box-shadow: var(--purple-shadow);
    transform: scale(1.1);
}

.service-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
}

.service-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Journey Section --- */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

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

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: var(--neon-shadow);
    z-index: 1;
}

.timeline-content {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--secondary);
    transform: translateX(10px);
}

.timeline-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

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

.project-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.project-placeholder {
    opacity: 0.3;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.2;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.98);
    }
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--neon-shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Footer --- */
footer {
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .visual-element {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    section {
        padding: 80px 5% 40px;
    }
}