/* ===== WARM SLATE GLASS DESIGN ===== */
/* Transparent, Butter-Smooth, Shining Effects */

:root {
    /* QA Neural Core - Indigo & Purple Gradient Palette */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-hover: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --indigo: #4338ca;
    --violet: #7c3aed;
    --blue: #3b82f6;
    --purple: #9333ea;

    /* Background - Deep Space / Slate Tones */
    --bg-primary: #0f172a;
    --bg-secondary: #020617;
    --bg-tertiary: #000000;

    /* Glass Effects */
    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-bg-hover: rgba(51, 65, 85, 0.7);
    --glass-border: rgba(139, 92, 246, 0.15);
    --glass-border-hover: rgba(139, 92, 246, 0.4);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-light: #ffffff;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    --shadow-glow-strong: 0 0 50px rgba(139, 92, 246, 0.5);

    /* Butter Smooth Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 600ms;

    /* Semantic Aliases for Glassmorphism (fixing subagent findings) */
    --bg-glass: var(--glass-bg);
    --border-color: var(--glass-border);
}

/* ===== Custom Premium Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent) 0%, #a66a47 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background Glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: ambientPulse 10s ease-in-out infinite;
}

@keyframes ambientPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--duration-normal) var(--ease-smooth);
}

::selection {
    background: var(--accent);
    color: var(--text-light);
}

/* ===== Glass Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: all 0.5s var(--ease-smooth);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text-light);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.logo-text .highlight {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    position: relative;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--duration-fast) var(--ease-smooth);
}

/* ===== Glass Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-smooth);
}

/* Shine effect on buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--duration-slow) var(--ease-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--text-light);
    box-shadow: var(--shadow-md), 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeUp 0.8s var(--ease-smooth) 0.1s forwards;
}

.badge-icon {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-glow);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 25px var(--accent-glow), 0 0 50px rgba(139, 92, 246, 0.2);
    }
}

.status-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #10b981;
    /* Success Green */
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    font-weight: 800;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeUp 0.8s var(--ease-smooth) 0.2s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    text-shadow: none;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeUp 0.8s var(--ease-smooth) 0.3s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeUp 0.8s var(--ease-smooth) 0.4s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(30px);
    animation: smoothFadeUp 0.8s var(--ease-smooth) 0.5s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--text-3xl);
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@keyframes smoothFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Glass Cards */
.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-slow) var(--ease-smooth);
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-shine);
    border-radius: inherit;
    pointer-events: none;
}

.floating-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.floating-card i {
    font-size: var(--text-lg);
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.card-1 {
    top: 20%;
    left: 8%;
    animation: floatSmooth 8s ease-in-out infinite;
}

.card-2 {
    top: 25%;
    right: 10%;
    animation: floatSmooth 8s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 30%;
    left: 12%;
    animation: floatSmooth 8s ease-in-out infinite 4s;
}

.card-4 {
    bottom: 20%;
    right: 8%;
    animation: floatSmooth 8s ease-in-out infinite 6s;
}

@keyframes floatSmooth {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ===== Section Styles ===== */
section {
    position: relative;
    z-index: 1;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.image-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-glow);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-glow);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-glow-strong);
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(1.1);
    }
}

.about-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.about-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--text-xl);
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.about-bio {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.about-bio strong {
    color: var(--text-light);
    font-weight: 600;
}

.about-highlights {
    margin-top: var(--space-md);
    display: grid;
    gap: var(--space-xs);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.highlight-item i {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ===== Experience Section ===== */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.experience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.5;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-glow);
}

.exp-header {
    margin-bottom: var(--space-sm);
}

.exp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
}

.exp-company {
    color: var(--accent-light);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-top: 4px;
}

.exp-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.exp-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Apps Section - Glass Cards 4 Column ===== */
.apps {
    background: transparent;
}

.app-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
}

.filter-btn:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), #ae704d);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* 4 Column Glass Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.app-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    backdrop-filter: blur(12px) saturate(180%);
    transition: all var(--duration-slow) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

/* Shine overlay on cards */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--duration-slow) var(--ease-smooth);
}

.app-card:hover::before {
    left: 150%;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--glass-bg-hover);
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    box-shadow: var(--shadow-sm);
}

.app-icon.education {
    background: linear-gradient(135deg, #4a9079, #2d6a5a);
}

.app-icon.ai {
    background: linear-gradient(135deg, #6b8cce, #4a6bb5);
}

.app-icon.utilities {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.app-icon.finance {
    background: linear-gradient(135deg, #7ab38a, #5a9370);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md), 0 0 20px rgba(201, 131, 91, 0.3);
}

.app-content {
    flex: 1;
}

.app-title {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-light);
}

.app-description {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px var(--space-xs);
    background: rgba(201, 131, 91, 0.15);
    border: 1px solid rgba(201, 131, 91, 0.2);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 500;
    color: var(--accent-light);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.tag i {
    font-size: 9px;
    opacity: 0.8;
}

.tag:hover {
    background: rgba(201, 131, 91, 0.25);
    border-color: rgba(201, 131, 91, 0.4);
    transform: translateY(-1px);
}


.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--glass-border);
}

.app-category {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent), #ae704d);
    color: var(--text-light);
    padding: 8px var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--duration-normal) var(--ease-bounce);
    box-shadow: 0 4px 15px rgba(201, 131, 91, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-link:hover {
    box-shadow: 0 8px 25px rgba(201, 131, 91, 0.6);
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #d38d64, var(--accent));
}

/* ===== Skills Section - Glass Cards 4 Column ===== */
.skills {
    background: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    backdrop-filter: blur(12px) saturate(180%);
    transition: all var(--duration-slow) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left var(--duration-slow) var(--ease-smooth);
}

.skill-category:hover::before {
    left: 150%;
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.skill-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--text-light);
    transition: all var(--duration-normal) var(--ease-smooth);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.skill-category:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-strong);
}

.skill-title {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

/* Category Specific Styling */
.skill-category::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.05;
    z-index: -1;
    transition: all var(--duration-slow) var(--ease-smooth);
}

.skill-category:hover::after {
    opacity: 0.15;
    transform: scale(1.2);
}

.skill-category.ai .skill-icon {
    background: linear-gradient(135deg, #6b8cce, #4a6bb5);
}

.skill-category.ai::after {
    background: #6b8cce;
}

.skill-category.automation .skill-icon {
    background: linear-gradient(135deg, #4a9079, #2d6a5a);
}

.skill-category.automation::after {
    background: #4a9079;
}

.skill-category.strategy .skill-icon {
    background: linear-gradient(135deg, #7ab38a, #5a9370);
}

.skill-category.strategy::after {
    background: #7ab38a;
}

.skill-category.leadership .skill-icon {
    background: linear-gradient(135deg, var(--accent), #ae704d);
}

.skill-category.leadership::after {
    background: var(--accent);
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: left;
}

.skill-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.skill-info i {
    color: var(--accent);
    margin-right: var(--space-xs);
}

.skill-progress-bg {
    width: 100%;
    height: 4px;
    background: rgba(201, 131, 91, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    width: 0;
    border-radius: var(--radius-full);
    transition: width 1.2s var(--ease-smooth);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== Contact Section - Glass ===== */
.contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}


.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

/* ===== Contact Section Redesign ===== */
.contact {
    padding: var(--space-lg) 0;
    position: relative;
    background: radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    filter: blur(100px);
    border-radius: 50%;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.3;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    width: 100%;
    margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-bounce);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-light);
    background: var(--glass-bg-hover);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2), var(--shadow-glow);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.4s var(--ease-bounce);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
    position: relative;
    z-index: 1;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-text h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 1px;
    color: var(--text-light);
}

.contact-text span {
    color: var(--text-secondary);
    font-size: var(--text-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.contact-item:hover .contact-text p,
.contact-item:hover .contact-text span {
    color: var(--text-primary);
}

.contact-item i {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* Hide collaboration */
.message-card {
    display: none;
}

/* ===== Contact Form Styles ===== */
.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Contact form styles removed */

.contact-info {
    display: grid;
    gap: var(--space-md);
}

/* ===== Glass Footer ===== */
.footer {
    background: rgba(30, 45, 45, 0.8);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(180%);
    padding-top: var(--space-xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-top: var(--space-xs);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md);
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2.5rem;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-bounce);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* ===== INNOVATION LAB SECTION ===== */
.innovation-lab {
    padding: var(--space-3xl) 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(201, 131, 91, 0.05) 0%, transparent 40%);
}

.lab-summary {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.lab-summary p {
    font-size: var(--text-lg);
    line-height: 1.8;
}

.architecture-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.architecture-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-shine);
    pointer-events: none;
}

.architecture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
}

.arch-tag {
    background: var(--accent-glow);
    color: var(--accent-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.arch-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.arch-node {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.arch-node:hover {
    border-color: var(--accent-border);
    background: rgba(201, 131, 91, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.arch-node i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.arch-node h4 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.arch-node p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.agent-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.agent-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.agent-card:hover::after {
    content: 'STATUS: ACTIVE [STREAMING...]';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    color: var(--accent-light);
    opacity: 0.6;
    letter-spacing: 1px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}

.agent-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.agent-card-header i {
    font-size: 1.8rem;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.agent-type {
    display: block;
    font-size: var(--text-xs);
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* System Health Marquee */
.health-marquee {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 15px;
    margin-bottom: var(--space-xl);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: var(--text-secondary);
}

.marquee-item {
    margin-right: 50px;
}

.marquee-item span {
    color: var(--accent-light);
    font-weight: bold;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.agent-card h4 {
    color: var(--text-primary);
    font-size: var(--text-xl);
    margin-top: 4px;
}

.agent-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.agent-features {
    list-style: none;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.agent-features li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--accent);
}

.agent-link {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.agent-link i {
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.agent-link:hover {
    color: var(--accent-light);
}

.agent-link:hover i {
    transform: translateX(5px);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {

    .apps-grid,
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .apps-grid,
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
}

/* ===== FEATURED ARTICLES & TRAVEL SNAPSHOT ===== */
.featured-articles,
.travel-snapshot {
    background: var(--bg-secondary);
    position: relative;
    padding: var(--space-3xl) 0;
}

.travel-snapshot {
    background: var(--bg-primary);
    /* Alternate background */
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.article-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.article-card:hover::after {
    opacity: 1;
}

.article-thumb {
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-thumb img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.article-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.article-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.article-title {
    font-size: var(--text-lg);
    color: var(--text-primary);
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.article-footer i {
    margin-left: 0.6rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.article-card:hover .article-footer .fa-arrow-right {
    transform: translateX(8px);
}

.article-card:hover .article-footer .fa-camera {
    transform: scale(1.2) rotate(-10deg);
}

.articles-cta {
    text-align: center;
}

/* Skeleton Loader */
.skeleton-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.skeleton-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-primary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s infinite;
}

.skeleton-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-primary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite;
}

.skeleton-line.title {
    height: 20px;
    width: 80%;
}

.skeleton-line.text {
    width: 100%;
}

.skeleton-line.text-short {
    width: 60%;
}

@keyframes skeleton-pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(30, 45, 45, 0.85);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        flex-direction: column;
        padding: var(--space-3xl) var(--space-xl);
        gap: var(--space-md);
        transition: right var(--duration-slow) var(--ease-smooth);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .floating-card {
        display: none;
    }

    .apps-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(42, 61, 61, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.5s var(--ease-bounce);
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i {
    color: #10b981;
}

.toast.error i {
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ===== PREMIUM INTERACTIONS (MAGNETIC, 3D TILT, CUSTOM CURSOR) ===== */

/* Custom Cursor */
.custom-cursor {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
    will-change: transform;
}

.custom-cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s var(--ease-bounce),
        height 0.3s var(--ease-bounce),
        background-color 0.3s ease,
        border-color 0.3s ease;
    will-change: transform;
}


.custom-cursor-outline.expand {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-light);
    border-width: 2px;
}

@media (max-width: 1024px) {

    .custom-cursor,
    .custom-cursor-outline {
        display: none !important;
    }
}

/* 3D Tilt Effect */
.agent-card,
.app-card,
.experience-card,
.article-card,
.post-card {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}


.agent-card-header,
.agent-features,
.app-icon,
.app-link {
    transform: translateZ(30px);
}

/* Magnetic Button Helper */
.btn-primary,
.btn-secondary,
.social-link {
    display: inline-flex;
    transition: transform 0.3s var(--ease-out);
}

/* Parallax Sections */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
    will-change: transform;
}

/* Specific Section Fixes */
.innovation-lab {
    overflow: hidden;
}

/* Hide default cursor on interactive sections if desired */
/* .apps-grid:hover, .agent-grid:hover { cursor: none; } */
/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}