/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-1: #f59e0b;
    --accent-2: #f97316;
    --gradient: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
    --gradient-subtle: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.05));
    --glow: 0 0 30px rgba(245, 158, 11, 0.15);
    --glow-strong: 0 0 60px rgba(245, 158, 11, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ===== Particle Canvas ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.glass-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: var(--glow);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--accent-1);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-1);
}

.btn-nav::after { display: none; }

.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-primary);
    transition: var(--transition);
    border-radius: 1px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-content { flex: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-1);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
}

.hero-name .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.line-1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.line-2 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.role-tag {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.role-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-1);
}

.hero-quote {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4);
}

.btn-glow i {
    transition: transform 0.3s;
}

.btn-glow:hover i {
    transform: translateX(4px);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 400px;
    position: relative;
    height: 450px;
    perspective: 1000px;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.floating-card {
    width: 320px;
    height: 400px;
    position: relative;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: var(--gradient);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s;
    filter: blur(20px);
}

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

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-1);
    border-right-color: var(--accent-2);
    animation: spin 3s linear infinite;
}

.avatar-ring.ring-2 {
    inset: -8px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--accent-1);
    border-left-color: var(--accent-2);
    animation: spinReverse 4s linear infinite;
    opacity: 0.5;
}

.avatar-icon {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-1);
}

.card-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

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

.card-stats-mini {
    display: flex;
    gap: 24px;
    text-align: center;
}

.card-stats-mini div {
    display: flex;
    flex-direction: column;
}

.card-stats-mini strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-stats-mini span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Icons */
.float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-1);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.fi-1 { top: 20px; left: 0; animation-delay: 0s; }
.fi-2 { top: 60px; right: 10px; animation-delay: 1s; }
.fi-3 { bottom: 80px; left: -20px; animation-delay: 2s; }
.fi-4 { bottom: 20px; right: 40px; animation-delay: 3s; }
.fi-5 { top: 50%; left: -40px; animation-delay: 1.5s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    animation: scrollPulse 2s ease infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.about-text {
    padding: 36px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-1);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    padding: 28px;
    text-align: center;
    position: relative;
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.skills-section {
    padding: 28px;
}

.skills-section h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-section h3 i {
    color: var(--accent-1);
}

.skills-orbit {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: default;
}

.skill-tag:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.skill-tag.highlight {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--accent-1);
}

/* ===== Education ===== */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.edu-card {
    padding: 36px;
    position: relative;
}

.edu-card:hover .edu-glow {
    opacity: 1;
}

.edu-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: var(--radius) var(--radius) 0 0;
}

.edu-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.edu-badge-current {
    padding: 4px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #22c55e;
}

.edu-badge {
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.edu-icon {
    font-size: 1.5rem;
    color: var(--accent-1);
}

.edu-period {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--accent-1);
    margin-bottom: 8px;
}

.edu-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-card h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
}

.edu-gpa {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.gpa-circle {
    position: relative;
    width: 70px;
    height: 70px;
}

.gpa-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.gpa-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6;
}

.gpa-fill {
    fill: none;
    stroke: url(#gpaGrad);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: 264;
    transition: stroke-dashoffset 1.5s ease;
}

.gpa-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.edu-card ul {
    list-style: none;
    padding: 0;
}

.edu-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.edu-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
}

/* ===== Portfolio ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    padding: 32px;
    position: relative;
    transform-style: preserve-3d;
}

.project-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--accent-1));
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: var(--radius) var(--radius) 0 0;
}

.project-card:hover .project-card-bg {
    opacity: 1;
}

.project-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
}

.project-card:hover .project-number {
    color: rgba(255, 255, 255, 0.05);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--icon-color, var(--accent-1));
    transition: var(--transition);
}

.project-card:hover .project-icon {
    transform: translateZ(20px) scale(1.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.project-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 12px;
    border: 1px solid var(--border-glass);
    border-radius: 50px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-role {
    font-size: 0.82rem;
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-role i {
    font-size: 0.7rem;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-skills span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.project-link {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-1);
}

/* ===== Experience ===== */
.exp-category {
    margin-bottom: 56px;
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent-1);
}

.cat-icon.trophy { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); }
.cat-icon.pub { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05)); color: #3b82f6; border-color: rgba(59, 130, 246, 0.2); }
.cat-icon.vol { background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05)); color: #ec4899; border-color: rgba(236, 72, 153, 0.2); }
.cat-icon.haki { background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05)); color: #6366f1; border-color: rgba(99, 102, 241, 0.2); }
.cat-icon.cert { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)); color: #10b981; border-color: rgba(16, 185, 129, 0.2); }

.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.exp-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.exp-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.exp-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent, var(--accent-1));
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 0 2px 2px 0;
}

.exp-card:hover .exp-card-accent {
    opacity: 1;
}

.exp-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--icon-accent, var(--accent-1));
}

.exp-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.exp-role {
    font-size: 0.82rem;
    color: var(--accent-1);
    font-weight: 500;
}

.exp-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.exp-info {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.exp-info strong {
    color: #22c55e;
}

/* Mini cards */
.exp-card-mini {
    padding: 24px;
    text-align: center;
}

.exp-card-mini i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--accent-1);
}

.exp-card-mini h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.exp-card-mini p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Cert Marquee */
.cert-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.cert-track {
    display: flex;
    gap: 16px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.cert-item {
    flex-shrink: 0;
    padding: 10px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}

.cert-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-1);
}

/* ===== Contact ===== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.contact-card {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 160px;
    transform-style: preserve-3d;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.contact-icon.linkedin {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
    border: 1px solid rgba(10, 102, 194, 0.3);
}

.contact-icon.gmail {
    background: rgba(234, 67, 53, 0.15);
    color: #ea4335;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

.contact-icon.github {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card:hover .contact-icon {
    transform: translateZ(20px) scale(1.1);
}

.contact-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.link-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-card:hover .link-arrow {
    color: var(--accent-1);
    transform: translate(3px, -3px);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-sub {
    font-size: 0.75rem !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scrollPulse {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 0.3; transform: scaleY(0.3); transform-origin: top; }
    100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll triggered */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GPA SVG gradient definition (injected via JS) */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container { gap: 40px; }
    .line-2 { font-size: 3rem; }
    .hero-visual { flex: 0 0 320px; height: 400px; }
    .floating-card { width: 280px; height: 360px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transition: right 0.4s;
        border-left: 1px solid var(--border-glass);
    }

    .nav-menu.active { right: 0; }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        padding-top: 30px;
    }

    .hero-visual { flex: 0 0 auto; height: 350px; }
    .floating-card { width: 240px; height: 300px; }
    .avatar-icon { font-size: 2rem; }
    .avatar-container { width: 80px; height: 80px; }
    .float-icon { display: none; }

    .line-1 { font-size: 1.8rem; }
    .line-2 { font-size: 2.4rem; }

    .hero-roles { justify-content: center; flex-wrap: wrap; }
    .hero-buttons { justify-content: center; }

    .section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }

    .about-content { grid-template-columns: 1fr; }
    .edu-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr; }
    .exp-grid.three-col { grid-template-columns: 1fr 1fr; }

    .contact-cards { flex-direction: column; align-items: center; }
    .contact-card { width: 100%; max-width: 280px; }
    .scroll-indicator { display: none; }
    .cursor-glow { display: none; }
}

@media (max-width: 480px) {
    .line-1 { font-size: 1.4rem; }
    .line-2 { font-size: 1.8rem; }
    .btn { padding: 12px 22px; font-size: 0.85rem; }
    .exp-grid.three-col { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
}
