/* ============================================
   CYBER BENTO GRID - REVOLUTIONARY PORTFOLIO
   Animated Gradient Mesh + Glassmorphism
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Color Palette - Deep Space Cyber */
    --bg-deep: #0E185F;
    --bg-dark: #080E38;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);

    /* Neon Accents */
    --neon-cyan: #00FFDD;
    --neon-magenta: #2FA4FF;
    --neon-pink: #E8FFC2;
    --neon-blue: #2FA4FF;
    --neon-purple: #00FFDD;

    /* Glow Effects */
    --glow-cyan: rgba(0, 255, 221, 0.4);
    --glow-magenta: rgba(47, 164, 255, 0.4);
    --glow-pink: rgba(232, 255, 194, 0.3);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
body.light-mode {
    --bg-deep: #f5f7fa;
    --bg-dark: #e8edf3;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --neon-cyan: #0891b2;
    --neon-magenta: #7c3aed;
    --neon-pink: #10b981;
    --neon-blue: #3b82f6;
    --neon-purple: #8b5cf6;
    --glow-cyan: rgba(8, 145, 178, 0.3);
    --glow-magenta: rgba(124, 58, 237, 0.3);
}

/* Light mode specific overrides */
body.light-mode .gradient-mesh {
    background:
        radial-gradient(ellipse at 10% 20%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    opacity: 1;
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

body.light-mode .glass-nav {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.light-mode .nav-content {
    border: none;
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .nav-link {
    color: #4a5568;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: #0891b2;
}

body.light-mode .glass-input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

body.light-mode .glass-input:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

body.light-mode .glass-input::placeholder {
    color: #a0aec0;
}

body.light-mode .tag {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

body.light-mode .primary-btn {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

body.light-mode .glass-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5568;
}

body.light-mode .glass-btn:hover {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    border-color: rgba(8, 145, 178, 0.3);
}

body.light-mode .social-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5568;
}

body.light-mode .social-btn:hover {
    background: #0891b2;
    color: white;
}

body.light-mode .social-icon {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5568;
}

body.light-mode .social-icon:hover {
    background: #0891b2;
    color: white;
}

body.light-mode .skill-bar {
    background: rgba(0, 0, 0, 0.08);
}

body.light-mode .skill-progress {
    background: linear-gradient(90deg, #0891b2, #7c3aed);
}

body.light-mode .project-card:hover,
body.light-mode .article-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(8, 145, 178, 0.2);
    border-color: #0891b2;
}

body.light-mode .project-card,
body.light-mode .article-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
body.light-mode .project-card::before,
body.light-mode .article-card::before {
    opacity: 0.05;
}

body.light-mode .contact-info,
body.light-mode .contact-form {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
body.light-mode .contact-info::before,
body.light-mode .contact-form::before {
    opacity: 0.05;
}
body.light-mode .contact-info:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(8, 145, 178, 0.2);
    border-color: #0891b2;
}
body.light-mode .contact-form:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(124, 58, 237, 0.2);
    border-color: #7c3aed;
}
body.light-mode .contact-info h3 {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .article-header {
    color: #7c3aed;
}
body.light-mode .article-link {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(124, 58, 237, 0.05);
}
body.light-mode .article-link:hover {
    background: rgba(124, 58, 237, 0.12);
}

body.light-mode .project-link {
    color: #0891b2;
    border-color: rgba(8, 145, 178, 0.2);
    background: rgba(8, 145, 178, 0.05);
}
body.light-mode .project-link:hover {
    background: rgba(8, 145, 178, 0.12);
}

body.light-mode .project-icon {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(124, 58, 237, 0.08));
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow:
        0 0 0 4px rgba(8, 145, 178, 0.08),
        0 8px 32px rgba(8, 145, 178, 0.2),
        inset 0 0 20px rgba(8, 145, 178, 0.05);
}

body.light-mode .project-icon-wrap::before {
    background: conic-gradient(
        rgba(8, 145, 178, 1) 0deg,
        transparent 120deg,
        rgba(124, 58, 237, 1) 180deg,
        transparent 300deg,
        rgba(8, 145, 178, 1) 360deg
    );
}

body.light-mode .project-icon-wrap::after {
    background: #f0faff;
}

body.light-mode .availability-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

body.light-mode .footer {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .footer-links ul li a {
    color: #4a5568;
}

body.light-mode .footer-links ul li a:hover {
    color: #0891b2;
}

body.light-mode .footer-divider {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body.light-mode .keyword {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0891b2;
}

body.light-mode .stat-value {
    color: #0891b2;
}

body.light-mode .form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

body.light-mode .form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* ========== GLOBAL RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ========== GLASS MORPHISM UTILITIES ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: var(--glass-bg);
    border-color: var(--neon-cyan);
    box-shadow:
        0 12px 40px var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--glow-cyan);
}

.glass-input {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: all var(--transition-fast);
}

.glass-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--glow-cyan);
}

/* ========== FLOATING NAVIGATION ========== */
.glass-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.nav-logo img {
    height: 40px;
    width: auto;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px var(--glow-cyan));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-toggle i {
    position: absolute;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg);
    color: var(--neon-cyan);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(180deg);
    color: var(--neon-magenta);
}

body.light-mode .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-180deg);
}

body.light-mode .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

/* Profile Card - Professional, No Excessive Floating */
.profile-card {
    padding: 3rem 2rem;
    text-align: center;
}

.profile-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.avatar-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta));
    animation: rotateRing 10s linear infinite;
    opacity: 0.6;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--glass-border);
    overflow: hidden;
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff00;
    border-radius: 50%;
    border: 3px solid var(--bg-deep);
    box-shadow: 0 0 15px #00ff00;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.5rem;
}

.glitch-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-role {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.availability-badge i {
    font-size: 0.5rem;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
}

.stat-value i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px var(--glow-cyan));
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profile-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all var(--transition-normal);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px var(--glow-cyan);
}

/* Hero Text */
.hero-text {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    min-height: 3rem;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--neon-cyan);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden !important;
}

.primary-btn {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    color: white;
    box-shadow: 0 8px 25px var(--glow-cyan);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--glow-magenta);
}

.primary-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 15px var(--glow-cyan);
}

.primary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-pink));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn span,
.primary-btn i {
    position: relative;
    z-index: 1;
}

.floating-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.keyword {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-family: 'JetBrains Mono', monospace;
    animation: floatKeyword 3s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.keyword i {
    font-size: 0.85rem;
    filter: drop-shadow(0 0 5px var(--glow-cyan));
}

.keyword:nth-child(1) {
    animation-delay: 0s;
}

.keyword:nth-child(2) {
    animation-delay: 0.5s;
}

.keyword:nth-child(3) {
    animation-delay: 1s;
}

.keyword:nth-child(4) {
    animation-delay: 1.5s;
}

.keyword:nth-child(5) {
    animation-delay: 2s;
}

@keyframes floatKeyword {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ========== 3D SHOWCASE SECTION ========== */
.showcase-section {
    padding: 3rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1200px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* ---- Showcase Card Base ---- */
.showcase-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.showcase-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
}

/* Animated glow blob */
.sc-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    opacity: 0.12;
    filter: blur(60px);
    top: -60px;
    right: -60px;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite alternate;
    z-index: 0;
}
.sc-glow.glow-purple {
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    top: auto;
    bottom: -60px;
    right: auto;
    left: -60px;
    animation-delay: -2s;
}
.sc-glow.glow-green {
    background: radial-gradient(circle, var(--neon-pink), transparent 70%);
    top: -40px;
    left: -40px;
    animation-delay: -4s;
}
.sc-glow.glow-blue {
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    bottom: -50px;
    right: -50px;
    top: auto;
    animation-delay: -1s;
}

@keyframes glowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 15px) scale(1.2); }
}

/* Content wrapper */
.sc-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sc-content-center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Card header with icon */
.sc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.sc-header h3 {
    font-size: 1.15rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Floating 3D icon */
.sc-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}
.sc-icon-wrap .sc-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 8px 24px var(--glow-cyan);
    transform: translateZ(-5px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sc-icon-wrap i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.sc-icon-wrap.purple .sc-icon-bg {
    background: linear-gradient(135deg, var(--neon-magenta), #a855f7);
    box-shadow: 0 8px 24px var(--glow-magenta);
}
.sc-icon-wrap.green .sc-icon-bg {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    box-shadow: 0 8px 24px var(--glow-pink);
}
.sc-icon-wrap.blue .sc-icon-bg {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    box-shadow: 0 8px 24px var(--glow-magenta);
}

.showcase-card:hover .sc-icon-wrap {
    transform: rotateY(-15deg) rotateX(10deg) scale(1.1);
}
.showcase-card:hover .sc-icon-wrap .sc-icon-bg {
    transform: translateZ(-8px);
    box-shadow: 0 12px 32px var(--glow-cyan);
}

/* Card text */
.sc-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.sc-text strong {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Chip tags */
.sc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}
.sc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    color: var(--neon-cyan);
    background: rgba(0, 255, 221, 0.05);
    border: 1px solid rgba(0, 255, 221, 0.18);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}
.sc-chip:hover {
    background: rgba(0, 255, 221, 0.14);
    border-color: var(--neon-cyan);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 20px var(--glow-cyan);
}
.sc-chip i {
    font-size: 0.72rem;
    filter: drop-shadow(0 0 4px var(--glow-cyan));
}

/* ---- Skills Orbit Grid ---- */
.skills-orbit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 0.6rem;
    flex: 1;
    align-content: start;
}

.orbit-skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.3rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}
.orbit-skill:hover {
    background: rgba(47, 164, 255, 0.08);
    border-color: var(--neon-magenta);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(47, 164, 255, 0.15);
}

/* Circular SVG ring */
.orbit-skill-ring {
    position: relative;
    width: 44px;
    height: 44px;
}
.orbit-skill-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.orbit-skill-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 3;
}
.orbit-skill-ring .ring-fill {
    fill: none;
    stroke: var(--neon-magenta);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.orbit-skill:nth-child(odd) .ring-fill {
    stroke: var(--neon-cyan);
}

.orbit-skill-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--neon-magenta);
}
.orbit-skill:nth-child(odd) .orbit-skill-icon {
    color: var(--neon-cyan);
}

.orbit-skill-name {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    text-align: center;
}
.orbit-skill-pct {
    font-size: 0.62rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    font-weight: 600;
}

/* ---- Education Holographic Card ---- */
.edu-holo-card {
    position: relative;
    border-radius: 14px;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(0, 255, 221, 0.04), rgba(232, 255, 194, 0.04));
    border: 1px solid rgba(0, 255, 221, 0.12);
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Holographic shimmer effect */
.edu-holo-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(0, 255, 221, 0.06) 45%,
        rgba(47, 164, 255, 0.06) 50%,
        rgba(232, 255, 194, 0.06) 55%,
        transparent 70%
    );
    background-size: 200% 100%;
    animation: holoShimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes holoShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.edu-holo-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.edu-holo-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 221, 0.15), rgba(232, 255, 194, 0.1));
    border: 2px solid rgba(0, 255, 221, 0.2);
    font-size: 1.1rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
    animation: edu-pulse 3s ease-in-out infinite;
}
@keyframes edu-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 221, 0.2); }
    50% { box-shadow: 0 0 0 12px rgba(0, 255, 221, 0); }
}

.edu-holo-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.edu-holo-year {
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.edu-holo-degree {
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
}
.edu-holo-spec {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.edu-holo-school {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* ---- Stat Orb (Projects) ---- */
.stat-orb {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.stat-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(47, 164, 255, 0.2);
    animation: orbSpin 8s linear infinite;
}
.stat-orb-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 12px var(--neon-blue);
    transform: translateX(-50%);
}
.stat-orb-ring.ring-2 {
    inset: 12px;
    border-color: rgba(0, 255, 221, 0.15);
    animation-direction: reverse;
    animation-duration: 12s;
}
.stat-orb-ring.ring-2::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
    width: 6px;
    height: 6px;
}

@keyframes orbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-orb-core {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-orb-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-orb-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-orb-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.stat-orb-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--neon-blue);
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(47, 164, 255, 0.3);
    background: rgba(47, 164, 255, 0.06);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.stat-orb-cta:hover {
    background: rgba(47, 164, 255, 0.16);
    border-color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-magenta);
}
.stat-orb-cta i {
    transition: transform 0.3s ease;
}
.stat-orb-cta:hover i {
    transform: translateX(4px);
}

/* ---- Grid Layout Rules ---- */
.card-about {
    grid-column: auto;
}
.card-skills {
    grid-column: auto;
}

/* ---- Light Mode ---- */
body.light-mode .showcase-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
body.light-mode .showcase-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(8, 145, 178, 0.2);
    border-color: #0891b2;
}
body.light-mode .sc-text strong { color: #0891b2; }
body.light-mode .sc-chip {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.06);
    border-color: rgba(8, 145, 178, 0.18);
}
body.light-mode .sc-chip:hover {
    background: rgba(8, 145, 178, 0.14);
}
body.light-mode .orbit-skill:hover {
    background: rgba(124, 58, 237, 0.06);
    border-color: #7c3aed;
}
body.light-mode .orbit-skill-ring .ring-fill {
    stroke: #7c3aed;
}
body.light-mode .orbit-skill:nth-child(odd) .ring-fill {
    stroke: #0891b2;
}
body.light-mode .orbit-skill-icon { color: #7c3aed; }
body.light-mode .orbit-skill:nth-child(odd) .orbit-skill-icon { color: #0891b2; }
body.light-mode .edu-holo-card {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.04), rgba(16, 185, 129, 0.04));
    border-color: rgba(8, 145, 178, 0.12);
}
body.light-mode .edu-holo-year { color: #0891b2; }
body.light-mode .edu-holo-badge { color: #0891b2; border-color: rgba(8,145,178,0.25); }
body.light-mode .stat-orb-cta {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.06);
}
body.light-mode .stat-orb-cta:hover {
    background: rgba(59, 130, 246, 0.12);
}
body.light-mode .sc-glow { opacity: 0.06; }

/* Cert Badges */
.cert-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--neon-cyan);
    border-radius: var(--radius-sm);
    color: var(--neon-cyan);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 15px var(--glow-cyan);
}

/* ========== PROJECTS SECTION ========== */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 0rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
}

/* ---- 3D Project Card ---- */
.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    opacity: 0.1;
    filter: blur(50px);
    top: -50px;
    right: -50px;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite alternate;
    z-index: 0;
}
.project-card:nth-child(even)::before {
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    top: auto;
    bottom: -50px;
    right: auto;
    left: -50px;
    animation-delay: -3s;
}
.project-card:nth-child(3n)::before {
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    animation-delay: -1.5s;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
}

.project-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    gap: 1rem;
}

.project-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    perspective: 600px;
}

/* Outer spinning ring */
.project-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(
        var(--neon-cyan) 0deg,
        transparent 120deg,
        var(--neon-magenta) 180deg,
        transparent 300deg,
        var(--neon-cyan) 360deg
    );
    animation: iconRingSpin 3.5s linear infinite;
    z-index: 0;
}

/* Inner glow halo */
.project-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--glass-bg);
    z-index: 1;
}

@keyframes iconRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.project-icon {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--neon-cyan);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 255, 221, 0.15), rgba(47, 164, 255, 0.1));
    border: 2px solid rgba(0, 255, 221, 0.35);
    box-shadow:
        0 0 0 4px rgba(0, 255, 221, 0.08),
        0 8px 32px rgba(0, 255, 221, 0.25),
        inset 0 0 20px rgba(0, 255, 221, 0.06);
    transform-style: preserve-3d;
    transition: transform 0.08s linear,
                box-shadow 0.4s ease;
    z-index: 2;
}

.project-icon-wrap:hover .project-icon {
    transform:
        rotateY(var(--icon-rx, 0deg))
        rotateX(var(--icon-ry, 0deg))
        scale(1.14)
        translateZ(24px);
    box-shadow:
        0 0 0 4px rgba(0, 255, 221, 0.18),
        0 16px 48px rgba(0, 255, 221, 0.45),
        inset 0 0 30px rgba(0, 255, 221, 0.12);
    transition: box-shadow 0.2s ease;
}

.project-card:hover .project-icon-wrap::before {
    animation-duration: 1.2s;
}

/* Per-card ring color variations */
.project-card:nth-child(2) .project-icon-wrap::before {
    background: conic-gradient(
        var(--neon-magenta) 0deg,
        transparent 120deg,
        var(--neon-blue) 180deg,
        transparent 300deg,
        var(--neon-magenta) 360deg
    );
}
.project-card:nth-child(3) .project-icon-wrap::before {
    background: conic-gradient(
        var(--neon-blue) 0deg,
        transparent 120deg,
        var(--neon-cyan) 180deg,
        transparent 300deg,
        var(--neon-blue) 360deg
    );
}
.project-card:nth-child(4) .project-icon-wrap::before {
    background: conic-gradient(
        #f59e0b 0deg,
        transparent 120deg,
        var(--neon-cyan) 180deg,
        transparent 300deg,
        #f59e0b 360deg
    );
}
.project-card:nth-child(5) .project-icon-wrap::before {
    background: conic-gradient(
        #10b981 0deg,
        transparent 120deg,
        var(--neon-blue) 180deg,
        transparent 300deg,
        #10b981 360deg
    );
}
.project-card:nth-child(6) .project-icon-wrap::before {
    background: conic-gradient(
        var(--neon-magenta) 0deg,
        transparent 120deg,
        #f59e0b 180deg,
        transparent 300deg,
        var(--neon-magenta) 360deg
    );
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Specular highlight overlay that follows cursor */
.project-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at var(--shine-x, 50%) var(--shine-y, 30%),
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.06) 45%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.project-icon-wrap:hover .project-icon::after {
    opacity: 1;
}

.project-icon i {
    font-size: 2.8rem;
    filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.project-tags {
    display: flex;
    gap: 0.4rem;
}

/* General Tag Style (used in projects & articles) */
.tag {
    padding: 0.35rem 0.8rem;
    background: rgba(0, 255, 221, 0.05);
    border: 1px solid rgba(0, 255, 221, 0.18);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    font-family: 'JetBrains Mono', monospace;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}
.tag:hover {
    background: rgba(0, 255, 221, 0.14);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow-cyan);
}
.tag i {
    font-size: 0.75rem;
    filter: drop-shadow(0 0 4px var(--glow-cyan));
}

.project-card h3 {
    font-size: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex: 1;
}

.project-footer {
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: 'Space Grotesk', sans-serif;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 221, 0.2);
    background: rgba(0, 255, 221, 0.05);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-link:hover {
    background: rgba(0, 255, 221, 0.15);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-cyan);
}
.project-link i {
    transition: transform 0.3s ease;
}
.project-link:hover i {
    transform: translateX(3px);
}

/* ========== BLOG/MEDIUM SECTION ========== */
.blog-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
}

.holographic-card {
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.holo-bg {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg,
            var(--neon-cyan),
            var(--neon-magenta),
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-cyan));
    opacity: 0.1;
    animation: rotateHolo 10s linear infinite;
}

@keyframes rotateHolo {
    to {
        transform: rotate(360deg);
    }
}

.holographic-card .card-content {
    position: relative;
    z-index: 1;
}

.holographic-card i {
    color: var(--neon-magenta);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--glow-magenta));
}

.holographic-card h2 {
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
}

.holographic-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.topic-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* 3D Contact Info Card */
.contact-info {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.contact-info::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    opacity: 0.1;
    filter: blur(60px);
    top: -60px;
    right: -60px;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite alternate;
    z-index: 0;
}
.contact-info > * {
    position: relative;
    z-index: 1;
}
.contact-info:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 30px var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: var(--neon-cyan);
}

.contact-info h3 {
    font-size: 1.6rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.info-item:hover {
    background: rgba(0, 255, 221, 0.04);
    border-color: rgba(0, 255, 221, 0.12);
    transform: translateX(4px);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-top: 0.15rem;
    filter: drop-shadow(0 0 6px var(--glow-cyan));
}

.info-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.info-item a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}
.info-item a:hover {
    text-shadow: 0 0 8px var(--glow-cyan);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

/* 3D Contact Form Card */
.contact-form {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.contact-form::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    opacity: 0.1;
    filter: blur(60px);
    bottom: -60px;
    left: -60px;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite alternate;
    animation-delay: -3s;
    z-index: 0;
}
.contact-form > * {
    position: relative;
    z-index: 1;
}
.contact-form:hover {
    transform: translateY(-6px) rotateX(1deg) rotateY(1deg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 30px var(--glow-magenta),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: var(--neon-magenta);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-secondary);
}

.glass-input {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--glow-cyan), inset 0 0 10px rgba(0, 255, 221, 0.03);
}

textarea.glass-input {
    resize: vertical;
    min-height: 130px;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.06);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.form-status.error {
    display: block;
    background: rgba(255, 0, 0, 0.06);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    opacity: 0.04;
    filter: blur(80px);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    animation: glowFloat 8s ease-in-out infinite alternate;
}
.footer::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    opacity: 0.04;
    filter: blur(80px);
    top: -80px;
    right: -80px;
    pointer-events: none;
    animation: glowFloat 8s ease-in-out infinite alternate;
    animation-delay: -4s;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.social-icon:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    transform: translateY(-4px) rotateY(-10deg) scale(1.12);
    box-shadow: 0 8px 25px var(--glow-cyan);
    border-color: var(--neon-cyan);
}

.footer-links h4 {
    font-size: 1.1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-cyan);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

.footer-links ul li i {
    color: var(--neon-cyan);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline i {
    color: var(--neon-pink);
    animation: heartbeat 1.5s ease infinite;
}

.footer-tagline i.fa-coffee {
    color: var(--neon-cyan);
    animation: none;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== CURSOR FOLLOWER ========== */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-cyan);
    opacity: 0.6;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    filter: blur(8px);
    transition: transform 0.15s ease;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 4rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .card-about,
    .card-skills,
    .card-edu,
    .card-stat {
        grid-column: 1 / -1;
    }

    .skills-orbit {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .profile-card {
        padding: 2rem 1.5rem;
    }

    .avatar-image i {
        font-size: 3rem;
    }
}

/* Custom Bento Grid Layout to match screenshot */
.bento-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 1.5rem !important;
}

/* About Me: Full width at top */
.bento-card.about {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}

/* Education: Left column, top */
.bento-card.education {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

/* Projects: Left column, bottom */
.bento-card.projects {
    grid-column: 1 !important;
    grid-row: 3 !important;
}

/* Skills: Right side, spanning 2 rows */
.bento-card.skills {
    grid-column: 2 / -1 !important;
    grid-row: 2 / 4 !important;
}

/* Article Cards Styling */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

/* ---- 3D Article Card ---- */
.article-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 1.8rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-magenta), transparent 70%);
    opacity: 0.08;
    filter: blur(50px);
    top: -40px;
    right: -40px;
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite alternate;
    z-index: 0;
}
.article-card:nth-child(even)::before {
    background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
    top: auto;
    bottom: -40px;
    right: auto;
    left: -40px;
    animation-delay: -2s;
}
.article-card:nth-child(3n)::before {
    background: radial-gradient(circle, var(--neon-pink), transparent 70%);
    animation-delay: -4s;
}

.article-card > * {
    position: relative;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px var(--glow-magenta),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: var(--neon-magenta);
}

.article-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--neon-magenta);
}

.article-header i {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 6px var(--glow-magenta));
}

.article-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-card p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 0.85rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-magenta);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(47, 164, 255, 0.2);
    background: rgba(47, 164, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    align-self: flex-start;
}

.article-link:hover {
    background: rgba(47, 164, 255, 0.15);
    border-color: var(--neon-magenta);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-magenta);
}

.article-link i {
    transition: transform var(--transition-fast);
}

.article-link:hover i {
    transform: translateX(4px);
}

.view-all-articles {
    text-align: center;
    margin-top: 3rem;
}

.view-all-articles .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Blog Section - Full Width Layout */
.blog-section {
    width: 100%;
    max-width: 100%;
    padding: 4rem 3rem;
    background: transparent;
    perspective: 1200px;
}

.blog-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-section .articles-grid {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.blog-section .view-all-articles {
    max-width: 1400px;
    margin: 3rem auto;
}

/* ========== ENHANCED MOBILE RESPONSIVENESS ========== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .floating-keywords {
        justify-content: center;
    }

    .bento-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bento-card.about {
        grid-column: 1 / -1 !important;
    }

    .bento-card.skills {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    .bento-card.education {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .bento-card.projects {
        grid-column: 2 !important;
        grid-row: auto !important;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 900px) {
    .nav-content {
        padding: 0.75rem 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape / Large Mobile */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .glass-nav {
        top: 1rem;
        width: 95%;
    }

    .nav-content {
        padding: 0.6rem 1rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-container {
        gap: 2rem;
    }

    .profile-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .profile-avatar {
        width: 140px;
        height: 140px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat {
        flex: 1 1 30%;
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .profile-social {
        gap: 0.75rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .floating-keywords {
        gap: 0.75rem;
    }

    .keyword {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .bento-section {
        padding: 4rem 1.5rem;
    }

    .bento-container {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 1.25rem !important;
    }

    .bento-card.about,
    .bento-card.skills,
    .bento-card.education,
    .bento-card.projects {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .bento-card {
        padding: 2rem 1.5rem;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .bento-card h3 {
        font-size: 1.5rem;
    }

    .expertise-tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .skills-list {
        gap: 1rem;
    }

    .projects-section {
        padding: 4rem 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
    }

    .project-card h3 {
        font-size: 1.4rem;
    }

    .blog-section {
        padding: 4rem 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card {
        padding: 1.5rem;
    }

    .article-card h3 {
        font-size: 1.2rem;
    }

    .holographic-card {
        padding: 2.5rem 1.5rem;
    }

    .holographic-card h2 {
        font-size: 2rem;
    }

    .topic-tags {
        gap: 0.75rem;
    }

    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .glass-nav {
        top: 0.75rem;
        width: 94%;
    }

    .nav-content {
        padding: 0.5rem 0.75rem;
    }

    .nav-logo img {
        height: 30px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .theme-toggle i {
        font-size: 1rem;
    }

    .hero-section {
        padding: 5rem 1rem 2rem;
    }

    .profile-card {
        padding: 1.5rem 1rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .avatar-ring {
        inset: -8px;
    }

    .status-indicator {
        width: 16px;
        height: 16px;
        bottom: 8px;
        right: 8px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-role {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .profile-stats {
        padding: 1rem 0;
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.2rem;
    }

    .stat-value i {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .hero-text {
        padding: 0 0.5rem;
    }

    .hero-greeting {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        min-height: auto;
    }

    .cta-btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .floating-keywords {
        gap: 0.5rem;
    }

    .keyword {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .keyword i {
        font-size: 0.7rem;
    }

    .bento-section {
        padding: 3rem 1rem;
    }

    .bento-container {
        gap: 1rem !important;
    }

    .sc-content {
        padding: 1.5rem;
    }

    .sc-header h3 {
        font-size: 1.25rem;
    }

    .sc-text {
        font-size: 0.88rem;
    }

    .sc-chip {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .skills-orbit {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .orbit-skill-ring {
        width: 52px;
        height: 52px;
    }

    .stat-orb {
        width: 120px;
        height: 120px;
    }

    .stat-orb-number {
        font-size: 2.2rem;
    }

    .edu-holo-card {
        padding: 1.2rem;
    }

    .edu-holo-body {
        flex-direction: column;
        text-align: center;
    }

    .projects-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .project-card {
        padding: 1.5rem 1rem;
    }

    .project-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .project-icon-wrap {
        width: 100px;
        height: 100px;
    }

    .project-icon {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .project-icon i {
        font-size: 2rem;
    }

    .project-tags {
        flex-wrap: wrap;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .blog-section {
        padding: 3rem 1rem;
    }

    .article-card {
        padding: 1.25rem;
    }

    .article-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .article-card h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .article-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .article-tags {
        gap: 0.4rem;
    }

    .article-tags .tag {
        font-size: 0.65rem;
    }

    .view-all-articles .cta-btn {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .holographic-card {
        padding: 2rem 1rem;
    }

    .holographic-card h2 {
        font-size: 1.6rem;
    }

    .holographic-card p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-info {
        padding: 1.5rem 1rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .info-items {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-item i {
        font-size: 1.2rem;
    }

    .info-item strong {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .glass-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    textarea.glass-input {
        min-height: 120px;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .glass-nav {
        width: 96%;
    }

    .nav-logo img {
        height: 28px;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
    }

    .hero-section {
        padding: 4.5rem 0.75rem 1.5rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .stat {
        flex: 1 1 100%;
    }

    .profile-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .showcase-section,
    .projects-section,
    .blog-section,
    .contact-section {
        padding: 2.5rem 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .profile-stats {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .floating-keywords {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
    }

    .social-btn:hover {
        transform: none;
    }

    .project-card:hover {
        transform: none;
    }

    .article-card:hover {
        transform: none;
    }

    .cursor-follower {
        display: none !important;
    }

    /* Larger touch targets */
    .nav-link {
        padding: 0.5rem;
    }

    .social-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .cta-btn {
        min-height: 48px;
    }

    .tag {
        padding: 0.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .gradient-mesh,
    .cursor-follower,
    .glass-nav,
    .theme-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .glass-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* ============================================
   3D SCROLL ANIMATIONS
   ============================================ */

/* Perspective wrapper for 3D depth */
.showcase-section,
.projects-section,
.blog-section,
.contact-section {
    perspective: 1200px;
}

/* Base state for all scroll-animated elements */
[data-scroll] {
    will-change: transform, opacity, filter;
    transition:
        transform  0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity    0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter     0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   MIST MATERIALISE — base hidden state (scroll DOWN entry)
   Cards start as blurred, washed-out, deep ghost behind the
   viewport and crystallise into sharp, colourful cards.
   ============================================================ */

/* --- Flip Up: rises from below through mist --- */
[data-scroll="flip-up"] {
    opacity: 0;
    transform: perspective(1200px) rotateX(28deg) translateY(90px) translateZ(-80px) scale(0.88);
    transform-origin: bottom center;
    filter: blur(14px) saturate(0.1) brightness(1.6);
}
[data-scroll="flip-up"].is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0) translateZ(0) scale(1);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Flip Left: drifts in from left through mist --- */
[data-scroll="flip-left"] {
    opacity: 0;
    transform: perspective(1200px) rotateY(-22deg) translateX(-70px) translateZ(-60px) scale(0.90);
    transform-origin: left center;
    filter: blur(12px) saturate(0.1) brightness(1.5);
}
[data-scroll="flip-left"].is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0) translateZ(0) scale(1);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Flip Right: drifts in from right through mist --- */
[data-scroll="flip-right"] {
    opacity: 0;
    transform: perspective(1200px) rotateY(22deg) translateX(70px) translateZ(-60px) scale(0.90);
    transform-origin: right center;
    filter: blur(12px) saturate(0.1) brightness(1.5);
}
[data-scroll="flip-right"].is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0) translateZ(0) scale(1);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Zoom Twist: spirals out of deep mist --- */
[data-scroll="zoom-twist"] {
    opacity: 0;
    transform: perspective(1200px) scale(0.65) rotate3d(0.3, 0.7, 0.1, -18deg) translateZ(-120px);
    filter: blur(16px) saturate(0) brightness(1.8);
}
[data-scroll="zoom-twist"].is-visible {
    opacity: 1;
    transform: perspective(1200px) scale(1) rotate3d(0, 0, 0, 0deg) translateZ(0);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Rise & Tilt: pushes up through ground mist --- */
[data-scroll="rise-tilt"] {
    opacity: 0;
    transform: perspective(1200px) rotateX(18deg) rotateY(-6deg) translateY(110px) translateZ(-60px) scale(0.88);
    filter: blur(14px) saturate(0.08) brightness(1.7);
}
[data-scroll="rise-tilt"].is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0) translateZ(0) scale(1);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Slide Rotate: diagonal mist sweep --- */
[data-scroll="slide-rotate"] {
    opacity: 0;
    transform: perspective(1200px) rotateZ(7deg) rotateY(14deg) translateX(-90px) translateY(60px) translateZ(-50px);
    filter: blur(13px) saturate(0.1) brightness(1.6);
}
[data-scroll="slide-rotate"].is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateZ(0deg) rotateY(0deg) translateX(0) translateY(0) translateZ(0);
    filter: blur(0px) saturate(1) brightness(1);
}

/* --- Fade Scale: soft mist pop-in for headers --- */
[data-scroll="fade-scale"] {
    opacity: 0;
    transform: scale(0.82) translateY(50px) translateZ(-40px);
    filter: blur(18px) saturate(0) brightness(2);
}
[data-scroll="fade-scale"].is-visible {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(0);
    filter: blur(0px) saturate(1) brightness(1);
}

/* ============================================================
   SCROLL-UP ENTRY — cards come from above when scrolling up
   ============================================================ */
[data-scroll="flip-up"].from-top {
    transform: perspective(1200px) rotateX(-28deg) translateY(-90px) translateZ(-80px) scale(0.88);
    filter: blur(14px) saturate(0.1) brightness(1.6);
    opacity: 0;
}
[data-scroll="rise-tilt"].from-top {
    transform: perspective(1200px) rotateX(-18deg) rotateY(6deg) translateY(-110px) translateZ(-60px) scale(0.88);
    filter: blur(14px) saturate(0.08) brightness(1.7);
    opacity: 0;
}
[data-scroll="fade-scale"].from-top {
    transform: scale(0.82) translateY(-50px) translateZ(-40px);
    filter: blur(18px) saturate(0) brightness(2);
    opacity: 0;
}

/* Stagger delays — longer gaps for more dramatic mist wave */
[data-scroll-delay="1"] { transition-delay: 0.05s; }
[data-scroll-delay="2"] { transition-delay: 0.15s; }
[data-scroll-delay="3"] { transition-delay: 0.25s; }
[data-scroll-delay="4"] { transition-delay: 0.36s; }
[data-scroll-delay="5"] { transition-delay: 0.47s; }
[data-scroll-delay="6"] { transition-delay: 0.58s; }

/* Section headers get slightly slower crystallisation */
.section-header[data-scroll] {
    transition:
        transform  1.1s cubic-bezier(0.16, 1, 0.3, 1),
        opacity    1.0s cubic-bezier(0.16, 1, 0.3, 1),
        filter     1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Override tilt hover so it doesn't fight the mist state */
[data-scroll].glass-card:hover {
    transform: perspective(1000px) translateY(-5px);
}
[data-scroll].showcase-card:hover,
[data-scroll].project-card:hover,
[data-scroll].article-card:hover,
[data-scroll].contact-info:hover,
[data-scroll].contact-form:hover {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-scroll] {
        transition: opacity 0.4s ease !important;
        transform: none !important;
        filter: none !important;
    }
    [data-scroll].is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}