:root {
    --bg-color: #0B0C10;
    --surface-color: rgba(31, 40, 51, 0.6);
    --surface-border: rgba(102, 252, 241, 0.1);
    --primary: #66FCF1;
    --primary-glow: rgba(102, 252, 241, 0.4);
    --secondary: #45A29E;
    --text-primary: #FFFFFF;
    --text-secondary: #C5C6C7;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Blob Effect */
.blob-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(69, 162, 158, 0.05) 0%, rgba(11, 12, 16, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 252, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-color);
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline:hover {
    background: rgba(102, 252, 241, 0.1);
}

/* Main Content Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    white-space: nowrap;
}

.section-header .line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--surface-border), transparent);
}

section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 120px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.greeting {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.name {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #FFFFFF, #8892B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.summary {
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
    animation: morph 8s ease-in-out infinite;
    background-color: var(--surface-color);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

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

.profile-img:hover {
    filter: grayscale(0%) contrast(100%);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.skills-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--primary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(102, 252, 241, 0.2);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(102, 252, 241, 0.2);
    transform: translateY(-2px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--surface-border);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: -2.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover::before {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

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

.timeline-content ul {
    list-style-position: inside;
    list-style-type: none;
}

.timeline-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-secondary);
}

.feature-card .card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    font-size: 0.95rem;
}

/* Contact Section */
.contact-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--surface-border);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .summary {
        margin: 0 auto 2.5rem;
    }

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

@media (max-width: 768px) {
    .name {
        font-size: 3rem;
    }
    .title {
        font-size: 2rem;
    }
    .nav-links {
        display: none;
    }
}
