/* ================================================
   YUVI MATIQUE PORTFOLIO - VERSÃO COMPLETA
   ================================================ */

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

:root {
    /* Colors */
    --primary: #10B981;
    --secondary: #FCD34D;
    --accent-blue: #3B82F6;
    --accent-pink: #EC4899;
    --accent-purple: #8B5CF6;

    /* Typography */
    --font-primary: 'Inter', -apple-system, system-ui, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-primary);
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Transitions */
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-base: 0;
    --z-content: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Dark Theme (default) */
[data-theme="dark"] {
    --bg-primary: #030712;
    --bg-secondary: #0A0A0A;
    --bg-tertiary: #1A1A1A;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
    --border-color: rgba(16, 185, 129, 0.2);

    /* Terminal Dark Colors */
    --terminal-bg: rgba(26, 26, 26, 0.9);
    --terminal-header-bg: rgba(16, 16, 16, 0.95);
    --terminal-text: #E5E7EB;
    --terminal-muted: #9CA3AF;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #F9FAFB;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3F4F6;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Terminal Light Colors */
    --terminal-bg: rgba(255, 255, 255, 0.95);
    --terminal-header-bg: rgba(249, 250, 251, 0.98);
    --terminal-text: #111827;
    --terminal-muted: #6B7280;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
}

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

strong {
    color: var(--primary);
    font-weight: 600;
}

/* === UTILITIES === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--bg-primary);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(16, 185, 129, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === THEME TOGGLE === */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-fixed);
    transition: all var(--transition);
    font-size: 1rem;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--bg-primary);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    position: fixed;
    top: 6rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.3rem;
    z-index: var(--z-fixed);
    transition: all var(--transition);
}

.lang-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.725rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(16, 185, 129, 0.1);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* === MAIN CONTAINER === */
.main-container {
    min-height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

/* === SECTION BASE === */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    padding: var(--space-2xl) var(--space-md);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: var(--z-content);
}

.section-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Grid Pattern */
.grid-pattern,
.dot-matrix {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.dot-matrix {
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: orbFloat 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.glow-orb--green {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 10%;
    left: 10%;
}

.glow-orb--yellow {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.glow-orb--blue {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.glow-orb--pink {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--accent-pink), transparent);
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.glow-orb--purple {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-number {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
}

.hero-background .grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.19) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.19) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.5;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-circle {
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.shape-square {
    border: 2px solid var(--secondary);
    transform: rotate(45deg);
}

.shape-code {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

/* Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Glowing Lines */
.glow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.15;
    animation: lineMove 8s linear infinite;
}

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

    100% {
        transform: translateX(100vw);
    }
}

/* Hero Content */
.hero-content-center {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-header {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   TERMINAL
   ======================================== */
.terminal-container {
    width: 100%;
    position: relative;
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border 0.3s ease;
}

.terminal-header {
    background: var(--terminal-header-bg);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #FF5F56;
}

.btn-minimize {
    background: #FFBD2E;
}

.btn-maximize {
    background: #27C93F;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--terminal-muted);
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    height: 400px;
    overflow-y: auto;
    color: var(--terminal-text);
    transition: color 0.3s ease;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .terminal-window {
    box-shadow: none;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.terminal-line {
    margin-bottom: 0.8rem;
    opacity: 0;
    animation: fadeInLine 0.3s ease forwards;
}

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

.terminal-prompt {
    color: var(--primary);
    font-weight: 600;
}

.terminal-path {
    color: var(--secondary);
}

.terminal-command {
    color: #60A5FA;
}

.terminal-output {
    color: var(--terminal-muted);
    white-space: pre-wrap;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--primary);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Terminal Dock */
.terminal-dock {
    background: var(--terminal-header-bg);
    border-top: 1px solid var(--border-color);
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: background 0.3s ease;
}

.dock-icon {
    width: 35px;
    height: 35px;
    border-radius: 30px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    font-size: 1rem;
}

[data-theme="light"] .dock-icon {
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dock-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-6px) scale(1.12);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

.dock-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px) scale(0.9);
    background: var(--terminal-header-bg);
    color: var(--terminal-text);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dock-icon:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) scale(1);
}

.dock-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.3rem;
}

[data-theme="light"] .dock-divider {
    background: rgba(0, 0, 0, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    animation: fadeIn 1s ease 2s both;
    margin-top: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(-8px);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

/* Bio Card */
.bio-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    /* background: rgba(26, 26, 26, 0.4); */
    /* border: 1px solid var(--border-color); */
    /* border-radius: 20px; */
    padding: var(--space-xl) 0;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

[data-theme="light"] .bio-card {
    /* background: rgba(255, 255, 255, 0.8); */
}

.bio-card:hover {
    /* border-color: rgba(16, 185, 129, 0.4); */
    /* transform: translateY(-5px); */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-primary)); */
    padding: 5px;
    position: relative;
    animation: profilePulse 3s ease-in-out infinite;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}


@keyframes profilePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.002);
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
}

.profile-image::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--primary));
    filter: blur(0px);
    opacity: 0.5;
    z-index: -1;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(252, 211, 77, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    border: 3px solid var(--bg-primary);
}

.bio-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.bio-name {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio-role {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

[data-theme="light"] .bio-role {
    color: var(--text-muted);
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.experience-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
    /* border-radius: 16px; */
    min-width: 180px;
}

.experience-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    font-family: var(--font-heading);
    /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

.experience-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
}

/* Skills */
.skills-section {
    width: 100%;
}

.skills-tabs {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.skill-tab {
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.skill-tab:hover {
    color: var(--primary);
}

.skill-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.skills-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    animation: fadeIn 0.5s ease;
}

.skills-content.active {
    display: grid;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    /* background: rgba(26, 26, 26, 0.4); */
    border: 1px solid var(--border-color);
    /* border-radius: 12px; */
    transition: all var(--transition);
    cursor: default;
}

[data-theme="light"] .skill-card {
    /* background: rgba(255, 255, 255, 0.8); */
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 1px 1px rgba(16, 185, 129, 0.2);
}

.skill-icon {
    font-size: 3.5rem !important;
    transition: transform var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.15) rotate(5deg);
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
}

/* Fix for icons without colored version */
[data-theme="light"] .devicon-github-original,
[data-theme="light"] .devicon-apple-original {
    color: var(--text-primary);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.card-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.8));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

[data-theme="light"] .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.card-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    background-color: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.3);
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

[data-theme="light"] .card-icon {
    background-color: rgba(249, 250, 251, 0.8);
}

.card:hover .card-icon {
    background-color: var(--primary);
}

.card:hover .card-icon span i {
    color: #fff;
}

.card-icon span i {
    color: var(--secondary);
    font-size: 3rem;
}

[data-theme="light"] .card-icon span i {
    color: var(--primary);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Geometric Shapes */
.geometric-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.geo-shape {
    position: absolute;
    opacity: 0.05;
    animation: shapeRotate 20s linear infinite;
}

.geo-square {
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary);
    transform: rotate(45deg);
    top: 20%;
    left: 15%;
}

.geo-circle {
    width: 200px;
    height: 200px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid var(--primary);
    bottom: 25%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes shapeRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Spotlight */
.spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    animation: spotlightMove 15s ease-in-out infinite;
}

@keyframes spotlightMove {

    0%,
    100% {
        top: 10%;
        left: 10%;
    }

    25% {
        top: 20%;
        left: 70%;
    }

    50% {
        top: 60%;
        left: 80%;
    }

    75% {
        top: 70%;
        left: 20%;
    }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 1px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 1px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .project-slide {
    background: rgba(255, 255, 255, 0.8);
}

.project-image {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(252, 211, 77, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(16, 185, 129, 0.3);
    transition: all var(--transition);
    min-height: 500px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-slide:hover .project-image {
    transform: scale(1.05);
}

.project-slide:hover .project-image i {
    color: rgba(16, 185, 129, 0.5);
}

.project-info {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.project-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tag {
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: #fff;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.project-meta {
    display: flex;
    gap: var(--space-lg);
    margin-top: auto;
}

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

.meta-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all var(--transition);
    z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn--prev {
    left: -70px;
}

.carousel-btn--next {
    right: -70px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(16, 185, 129, 0.2);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
}

.indicator:hover {
    background: rgba(16, 185, 129, 0.5);
}

.indicator.active {
    background: var(--primary);
    width: 60px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-content {
    /* max-width: 900px; */
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.contact-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.contact-details {
    text-align: left;
}

.contact-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all var(--transition);
}

[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.8);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer p {
    margin-bottom: var(--space-xs);
}

.footer-copy {
    font-size: 0.85rem;
}

/* ========================================
   FLOATING NAVIGATION
   ======================================== */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    z-index: var(--z-fixed);
}

.nav-item {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.nav-label {
    position: absolute;
    right: 100%;
    margin-right: var(--space-sm);
    background: var(--bg-tertiary);
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
    opacity: 1;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: var(--z-fixed);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .carousel-btn--prev {
        left: 10px;
    }

    .carousel-btn--next {
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .bio-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-info {
        align-items: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .experience-badge {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .section {
        padding: var(--space-xl) var(--space-md);
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .language-switcher {
        top: 5rem;
        right: 1rem;
    }

    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .project-slide {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 250px;
        font-size: 4rem;
    }

    .floating-nav {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background: var(--bg-tertiary);
        border-top: 1px solid var(--border-color);
        padding: var(--space-sm);
        border-radius: 0;
    }

    .nav-item {
        width: 45px;
        height: 45px;
        border-radius: 40px;
    }

    .nav-label {
        display: none;
    }

    .btn-back-to-top {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .skills-tabs {
        gap: var(--space-xs);
    }

    .skill-tab {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }

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

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .terminal-body {
        font-size: 0.75rem;
        padding: var(--space-sm);
        height: 300px;
    }

    .terminal-dock {
        gap: var(--space-xs);
        padding: var(--space-sm);
    }

    .dock-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}