/* ====================================
   IRONMAN-STYLE PORTFOLIO RESUME
   Modern UI/UX with Dark Theme
   ==================================== */

/* --- CSS Variables --- */
:root {
    --primary: #ff4d5a;
    --primary-dark: #c41e30;
    --accent: #ffd700;
    --accent-glow: rgba(255, 215, 0, 0.4);
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-hover: rgba(30, 30, 38, 0.8);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #686880;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 77, 90, 0.3);
    --glass-bg: rgba(15, 15, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) var(--bg-dark);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

html::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Arc Reactor Cursor --- */
#arc-reactor-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

body:hover #arc-reactor-cursor {
    opacity: 0.6;
}

#arc-reactor-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary);
}

#arc-reactor-cursor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: cursorSpin 3s linear infinite;
}

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

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

/* --- Glass Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 12, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.arc-reactor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.arc-reactor-logo svg {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.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);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a0a0d 0%, var(--bg-dark) 70%);
    padding-top: 100px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 0; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-arc-reactor {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arc-reactor {
    width: 100%;
    height: 100%;
    animation: reactorSpin 20s linear infinite;
}

.arc-circle {
    transform-origin: center;
}

.arc-outer { animation: arcRotate 15s linear infinite reverse; }
.arc-middle { animation: arcRotate 12s linear infinite; }
.arc-inner { animation: arcRotate 8s linear infinite reverse; }
.arc-core { animation: corePulse 2s ease-in-out infinite; }

.arc-line {
    transform-origin: center;
}

.l1 { animation: arcRotate 20s linear infinite; }
.l2 { animation: arcRotate 25s linear infinite reverse; }
.l3 { animation: arcRotate 18s linear infinite; }
.l4 { animation: arcRotate 22s linear infinite reverse; }

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

@keyframes corePulse {
    0%, 100% { 
        opacity: 0.8;
        r: 20;
    }
    50% { 
        opacity: 1;
        r: 25;
    }
}

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

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 77, 90, 0.15);
    border: 1px solid rgba(255, 77, 90, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: fit-content;
    margin: 0 auto;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
}

.hero-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.hero-tag:hover {
    background: rgba(255, 77, 90, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 77, 90, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 77, 90, 0.5);
}

.hero-cta-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.hero-cta-secondary:hover {
    background: rgba(255, 77, 90, 0.1);
    box-shadow: 0 4px 20px rgba(255, 77, 90, 0.2);
}

.hero-cta-secondary svg {
    animation: none;
}

.hero-cta svg {
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease-out 1s backwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translate(-50%, 0); }
    from { opacity: 0; transform: translate(-50%, 10px); }
}

/* --- Sections --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--glass-bg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

.about-card {
    padding: 40px;
}

.about-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 77, 90, 0.1);
    border: 1px solid rgba(255, 77, 90, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--primary);
}

.about-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.skill-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    margin-bottom: 16px;
    color: var(--primary);
}

.skill-category {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.skill-card:hover .skill-tag {
    border-color: rgba(255, 77, 90, 0.2);
}

/* Experience Section */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -44px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 77, 90, 0.4);
}

.timeline-content {
    padding: 28px;
    position: relative;
}

.timeline-header {
    margin-bottom: 16px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-company {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

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

.timeline-list {
    list-style: none;
    padding: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.timeline-links {
    margin-top: 16px;
}

.timeline-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

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

.project-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.project-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-title-wrap {
    flex: 1;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2px;
}

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

.project-badge {
    padding: 4px 12px;
    background: rgba(255, 77, 90, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.project-link svg {
    flex-shrink: 0;
}

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

.education-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.education-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.education-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.education-content {
    flex: 1;
}

.education-degree {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.education-school {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.education-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.education-gpa {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.education-badge {
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cert-content {
    flex: 1;
}

.cert-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

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

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    padding: 40px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
}

.contact-item:hover .contact-icon {
    color: var(--primary);
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-logo svg {
    color: var(--primary);
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* --- Animations for scroll reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive Design --- */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .education-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -34px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-arc-reactor {
        width: 150px;
        height: 150px;
    }
    
    .cursor-scheme {
        display: none;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .skill-card {
        padding: 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .education-card {
        padding: 20px;
    }
    
    .hero-cta, .hero-cta-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile touch */
@media (hover: none) {
    #arc-reactor-cursor {
        display: none;
    }
}

/* --- Utility Classes --- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection color */
::selection {
    background: rgba(255, 77, 90, 0.3);
    color: var(--text-primary);
}
