:root {
    --bg-dark: #030303;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.5);
    --accent-secondary: #8b5cf6;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-2: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1400px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin: 0;
    font-weight: 500;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

/* Glass Card Effect */
.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);
}

/* Background Effects */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

#canvas-container {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #d946ef;
    bottom: -100px;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Header - Professional Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--transition);
}

.site-header.scrolled-up {
    background: rgba(3, 3, 3, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

.site-header.scrolled-down {
    transform: translateY(-100%);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6));
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: translateY(-2px);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-num {
    font-size: 10px;
    font-family: 'Space Mono', monospace;
    color: var(--accent);
    opacity: 0.7;
}

.nav-cta {
    background: var(--gradient-1) !important;
    color: white !important;
    font-weight: 500;
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(5, 5, 10, 0.99) 100%);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s var(--transition);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(99, 102, 241, 0.03);
}

.mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.mobile-menu-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Mobile Menu Navigation */
.mobile-menu ul {
    list-style: none;
    padding: 20px 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu li {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu ul a {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    padding: 18px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.mobile-menu ul a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
    padding-left: 20px;
}

.mobile-menu .nav-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 11px;
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    opacity: 1;
}

/* Mobile Menu CTA Button */
.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 28px 0;
    padding: 18px 28px;
    background: var(--gradient-1);
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 14px;
    box-shadow: 0 8px 32px var(--accent-glow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.mobile-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.mobile-menu-cta svg {
    transition: transform 0.3s ease;
}

.mobile-menu-cta:hover svg {
    transform: translateX(4px);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: auto;
    padding: 28px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.mobile-menu-footer p {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.mobile-menu-footer .social-links {
    display: flex;
    gap: 12px;
}

.mobile-menu-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu-footer .social-links a:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.mobile-menu-email {
    font-family: 'Space Mono', monospace;
    font-size: 12px !important;
    color: var(--accent) !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* Hero Section - Two Column Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
    position: relative;
}

.hero-section > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.title-line {
    overflow: hidden;
}

.title-word {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-family: 'Space Mono', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    padding-left: 4px;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
    margin: 0;
}

.hero-tagline .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual - 3D Element */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-3d-element {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

/* Buttons */
.btn-magnetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-glow {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-secondary);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    padding: 20px 32px;
    font-size: 16px;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

/* Scroll Indicator - Fixed z-index */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* Marquee */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-content .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

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

/* Section Styling */
section {
    padding: 160px 0;
    position: relative;
}

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

.section-label .num {
    font-size: 14px;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
}

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

.section-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 800px;
    margin-bottom: 48px;
}

.section-headline em {
    font-style: normal;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.about-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

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

.highlight-card {
    padding: 32px;
    transition: all 0.3s var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.highlight-card .icon {
    margin-bottom: 16px;
    color: var(--accent);
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.tech-stack {
    padding: 32px;
    position: sticky;
    top: 120px;
}

.tech-stack h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    padding: 10px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px 32px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-icon {
    margin-bottom: 24px;
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
    position: absolute;
    top: 20px;
    right: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Projects Section */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
    filter: grayscale(30%);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-project {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: black;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.project-info {
    padding: 32px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tags span {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-muted);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-info > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
}

.project-meta .company {
    color: var(--accent);
    font-weight: 500;
}

.project-meta .year {
    color: var(--text-muted);
}

/* Journey / Timeline Section */
.journey-section {
    background: var(--gradient-2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.timeline {
    position: relative;
    max-width: 900px;
}

.timeline-item {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}

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

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
    position: relative;
    z-index: 2;
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
    margin-top: 8px;
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    flex: 1;
    padding: 32px;
    transition: all 0.3s var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-date {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

.timeline-type {
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 12px;
    background: var(--glass-bg);
    border-radius: 100px;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 16px;
}

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

.timeline-details li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 20px;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
}

.timeline-details li:last-child {
    border-bottom: none;
}

.timeline-clients {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.timeline-clients span {
    font-size: 12px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--accent);
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.timeline-education .marker-dot {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* Journey Grid Layout */
.journey-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.journey-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.journey-stats,
.journey-skills,
.journey-certs {
    padding: 28px;
}

.journey-stats h4,
.journey-skills h4,
.journey-certs h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Stats Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

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

/* Skill Bars */
.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.skill-info span:first-child {
    color: var(--text-secondary);
}

.skill-info span:last-child {
    color: var(--accent);
    font-family: 'Space Mono', monospace;
}

.skill-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    width: var(--fill);
    transition: width 1s var(--transition);
}

/* Cert List */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.1);
    font-size: 14px;
    color: var(--text-secondary);
}

.cert-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

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

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.contact-link .icon {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
    margin: 0;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-item:hover {
    border-color: var(--accent);
}

.checkbox-item input {
    display: none;
}

.checkbox-item .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-item input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-item input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input:checked ~ span:last-child {
    color: var(--text-primary);
}

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

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

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

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Cursor */
.cursor-follower {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid,
    .projects-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section > .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .journey-sidebar {
        position: static;
    }
}

@media (max-width: 1024px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav ul {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    section {
        padding: 100px 0;
    }

    .container {
        padding: 0 20px;
    }

    .services-grid,
    .projects-showcase {
        grid-template-columns: 1fr;
    }

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

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

    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-visual {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-3d-element {
        max-width: 100%;
        aspect-ratio: 5/4;
    }

    /* Timeline responsive */
    .timeline {
        max-width: 100%;
        overflow: hidden;
    }

    .timeline-item {
        gap: 16px;
    }

    .timeline-marker {
        width: 16px;
        flex-shrink: 0;
    }

    .marker-dot {
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        padding: 20px;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .timeline-content:hover {
        transform: none;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-title {
        font-size: 1.15rem;
    }

    .timeline-company {
        font-size: 1rem;
    }

    .timeline-details li {
        font-size: 0.875rem;
        padding-left: 16px;
    }

    .timeline-clients {
        display: none;
    }

    /* Journey grid responsive */
    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journey-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .journey-certs {
        grid-column: 1 / -1;
    }

    /* Section headlines */
    .section-headline {
        font-size: 1.75rem;
    }

    /* Contact form */
    .contact-form {
        padding: 24px;
    }

    /* Footer mobile */
    .site-footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Hide custom cursor on touch devices */
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .journey-sidebar {
        grid-template-columns: 1fr;
    }

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

    .hero-stat .num {
        font-size: 1.5rem;
    }

    .hero-stat .label {
        font-size: 11px;
    }

    .section-headline {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 16px;
    }

    .timeline-title {
        font-size: 1.1rem;
    }
}
