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

:root {
    /* Colors */
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --green-800: #166534;
    --green-100: #dcfce7;
    --amber-800: #92400e;
    --amber-100: #fef3c7;

    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --container-max: 1280px;
    --section-padding: 5rem 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blue-900);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--blue-700);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-800);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-800);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

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

.hero-text {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blue-100);
    color: var(--blue-800);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
    color: var(--blue-800);
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.1s backwards;
}

.hero-description {
    margin-bottom: 2rem;
    max-width: 42rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.3s backwards;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue-700);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

.profile-image {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--white);
    transition: transform 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-900);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--blue-800);
    border: 2px solid var(--blue-800);
}

.btn-outline:hover {
    background: var(--blue-800);
    color: var(--white);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--blue-800);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
}

/* Research Highlights */
.research-highlights {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--blue-800);
    margin-bottom: 1rem;
}

.section-divider {
    width: 5rem;
    height: 4px;
    background: var(--blue-800);
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid rgb(145, 145, 240);
}

.highlight-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.highlight-card h3 {
    margin-bottom: 1rem;
}

.section-footer {
    text-align: center;
}

.link-arrow {
    color: var(--blue-800);
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    color: var(--blue-900);
}

/* Card Component */
.card {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p {
    color: var(--gray-200);
}

.footer-subtitle {
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gray-700);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--blue-800);
    transform: scale(1.1);
}

/* Footer responsive improvements */
.footer {
    padding: 3.5rem 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-info {
        order: 1;
    }

    .footer-social {
        order: 2;
        margin-top: 0.5rem;
    }

    .social-link {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.05rem;
    }

    .footer-subtitle {
        margin-top: 0.25rem;
    }
}

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

    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-info p {
        font-size: 0.95rem;
    }
}

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

    to {
        opacity: 1;
    }
}

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

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

/* @keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
} */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        font-size: 90%;
    }

    header {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .developer-card {
        padding: 1rem;
    }

    .developer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .developer-skills ul,
    .developer-purpose ul,
    .developer-contact ul {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .developer-card {
        padding: 0.5rem;
    }

    .developer-header {
        text-align: center;
    }

    .developer-social a {
        font-size: 1rem;
    }
}