:root {
    --primary: #00a2ff;
    --primary-dark: #0078d4;
    --bg-dark: #0a0a0c;
    --bg-section: #0f1115;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

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

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

/* Hero */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(0, 162, 255, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 120, 212, 0.05), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 162, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    background: var(--bg-card);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.profile-frame {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.profile-frame img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.profile-frame::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--primary);
    border-radius: 35px;
    opacity: 0.2;
    z-index: 1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* Sections */
.section {
    padding: 10rem 0;
}

.section:nth-child(even) {
    background-color: var(--bg-section);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

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

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

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.skill-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.skill-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Insights */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.insight-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.insight-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

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

.insight-content {
    padding: 2.5rem;
}

.insight-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.insight-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact */
.contact-card {
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.08), rgba(0, 120, 212, 0.03));
    padding: 6rem 2rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.contact-card h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.contact-link {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    text-decoration: none;
    margin: 3rem 0;
    font-weight: 700;
    transition: var(--transition);
}

.contact-link:hover {
    color: #fff;
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-links a {
    font-size: 2rem;
    color: var(--text-main);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #00ff88;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #00ff88;
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Insight Enhancements */
.insight-card {
    position: relative;
}

.insight-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 5;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.post-date {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.insight-card:hover .post-date {
    color: var(--primary);
}

/* Footer Enhancements */
footer {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: linear-gradient(to top, rgba(0, 162, 255, 0.02), transparent);
}

@media (max-width: 968px) {
    .status-badge {
        margin: 0 auto 2rem;
    }
}

/* Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .about-grid {
        gap: 4rem;
    }
}

@media (max-width: 968px) {
    .navbar .container {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .profile-frame {
        max-width: 300px;
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .section {
        padding: 6rem 0;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-card {
        padding: 4rem 1.5rem;
    }
}