/* ===== CSS Variables ===== */
:root {
    --bg-primary: #050508;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --text-muted: #666666;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --border-color: #222222;
    --border-subtle: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: var(--accent);
    color: white;
}

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
    background: linear-gradient(
        90deg,
        var(--gradient-start),
        var(--gradient-end),
        #a855f7,
        var(--gradient-start)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.4; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.5; }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.15);
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.12);
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-size: clamp(3.6rem, 12vw, 7.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.typewriter {
    display: inline;
    white-space: nowrap;
}

.cursor {
    display: inline;
    color: var(--accent);
    font-weight: 300;
    animation: blink 1s step-end infinite;
}

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

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3.6vw, 2.1rem);
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 56px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 76px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 1s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 2.4rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 10px;
}

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

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

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== Section Styles ===== */
section {
    padding: 120px 0;
    position: relative;
}


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

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-secondary) 100%);
}

.about-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    margin-bottom: 48px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
    border-radius: 20px;
    filter: blur(40px);
    z-index: 0;
    transform: scale(1.15);
}

.profile-img {
    position: relative;
    max-width: 456px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.about-lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 24px;
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: normal;
}

.about-text p {
    margin-bottom: 20px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.detail-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.detail-card:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== Featured Section ===== */
.featured {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-primary) 100%);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    transition: border-color 0.3s ease;
}

.featured-card:hover {
    border-color: var(--accent);
}

.featured-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-project-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.video-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.video-btn:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

.video-btn:hover::before {
    opacity: 1;
}

.video-btn svg,
.video-btn span {
    position: relative;
    z-index: 1;
}

.video-btn svg {
    width: 16px;
    height: 16px;
    padding: 6px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.video-btn:hover svg {
    transform: scale(1.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.video-modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.video-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.video-modal-grid video {
    width: 100%;
    border-radius: 12px;
    background: #000;
}

.featured-logo-img {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
}

.featured-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.featured-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.featured-highlights {
    list-style: none;
    display: grid;
    gap: 16px;
}

.featured-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
}

.highlight-icon {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 6px;
}

/* ===== Experience Timeline ===== */
.experience {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-secondary) 100%);
}

/* Timeline Toggle Button */
.timeline-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 0;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

.timeline-toggle .toggle-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--border-color));
}

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

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item.hidden-item {
    display: none;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.hidden-item.show {
    display: block;
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item.hidden-item.show:nth-child(5) { animation-delay: 0.05s; }
.timeline-item.hidden-item.show:nth-child(6) { animation-delay: 0.1s; }
.timeline-item.hidden-item.show:nth-child(7) { animation-delay: 0.15s; }
.timeline-item.hidden-item.show:nth-child(8) { animation-delay: 0.2s; }
.timeline-item.hidden-item.show:nth-child(9) { animation-delay: 0.25s; }
.timeline-item.hidden-item.show:nth-child(10) { animation-delay: 0.3s; }

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

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 9px;
    height: 9px;
    background: var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-marker.active {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-left: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 8px 0 4px;
}

.timeline-company {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9375rem;
}

/* ===== Clients Section ===== */
.clients {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-primary) 100%);
}

.clients-carousel {
    position: relative;
}

.clients-dots {
    display: none;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    text-decoration: none;
    display: block;
}

a.client-card {
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.client-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.client-logo-img {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 12px;
    object-fit: cover;
}

.client-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.client-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Skills Section ===== */
.skills {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-secondary) 100%);
}

.skills-carousel {
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.skills-dots {
    display: none;
}

.skill-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    margin-bottom: 24px;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

/* ===== Achievements Section ===== */
.achievements {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-primary) 100%);
}

.achievements-carousel {
    position: relative;
}

.achievements-dots {
    display: none;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.achievement-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.achievement-prefix,
.achievement-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.achievement-card p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-secondary) 100%);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-link:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.contact-link.primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.contact-link.primary:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: translateX(4px);
}

.contact-link:not(.primary):hover svg {
    transform: translateY(4px);
}

.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 40px 0;
    text-align: center;
    border-top: none;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .profile-img {
        max-width: 320px;
    }

    .about-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }

    .featured-media {
        max-width: 400px;
        margin: 0 auto;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Mobile Navigation Toggle ===== */

/* ===== Mobile Navigation Toggle ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

/* ===== Discord Popup ===== */
.social-links {
    position: relative;
}

.discord-btn {
    cursor: pointer;
}

.discord-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    white-space: nowrap;
}

.discord-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.discord-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-tertiary);
}

.discord-username {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--gradient-end);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.copy-btn.copied {
    background: #22c55e;
}

/* ===== Mobile Scroll Progress ===== */
.mobile-scroll-track {
    display: none;
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 120px;
    background: var(--border-color);
    border-radius: 4px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-scroll-track.visible {
    opacity: 1;
}

.mobile-scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, var(--accent), var(--gradient-end));
    border-radius: 4px;
    cursor: pointer;
    transition: height 0.1s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Desktop Nav - 20% larger */
@media (min-width: 769px) {
    .nav {
        padding: 24px 0;
    }

    .nav-logo {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 38px;
    }

    .nav-links a {
        font-size: 1.05rem;
    }

    .nav-cta {
        padding: 12px 24px;
        font-size: 1.05rem;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

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

    .nav-links a {
        font-size: 1.25rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }

    .nav-cta {
        margin-top: 16px;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-scroll-track {
        display: block;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-number::after {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Skills Carousel for Mobile */
    .skills-carousel {
        margin: 0 -24px;
        padding: 0;
    }

    .skills-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 24px 16px;
        scroll-padding: 24px;
    }

    .skills-grid::-webkit-scrollbar {
        display: none;
    }

    .skill-category {
        flex: 0 0 calc(100% - 48px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 28px;
    }

    .skills-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .skills-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .skills-dots .dot.active {
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent-glow);
    }

    /* Clients Carousel for Mobile */
    .clients-carousel {
        margin: 0 -24px;
        padding: 0;
    }

    .clients-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 24px 16px;
        scroll-padding: 24px;
        max-width: none;
    }

    .clients-grid::-webkit-scrollbar {
        display: none;
    }

    .client-card {
        flex: 0 0 calc(100% - 48px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .clients-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .clients-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .clients-dots .dot.active {
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent-glow);
    }

    /* Achievements Carousel for Mobile */
    .achievements-carousel {
        margin: 0 -24px;
        padding: 0;
    }

    .achievements-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 24px 16px;
        scroll-padding: 24px;
    }

    .achievements-grid::-webkit-scrollbar {
        display: none;
    }

    .achievement-card {
        flex: 0 0 calc(100% - 48px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .achievements-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .achievements-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .achievements-dots .dot.active {
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent-glow);
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-marker {
        left: -28px;
    }

    .about-text {
        font-size: 1rem;
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-lead {
        font-size: 1.15rem;
        line-height: 1.7;
        text-wrap: pretty;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .discord-popup {
        right: -20px;
    }
}

/* ===== Calendly Modal ===== */
.calendly-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.calendly-modal.active {
    opacity: 1;
    visibility: visible;
}

.calendly-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.calendly-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    height: 85vh;
    max-height: 700px;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.calendly-modal.active .calendly-modal-content {
    transform: scale(1);
}

.calendly-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.calendly-modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.calendly-modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

.calendly-modal .calendly-inline-widget {
    width: 100%;
    height: 100%;
    min-width: 320px;
}

/* ===== Animation Classes ===== */
/* Animations handled by GSAP */
