/* ============================================
   LAS_RT PORTFOLIO - DARK STEALTH THEME
   ============================================ */

/* CSS Custom Properties */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #0f0f0f;
    --bg-glass: rgba(10, 10, 10, 0.7);
    --bg-glass-border: rgba(0, 242, 255, 0.08);
    
    --accent-primary: #00f2ff;
    --accent-secondary: #00c8d4;
    --accent-glow: rgba(0, 242, 255, 0.3);
    --accent-glow-strong: rgba(0, 242, 255, 0.6);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #555555;
    --text-dim: #333333;
    
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --shadow-glow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent-primary);
    opacity: 0.4;
    transition: width 0.3s var(--transition-smooth), 
                height 0.3s var(--transition-smooth),
                opacity 0.3s ease,
                border-color 0.3s ease;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-outline.hovering {
    width: 56px;
    height: 56px;
    opacity: 0.7;
    border-color: var(--accent-primary);
    background: rgba(0, 242, 255, 0.05);
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.4s var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--bg-glass-border);
    padding: 0.875rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-bracket {
    color: var(--accent-primary);
    font-weight: 400;
    animation: bracketPulse 3s ease-in-out infinite;
}

@keyframes bracketPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 0.4s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    border: 1.5px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--transition-smooth);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
    transform-origin: center;
}

.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 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-primary);
}

.mobile-cta {
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 242, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 100px;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-primary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(0, 242, 255, 0.15);
}

.title-divider {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-primary);
    margin: 1.5rem auto;
    box-shadow: 0 0 20px var(--accent-glow);
    position: relative;
}

.title-divider::before,
.title-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.title-divider::before { left: -10px; }
.title-divider::after { right: -10px; }

.title-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.75rem);
    font-weight: 500;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-subtext {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.separator {
    color: var(--accent-primary);
    margin: 0 0.75rem;
    opacity: 0.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-recruit,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 255, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-muted);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title .accent {
    color: var(--accent-primary);
    text-shadow: 0 0 30px var(--accent-glow);
}

.section-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    position: relative;
    padding: 8rem 0;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 255, 0.05);
}

.project-card:hover::before {
    opacity: 1;
}

.card-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--transition-smooth);
}

.project-card:hover .card-image {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.card-badge.flagship {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--accent-primary);
}

.card-badge.active {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
}

.card-content {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-category {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    opacity: 0.8;
}

.card-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.card-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    border-color: rgba(0, 242, 255, 0.15);
    color: var(--text-primary);
}

/* ============================================
   CONNECT SECTION
   ============================================ */
.connect {
    position: relative;
    padding: 8rem 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.01), transparent);
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.connect-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.connect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.connect-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 242, 255, 0.05);
}

.connect-card:hover::before {
    opacity: 1;
}

.connect-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    flex-shrink: 0;
    transition: all 0.4s var(--transition-smooth);
}

.connect-icon svg {
    width: 26px;
    height: 26px;
    fill: #ff0000;
    transition: transform 0.4s var(--transition-bounce);
}

.connect-card:hover .connect-icon svg {
    transform: scale(1.15) rotate(-5deg);
}

.connect-icon.dev {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
}

.connect-icon.dev svg {
    fill: #ff0000;
}

.connect-icon.discord {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.2);
}

.connect-icon.discord svg {
    fill: #5865f2;
}

.connect-icon.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(252, 175, 69, 0.1));
    border-color: rgba(225, 48, 108, 0.2);
}

.connect-icon.instagram svg {
    fill: url(#instagramGradient);
}

.connect-info {
    flex: 1;
}

.connect-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.connect-info p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.connect-arrow {
    color: var(--text-dim);
    transition: all 0.3s var(--transition-smooth);
}

.connect-card:hover .connect-arrow {
    color: var(--accent-primary);
    transform: translate(4px, -4px);
}

/* ============================================
   RECRUIT SECTION
   ============================================ */
.recruit {
    position: relative;
    padding: 8rem 0 10rem;
    z-index: 1;
}

.recruit-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.recruit-visual {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recruit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.recruit-ring.ring-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(0, 242, 255, 0.1);
    animation-delay: -1s;
    animation-duration: 4s;
}

.recruit-ring.ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(0, 242, 255, 0.05);
    animation-delay: -2s;
    animation-duration: 5s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.recruit-center {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 255, 0.05);
    border: 1.5px solid rgba(0, 242, 255, 0.2);
    border-radius: 50%;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
}

.recruit-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.recruit-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-recruit {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 4px;
    position: relative;
    overflow: hidden;
}

.btn-recruit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.15), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.btn-recruit:hover::before {
    left: 100%;
}

.btn-recruit:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow);
    transform: translateY(-3px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    z-index: 1;
}

.btn-recruit:hover .btn-glitch {
    animation: glitchEffect 0.4s ease;
}

@keyframes glitchEffect {
    0% { opacity: 0; transform: translateX(0); }
    20% { opacity: 0.3; transform: translateX(-4px); }
    40% { opacity: 0; transform: translateX(4px); }
    60% { opacity: 0.2; transform: translateX(-2px); }
    80% { opacity: 0; transform: translateX(2px); }
    100% { opacity: 0; transform: translateX(0); }
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    width: 100%;
    max-width: 520px;
    margin: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 242, 255, 0.03);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Form */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s var(--transition-smooth);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 242, 255, 0.02);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: all 0.4s var(--transition-smooth);
    transform: translateX(-50%);
}

.form-input:focus ~ .form-focus-border {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--accent-primary);
    color: var(--bg-primary);
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.copy-symbol {
    color: var(--accent-primary);
    margin-right: 0.25rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .card-image-wrapper {
        height: 200px;
    }
    
    .modal-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        letter-spacing: 4px;
    }
    
    .title-sub {
        letter-spacing: 6px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-recruit {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .connect-card {
        padding: 1.25rem;
    }
    
    .connect-icon {
        width: 44px;
        height: 44px;
    }
    
    .connect-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle-canvas {
        display: none;
    }
}