@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #070913;
    --bg-surface: #0e1322;
    --bg-card: rgba(18, 26, 45, 0.75);
    --bg-card-hover: rgba(28, 40, 68, 0.9);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --cyan: #00f2fe;
    --blue: #4facfe;
    --purple: #8b5cf6;
    --emerald: #10b981;
    
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(0, 242, 254, 0.35);
    
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #00f2fe 60%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, #00f2fe, #4facfe);
    --shadow-glow: 0 10px 30px -10px rgba(0, 242, 254, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, .font-heading {
    font-family: 'Outfit', sans-serif;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Background Canvas & Mesh Ambient Blobs */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.65;
}

.blob-1 {
    position: fixed;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(90px);
}

.blob-2 {
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(90px);
}

/* Navbar Fix */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 19, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.1rem 2rem;
}

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

.nav-logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: #00f2fe !important;
}

.nav-btn {
    background: var(--gradient-accent) !important;
    color: #070913 !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.3rem !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5) !important;
}

/* Page Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Glass Panel Base */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
}

/* Hero Layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 3rem;
    align-items: center;
}

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

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-role {
    font-size: 1.6rem;
    color: var(--cyan);
    font-weight: 600;
}

.hero-bio-p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.2rem;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Action Buttons & Social Links */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 2rem;
    background: var(--gradient-accent);
    color: #070913 !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

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

.social-bar {
    display: flex;
    gap: 0.8rem;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
    color: var(--cyan) !important;
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Circular Medallion Photo Ring */
.profile-card-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-card-frame {
    position: relative;
    width: 190px !important;
    height: 190px !important;
    border-radius: 50% !important;
    padding: 4px;
    background: linear-gradient(135deg, #00f2fe, #4facfe, #8b5cf6);
    box-shadow: 0 12px 35px rgba(0, 242, 254, 0.35);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card-frame:hover {
    transform: scale(1.04) rotate(2deg);
    box-shadow: 0 18px 45px rgba(0, 242, 254, 0.5);
}

.profile-card-inner {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #0e1322 !important;
    position: relative;
}

.profile-photo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    border-radius: 50% !important;
    display: block !important;
}

.profile-initials-placeholder {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--cyan);
    background: #0e1322;
}

.status-indicator {
    margin-top: 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.green-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34d399;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Quick Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Sections & Titles */
section {
    margin-bottom: 4.5rem;
}

.section-header {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.section-header i {
    color: var(--cyan);
}

.section-header::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, var(--cyan), transparent);
    opacity: 0.3;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 2rem;
    text-decoration: none !important;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.15);
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    border-radius: 50%;
    top: -75px;
    right: -75px;
    opacity: 0;
    transition: opacity 0.5s;
    filter: blur(30px);
    pointer-events: none;
}

.card:hover .card-glow {
    opacity: 0.3;
}

.card-tag {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 0.9rem;
    font-weight: 700;
    background: rgba(0, 242, 254, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.25);
    width: fit-content;
}

.card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.3;
}

.company-title {
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-details {
    list-style: none;
    padding-left: 0;
}

.job-details li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 1.1rem;
}

.read-more {
    font-size: 0.92rem;
    color: var(--cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.card:hover .read-more i {
    transform: translateX(6px);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-card-col {
        order: -1;
        margin-bottom: 1rem;
    }

    .badge-tag {
        margin: 0 auto;
    }

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

    .tech-pills {
        justify-content: center;
    }

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

    .nav-links {
        display: none;
    }
}