:root {
    /* Color Palette - Executive / Professional 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%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 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;
    display: inline-block;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    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 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.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-content {
    max-width: 1100px;
}

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

.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-stats {
    margin-top: 3rem;
}

.hero-stats .stat-card {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle background for hero context */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.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: 4rem 0;
}

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

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

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

.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;
}

.contact-info-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-mini .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-info-mini .info-item i {
    color: var(--text-accent);
    width: 20px;
    text-align: center;
}

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

.skill-card {
    background: var(--bg-card);
    padding: 1.25rem;
    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: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-accent);
}

.skill-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.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 Section */
.featured-achievement {
    padding: 3rem 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;
}

.experience-company {
    max-width: 1000px;
    margin: 0 auto;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: var(--border-dim);
}

.company-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-title);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo i {
    font-size: 2rem;
    color: #000;
}

.company-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.company-tenure {
    color: var(--text-accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.role-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: var(--border-dim);
    transition: all 0.3s ease;
}

.role-card.featured {
    border-color: var(--text-accent);
    box-shadow: var(--shadow-neon);
}

.role-card:hover {
    transform: translateX(5px);
}

.role-header {
    margin-bottom: 0.75rem;
}

.role-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #000;
    background: var(--gradient-title);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.role-header h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.role-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.role-achievements li i {
    color: var(--text-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.role-achievements li strong {
    color: var(--text-accent);
}

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

.innovation-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: var(--border-dim);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

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

.innovation-card.highlight {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 140, 0, 0.05));
    grid-column: 1 / -1;
}

.innovation-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 1rem;
    background: var(--gradient-gold);
    border-radius: 12px;
    flex-shrink: 0;
}

.value-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
}

.value-label {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.innovation-icon {
    width: 60px;
    height: 60px;
    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;
}

.innovation-icon i {
    font-size: 1.5rem;
    color: var(--text-accent);
}

.innovation-content {
    flex: 1;
}

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

.innovation-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.innovation-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Section */
#highlights {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: var(--border-dim);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.stat-card.animate {
    transform: translateY(0);
    opacity: 1;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

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

/* 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: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: var(--border-dim);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-outline {
        margin-left: 0;
    }

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

    h2 {
        font-size: 2rem;
    }

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

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

    .innovation-card.highlight {
        flex-direction: column;
    }

    .innovation-card {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}