/* ============================================
   LEO PORTFOLIO - STYLES
   ============================================ */

/* Variables */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --accent: #ff8c42;
    --accent-glow: rgba(255, 140, 66, 0.4);
    --accent-soft: rgba(255, 140, 66, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --glass-bg: rgba(26, 26, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #22c55e;
    --error: #ef4444;
    --gradient-accent: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 100%);
    --font-primary: 'Montserrat', sans-serif;
    --section-padding: 120px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 80px;
    overflow-x: hidden;
}
body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    width: 100%;
}

/* Prevent any element from causing horizontal scroll */
section, footer, nav {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}
.section { padding: var(--section-padding) 0; position: relative; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); padding: 8px 16px;
    background: var(--accent-soft); border-radius: 100px; border: 1px solid rgba(255, 140, 66, 0.2);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.highlight { color: var(--accent); -webkit-text-fill-color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; font-family: var(--font-primary); font-size: 0.9375rem; font-weight: 600;
    text-decoration: none; border-radius: 12px; cursor: pointer; transition: all 0.3s; border: none;
}
.btn-primary { background: var(--gradient-accent); color: var(--bg-primary); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: var(--glass-bg); border-color: var(--accent); }

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed; inset: 0; background: var(--bg-primary); z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { display: flex; flex-direction: column; align-items: center; }
.loader-logo {
    font-size: clamp(2rem, 8vw, 3rem); font-weight: 900; margin-bottom: 24px;
    background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.loader-bar { width: min(200px, 60vw); height: 3px; background: var(--bg-tertiary); border-radius: 3px; overflow: hidden; }
.loader-progress { height: 100%; background: var(--gradient-accent); animation: loadProgress 1.5s ease forwards; }
@keyframes loadProgress { 0% { width: 0; } 100% { width: 100%; } }

/* ============================================
   CURSOR
   ============================================ */
.cursor {
    width: 20px; height: 20px; border: 2px solid var(--accent); border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9998;
    transition: transform 0.15s, opacity 0.15s; mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
}
.cursor.hover { transform: scale(2); opacity: 0.5; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s;
}
.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo-accent { color: var(--accent); }
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    flex-shrink: 1;
    overflow: hidden;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--accent-glow);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 24px;
    flex-shrink: 0;
}
.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.lang-btn:hover, .lang-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* Mobile Menu Button - Fixed position for reliable toggling */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 1100; /* Above everything */
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}
/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 1050; /* Below button (1100), above navbar (1000) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 12px;
    transition: all 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--accent);
    background: var(--accent-soft);
}
.mobile-close { display: none; } /* Not needed anymore */
.mobile-lang-switcher {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}
.mobile-lang-switcher .lang-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding: 100px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
#particles-js { position: absolute; width: 100%; height: 100%; }
.hero-grid {
    position: absolute; width: 200%; height: 200%; top: -50%; left: -50%;
    background-image: linear-gradient(rgba(255, 140, 66, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 140, 66, 0.03) 1px, transparent 1px);
    background-size: 60px 60px; transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { transform: perspective(500px) rotateX(60deg) translateY(0); } 100% { transform: perspective(500px) rotateX(60deg) translateY(60px); } }
.hero-glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    opacity: 0.4; filter: blur(80px); animation: pulseGlow 8s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); } }
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px;
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 100px;
    backdrop-filter: blur(10px); margin-bottom: 32px; font-size: 0.875rem; color: var(--text-secondary);
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 24px; letter-spacing: -2px; }
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span { display: inline-block; transform: translateY(100%); animation: slideUp 0.8s ease forwards; }
.hero-title-line:nth-child(2) span { animation-delay: 0.1s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.2s; }
@keyframes slideUp { to { transform: translateY(0); } }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 48px; max-width: 600px; font-weight: 300; line-height: 1.8; opacity: 0; animation: fadeIn 0.8s ease 0.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: fadeIn 0.8s ease 0.7s forwards; }
.hero-scroll {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-secondary); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    opacity: 0; animation: fadeIn 1s ease 1s forwards;
}
.scroll-indicator { width: 24px; height: 40px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; }
.scroll-indicator::before {
    content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%, 100% { top: 8px; opacity: 1; } 50% { top: 20px; opacity: 0.5; } }
.hero-float-element { position: absolute; opacity: 0.1; animation: float 6s ease-in-out infinite; }
.hero-float-1 { top: 20%; right: 10%; width: 250px; height: 250px; border: 1px solid var(--accent); border-radius: 50%; }
.hero-float-2 { bottom: 20%; right: 15%; width: 180px; height: 180px; border: 1px solid var(--accent); animation-delay: 2s; }
.hero-float-3 { top: 30%; right: 25%; width: 80px; height: 80px; background: var(--accent); border-radius: 50%; filter: blur(40px); animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }

/* ============================================
   SERVICES
   ============================================ */
.services { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px;
    padding: 40px; position: relative; overflow: hidden; transition: all 0.4s; backdrop-filter: blur(10px);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 0 40px rgba(255, 140, 66, 0.15); }
.service-icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); border-radius: 16px; margin-bottom: 24px; font-size: 28px;
    transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--accent); transform: scale(1.1) rotate(5deg); }
.service-number { position: absolute; top: 24px; right: 32px; font-size: 4rem; font-weight: 900; color: var(--bg-tertiary); line-height: 1; }
.service-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
.service-description { color: var(--text-secondary); margin-bottom: 24px; font-weight: 300; line-height: 1.7; position: relative; z-index: 1; }
.service-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.service-list li {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: var(--bg-tertiary); border-radius: 8px; font-size: 0.875rem; color: var(--text-secondary);
    transition: all 0.3s;
}
.service-list li:hover { background: var(--accent-soft); color: var(--accent); }

/* ============================================
   ABOUT
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-image { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-secondary); }
.about-avatar { width: 100%; height: 100%; object-fit: cover; }
.about-image-decoration {
    position: absolute; width: 100%; height: 100%; border: 2px solid var(--accent);
    border-radius: 24px; top: 20px; left: 20px; z-index: -1; opacity: 0.3;
}
.about-stats { position: absolute; bottom: -20px; right: -20px; display: flex; gap: 16px; z-index: 2; }
.about-stat {
    background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 20px 24px; text-align: center;
}
.about-stat-number { font-size: 1.75rem; font-weight: 900; color: var(--accent); line-height: 1; }
.about-stat-label { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; }
.about-content h3 { font-size: 2.2rem; font-weight: 900; margin-bottom: 24px; line-height: 1.2; }
.about-text { color: var(--text-secondary); margin-bottom: 20px; font-weight: 300; line-height: 1.8; }
.about-skills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.skill-tag {
    padding: 10px 20px; background: var(--bg-secondary); border: 1px solid var(--glass-border);
    border-radius: 100px; font-size: 0.875rem; color: var(--text-secondary); transition: all 0.3s;
}
.skill-tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.about-timeline { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--glass-border); }
.timeline-title { font-size: 1rem; font-weight: 600; margin-bottom: 24px; color: var(--text-secondary); }
.timeline { display: flex; gap: 32px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--bg-tertiary); }
.timeline-item { position: relative; flex: 1; }
.timeline-dot {
    width: 24px; height: 24px; background: var(--bg-secondary); border: 3px solid var(--accent);
    border-radius: 50%; position: relative; z-index: 1; margin-bottom: 16px; transition: all 0.3s;
}
.timeline-item:hover .timeline-dot { background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.timeline-year { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.timeline-text { font-size: 0.875rem; color: var(--text-secondary); margin-top: 4px; }

/* ============================================
   PROJECTS
   ============================================ */
.projects { background: var(--bg-secondary); }
.projects-filter { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
    padding: 12px 24px; background: transparent; border: 1px solid var(--glass-border);
    border-radius: 100px; color: var(--text-secondary); font-family: var(--font-primary);
    font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--bg-primary); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; transition: all 0.4s; }
.project-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.9) 100%);
    z-index: 1; opacity: 0.7; transition: opacity 0.3s;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover { transform: scale(1.02); }
.project-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.project-card:hover .project-image { transform: scale(1.1); }
.project-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 2; transform: translateY(20px); opacity: 0; transition: all 0.4s; }
.project-card:hover .project-content { transform: translateY(0); opacity: 1; }
.project-category { display: inline-block; padding: 6px 14px; background: var(--accent); color: var(--bg-primary); border-radius: 100px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.project-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.project-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.875rem; transition: gap 0.3s; }
.project-link:hover { gap: 12px; }
.project-card.featured { grid-column: span 2; aspect-ratio: 2/1; }

/* ============================================
   PROCESS
   ============================================ */
.process { position: relative; overflow: hidden; }
.process-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    opacity: 0.3; filter: blur(80px); pointer-events: none;
}
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { text-align: center; position: relative; padding: 0 16px; }
.step-number {
    width: 48px; height: 48px; background: var(--bg-secondary); border: 2px solid var(--accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--accent); margin: 0 auto 24px; position: relative; z-index: 1; transition: all 0.3s;
}
.process-step:hover .step-number { background: var(--accent); color: var(--bg-primary); transform: scale(1.2); box-shadow: 0 0 30px var(--accent-glow); }
.step-icon {
    width: 80px; height: 80px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 32px; transition: all 0.3s;
}
.process-step:hover .step-icon { border-color: var(--accent); transform: translateY(-8px); }
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.step-content { flex: 1; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--bg-secondary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--bg-primary); border: 1px solid var(--glass-border); border-radius: 24px;
    padding: 40px; position: relative; transition: all 0.4s;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 0 40px rgba(255, 140, 66, 0.15); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--accent); }
.testimonial-quote { font-size: 2.5rem; color: var(--accent); line-height: 1; margin-bottom: 16px; opacity: 0.5; }
.testimonial-text { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--bg-primary); font-size: 1.2rem;
}
.testimonial-info h4 { font-weight: 600; margin-bottom: 4px; }
.testimonial-info span { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================
   CONTACT
   ============================================ */
.contact { position: relative; overflow: hidden; }
.contact-bg {
    position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: var(--bg-secondary);
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; position: relative; z-index: 1; }
.contact-info h3 { font-size: 2.2rem; font-weight: 900; margin-bottom: 24px; line-height: 1.2; }
.contact-text { color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px;
    text-decoration: none; color: var(--text-primary); transition: all 0.3s;
}
.contact-method:hover { border-color: var(--accent); transform: translateX(8px); }
.contact-method-icon {
    width: 56px; height: 56px; background: var(--accent-soft); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.3s;
}
.contact-method:hover .contact-method-icon { background: var(--accent); }
.contact-method-text h4 { font-weight: 600; margin-bottom: 4px; }
.contact-method-text span { font-size: 0.875rem; color: var(--text-secondary); }
.contact-social { display: flex; gap: 12px; margin-top: 40px; }
.social-link {
    width: 48px; height: 48px; background: var(--bg-tertiary); border: 1px solid var(--glass-border);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 0.75rem; transition: all 0.3s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-primary); transform: translateY(-4px); }
.contact-form-wrapper { background: var(--bg-primary); border: 1px solid var(--glass-border); border-radius: 24px; padding: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 16px 20px; background: var(--bg-secondary); border: 1px solid var(--glass-border);
    border-radius: 12px; color: var(--text-primary); font-family: var(--font-primary); font-size: 16px; transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23818181' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }
.submit-btn {
    width: 100%; padding: 18px 32px; background: var(--gradient-accent); border: none; border-radius: 12px;
    color: var(--bg-primary); font-family: var(--font-primary); font-size: 1rem; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s; box-shadow: 0 4px 20px var(--accent-glow);
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--accent-glow); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.submit-btn.success { background: var(--success); box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-secondary); padding: 60px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--glass-border); margin-bottom: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: var(--text-primary); text-decoration: none; letter-spacing: -1px; display: block; margin-bottom: 8px; }
.footer-tagline { font-size: 0.875rem; color: var(--accent); margin-bottom: 12px; }
.footer-address { font-style: normal; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-email a { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-email a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-zone { max-width: 300px; }
.footer-zone-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.footer-zone-list { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright { font-size: 0.75rem; color: var(--text-secondary); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-secondary); transition: color 0.3s; text-decoration: none; }
.footer-social a:hover { color: var(--accent); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; width: 50px; height: 50px;
    background: var(--gradient-accent); border: none; border-radius: 50%;
    color: var(--bg-primary); font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s; z-index: 100; box-shadow: 0 4px 20px var(--accent-glow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--accent-glow); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet & Below */
@media (max-width: 1199px) {
    :root { --section-padding: 80px; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card.featured { grid-column: span 2; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .nav-links, .nav-cta, .lang-switcher { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-wrapper { max-width: 350px; margin: 0 auto; }
    .about-stats { position: relative; bottom: auto; right: auto; margin-top: 20px; justify-content: center; }
    .about-content { text-align: center; }
    .about-skills { justify-content: center; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-info { text-align: center; }
    .contact-methods { max-width: 400px; margin: 0 auto; }
    .contact-social { justify-content: center; }
    .footer-content, .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 767px) {
    :root { --section-padding: 60px; --text-secondary: #c0c0c0; }
    .container { padding: 0 16px; }
    .section-header { margin-bottom: 40px; }
    
    .hero { padding: 80px 0 40px; }
    .hero-title { font-size: 1.8rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 32px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-scroll { display: none; }
    .hero-float-element { display: none; }
    
    .service-card { padding: 28px; }
    .service-number { font-size: 3rem; }
    .service-icon { width: 50px; height: 50px; font-size: 22px; }
    
    .about-content h3 { font-size: 1.6rem; }
    .timeline { flex-direction: column; gap: 20px; }
    .timeline::before { left: 11px; width: 2px; height: 100%; top: 0; right: auto; }
    .timeline-item { padding-left: 48px; }
    .timeline-dot { position: absolute; left: 0; top: 4px; margin: 0; }
    
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.featured { grid-column: span 1; aspect-ratio: 4/3; }
    .projects-filter { gap: 8px; }
    .filter-btn { padding: 10px 16px; font-size: 0.75rem; }
    
    .process-steps { grid-template-columns: 1fr; gap: 16px; }
    .process-step { display: flex; text-align: left; gap: 16px; padding: 0; }
    .step-number { display: none; }
    .step-icon { width: 56px; height: 56px; min-width: 56px; font-size: 24px; margin: 0; border-radius: 14px; }
    .process-step:hover .step-icon { transform: none; }
    
    .testimonial-card { padding: 28px; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px 20px; }
    .contact-info h3 { font-size: 1.6rem; }
    
    .cursor, .cursor-dot { display: none; }
    .back-to-top { width: 44px; height: 44px; bottom: 16px; right: 16px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-badge { font-size: 0.7rem; padding: 8px 14px; }
    .section-title { font-size: 1.5rem; }
    .about-stat { padding: 14px 18px; }
    .about-stat-number { font-size: 1.4rem; }
    .filter-btn { padding: 8px 12px; font-size: 0.7rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
