/* ============================================
   VARIABLES & BASE
   ============================================ */
:root {
    /* Core Colors - Dark Mode Sophisticated */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #15151f;
    --bg-hover: #1e1e2a;
    
    /* Text Colors */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6e6e80;
    
    /* Accent Colors - Soft Neon */
    --accent-primary: #8b5cf6;
    --accent-secondary: #6366f1;
    --accent-tertiary: #3b82f6;
    --accent-glow: rgba(139, 92, 246, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    --gradient-text: linear-gradient(135deg, #a78bfa, #60a5fa);
    --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(139, 92, 246, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Selection */
::selection {
    background-color: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-base);
}

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    order: -1;
}

.lang-switch:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-label {
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.lang-switch:hover .lang-arrow {
    color: var(--accent-primary);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

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

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

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-name::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -1.5px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.code-window {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transition: var(--transition-base);
}

.code-window:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
}

.window-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.window-dots span:nth-child(1) { background-color: #ef4444; }
.window-dots span:nth-child(2) { background-color: #f59e0b; }
.window-dots span:nth-child(3) { background-color: #22c55e; }

.window-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
}

.window-body {
    padding: var(--space-md);
    overflow-x: auto;
}

.window-body pre {
    margin: 0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}

.window-body code {
    font-family: inherit;
}

.code-keyword { color: #c084fc; }
.code-variable { color: #60a5fa; }
.code-property { color: #93c5fd; }
.code-string { color: #86efac; }
.code-function { color: #f0abfc; }

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-icon:nth-child(1) { top: 10%; right: -20px; }
.float-icon:nth-child(2) { top: 50%; left: -30px; }
.float-icon:nth-child(3) { bottom: 15%; right: -10px; }
.float-icon:nth-child(4) { bottom: 40%; left: -20px; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(var(--x), var(--y)); }
    50% { transform: translate(calc(var(--x) * -0.5), calc(var(--y) * -1)); }
    75% { transform: translate(calc(var(--x) * -1), calc(var(--y) * 0.5)); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

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

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-2xl);
    align-items: start;
}

/* About Right Column (Photo + Stack) */
.about-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* About Photo */
.about-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo-frame {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.about-photo-frame:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.about-photo-frame:hover .about-photo {
    transform: scale(1.05);
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: 0;
    transition: var(--transition-base);
}

.about-photo-wrapper:hover .photo-glow {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
}

.about-text {
    max-width: 100%;
}

.about-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
}

.about-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.about-lead strong {
    color: var(--accent-primary);
    font-weight: 600;
}

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

/* Stack Grid */
.about-stack {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stack-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    text-align: center;
}

/* Stack Slider */
.stack-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.stack-slider {
    display: flex;
    width: max-content;
}

.stack-track {
    display: flex;
    gap: var(--space-sm);
    animation: marquee 35s linear infinite;
    will-change: transform;
}

.stack-slider:hover .stack-track {
    animation-play-state: paused;
}

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

.stack-slide {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: var(--transition-base);
    cursor: default;
    flex-shrink: 0;
}

.stack-slide:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.stack-slide i {
    font-size: 1.6rem;
    color: var(--accent-primary);
    width: 28px;
    text-align: center;
}

.stack-slide span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Fade edges */
.stack-fade-left,
.stack-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 2;
}

.stack-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-card), transparent);
}

.stack-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-card), transparent);
}

/* ============================================
   JOURNEY SECTION
   ============================================ */
.journey {
    background: var(--bg-primary);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.journey-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.journey-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

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

.journey-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.journey-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.journey-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.journey-company {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.journey-role {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.journey-title {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    line-height: 1.3;
}

.journey-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.journey-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.journey-tag {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.journey-card:hover .journey-tag {
    border-color: var(--border-color-hover);
    color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

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

.service-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition-base);
}

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

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-features li i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.contact-card:hover .contact-card-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition-base);
}

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

.contact-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-card-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-card:hover .contact-card-value {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.contact-form:focus-within::before {
    opacity: 1;
}

.contact-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-base);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.contact-form .form-group:first-of-type {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-status {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

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

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

.footer-credit i {
    color: #ef4444;
    font-size: 0.75rem;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-hover);
    transform: translateY(-3px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay support via data attribute handled in JS */

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-xl);
    }
    
    .about-grid,
    .contact-grid {
        gap: var(--space-xl);
    }
    
    .services-grid,
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl) var(--space-md);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-base);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }

    .lang-switch {
        font-size: 0.75rem;
        padding: 5px 10px;
        gap: 4px;
        order: 0;
    }

    .lang-flag {
        font-size: 1rem;
    }

    .nav-right {
        gap: var(--space-xs);
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 0;
    }

    .hero-visual {
        order: 1;
        margin-top: var(--space-xl);
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .code-window {
        max-width: 100%;
    }
    
    .floating-elements {
        display: none;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-right {
        gap: var(--space-lg);
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-photo-frame {
        width: 160px;
        height: 160px;
    }
    
    .photo-glow {
        width: 200px;
        height: 200px;
    }
    
    .stack-track {
        animation-duration: 28s;
    }
    
    .stack-slide {
        padding: 10px 14px;
    }
    
    .stack-slide i {
        font-size: 1.4rem;
    }
    
    .stack-slide span {
        font-size: 0.85rem;
    }
    
    /* Services & Journey */
    .services-grid,
    .journey-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form {
        order: 0;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stack-track {
        animation-duration: 22s;
    }
    
    .stack-slide {
        padding: 8px 12px;
    }
    
    .stack-slide i {
        font-size: 1.3rem;
    }
    
    .stack-slide span {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .window-body pre {
        font-size: 0.7rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .scroll-top,
    .footer-social,
    #bg-canvas,
    .floating-elements {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}
